diff --git a/Makefile b/Makefile index b8469c52..675e1230 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ update: download generate # see https://github.com/AvdLee/appstoreconnect-swift-sdk/pull/197 .PHONY: download download: - curl -fsSL -o - https://developer.apple.com/sample-code/app-store-connect/app-store-connect-openapi-specification.zip | bsdtar -xOf - | jq '.components.schemas.BundleIdPlatform.enum |= [ "IOS", "MAC_OS", "UNIVERSAL" ] | del(.["x-important"]) | del(.. |."enum"? | select(. != null and length == 0))' > Sources/OpenAPI/app_store_connect_api_2.3_openapi.json + curl -fsSL -o - https://developer.apple.com/sample-code/app-store-connect/app-store-connect-openapi-specification.zip | bsdtar -xOf - | jq '.components.schemas.BundleIdPlatform.enum |= [ "IOS", "MAC_OS", "UNIVERSAL" ] | del(.["x-important"]) | del(.. |."enum"? | select(. != null and length == 0))' > Sources/OpenAPI/app_store_connect_api.json # Runs the CreateAPI generator to update generated source code .PHONY: generate diff --git a/Package.swift b/Package.swift index b6bc3773..ee26d449 100644 --- a/Package.swift +++ b/Package.swift @@ -33,12 +33,12 @@ let package = Package( name: "AppStoreConnect-Swift-SDK", dependencies: targetDependencies, path: "Sources", - exclude: ["OpenAPI/app_store_connect_api_2.3_openapi.json"] + exclude: ["OpenAPI/app_store_connect_api.json"] ), .binaryTarget( name: "create-api", // Find the URL and checksum at https://github.com/createapi/createapi/releases/latest - url: "https://github.com/CreateAPI/CreateAPI/releases/download/0.0.5/create-api.artifactbundle.zip", - checksum: "89c75ec3b2938d08b961b94e70e6dd6fa0ff52a90037304d41718cd5fb58bd24" // Find at https://github.com/createapi/createapi/releases/latest + url: "https://github.com/CreateAPI/CreateAPI/releases/download/0.2.0/create-api.artifactbundle.zip", + checksum: "6f8a3ce099f07eb2655ccaf6f66d8c9a09b74bb2307781c4adec36609ddac009" ), .plugin( name: "CreateAPI", diff --git a/Package@swift-5.5.swift b/Package@swift-5.5.swift index cadc590c..3bd4ddd2 100644 --- a/Package@swift-5.5.swift +++ b/Package@swift-5.5.swift @@ -19,6 +19,6 @@ let package = Package( name: "AppStoreConnect-Swift-SDK", dependencies: ["URLQueryEncoder"], path: "Sources", - exclude: ["OpenAPI/app_store_connect_api_2.3_openapi.json"]) + exclude: ["OpenAPI/app_store_connect_api.json"]) ] ) diff --git a/Plugins/CreateAPI/Plugin.swift b/Plugins/CreateAPI/Plugin.swift index c76f0b64..6ccbe151 100644 --- a/Plugins/CreateAPI/Plugin.swift +++ b/Plugins/CreateAPI/Plugin.swift @@ -12,11 +12,9 @@ struct Plugin: CommandPlugin { process.executableURL = URL(fileURLWithPath: createAPI.path.string) process.arguments = [ "generate", - "app_store_connect_api_2.3_openapi.json", - "--module", "AppStoreConnect_Swift_SDK", + "app_store_connect_api.json", "--output", "Generated", - "--config", ".create-api.yml", - "--split", + "--config", "create-api.yml", "--clean" ] diff --git a/Sources/Endpoint.swift b/Sources/Endpoint.swift index bbd3a805..ba0d5a0a 100644 --- a/Sources/Endpoint.swift +++ b/Sources/Endpoint.swift @@ -32,67 +32,21 @@ public struct Request { public var headers: [String: String]? public var id: String? - public init(method: String, path: String, query: [(String, String?)]? = nil, headers: [String: String]? = nil) { + public init(path: String, method: String, query: [(String, String?)]? = nil, headers: [String: String]? = nil, id: String) { self.method = method self.path = path self.query = query self.headers = headers + self.id = id } - public init(method: String, path: String, query: [(String, String?)]? = nil, body: U?, headers: [String: String]? = nil) { + public init(path: String, method: String, query: [(String, String?)]? = nil, body: U?, headers: [String: String]? = nil, id: String) { self.method = method self.path = path self.query = query self.body = body.map(AnyEncodable.init) self.headers = headers - } - - public static func get(_ path: String, query: [(String, String?)]? = nil, headers: [String: String]? = nil) -> Request { - Request(method: "GET", path: path, query: query, headers: headers) - } - - public static func post(_ path: String, query: [(String, String?)]? = nil, headers: [String: String]? = nil) -> Request { - Request(method: "POST", path: path, query: query, headers: headers) - } - - public static func post(_ path: String, query: [(String, String?)]? = nil, body: U?, headers: [String: String]? = nil) -> Request { - Request(method: "POST", path: path, query: query, body: body, headers: headers) - } - - public static func put(_ path: String, query: [(String, String?)]? = nil, headers: [String: String]? = nil) -> Request { - Request(method: "PUT", path: path, query: query, headers: headers) - } - - public static func put(_ path: String, query: [(String, String?)]? = nil, body: U?, headers: [String: String]? = nil) -> Request { - Request(method: "PUT", path: path, query: query, body: body, headers: headers) - } - - public static func patch(_ path: String, query: [(String, String?)]? = nil, headers: [String: String]? = nil) -> Request { - Request(method: "PATCH", path: path, query: query, headers: headers) - } - - public static func patch(_ path: String, query: [(String, String?)]? = nil, body: U?, headers: [String: String]? = nil) -> Request { - Request(method: "PATCH", path: path, query: query, body: body, headers: headers) - } - - public static func delete(_ path: String, query: [(String, String?)]? = nil, headers: [String: String]? = nil) -> Request { - Request(method: "DELETE", path: path, query: query, headers: headers) - } - - public static func delete(_ path: String, query: [(String, String?)]? = nil, body: U?, headers: [String: String]? = nil) -> Request { - Request(method: "DELETE", path: path, query: query, body: body, headers: headers) - } - - public static func options(_ path: String, query: [(String, String?)]? = nil, headers: [String: String]? = nil) -> Request { - Request(method: "OPTIONS", path: path, query: query, headers: headers) - } - - public static func head(_ path: String, query: [(String, String?)]? = nil, headers: [String: String]? = nil) -> Request { - Request(method: "HEAD", path: path, query: query, headers: headers) - } - - public static func trace(_ path: String, query: [(String, String?)]? = nil, headers: [String: String]? = nil) -> Request { - Request(method: "TRACE", path: path, query: query, headers: headers) + self.id = id } } diff --git a/Sources/OpenAPI/.create-api.yml b/Sources/OpenAPI/.create-api.yml deleted file mode 100644 index cdcf4ca7..00000000 --- a/Sources/OpenAPI/.create-api.yml +++ /dev/null @@ -1,52 +0,0 @@ -# Modifier for all generated declarations -access: public -# Add @available(*, deprecated) attributed -isAddingDeprecations: true -# Available values: ["spaces", "tabs"] -indentation: tabs -# Parses dates (e.g. "2021-09-29") using `NaiveDate` (https://github.com/CreateAPI/NaiveDate) -isNaiveDateEnabled: false -# Overrides file header comment -fileHeaderComment: "// Generated by Create API\n// https://github.com/CreateAPI/CreateAPI" - -paths: - style: rest - # Generate response headers using https://github.com/CreateAPI/HTTPHeaders - isGeneratingResponseHeaders: true - # Add operation id to each request - isAddingOperationIds: false - # The types to import, by default uses "Get" (https://github.com/CreateAPI/Get) - imports: [] - # Inline simple requests, like the ones with a single parameter - isInliningSimpleRequests: true - # Inline simple parametesr with few arguments. - isInliningSimpleQueryParameters: true - # Threshold from which to start inlining query parameters - simpleQueryParametersThreshold: 2 - # Tries to remove redundant paths - isRemovingRedundantPaths: true - namespace: "APIEndpoint" - # Adds known types to Apple specific content-types. - # In CreateAPI 0.5.0 there is a typo, update this configuration key when moving to newer version - # (https://github.com/CreateAPI/CreateAPI/pull/78). - overridenBodyTypes: - application/vnd.apple.diagnostic-logs+json: DiagnosticLogs - application/vnd.apple.xcode-metrics+json: XcodeMetrics - -entities: - isGeneratingCustomCodingKeys: false - isGeneratingIdentifiableConformance: true - -comments: - # Generate comments - isEnabled: true - # Generate titles - isAddingTitles: true - # Generate description - isAddingDescription: true - # Generate examples - isAddingExamples: true - # Add links to the external documenatation - isAddingExternalDocumentation: true - # Auto-capitalizes comments - isCapitalizationEnabled: true diff --git a/Sources/OpenAPI/Generated/Entities/Actor.swift b/Sources/OpenAPI/Generated/Entities/Actor.swift index 8ccf1012..e139199d 100644 --- a/Sources/OpenAPI/Generated/Entities/Actor.swift +++ b/Sources/OpenAPI/Generated/Entities/Actor.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ActorResponse.swift b/Sources/OpenAPI/Generated/Entities/ActorResponse.swift index 645dde8c..c83d2ab4 100644 --- a/Sources/OpenAPI/Generated/Entities/ActorResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/ActorResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ActorsResponse.swift b/Sources/OpenAPI/Generated/Entities/ActorsResponse.swift index 81cb05cc..5522667c 100644 --- a/Sources/OpenAPI/Generated/Entities/ActorsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/ActorsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AgeRatingDeclaration.swift b/Sources/OpenAPI/Generated/Entities/AgeRatingDeclaration.swift index ad6d7b65..3ab3feb3 100644 --- a/Sources/OpenAPI/Generated/Entities/AgeRatingDeclaration.swift +++ b/Sources/OpenAPI/Generated/Entities/AgeRatingDeclaration.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AgeRatingDeclarationResponse.swift b/Sources/OpenAPI/Generated/Entities/AgeRatingDeclarationResponse.swift index 882d0a47..81172663 100644 --- a/Sources/OpenAPI/Generated/Entities/AgeRatingDeclarationResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AgeRatingDeclarationResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AgeRatingDeclarationUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AgeRatingDeclarationUpdateRequest.swift index bad447bc..dd6e107d 100644 --- a/Sources/OpenAPI/Generated/Entities/AgeRatingDeclarationUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AgeRatingDeclarationUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AgeRatingDeclarationWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/AgeRatingDeclarationWithoutIncludesResponse.swift index 47afbdc9..114a3a3b 100644 --- a/Sources/OpenAPI/Generated/Entities/AgeRatingDeclarationWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AgeRatingDeclarationWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/App.swift b/Sources/OpenAPI/Generated/Entities/App.swift index 4c4c80ee..f9b9569a 100644 --- a/Sources/OpenAPI/Generated/Entities/App.swift +++ b/Sources/OpenAPI/Generated/Entities/App.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppAvailability.swift b/Sources/OpenAPI/Generated/Entities/AppAvailability.swift index e2fca490..5fef971e 100644 --- a/Sources/OpenAPI/Generated/Entities/AppAvailability.swift +++ b/Sources/OpenAPI/Generated/Entities/AppAvailability.swift @@ -1,10 +1,9 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation +@available(*, deprecated, message: "Deprecated") public struct AppAvailability: Codable, Identifiable { public var type: `Type` public var id: String diff --git a/Sources/OpenAPI/Generated/Entities/AppAvailabilityCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppAvailabilityCreateRequest.swift index 73c69f8c..f121481c 100644 --- a/Sources/OpenAPI/Generated/Entities/AppAvailabilityCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppAvailabilityCreateRequest.swift @@ -1,10 +1,9 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation +@available(*, deprecated, message: "Deprecated") public struct AppAvailabilityCreateRequest: Codable { public var data: Data diff --git a/Sources/OpenAPI/Generated/Entities/AppAvailabilityResponse.swift b/Sources/OpenAPI/Generated/Entities/AppAvailabilityResponse.swift index 82ad7ce2..3a553379 100644 --- a/Sources/OpenAPI/Generated/Entities/AppAvailabilityResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppAvailabilityResponse.swift @@ -1,12 +1,13 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation +@available(*, deprecated, message: "Deprecated") public struct AppAvailabilityResponse: Codable { /// AppAvailability + /// + /// - warning: Deprecated. public var data: AppAvailability public var included: [IncludedItem]? public var links: DocumentLinks @@ -22,7 +23,10 @@ public struct AppAvailabilityResponse: Codable { } else if let value = try? container.decode(Territory.self) { self = .territory(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, Territory)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppAvailabilityV2.swift b/Sources/OpenAPI/Generated/Entities/AppAvailabilityV2.swift index 7ad97156..c143cbf3 100644 --- a/Sources/OpenAPI/Generated/Entities/AppAvailabilityV2.swift +++ b/Sources/OpenAPI/Generated/Entities/AppAvailabilityV2.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppAvailabilityV2CreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppAvailabilityV2CreateRequest.swift index 2b026baf..5a4f1e9b 100644 --- a/Sources/OpenAPI/Generated/Entities/AppAvailabilityV2CreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppAvailabilityV2CreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppAvailabilityV2Response.swift b/Sources/OpenAPI/Generated/Entities/AppAvailabilityV2Response.swift index 440668ad..0dcfad56 100644 --- a/Sources/OpenAPI/Generated/Entities/AppAvailabilityV2Response.swift +++ b/Sources/OpenAPI/Generated/Entities/AppAvailabilityV2Response.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppBetaTestersLinkagesRequest.swift b/Sources/OpenAPI/Generated/Entities/AppBetaTestersLinkagesRequest.swift index 8266340a..8e38886c 100644 --- a/Sources/OpenAPI/Generated/Entities/AppBetaTestersLinkagesRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppBetaTestersLinkagesRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppCategoriesResponse.swift b/Sources/OpenAPI/Generated/Entities/AppCategoriesResponse.swift index c54d4d71..a99ea20f 100644 --- a/Sources/OpenAPI/Generated/Entities/AppCategoriesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppCategoriesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppCategoriesWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/AppCategoriesWithoutIncludesResponse.swift index 6bc37d4d..4aa580f2 100644 --- a/Sources/OpenAPI/Generated/Entities/AppCategoriesWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppCategoriesWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppCategory.swift b/Sources/OpenAPI/Generated/Entities/AppCategory.swift index d4f81dfd..d0377022 100644 --- a/Sources/OpenAPI/Generated/Entities/AppCategory.swift +++ b/Sources/OpenAPI/Generated/Entities/AppCategory.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppCategoryResponse.swift b/Sources/OpenAPI/Generated/Entities/AppCategoryResponse.swift index f19d53b9..d814d1cf 100644 --- a/Sources/OpenAPI/Generated/Entities/AppCategoryResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppCategoryResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppCategoryWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/AppCategoryWithoutIncludesResponse.swift index 0b7547e1..9f3b7ab8 100644 --- a/Sources/OpenAPI/Generated/Entities/AppCategoryWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppCategoryWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClip.swift b/Sources/OpenAPI/Generated/Entities/AppClip.swift index 2f1820ec..fed11faa 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClip.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClip.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipAction.swift b/Sources/OpenAPI/Generated/Entities/AppClipAction.swift index d3eab48b..850fc007 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipAction.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipAction.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperience.swift b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperience.swift index 93730892..2cec281b 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperience.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperience.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceCreateRequest.swift index f0958f2f..052987b4 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceImage.swift b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceImage.swift index d5675400..41770214 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceImage.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceImage.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceImageCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceImageCreateRequest.swift index 83729877..cc3e5424 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceImageCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceImageCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceImageResponse.swift b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceImageResponse.swift index 0f807ec0..d4245c1e 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceImageResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceImageResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceImageUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceImageUpdateRequest.swift index 2416c5c3..d5f44180 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceImageUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceImageUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceLanguage.swift b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceLanguage.swift index 1d7ac465..ffedadf9 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceLanguage.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceLanguage.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceLocalization.swift b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceLocalization.swift index 5d2e6a73..48cd2634 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceLocalization.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -9,6 +7,7 @@ public struct AppClipAdvancedExperienceLocalization: Codable, Identifiable { public var type: `Type` public var id: String public var attributes: Attributes? + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case appClipAdvancedExperienceLocalizations @@ -40,10 +39,11 @@ public struct AppClipAdvancedExperienceLocalization: Codable, Identifiable { } } - public init(type: `Type`, id: String, attributes: Attributes? = nil) { + public init(type: `Type`, id: String, attributes: Attributes? = nil, links: ResourceLinks? = nil) { self.type = type self.id = id self.attributes = attributes + self.links = links } public init(from decoder: Decoder) throws { @@ -51,6 +51,7 @@ public struct AppClipAdvancedExperienceLocalization: Codable, Identifiable { self.type = try values.decode(`Type`.self, forKey: "type") self.id = try values.decode(String.self, forKey: "id") self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { @@ -58,5 +59,6 @@ public struct AppClipAdvancedExperienceLocalization: Codable, Identifiable { try values.encode(type, forKey: "type") try values.encode(id, forKey: "id") try values.encodeIfPresent(attributes, forKey: "attributes") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceLocalizationInlineCreate.swift b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceLocalizationInlineCreate.swift index c21e82b5..43ef6767 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceLocalizationInlineCreate.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceLocalizationInlineCreate.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceResponse.swift b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceResponse.swift index 24dafa12..3b4ffd98 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct AppClipAdvancedExperienceResponse: Codable { } else if let value = try? container.decode(AppClipAdvancedExperienceLocalization.self) { self = .appClipAdvancedExperienceLocalization(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppClip, AppClipAdvancedExperienceImage, AppClipAdvancedExperienceLocalization)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceUpdateRequest.swift index de415e06..e95b999c 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperienceUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperiencesResponse.swift b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperiencesResponse.swift index addc2287..714de94b 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperiencesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperiencesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct AppClipAdvancedExperiencesResponse: Codable { } else if let value = try? container.decode(AppClipAdvancedExperienceLocalization.self) { self = .appClipAdvancedExperienceLocalization(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppClip, AppClipAdvancedExperienceImage, AppClipAdvancedExperienceLocalization)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppClipAppStoreReviewDetail.swift b/Sources/OpenAPI/Generated/Entities/AppClipAppStoreReviewDetail.swift index 907aaa68..84f5449e 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipAppStoreReviewDetail.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipAppStoreReviewDetail.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipAppStoreReviewDetailCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppClipAppStoreReviewDetailCreateRequest.swift index eb09f43d..e618053c 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipAppStoreReviewDetailCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipAppStoreReviewDetailCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipAppStoreReviewDetailResponse.swift b/Sources/OpenAPI/Generated/Entities/AppClipAppStoreReviewDetailResponse.swift index 21cae13e..f54fd12a 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipAppStoreReviewDetailResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipAppStoreReviewDetailResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipAppStoreReviewDetailUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppClipAppStoreReviewDetailUpdateRequest.swift index e970cc24..460ea42a 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipAppStoreReviewDetailUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipAppStoreReviewDetailUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperience.swift b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperience.swift index 27b9c2af..08880c00 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperience.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperience.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceCreateRequest.swift index ff3b49c5..4da1f4bc 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceLocalization.swift b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceLocalization.swift index 25e247af..62179466 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceLocalization.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceLocalizationCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceLocalizationCreateRequest.swift index 6667e180..6a7f96eb 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceLocalizationCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceLocalizationCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceLocalizationResponse.swift b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceLocalizationResponse.swift index 61e667ac..b009441b 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceLocalizationResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceLocalizationResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct AppClipDefaultExperienceLocalizationResponse: Codable { } else if let value = try? container.decode(AppClipHeaderImage.self) { self = .appClipHeaderImage(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppClipDefaultExperience, AppClipHeaderImage)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceLocalizationUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceLocalizationUpdateRequest.swift index 4c0552c4..faa35f98 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceLocalizationUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceLocalizationUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceLocalizationsResponse.swift b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceLocalizationsResponse.swift index 4e3d6047..4f49c908 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceLocalizationsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceLocalizationsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct AppClipDefaultExperienceLocalizationsResponse: Codable { } else if let value = try? container.decode(AppClipHeaderImage.self) { self = .appClipHeaderImage(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppClipDefaultExperience, AppClipHeaderImage)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageRequest.swift b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageRequest.swift index cbd8042f..639e5e7e 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageResponse.swift b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageResponse.swift index a8b60164..80446bab 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceResponse.swift b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceResponse.swift index b624ddc2..fc710a91 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -28,7 +26,10 @@ public struct AppClipDefaultExperienceResponse: Codable { } else if let value = try? container.decode(AppClipAppStoreReviewDetail.self) { self = .appClipAppStoreReviewDetail(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppClip, AppStoreVersion, AppClipDefaultExperienceLocalization, AppClipAppStoreReviewDetail)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceUpdateRequest.swift index 1f31f1a8..60386004 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperiencesResponse.swift b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperiencesResponse.swift index 5fb2b0fa..419355f4 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperiencesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperiencesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -28,7 +26,10 @@ public struct AppClipDefaultExperiencesResponse: Codable { } else if let value = try? container.decode(AppClipAppStoreReviewDetail.self) { self = .appClipAppStoreReviewDetail(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppClip, AppStoreVersion, AppClipDefaultExperienceLocalization, AppClipAppStoreReviewDetail)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppClipDomainStatus.swift b/Sources/OpenAPI/Generated/Entities/AppClipDomainStatus.swift index 5fc4df45..71928139 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipDomainStatus.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipDomainStatus.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -9,6 +7,7 @@ public struct AppClipDomainStatus: Codable, Identifiable { public var type: `Type` public var id: String public var attributes: Attributes? + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case appClipDomainStatuses @@ -85,10 +84,11 @@ public struct AppClipDomainStatus: Codable, Identifiable { } } - public init(type: `Type`, id: String, attributes: Attributes? = nil) { + public init(type: `Type`, id: String, attributes: Attributes? = nil, links: ResourceLinks? = nil) { self.type = type self.id = id self.attributes = attributes + self.links = links } public init(from decoder: Decoder) throws { @@ -96,6 +96,7 @@ public struct AppClipDomainStatus: Codable, Identifiable { self.type = try values.decode(`Type`.self, forKey: "type") self.id = try values.decode(String.self, forKey: "id") self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { @@ -103,5 +104,6 @@ public struct AppClipDomainStatus: Codable, Identifiable { try values.encode(type, forKey: "type") try values.encode(id, forKey: "id") try values.encodeIfPresent(attributes, forKey: "attributes") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppClipDomainStatusResponse.swift b/Sources/OpenAPI/Generated/Entities/AppClipDomainStatusResponse.swift index d1d4a2f6..8a35a693 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipDomainStatusResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipDomainStatusResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipHeaderImage.swift b/Sources/OpenAPI/Generated/Entities/AppClipHeaderImage.swift index 8d494999..793dcff0 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipHeaderImage.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipHeaderImage.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipHeaderImageCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppClipHeaderImageCreateRequest.swift index fe591cec..5d866d8d 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipHeaderImageCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipHeaderImageCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipHeaderImageResponse.swift b/Sources/OpenAPI/Generated/Entities/AppClipHeaderImageResponse.swift index 79a709fb..8f78d3b0 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipHeaderImageResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipHeaderImageResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipHeaderImageUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppClipHeaderImageUpdateRequest.swift index c19f7429..9e3f0ec9 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipHeaderImageUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipHeaderImageUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppClipResponse.swift b/Sources/OpenAPI/Generated/Entities/AppClipResponse.swift index f3e5ce98..2ac44166 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct AppClipResponse: Codable { } else if let value = try? container.decode(AppClipDefaultExperience.self) { self = .appClipDefaultExperience(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, AppClipDefaultExperience)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppClipsResponse.swift b/Sources/OpenAPI/Generated/Entities/AppClipsResponse.swift index fdfd9ff7..c696ac98 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct AppClipsResponse: Codable { } else if let value = try? container.decode(AppClipDefaultExperience.self) { self = .appClipDefaultExperience(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, AppClipDefaultExperience)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppCustomProductPage.swift b/Sources/OpenAPI/Generated/Entities/AppCustomProductPage.swift index eff60aee..9e5b754e 100644 --- a/Sources/OpenAPI/Generated/Entities/AppCustomProductPage.swift +++ b/Sources/OpenAPI/Generated/Entities/AppCustomProductPage.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageCreateRequest.swift index 832c4d0a..aefd3192 100644 --- a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -274,7 +272,10 @@ public struct AppCustomProductPageCreateRequest: Codable { } else if let value = try? container.decode(AppCustomProductPageVersionInlineCreate.self) { self = .appCustomProductPageVersionInlineCreate(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppCustomProductPageLocalizationInlineCreate, AppCustomProductPageVersionInlineCreate)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalization.swift b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalization.swift index 531c1855..edcd77cc 100644 --- a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalization.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalizationCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalizationCreateRequest.swift index 6c0036a6..327d6f93 100644 --- a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalizationCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalizationCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalizationInlineCreate.swift b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalizationInlineCreate.swift index 5635cf1a..f07f111d 100644 --- a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalizationInlineCreate.swift +++ b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalizationInlineCreate.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalizationResponse.swift b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalizationResponse.swift index aca556db..758b2b43 100644 --- a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalizationResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalizationResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct AppCustomProductPageLocalizationResponse: Codable { } else if let value = try? container.decode(AppPreviewSet.self) { self = .appPreviewSet(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppCustomProductPageVersion, AppScreenshotSet, AppPreviewSet)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalizationUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalizationUpdateRequest.swift index 24f254f6..eeaa0132 100644 --- a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalizationUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalizationUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalizationsResponse.swift b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalizationsResponse.swift index 1093c4dc..13f278aa 100644 --- a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalizationsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalizationsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct AppCustomProductPageLocalizationsResponse: Codable { } else if let value = try? container.decode(AppPreviewSet.self) { self = .appPreviewSet(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppCustomProductPageVersion, AppScreenshotSet, AppPreviewSet)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageResponse.swift b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageResponse.swift index c55eae07..eaecad76 100644 --- a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct AppCustomProductPageResponse: Codable { } else if let value = try? container.decode(AppCustomProductPageVersion.self) { self = .appCustomProductPageVersion(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, AppCustomProductPageVersion)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageUpdateRequest.swift index 113de909..8fa537dd 100644 --- a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageVersion.swift b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageVersion.swift index b9dec6a8..1203b8c8 100644 --- a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageVersion.swift +++ b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageVersion.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageVersionCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageVersionCreateRequest.swift index 26d0353f..fd0ecde5 100644 --- a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageVersionCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageVersionCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageVersionInlineCreate.swift b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageVersionInlineCreate.swift index 264ed432..3958bfd1 100644 --- a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageVersionInlineCreate.swift +++ b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageVersionInlineCreate.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageVersionResponse.swift b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageVersionResponse.swift index 3e1795a3..993f1249 100644 --- a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageVersionResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageVersionResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct AppCustomProductPageVersionResponse: Codable { } else if let value = try? container.decode(AppCustomProductPageLocalization.self) { self = .appCustomProductPageLocalization(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppCustomProductPage, AppCustomProductPageLocalization)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageVersionsResponse.swift b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageVersionsResponse.swift index 951b65f0..38b5dc2f 100644 --- a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageVersionsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageVersionsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct AppCustomProductPageVersionsResponse: Codable { } else if let value = try? container.decode(AppCustomProductPageLocalization.self) { self = .appCustomProductPageLocalization(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppCustomProductPage, AppCustomProductPageLocalization)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppCustomProductPagesResponse.swift b/Sources/OpenAPI/Generated/Entities/AppCustomProductPagesResponse.swift index 7f9d61a5..74b7e62e 100644 --- a/Sources/OpenAPI/Generated/Entities/AppCustomProductPagesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppCustomProductPagesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct AppCustomProductPagesResponse: Codable { } else if let value = try? container.decode(AppCustomProductPageVersion.self) { self = .appCustomProductPageVersion(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, AppCustomProductPageVersion)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclaration.swift b/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclaration.swift index 925c40be..916598df 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclaration.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclaration.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationBuildsLinkagesRequest.swift b/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationBuildsLinkagesRequest.swift index 3c2f3670..d53d12e5 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationBuildsLinkagesRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationBuildsLinkagesRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationDocument.swift b/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationDocument.swift index 735e5970..8cba140a 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationDocument.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationDocument.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationDocumentCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationDocumentCreateRequest.swift index e3dd83f3..0a3c49dd 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationDocumentCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationDocumentCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationDocumentResponse.swift b/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationDocumentResponse.swift index d45a2239..714e37fb 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationDocumentResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationDocumentResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationDocumentUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationDocumentUpdateRequest.swift index 6ee0b3d8..4703dacb 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationDocumentUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationDocumentUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationResponse.swift b/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationResponse.swift index bd9c8929..67dfa71e 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct AppEncryptionDeclarationResponse: Codable { } else if let value = try? container.decode(AppEncryptionDeclarationDocument.self) { self = .appEncryptionDeclarationDocument(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, Build, AppEncryptionDeclarationDocument)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationState.swift b/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationState.swift index fa962ee9..01459b8e 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationState.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationState.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationWithoutIncludesResponse.swift index 74a631ac..6ac7c791 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationsResponse.swift b/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationsResponse.swift index c3418d18..fdf993f1 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct AppEncryptionDeclarationsResponse: Codable { } else if let value = try? container.decode(AppEncryptionDeclarationDocument.self) { self = .appEncryptionDeclarationDocument(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, Build, AppEncryptionDeclarationDocument)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppEvent.swift b/Sources/OpenAPI/Generated/Entities/AppEvent.swift index 1a2d4128..5b87f191 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEvent.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEvent.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEventAssetType.swift b/Sources/OpenAPI/Generated/Entities/AppEventAssetType.swift index 204c2ce9..17eae6f9 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventAssetType.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventAssetType.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEventCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppEventCreateRequest.swift index e909ffdb..e0e53f7b 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEventLocalization.swift b/Sources/OpenAPI/Generated/Entities/AppEventLocalization.swift index 5fcd2791..955c740c 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventLocalization.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEventLocalizationCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppEventLocalizationCreateRequest.swift index 9d5eb281..797f9bab 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventLocalizationCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventLocalizationCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEventLocalizationResponse.swift b/Sources/OpenAPI/Generated/Entities/AppEventLocalizationResponse.swift index f22dd5e1..0e63e2b7 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventLocalizationResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventLocalizationResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct AppEventLocalizationResponse: Codable { } else if let value = try? container.decode(AppEventVideoClip.self) { self = .appEventVideoClip(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppEvent, AppEventScreenshot, AppEventVideoClip)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppEventLocalizationUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppEventLocalizationUpdateRequest.swift index 0dab6c4c..5b1e1529 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventLocalizationUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventLocalizationUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEventLocalizationsResponse.swift b/Sources/OpenAPI/Generated/Entities/AppEventLocalizationsResponse.swift index 580843de..f934d978 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventLocalizationsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventLocalizationsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct AppEventLocalizationsResponse: Codable { } else if let value = try? container.decode(AppEventVideoClip.self) { self = .appEventVideoClip(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppEvent, AppEventScreenshot, AppEventVideoClip)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppEventResponse.swift b/Sources/OpenAPI/Generated/Entities/AppEventResponse.swift index a32a0014..a329e7d1 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEventScreenshot.swift b/Sources/OpenAPI/Generated/Entities/AppEventScreenshot.swift index 15af82c0..f9ccca91 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventScreenshot.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventScreenshot.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEventScreenshotCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppEventScreenshotCreateRequest.swift index 0f76cb48..f476623e 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventScreenshotCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventScreenshotCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEventScreenshotResponse.swift b/Sources/OpenAPI/Generated/Entities/AppEventScreenshotResponse.swift index 6c311a12..75ef4d5f 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventScreenshotResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventScreenshotResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEventScreenshotUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppEventScreenshotUpdateRequest.swift index b9f27a22..dfeed115 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventScreenshotUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventScreenshotUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEventScreenshotsResponse.swift b/Sources/OpenAPI/Generated/Entities/AppEventScreenshotsResponse.swift index 4150167c..237d0830 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventScreenshotsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventScreenshotsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEventUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppEventUpdateRequest.swift index 1cb4a36d..be8c6c41 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEventVideoClip.swift b/Sources/OpenAPI/Generated/Entities/AppEventVideoClip.swift index 707001c2..7bc0a3ff 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventVideoClip.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventVideoClip.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEventVideoClipCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppEventVideoClipCreateRequest.swift index eb8d6f92..45dc7203 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventVideoClipCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventVideoClipCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEventVideoClipResponse.swift b/Sources/OpenAPI/Generated/Entities/AppEventVideoClipResponse.swift index 3089374c..4af3fdd2 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventVideoClipResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventVideoClipResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEventVideoClipUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppEventVideoClipUpdateRequest.swift index 0a3d280a..be31014e 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventVideoClipUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventVideoClipUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEventVideoClipsResponse.swift b/Sources/OpenAPI/Generated/Entities/AppEventVideoClipsResponse.swift index 198f3bcc..f3ad8bd0 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventVideoClipsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventVideoClipsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppEventsResponse.swift b/Sources/OpenAPI/Generated/Entities/AppEventsResponse.swift index 97030fd5..5154e298 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppInfo.swift b/Sources/OpenAPI/Generated/Entities/AppInfo.swift index 8a9561d6..9f3c98ac 100644 --- a/Sources/OpenAPI/Generated/Entities/AppInfo.swift +++ b/Sources/OpenAPI/Generated/Entities/AppInfo.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppInfoLocalization.swift b/Sources/OpenAPI/Generated/Entities/AppInfoLocalization.swift index 425db281..145ddd9d 100644 --- a/Sources/OpenAPI/Generated/Entities/AppInfoLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/AppInfoLocalization.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppInfoLocalizationCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppInfoLocalizationCreateRequest.swift index 18a25064..26f6c39f 100644 --- a/Sources/OpenAPI/Generated/Entities/AppInfoLocalizationCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppInfoLocalizationCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppInfoLocalizationResponse.swift b/Sources/OpenAPI/Generated/Entities/AppInfoLocalizationResponse.swift index 0e8ca8c2..3fbc8f85 100644 --- a/Sources/OpenAPI/Generated/Entities/AppInfoLocalizationResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppInfoLocalizationResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppInfoLocalizationUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppInfoLocalizationUpdateRequest.swift index c6b75c74..9c6aadc6 100644 --- a/Sources/OpenAPI/Generated/Entities/AppInfoLocalizationUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppInfoLocalizationUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppInfoLocalizationsResponse.swift b/Sources/OpenAPI/Generated/Entities/AppInfoLocalizationsResponse.swift index e50a89c2..fc6c92bd 100644 --- a/Sources/OpenAPI/Generated/Entities/AppInfoLocalizationsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppInfoLocalizationsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppInfoResponse.swift b/Sources/OpenAPI/Generated/Entities/AppInfoResponse.swift index d88422c9..c865024e 100644 --- a/Sources/OpenAPI/Generated/Entities/AppInfoResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppInfoResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -28,7 +26,10 @@ public struct AppInfoResponse: Codable { } else if let value = try? container.decode(AppCategory.self) { self = .appCategory(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, AgeRatingDeclaration, AppInfoLocalization, AppCategory)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppInfoUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppInfoUpdateRequest.swift index 5e916b0c..8845086f 100644 --- a/Sources/OpenAPI/Generated/Entities/AppInfoUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppInfoUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppInfosResponse.swift b/Sources/OpenAPI/Generated/Entities/AppInfosResponse.swift index d87a4d20..d50f1620 100644 --- a/Sources/OpenAPI/Generated/Entities/AppInfosResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppInfosResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -28,7 +26,10 @@ public struct AppInfosResponse: Codable { } else if let value = try? container.decode(AppCategory.self) { self = .appCategory(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, AgeRatingDeclaration, AppInfoLocalization, AppCategory)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppMediaAssetState.swift b/Sources/OpenAPI/Generated/Entities/AppMediaAssetState.swift index 11494a11..2a276515 100644 --- a/Sources/OpenAPI/Generated/Entities/AppMediaAssetState.swift +++ b/Sources/OpenAPI/Generated/Entities/AppMediaAssetState.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppMediaStateError.swift b/Sources/OpenAPI/Generated/Entities/AppMediaStateError.swift index a034f47d..c4f44d69 100644 --- a/Sources/OpenAPI/Generated/Entities/AppMediaStateError.swift +++ b/Sources/OpenAPI/Generated/Entities/AppMediaStateError.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppPreOrder.swift b/Sources/OpenAPI/Generated/Entities/AppPreOrder.swift index 6e5d6b55..ec322812 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPreOrder.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPreOrder.swift @@ -1,10 +1,9 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation +@available(*, deprecated, message: "Deprecated") public struct AppPreOrder: Codable, Identifiable { public var type: `Type` public var id: String diff --git a/Sources/OpenAPI/Generated/Entities/AppPreOrderCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppPreOrderCreateRequest.swift index 98a79180..1b4b4ae7 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPreOrderCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPreOrderCreateRequest.swift @@ -1,10 +1,9 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation +@available(*, deprecated, message: "Deprecated") public struct AppPreOrderCreateRequest: Codable { public var data: Data diff --git a/Sources/OpenAPI/Generated/Entities/AppPreOrderResponse.swift b/Sources/OpenAPI/Generated/Entities/AppPreOrderResponse.swift index ff8b03c6..b5fb54e8 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPreOrderResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPreOrderResponse.swift @@ -1,12 +1,13 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation +@available(*, deprecated, message: "Deprecated") public struct AppPreOrderResponse: Codable { /// AppPreOrder + /// + /// - warning: Deprecated. public var data: AppPreOrder public var included: [App]? public var links: DocumentLinks diff --git a/Sources/OpenAPI/Generated/Entities/AppPreOrderUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppPreOrderUpdateRequest.swift index fca8e25a..1756ea5b 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPreOrderUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPreOrderUpdateRequest.swift @@ -1,10 +1,9 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation +@available(*, deprecated, message: "Deprecated") public struct AppPreOrderUpdateRequest: Codable { public var data: Data diff --git a/Sources/OpenAPI/Generated/Entities/AppPreOrderWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/AppPreOrderWithoutIncludesResponse.swift index 945052b6..97128149 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPreOrderWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPreOrderWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppPreview.swift b/Sources/OpenAPI/Generated/Entities/AppPreview.swift index 6c223be4..a416aa66 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPreview.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPreview.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppPreviewCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppPreviewCreateRequest.swift index 11b13543..1b4f6384 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPreviewCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPreviewCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppPreviewResponse.swift b/Sources/OpenAPI/Generated/Entities/AppPreviewResponse.swift index b5905ca4..6faf2032 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPreviewResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPreviewResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppPreviewSet.swift b/Sources/OpenAPI/Generated/Entities/AppPreviewSet.swift index ed3b0e73..f8f11ef9 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPreviewSet.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPreviewSet.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppPreviewSetAppPreviewsLinkagesRequest.swift b/Sources/OpenAPI/Generated/Entities/AppPreviewSetAppPreviewsLinkagesRequest.swift index ac74244e..841d70c7 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPreviewSetAppPreviewsLinkagesRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPreviewSetAppPreviewsLinkagesRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppPreviewSetAppPreviewsLinkagesResponse.swift b/Sources/OpenAPI/Generated/Entities/AppPreviewSetAppPreviewsLinkagesResponse.swift index 4613227d..ae329f25 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPreviewSetAppPreviewsLinkagesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPreviewSetAppPreviewsLinkagesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppPreviewSetCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppPreviewSetCreateRequest.swift index 22acba0f..6da5c751 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPreviewSetCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPreviewSetCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppPreviewSetResponse.swift b/Sources/OpenAPI/Generated/Entities/AppPreviewSetResponse.swift index d5bc80e2..0af7c755 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPreviewSetResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPreviewSetResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -28,7 +26,10 @@ public struct AppPreviewSetResponse: Codable { } else if let value = try? container.decode(AppPreview.self) { self = .appPreview(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppStoreVersionLocalization, AppCustomProductPageLocalization, AppStoreVersionExperimentTreatmentLocalization, AppPreview)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppPreviewSetsResponse.swift b/Sources/OpenAPI/Generated/Entities/AppPreviewSetsResponse.swift index 1a06a273..dc3cb37f 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPreviewSetsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPreviewSetsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -28,7 +26,10 @@ public struct AppPreviewSetsResponse: Codable { } else if let value = try? container.decode(AppPreview.self) { self = .appPreview(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppStoreVersionLocalization, AppCustomProductPageLocalization, AppStoreVersionExperimentTreatmentLocalization, AppPreview)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppPreviewUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppPreviewUpdateRequest.swift index 4dbd829c..45b2aefc 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPreviewUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPreviewUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppPreviewsResponse.swift b/Sources/OpenAPI/Generated/Entities/AppPreviewsResponse.swift index dcf5f392..1f1e1c44 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPreviewsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPreviewsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppPrice.swift b/Sources/OpenAPI/Generated/Entities/AppPrice.swift index 11cfb7f1..925fa869 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPrice.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPrice.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppPriceInlineCreate.swift b/Sources/OpenAPI/Generated/Entities/AppPriceInlineCreate.swift index 12a18cf1..d124c49b 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPriceInlineCreate.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPriceInlineCreate.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppPricePoint.swift b/Sources/OpenAPI/Generated/Entities/AppPricePoint.swift index 7ae1557e..8fd1f660 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPricePoint.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPricePoint.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppPricePointResponse.swift b/Sources/OpenAPI/Generated/Entities/AppPricePointResponse.swift index 4700411f..13529ed5 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPricePointResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPricePointResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct AppPricePointResponse: Codable { } else if let value = try? container.decode(Territory.self) { self = .territory(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppPriceTier, Territory)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppPricePointV2.swift b/Sources/OpenAPI/Generated/Entities/AppPricePointV2.swift index 6d1a2178..db56aa4e 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPricePointV2.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPricePointV2.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -11,6 +9,7 @@ public struct AppPricePointV2: Codable, Identifiable { public var id: String public var attributes: Attributes? public var relationships: Relationships? + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case appPricePoints @@ -274,11 +273,12 @@ public struct AppPricePointV2: Codable, Identifiable { } } - public init(type: `Type`, id: String, attributes: Attributes? = nil, relationships: Relationships? = nil) { + public init(type: `Type`, id: String, attributes: Attributes? = nil, relationships: Relationships? = nil, links: ResourceLinks? = nil) { self.type = type self.id = id self.attributes = attributes self.relationships = relationships + self.links = links } public init(from decoder: Decoder) throws { @@ -287,6 +287,7 @@ public struct AppPricePointV2: Codable, Identifiable { self.id = try values.decode(String.self, forKey: "id") self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") self.relationships = try values.decodeIfPresent(Relationships.self, forKey: "relationships") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { @@ -295,5 +296,6 @@ public struct AppPricePointV2: Codable, Identifiable { try values.encode(id, forKey: "id") try values.encodeIfPresent(attributes, forKey: "attributes") try values.encodeIfPresent(relationships, forKey: "relationships") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppPricePointV3.swift b/Sources/OpenAPI/Generated/Entities/AppPricePointV3.swift index e0e8bb0f..51534f22 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPricePointV3.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPricePointV3.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppPricePointV3Response.swift b/Sources/OpenAPI/Generated/Entities/AppPricePointV3Response.swift index 22cdf3bc..9d5430ea 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPricePointV3Response.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPricePointV3Response.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct AppPricePointV3Response: Codable { } else if let value = try? container.decode(Territory.self) { self = .territory(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, Territory)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppPricePointsResponse.swift b/Sources/OpenAPI/Generated/Entities/AppPricePointsResponse.swift index e0b6dd2e..b373e5de 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPricePointsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPricePointsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -23,7 +21,10 @@ public struct AppPricePointsResponse: Codable { } else if let value = try? container.decode(Territory.self) { self = .territory(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppPriceTier, Territory)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppPricePointsV2Response.swift b/Sources/OpenAPI/Generated/Entities/AppPricePointsV2Response.swift index 71c6ddca..8a5aa5b4 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPricePointsV2Response.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPricePointsV2Response.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -26,7 +24,10 @@ public struct AppPricePointsV2Response: Codable { } else if let value = try? container.decode(Territory.self) { self = .territory(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, AppPriceTier, Territory)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppPricePointsV3Response.swift b/Sources/OpenAPI/Generated/Entities/AppPricePointsV3Response.swift index 4e7ebb72..eb96b805 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPricePointsV3Response.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPricePointsV3Response.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct AppPricePointsV3Response: Codable { } else if let value = try? container.decode(Territory.self) { self = .territory(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, Territory)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppPriceResponse.swift b/Sources/OpenAPI/Generated/Entities/AppPriceResponse.swift index d9f00887..4913f186 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPriceResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPriceResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct AppPriceResponse: Codable { } else if let value = try? container.decode(AppPriceTier.self) { self = .appPriceTier(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, AppPriceTier)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppPriceSchedule.swift b/Sources/OpenAPI/Generated/Entities/AppPriceSchedule.swift index 3f6e305b..cf9276be 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPriceSchedule.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPriceSchedule.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppPriceScheduleCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppPriceScheduleCreateRequest.swift index f50eeb75..32ead283 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPriceScheduleCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPriceScheduleCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -204,7 +202,10 @@ public struct AppPriceScheduleCreateRequest: Codable { } else if let value = try? container.decode(TerritoryInlineCreate.self) { self = .territoryInlineCreate(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppPriceV2InlineCreate, TerritoryInlineCreate)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppPriceScheduleResponse.swift b/Sources/OpenAPI/Generated/Entities/AppPriceScheduleResponse.swift index bd024549..b371fff1 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPriceScheduleResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPriceScheduleResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct AppPriceScheduleResponse: Codable { } else if let value = try? container.decode(AppPriceV2.self) { self = .appPriceV2(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, Territory, AppPriceV2)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppPriceTier.swift b/Sources/OpenAPI/Generated/Entities/AppPriceTier.swift index 315b8384..3af1b9dd 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPriceTier.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPriceTier.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppPriceTierResponse.swift b/Sources/OpenAPI/Generated/Entities/AppPriceTierResponse.swift index 11fadcd1..2cf35a4b 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPriceTierResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPriceTierResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppPriceTiersResponse.swift b/Sources/OpenAPI/Generated/Entities/AppPriceTiersResponse.swift index 7033713d..affb7a29 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPriceTiersResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPriceTiersResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppPriceV2.swift b/Sources/OpenAPI/Generated/Entities/AppPriceV2.swift index 2b33adef..66a5f77a 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPriceV2.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPriceV2.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -10,6 +8,7 @@ public struct AppPriceV2: Codable, Identifiable { public var id: String public var attributes: Attributes? public var relationships: Relationships? + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case appPrices @@ -203,11 +202,12 @@ public struct AppPriceV2: Codable, Identifiable { } } - public init(type: `Type`, id: String, attributes: Attributes? = nil, relationships: Relationships? = nil) { + public init(type: `Type`, id: String, attributes: Attributes? = nil, relationships: Relationships? = nil, links: ResourceLinks? = nil) { self.type = type self.id = id self.attributes = attributes self.relationships = relationships + self.links = links } public init(from decoder: Decoder) throws { @@ -216,6 +216,7 @@ public struct AppPriceV2: Codable, Identifiable { self.id = try values.decode(String.self, forKey: "id") self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") self.relationships = try values.decodeIfPresent(Relationships.self, forKey: "relationships") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { @@ -224,5 +225,6 @@ public struct AppPriceV2: Codable, Identifiable { try values.encode(id, forKey: "id") try values.encodeIfPresent(attributes, forKey: "attributes") try values.encodeIfPresent(relationships, forKey: "relationships") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppPriceV2InlineCreate.swift b/Sources/OpenAPI/Generated/Entities/AppPriceV2InlineCreate.swift index 2b7b0cd4..69021766 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPriceV2InlineCreate.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPriceV2InlineCreate.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppPricesResponse.swift b/Sources/OpenAPI/Generated/Entities/AppPricesResponse.swift index 9cfeb9e3..87612b37 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPricesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPricesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -23,7 +21,10 @@ public struct AppPricesResponse: Codable { } else if let value = try? container.decode(AppPriceTier.self) { self = .appPriceTier(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, AppPriceTier)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppPricesV2Response.swift b/Sources/OpenAPI/Generated/Entities/AppPricesV2Response.swift index 6ea66836..6bf77710 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPricesV2Response.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPricesV2Response.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct AppPricesV2Response: Codable { } else if let value = try? container.decode(Territory.self) { self = .territory(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppPricePointV3, Territory)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppPromotedPurchasesLinkagesRequest.swift b/Sources/OpenAPI/Generated/Entities/AppPromotedPurchasesLinkagesRequest.swift index 160c2612..040d8a5a 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPromotedPurchasesLinkagesRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPromotedPurchasesLinkagesRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppPromotedPurchasesLinkagesResponse.swift b/Sources/OpenAPI/Generated/Entities/AppPromotedPurchasesLinkagesResponse.swift index dcd7df31..abc890b3 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPromotedPurchasesLinkagesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPromotedPurchasesLinkagesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppResponse.swift b/Sources/OpenAPI/Generated/Entities/AppResponse.swift index 77e118d4..4a2dc0b4 100644 --- a/Sources/OpenAPI/Generated/Entities/AppResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -94,7 +92,10 @@ public struct AppResponse: Codable { } else if let value = try? container.decode(AppStoreVersionExperimentV2.self) { self = .appStoreVersionExperimentV2(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppEncryptionDeclaration, CiProduct, BetaGroup, AppStoreVersion, PrereleaseVersion, BetaAppLocalization, Build, BetaLicenseAgreement, BetaAppReviewDetail, AppInfo, AppClip, EndUserLicenseAgreement, AppPreOrder, AppPrice, Territory, InAppPurchase, SubscriptionGroup, GameCenterEnabledVersion, AppCustomProductPage, InAppPurchaseV2, PromotedPurchase, AppEvent, ReviewSubmission, SubscriptionGracePeriod, GameCenterDetail, AppStoreVersionExperimentV2)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppScreenshot.swift b/Sources/OpenAPI/Generated/Entities/AppScreenshot.swift index ff711899..0caaf2c2 100644 --- a/Sources/OpenAPI/Generated/Entities/AppScreenshot.swift +++ b/Sources/OpenAPI/Generated/Entities/AppScreenshot.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppScreenshotCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppScreenshotCreateRequest.swift index 320308be..17af8bd5 100644 --- a/Sources/OpenAPI/Generated/Entities/AppScreenshotCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppScreenshotCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppScreenshotResponse.swift b/Sources/OpenAPI/Generated/Entities/AppScreenshotResponse.swift index 5d4133dd..94ffaffa 100644 --- a/Sources/OpenAPI/Generated/Entities/AppScreenshotResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppScreenshotResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppScreenshotSet.swift b/Sources/OpenAPI/Generated/Entities/AppScreenshotSet.swift index 62820752..d2fa7ffb 100644 --- a/Sources/OpenAPI/Generated/Entities/AppScreenshotSet.swift +++ b/Sources/OpenAPI/Generated/Entities/AppScreenshotSet.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppScreenshotSetAppScreenshotsLinkagesRequest.swift b/Sources/OpenAPI/Generated/Entities/AppScreenshotSetAppScreenshotsLinkagesRequest.swift index bc8a9df7..484de5fe 100644 --- a/Sources/OpenAPI/Generated/Entities/AppScreenshotSetAppScreenshotsLinkagesRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppScreenshotSetAppScreenshotsLinkagesRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppScreenshotSetAppScreenshotsLinkagesResponse.swift b/Sources/OpenAPI/Generated/Entities/AppScreenshotSetAppScreenshotsLinkagesResponse.swift index 5726bc01..e8309516 100644 --- a/Sources/OpenAPI/Generated/Entities/AppScreenshotSetAppScreenshotsLinkagesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppScreenshotSetAppScreenshotsLinkagesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppScreenshotSetCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppScreenshotSetCreateRequest.swift index bf56dd35..d21a4430 100644 --- a/Sources/OpenAPI/Generated/Entities/AppScreenshotSetCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppScreenshotSetCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppScreenshotSetResponse.swift b/Sources/OpenAPI/Generated/Entities/AppScreenshotSetResponse.swift index a18d70b1..14d6745d 100644 --- a/Sources/OpenAPI/Generated/Entities/AppScreenshotSetResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppScreenshotSetResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -28,7 +26,10 @@ public struct AppScreenshotSetResponse: Codable { } else if let value = try? container.decode(AppScreenshot.self) { self = .appScreenshot(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppStoreVersionLocalization, AppCustomProductPageLocalization, AppStoreVersionExperimentTreatmentLocalization, AppScreenshot)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppScreenshotSetsResponse.swift b/Sources/OpenAPI/Generated/Entities/AppScreenshotSetsResponse.swift index fd598ff3..d720d588 100644 --- a/Sources/OpenAPI/Generated/Entities/AppScreenshotSetsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppScreenshotSetsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -28,7 +26,10 @@ public struct AppScreenshotSetsResponse: Codable { } else if let value = try? container.decode(AppScreenshot.self) { self = .appScreenshot(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppStoreVersionLocalization, AppCustomProductPageLocalization, AppStoreVersionExperimentTreatmentLocalization, AppScreenshot)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppScreenshotUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppScreenshotUpdateRequest.swift index e5ecece2..29a5a225 100644 --- a/Sources/OpenAPI/Generated/Entities/AppScreenshotUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppScreenshotUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppScreenshotsResponse.swift b/Sources/OpenAPI/Generated/Entities/AppScreenshotsResponse.swift index 13ce2272..cd84926e 100644 --- a/Sources/OpenAPI/Generated/Entities/AppScreenshotsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppScreenshotsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreAgeRating.swift b/Sources/OpenAPI/Generated/Entities/AppStoreAgeRating.swift index c5062386..dd574fc3 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreAgeRating.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreAgeRating.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreReviewAttachment.swift b/Sources/OpenAPI/Generated/Entities/AppStoreReviewAttachment.swift index ec07fe6e..e446df6c 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreReviewAttachment.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreReviewAttachment.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreReviewAttachmentCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreReviewAttachmentCreateRequest.swift index 27b3c03d..003ba62b 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreReviewAttachmentCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreReviewAttachmentCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreReviewAttachmentResponse.swift b/Sources/OpenAPI/Generated/Entities/AppStoreReviewAttachmentResponse.swift index 0f505b67..f2146ee1 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreReviewAttachmentResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreReviewAttachmentResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreReviewAttachmentUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreReviewAttachmentUpdateRequest.swift index 30a7eb14..48dc3930 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreReviewAttachmentUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreReviewAttachmentUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreReviewAttachmentsResponse.swift b/Sources/OpenAPI/Generated/Entities/AppStoreReviewAttachmentsResponse.swift index 20ddea5a..02849ea3 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreReviewAttachmentsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreReviewAttachmentsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreReviewDetail.swift b/Sources/OpenAPI/Generated/Entities/AppStoreReviewDetail.swift index 60cba06c..fc470384 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreReviewDetail.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreReviewDetail.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreReviewDetailCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreReviewDetailCreateRequest.swift index 66548e2b..204e4ede 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreReviewDetailCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreReviewDetailCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreReviewDetailResponse.swift b/Sources/OpenAPI/Generated/Entities/AppStoreReviewDetailResponse.swift index 1ff3144b..2cf507ba 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreReviewDetailResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreReviewDetailResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct AppStoreReviewDetailResponse: Codable { } else if let value = try? container.decode(AppStoreReviewAttachment.self) { self = .appStoreReviewAttachment(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppStoreVersion, AppStoreReviewAttachment)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreReviewDetailUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreReviewDetailUpdateRequest.swift index bd50616d..8d349ecd 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreReviewDetailUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreReviewDetailUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersion.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersion.swift index 740eb900..41f87857 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersion.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersion.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionAppClipDefaultExperienceLinkageRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionAppClipDefaultExperienceLinkageRequest.swift index a7604a41..aa8c38b0 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionAppClipDefaultExperienceLinkageRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionAppClipDefaultExperienceLinkageRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionAppClipDefaultExperienceLinkageResponse.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionAppClipDefaultExperienceLinkageResponse.swift index 32b94969..34dbac70 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionAppClipDefaultExperienceLinkageResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionAppClipDefaultExperienceLinkageResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionBuildLinkageRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionBuildLinkageRequest.swift index 75554abd..0a090e3c 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionBuildLinkageRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionBuildLinkageRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionBuildLinkageResponse.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionBuildLinkageResponse.swift index f9017875..862e7eca 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionBuildLinkageResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionBuildLinkageResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionCreateRequest.swift index 097dfbcc..bacd8d3b 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperiment.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperiment.swift index 547f52e5..e75f7b9f 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperiment.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperiment.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentCreateRequest.swift index adc3bb59..57af4d6c 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentResponse.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentResponse.swift index cc2c1db3..c4769aae 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct AppStoreVersionExperimentResponse: Codable { } else if let value = try? container.decode(AppStoreVersionExperimentTreatment.self) { self = .appStoreVersionExperimentTreatment(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppStoreVersion, AppStoreVersionExperimentTreatment)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatment.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatment.swift index 78835b13..4f7baf68 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatment.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatment.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentCreateRequest.swift index 97f2083b..04476599 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentLocalization.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentLocalization.swift index 35848741..2014efcc 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentLocalization.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentLocalizationCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentLocalizationCreateRequest.swift index bfdc639e..6417571e 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentLocalizationCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentLocalizationCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentLocalizationResponse.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentLocalizationResponse.swift index 7c382554..672342f2 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentLocalizationResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentLocalizationResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct AppStoreVersionExperimentTreatmentLocalizationResponse: Codable { } else if let value = try? container.decode(AppPreviewSet.self) { self = .appPreviewSet(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppStoreVersionExperimentTreatment, AppScreenshotSet, AppPreviewSet)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentLocalizationsResponse.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentLocalizationsResponse.swift index 19b5a059..27f18dd4 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentLocalizationsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentLocalizationsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct AppStoreVersionExperimentTreatmentLocalizationsResponse: Codable { } else if let value = try? container.decode(AppPreviewSet.self) { self = .appPreviewSet(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppStoreVersionExperimentTreatment, AppScreenshotSet, AppPreviewSet)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentResponse.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentResponse.swift index c1deaf2f..1acce661 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct AppStoreVersionExperimentTreatmentResponse: Codable { } else if let value = try? container.decode(AppStoreVersionExperimentTreatmentLocalization.self) { self = .appStoreVersionExperimentTreatmentLocalization(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppStoreVersionExperiment, AppStoreVersionExperimentV2, AppStoreVersionExperimentTreatmentLocalization)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentUpdateRequest.swift index 5c7a3d98..f19f1c49 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentsResponse.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentsResponse.swift index 6aacab51..d94dafa1 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct AppStoreVersionExperimentTreatmentsResponse: Codable { } else if let value = try? container.decode(AppStoreVersionExperimentTreatmentLocalization.self) { self = .appStoreVersionExperimentTreatmentLocalization(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppStoreVersionExperiment, AppStoreVersionExperimentV2, AppStoreVersionExperimentTreatmentLocalization)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentUpdateRequest.swift index ffa88f9b..78897b14 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentV2.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentV2.swift index 9e61201a..f4e62e76 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentV2.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentV2.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentV2CreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentV2CreateRequest.swift index 3c5ce6d2..6f54eaf6 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentV2CreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentV2CreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentV2Response.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentV2Response.swift index 51aee0d1..afb40718 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentV2Response.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentV2Response.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct AppStoreVersionExperimentV2Response: Codable { } else if let value = try? container.decode(AppStoreVersionExperimentTreatment.self) { self = .appStoreVersionExperimentTreatment(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, AppStoreVersion, AppStoreVersionExperimentTreatment)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentV2UpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentV2UpdateRequest.swift index f9ed8258..f9101bba 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentV2UpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentV2UpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentsResponse.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentsResponse.swift index 65ccb9c4..31da5758 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -23,7 +21,10 @@ public struct AppStoreVersionExperimentsResponse: Codable { } else if let value = try? container.decode(AppStoreVersionExperimentTreatment.self) { self = .appStoreVersionExperimentTreatment(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppStoreVersion, AppStoreVersionExperimentTreatment)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentsV2Response.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentsV2Response.swift index 254727ed..cf5e9186 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentsV2Response.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentsV2Response.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct AppStoreVersionExperimentsV2Response: Codable { } else if let value = try? container.decode(AppStoreVersionExperimentTreatment.self) { self = .appStoreVersionExperimentTreatment(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, AppStoreVersion, AppStoreVersionExperimentTreatment)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalization.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalization.swift index 20daa2c4..eecdbfc9 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalization.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalizationCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalizationCreateRequest.swift index 61b17498..665154de 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalizationCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalizationCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalizationResponse.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalizationResponse.swift index eaec9b9b..94ead563 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalizationResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalizationResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct AppStoreVersionLocalizationResponse: Codable { } else if let value = try? container.decode(AppPreviewSet.self) { self = .appPreviewSet(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppStoreVersion, AppScreenshotSet, AppPreviewSet)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalizationUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalizationUpdateRequest.swift index c6a6ec61..c13d949f 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalizationUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalizationUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalizationsResponse.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalizationsResponse.swift index 6868d542..57f7ce88 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalizationsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalizationsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct AppStoreVersionLocalizationsResponse: Codable { } else if let value = try? container.decode(AppPreviewSet.self) { self = .appPreviewSet(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppStoreVersion, AppScreenshotSet, AppPreviewSet)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalizationsWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalizationsWithoutIncludesResponse.swift index a92479e1..0bb86755 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalizationsWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalizationsWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionPhasedRelease.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionPhasedRelease.swift index 47f69c95..0432db3b 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionPhasedRelease.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionPhasedRelease.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionPhasedReleaseCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionPhasedReleaseCreateRequest.swift index 5a551da8..b7b4d675 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionPhasedReleaseCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionPhasedReleaseCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionPhasedReleaseResponse.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionPhasedReleaseResponse.swift index 8b023bce..49a61ada 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionPhasedReleaseResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionPhasedReleaseResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionPhasedReleaseUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionPhasedReleaseUpdateRequest.swift index 0b6abbac..a36d3eaf 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionPhasedReleaseUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionPhasedReleaseUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionPhasedReleaseWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionPhasedReleaseWithoutIncludesResponse.swift index e6ead943..03498a0d 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionPhasedReleaseWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionPhasedReleaseWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionPromotion.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionPromotion.swift index 34b2c40f..c8677318 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionPromotion.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionPromotion.swift @@ -1,32 +1,34 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation public struct AppStoreVersionPromotion: Codable, Identifiable { public var type: `Type` public var id: String + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case appStoreVersionPromotions } - public init(type: `Type`, id: String) { + public init(type: `Type`, id: String, links: ResourceLinks? = nil) { self.type = type self.id = id + self.links = links } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) self.type = try values.decode(`Type`.self, forKey: "type") self.id = try values.decode(String.self, forKey: "id") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encode(type, forKey: "type") try values.encode(id, forKey: "id") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionPromotionCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionPromotionCreateRequest.swift index f03c178e..faf8281a 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionPromotionCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionPromotionCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionPromotionResponse.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionPromotionResponse.swift index 6b6605d3..91271921 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionPromotionResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionPromotionResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionReleaseRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionReleaseRequest.swift index 6d112a9c..454b5cfb 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionReleaseRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionReleaseRequest.swift @@ -1,32 +1,34 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation public struct AppStoreVersionReleaseRequest: Codable, Identifiable { public var type: `Type` public var id: String + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case appStoreVersionReleaseRequests } - public init(type: `Type`, id: String) { + public init(type: `Type`, id: String, links: ResourceLinks? = nil) { self.type = type self.id = id + self.links = links } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) self.type = try values.decode(`Type`.self, forKey: "type") self.id = try values.decode(String.self, forKey: "id") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encode(type, forKey: "type") try values.encode(id, forKey: "id") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionReleaseRequestCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionReleaseRequestCreateRequest.swift index 460469dc..6fc72301 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionReleaseRequestCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionReleaseRequestCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionReleaseRequestResponse.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionReleaseRequestResponse.swift index 95ac78e2..332132e6 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionReleaseRequestResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionReleaseRequestResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionResponse.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionResponse.swift index 7d93e98c..892fbee5 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -49,7 +47,10 @@ public struct AppStoreVersionResponse: Codable { } else if let value = try? container.decode(AppStoreVersionExperimentV2.self) { self = .appStoreVersionExperimentV2(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, AgeRatingDeclaration, AppStoreVersionLocalization, Build, AppStoreVersionPhasedRelease, RoutingAppCoverage, AppStoreReviewDetail, AppStoreVersionSubmission, AppClipDefaultExperience, AppStoreVersionExperiment, AppStoreVersionExperimentV2)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionState.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionState.swift index 560e7d44..0a3402b0 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionState.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionState.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionSubmission.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionSubmission.swift index f3cde84a..33b9b52d 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionSubmission.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionSubmission.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionSubmissionCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionSubmissionCreateRequest.swift index 28c1e4af..85eea51d 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionSubmissionCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionSubmissionCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionSubmissionResponse.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionSubmissionResponse.swift index abb82ff9..cb594318 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionSubmissionResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionSubmissionResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionUpdateRequest.swift index 03c034bd..cee32242 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionsResponse.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionsResponse.swift index 20940243..1bb540e4 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -49,7 +47,10 @@ public struct AppStoreVersionsResponse: Codable { } else if let value = try? container.decode(AppStoreVersionExperimentV2.self) { self = .appStoreVersionExperimentV2(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, AgeRatingDeclaration, AppStoreVersionLocalization, Build, AppStoreVersionPhasedRelease, RoutingAppCoverage, AppStoreReviewDetail, AppStoreVersionSubmission, AppClipDefaultExperience, AppStoreVersionExperiment, AppStoreVersionExperimentV2)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppUpdateRequest.swift index 272658a9..2b6f7638 100644 --- a/Sources/OpenAPI/Generated/Entities/AppUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/AppWithoutIncludesResponse.swift index aa39473a..8f43e3a4 100644 --- a/Sources/OpenAPI/Generated/Entities/AppWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/AppsBetaTesterUsagesV1MetricResponse.swift b/Sources/OpenAPI/Generated/Entities/AppsBetaTesterUsagesV1MetricResponse.swift new file mode 100644 index 00000000..8aaf3d6a --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/AppsBetaTesterUsagesV1MetricResponse.swift @@ -0,0 +1,166 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct AppsBetaTesterUsagesV1MetricResponse: Codable { + public var data: [Datum] + public var links: PagedDocumentLinks + public var meta: PagingInformation? + public var included: [BetaTester]? + + public struct Datum: Codable { + public var dataPoints: DataPoints? + public var dimensions: Dimensions? + + public struct DataPoints: Codable { + public var start: Date? + public var end: Date? + public var values: Values? + + public struct Values: Codable { + public var crashCount: Int? + public var sessionCount: Int? + public var feedbackCount: Int? + + public init(crashCount: Int? = nil, sessionCount: Int? = nil, feedbackCount: Int? = nil) { + self.crashCount = crashCount + self.sessionCount = sessionCount + self.feedbackCount = feedbackCount + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.crashCount = try values.decodeIfPresent(Int.self, forKey: "crashCount") + self.sessionCount = try values.decodeIfPresent(Int.self, forKey: "sessionCount") + self.feedbackCount = try values.decodeIfPresent(Int.self, forKey: "feedbackCount") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(crashCount, forKey: "crashCount") + try values.encodeIfPresent(sessionCount, forKey: "sessionCount") + try values.encodeIfPresent(feedbackCount, forKey: "feedbackCount") + } + } + + public init(start: Date? = nil, end: Date? = nil, values: Values? = nil) { + self.start = start + self.end = end + self.values = values + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.start = try values.decodeIfPresent(Date.self, forKey: "start") + self.end = try values.decodeIfPresent(Date.self, forKey: "end") + self.values = try values.decodeIfPresent(Values.self, forKey: "values") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(start, forKey: "start") + try values.encodeIfPresent(end, forKey: "end") + try values.encodeIfPresent(self.values, forKey: "values") + } + } + + public struct Dimensions: Codable { + public var betaTesters: BetaTesters? + + public struct BetaTesters: Codable { + public var links: Links? + + public struct Links: Codable { + public var groupBy: String? + public var related: String? + + public init(groupBy: String? = nil, related: String? = nil) { + self.groupBy = groupBy + self.related = related + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.groupBy = try values.decodeIfPresent(String.self, forKey: "groupBy") + self.related = try values.decodeIfPresent(String.self, forKey: "related") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(groupBy, forKey: "groupBy") + try values.encodeIfPresent(related, forKey: "related") + } + } + + public init(links: Links? = nil) { + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.links = try values.decodeIfPresent(Links.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") + } + } + + public init(betaTesters: BetaTesters? = nil) { + self.betaTesters = betaTesters + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.betaTesters = try values.decodeIfPresent(BetaTesters.self, forKey: "betaTesters") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(betaTesters, forKey: "betaTesters") + } + } + + public init(dataPoints: DataPoints? = nil, dimensions: Dimensions? = nil) { + self.dataPoints = dataPoints + self.dimensions = dimensions + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.dataPoints = try values.decodeIfPresent(DataPoints.self, forKey: "dataPoints") + self.dimensions = try values.decodeIfPresent(Dimensions.self, forKey: "dimensions") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(dataPoints, forKey: "dataPoints") + try values.encodeIfPresent(dimensions, forKey: "dimensions") + } + } + + public init(data: [Datum], links: PagedDocumentLinks, meta: PagingInformation? = nil, included: [BetaTester]? = nil) { + self.data = data + self.links = links + self.meta = meta + self.included = included + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode([Datum].self, forKey: "data") + self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + self.included = try values.decodeIfPresent([BetaTester].self, forKey: "included") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + try values.encodeIfPresent(meta, forKey: "meta") + try values.encodeIfPresent(included, forKey: "included") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/AppsResponse.swift b/Sources/OpenAPI/Generated/Entities/AppsResponse.swift index 0d1b006a..6a4515c7 100644 --- a/Sources/OpenAPI/Generated/Entities/AppsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -94,7 +92,10 @@ public struct AppsResponse: Codable { } else if let value = try? container.decode(AppStoreVersionExperimentV2.self) { self = .appStoreVersionExperimentV2(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppEncryptionDeclaration, CiProduct, BetaGroup, AppStoreVersion, PrereleaseVersion, BetaAppLocalization, Build, BetaLicenseAgreement, BetaAppReviewDetail, AppInfo, AppClip, EndUserLicenseAgreement, AppPreOrder, AppPrice, Territory, InAppPurchase, SubscriptionGroup, GameCenterEnabledVersion, AppCustomProductPage, InAppPurchaseV2, PromotedPurchase, AppEvent, ReviewSubmission, SubscriptionGracePeriod, GameCenterDetail, AppStoreVersionExperimentV2)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/AppsWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/AppsWithoutIncludesResponse.swift index edb8f145..6d8800db 100644 --- a/Sources/OpenAPI/Generated/Entities/AppsWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppsWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocation.swift b/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocation.swift index e6bbf046..7e74cf42 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocation.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocation.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationCreateRequest.swift index f8dd5835..abc8700b 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationLocalization.swift b/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationLocalization.swift index e015d0ee..7ea04e27 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationLocalization.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationLocalizationCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationLocalizationCreateRequest.swift index ff265193..cd4f3027 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationLocalizationCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationLocalizationCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationLocalizationInlineCreate.swift b/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationLocalizationInlineCreate.swift index 02a6af29..2996526c 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationLocalizationInlineCreate.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationLocalizationInlineCreate.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationLocalizationResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationLocalizationResponse.swift index f9c0fd75..a5344010 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationLocalizationResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationLocalizationResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationLocalizationUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationLocalizationUpdateRequest.swift index 6254c90f..ed6243fb 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationLocalizationUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationLocalizationUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationResponse.swift index b347ae8b..f6e19385 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationUpdateRequest.swift index 59a558db..a276afaf 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationsResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationsResponse.swift index 5dccf85b..1fa675a2 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocationsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppLocalization.swift b/Sources/OpenAPI/Generated/Entities/BetaAppLocalization.swift index 71d65c33..d7e0792a 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppLocalization.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppLocalizationCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/BetaAppLocalizationCreateRequest.swift index f2ba69a1..ec50f92a 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppLocalizationCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppLocalizationCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppLocalizationResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaAppLocalizationResponse.swift index 11e81235..d96342cb 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppLocalizationResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppLocalizationResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppLocalizationUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/BetaAppLocalizationUpdateRequest.swift index 09387270..546e4880 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppLocalizationUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppLocalizationUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppLocalizationsResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaAppLocalizationsResponse.swift index 163757ad..0b4fe36b 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppLocalizationsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppLocalizationsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppLocalizationsWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaAppLocalizationsWithoutIncludesResponse.swift index 8c1470f8..67e73829 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppLocalizationsWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppLocalizationsWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppReviewDetail.swift b/Sources/OpenAPI/Generated/Entities/BetaAppReviewDetail.swift index b38d1c72..3587aa4a 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppReviewDetail.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppReviewDetail.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppReviewDetailResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaAppReviewDetailResponse.swift index 7d4086ce..78ad0bcb 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppReviewDetailResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppReviewDetailResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppReviewDetailUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/BetaAppReviewDetailUpdateRequest.swift index 78c0e4f8..81979801 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppReviewDetailUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppReviewDetailUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppReviewDetailWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaAppReviewDetailWithoutIncludesResponse.swift index 7b0904ca..97210e86 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppReviewDetailWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppReviewDetailWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppReviewDetailsResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaAppReviewDetailsResponse.swift index e37977fd..2b397b87 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppReviewDetailsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppReviewDetailsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppReviewSubmission.swift b/Sources/OpenAPI/Generated/Entities/BetaAppReviewSubmission.swift index 70fbe76c..995c9d74 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppReviewSubmission.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppReviewSubmission.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppReviewSubmissionCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/BetaAppReviewSubmissionCreateRequest.swift index 47ba6c1a..b862dedc 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppReviewSubmissionCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppReviewSubmissionCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppReviewSubmissionResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaAppReviewSubmissionResponse.swift index 74e1b602..6b319d70 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppReviewSubmissionResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppReviewSubmissionResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppReviewSubmissionWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaAppReviewSubmissionWithoutIncludesResponse.swift index 60dffc57..34ab82e0 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppReviewSubmissionWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppReviewSubmissionWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppReviewSubmissionsResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaAppReviewSubmissionsResponse.swift index b31986a3..ce348756 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppReviewSubmissionsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppReviewSubmissionsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaBuildLocalization.swift b/Sources/OpenAPI/Generated/Entities/BetaBuildLocalization.swift index e4ccc3b8..6825441f 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaBuildLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaBuildLocalization.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaBuildLocalizationCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/BetaBuildLocalizationCreateRequest.swift index bbe0af1e..5636fec3 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaBuildLocalizationCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaBuildLocalizationCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaBuildLocalizationResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaBuildLocalizationResponse.swift index 73aaa370..cb7afafa 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaBuildLocalizationResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaBuildLocalizationResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaBuildLocalizationUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/BetaBuildLocalizationUpdateRequest.swift index 5af572d6..8387ab61 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaBuildLocalizationUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaBuildLocalizationUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaBuildLocalizationsResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaBuildLocalizationsResponse.swift index ca749ecc..2d8fc353 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaBuildLocalizationsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaBuildLocalizationsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaBuildLocalizationsWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaBuildLocalizationsWithoutIncludesResponse.swift index fe534a32..e3d598d6 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaBuildLocalizationsWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaBuildLocalizationsWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaBuildUsagesV1MetricResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaBuildUsagesV1MetricResponse.swift new file mode 100644 index 00000000..e8bc9e40 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/BetaBuildUsagesV1MetricResponse.swift @@ -0,0 +1,166 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct BetaBuildUsagesV1MetricResponse: Codable { + public var data: [Datum] + public var links: PagedDocumentLinks + public var meta: PagingInformation? + + public struct Datum: Codable { + public var dataPoints: DataPoints? + public var dimensions: Dimensions? + + public struct DataPoints: Codable { + public var start: Date? + public var end: Date? + public var values: Values? + + public struct Values: Codable { + public var crashCount: Int? + public var installCount: Int? + public var sessionCount: Int? + public var feedbackCount: Int? + public var inviteCount: Int? + + public init(crashCount: Int? = nil, installCount: Int? = nil, sessionCount: Int? = nil, feedbackCount: Int? = nil, inviteCount: Int? = nil) { + self.crashCount = crashCount + self.installCount = installCount + self.sessionCount = sessionCount + self.feedbackCount = feedbackCount + self.inviteCount = inviteCount + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.crashCount = try values.decodeIfPresent(Int.self, forKey: "crashCount") + self.installCount = try values.decodeIfPresent(Int.self, forKey: "installCount") + self.sessionCount = try values.decodeIfPresent(Int.self, forKey: "sessionCount") + self.feedbackCount = try values.decodeIfPresent(Int.self, forKey: "feedbackCount") + self.inviteCount = try values.decodeIfPresent(Int.self, forKey: "inviteCount") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(crashCount, forKey: "crashCount") + try values.encodeIfPresent(installCount, forKey: "installCount") + try values.encodeIfPresent(sessionCount, forKey: "sessionCount") + try values.encodeIfPresent(feedbackCount, forKey: "feedbackCount") + try values.encodeIfPresent(inviteCount, forKey: "inviteCount") + } + } + + public init(start: Date? = nil, end: Date? = nil, values: Values? = nil) { + self.start = start + self.end = end + self.values = values + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.start = try values.decodeIfPresent(Date.self, forKey: "start") + self.end = try values.decodeIfPresent(Date.self, forKey: "end") + self.values = try values.decodeIfPresent(Values.self, forKey: "values") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(start, forKey: "start") + try values.encodeIfPresent(end, forKey: "end") + try values.encodeIfPresent(self.values, forKey: "values") + } + } + + public struct Dimensions: Codable { + public var bundleIDs: BundleIDs? + + public struct BundleIDs: Codable { + public var links: Links? + + public struct Links: Codable { + public var groupBy: String? + + public init(groupBy: String? = nil) { + self.groupBy = groupBy + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.groupBy = try values.decodeIfPresent(String.self, forKey: "groupBy") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(groupBy, forKey: "groupBy") + } + } + + public init(links: Links? = nil) { + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.links = try values.decodeIfPresent(Links.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") + } + } + + public init(bundleIDs: BundleIDs? = nil) { + self.bundleIDs = bundleIDs + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.bundleIDs = try values.decodeIfPresent(BundleIDs.self, forKey: "bundleIds") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(bundleIDs, forKey: "bundleIds") + } + } + + public init(dataPoints: DataPoints? = nil, dimensions: Dimensions? = nil) { + self.dataPoints = dataPoints + self.dimensions = dimensions + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.dataPoints = try values.decodeIfPresent(DataPoints.self, forKey: "dataPoints") + self.dimensions = try values.decodeIfPresent(Dimensions.self, forKey: "dimensions") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(dataPoints, forKey: "dataPoints") + try values.encodeIfPresent(dimensions, forKey: "dimensions") + } + } + + public init(data: [Datum], links: PagedDocumentLinks, meta: PagingInformation? = nil) { + self.data = data + self.links = links + self.meta = meta + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode([Datum].self, forKey: "data") + self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + try values.encodeIfPresent(meta, forKey: "meta") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/BetaGroup.swift b/Sources/OpenAPI/Generated/Entities/BetaGroup.swift index ddeb219d..d8caaaa2 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaGroup.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaGroup.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaGroupBetaTestersLinkagesRequest.swift b/Sources/OpenAPI/Generated/Entities/BetaGroupBetaTestersLinkagesRequest.swift index 95ed846f..af911be2 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaGroupBetaTestersLinkagesRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaGroupBetaTestersLinkagesRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaGroupBetaTestersLinkagesResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaGroupBetaTestersLinkagesResponse.swift index 17c3560e..9159f372 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaGroupBetaTestersLinkagesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaGroupBetaTestersLinkagesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaGroupBuildsLinkagesRequest.swift b/Sources/OpenAPI/Generated/Entities/BetaGroupBuildsLinkagesRequest.swift index cd970289..43f5e3d5 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaGroupBuildsLinkagesRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaGroupBuildsLinkagesRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaGroupBuildsLinkagesResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaGroupBuildsLinkagesResponse.swift index a0a1a0a4..46fe1639 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaGroupBuildsLinkagesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaGroupBuildsLinkagesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaGroupCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/BetaGroupCreateRequest.swift index 4f3a62bc..27cf1751 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaGroupCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaGroupCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaGroupResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaGroupResponse.swift index 80ce5275..dfd624fe 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaGroupResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaGroupResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct BetaGroupResponse: Codable { } else if let value = try? container.decode(BetaTester.self) { self = .betaTester(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, Build, BetaTester)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/BetaGroupUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/BetaGroupUpdateRequest.swift index 483945b0..da6203f8 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaGroupUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaGroupUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaGroupsResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaGroupsResponse.swift index e474d025..58d0df44 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaGroupsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaGroupsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct BetaGroupsResponse: Codable { } else if let value = try? container.decode(BetaTester.self) { self = .betaTester(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, Build, BetaTester)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/BetaGroupsWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaGroupsWithoutIncludesResponse.swift index 589c4223..ad38c455 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaGroupsWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaGroupsWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaInviteType.swift b/Sources/OpenAPI/Generated/Entities/BetaInviteType.swift index 99ae17ab..24ca4989 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaInviteType.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaInviteType.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaLicenseAgreement.swift b/Sources/OpenAPI/Generated/Entities/BetaLicenseAgreement.swift index 0a0c68ed..77a2726a 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaLicenseAgreement.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaLicenseAgreement.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaLicenseAgreementResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaLicenseAgreementResponse.swift index 81fc5401..1d7fa413 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaLicenseAgreementResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaLicenseAgreementResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaLicenseAgreementUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/BetaLicenseAgreementUpdateRequest.swift index 2c45eac2..17c0960b 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaLicenseAgreementUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaLicenseAgreementUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaLicenseAgreementWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaLicenseAgreementWithoutIncludesResponse.swift index ad683389..4c04c5f8 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaLicenseAgreementWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaLicenseAgreementWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaLicenseAgreementsResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaLicenseAgreementsResponse.swift index 4a5f22c5..671e846d 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaLicenseAgreementsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaLicenseAgreementsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaReviewState.swift b/Sources/OpenAPI/Generated/Entities/BetaReviewState.swift index 02f6aa1c..b104ec5f 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaReviewState.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaReviewState.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaTester.swift b/Sources/OpenAPI/Generated/Entities/BetaTester.swift index f19d515b..47cf8c14 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaTester.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaTester.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaTesterAppsLinkagesRequest.swift b/Sources/OpenAPI/Generated/Entities/BetaTesterAppsLinkagesRequest.swift index 161dc455..d0aa0510 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaTesterAppsLinkagesRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaTesterAppsLinkagesRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaTesterAppsLinkagesResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaTesterAppsLinkagesResponse.swift index 739bf2d7..8d725995 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaTesterAppsLinkagesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaTesterAppsLinkagesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaTesterBetaGroupsLinkagesRequest.swift b/Sources/OpenAPI/Generated/Entities/BetaTesterBetaGroupsLinkagesRequest.swift index d288988d..1ded72e0 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaTesterBetaGroupsLinkagesRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaTesterBetaGroupsLinkagesRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaTesterBetaGroupsLinkagesResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaTesterBetaGroupsLinkagesResponse.swift index 384e7401..f3c7754a 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaTesterBetaGroupsLinkagesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaTesterBetaGroupsLinkagesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaTesterBuildsLinkagesRequest.swift b/Sources/OpenAPI/Generated/Entities/BetaTesterBuildsLinkagesRequest.swift index 5b81d3b3..83dac3c8 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaTesterBuildsLinkagesRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaTesterBuildsLinkagesRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaTesterBuildsLinkagesResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaTesterBuildsLinkagesResponse.swift index 09887f78..648081b3 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaTesterBuildsLinkagesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaTesterBuildsLinkagesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaTesterCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/BetaTesterCreateRequest.swift index f99eecce..f45d2d24 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaTesterCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaTesterCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaTesterInvitation.swift b/Sources/OpenAPI/Generated/Entities/BetaTesterInvitation.swift index 5b805ac7..5b9c83ec 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaTesterInvitation.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaTesterInvitation.swift @@ -1,32 +1,34 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation public struct BetaTesterInvitation: Codable, Identifiable { public var type: `Type` public var id: String + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case betaTesterInvitations } - public init(type: `Type`, id: String) { + public init(type: `Type`, id: String, links: ResourceLinks? = nil) { self.type = type self.id = id + self.links = links } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) self.type = try values.decode(`Type`.self, forKey: "type") self.id = try values.decode(String.self, forKey: "id") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encode(type, forKey: "type") try values.encode(id, forKey: "id") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/BetaTesterInvitationCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/BetaTesterInvitationCreateRequest.swift index 77fbe46f..73be393c 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaTesterInvitationCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaTesterInvitationCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaTesterInvitationResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaTesterInvitationResponse.swift index bc442fd2..3a1fc369 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaTesterInvitationResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaTesterInvitationResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BetaTesterResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaTesterResponse.swift index 199b185b..07a5d7b4 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaTesterResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaTesterResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct BetaTesterResponse: Codable { } else if let value = try? container.decode(Build.self) { self = .build(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, BetaGroup, Build)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/BetaTesterUsagesV1MetricResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaTesterUsagesV1MetricResponse.swift new file mode 100644 index 00000000..e8991ee1 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/BetaTesterUsagesV1MetricResponse.swift @@ -0,0 +1,162 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct BetaTesterUsagesV1MetricResponse: Codable { + public var data: [Datum] + public var links: PagedDocumentLinks + public var meta: PagingInformation? + + public struct Datum: Codable { + public var dataPoints: DataPoints? + public var dimensions: Dimensions? + + public struct DataPoints: Codable { + public var start: Date? + public var end: Date? + public var values: Values? + + public struct Values: Codable { + public var crashCount: Int? + public var sessionCount: Int? + public var feedbackCount: Int? + + public init(crashCount: Int? = nil, sessionCount: Int? = nil, feedbackCount: Int? = nil) { + self.crashCount = crashCount + self.sessionCount = sessionCount + self.feedbackCount = feedbackCount + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.crashCount = try values.decodeIfPresent(Int.self, forKey: "crashCount") + self.sessionCount = try values.decodeIfPresent(Int.self, forKey: "sessionCount") + self.feedbackCount = try values.decodeIfPresent(Int.self, forKey: "feedbackCount") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(crashCount, forKey: "crashCount") + try values.encodeIfPresent(sessionCount, forKey: "sessionCount") + try values.encodeIfPresent(feedbackCount, forKey: "feedbackCount") + } + } + + public init(start: Date? = nil, end: Date? = nil, values: Values? = nil) { + self.start = start + self.end = end + self.values = values + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.start = try values.decodeIfPresent(Date.self, forKey: "start") + self.end = try values.decodeIfPresent(Date.self, forKey: "end") + self.values = try values.decodeIfPresent(Values.self, forKey: "values") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(start, forKey: "start") + try values.encodeIfPresent(end, forKey: "end") + try values.encodeIfPresent(self.values, forKey: "values") + } + } + + public struct Dimensions: Codable { + public var apps: Apps? + + public struct Apps: Codable { + public var links: Links? + + public struct Links: Codable { + public var groupBy: String? + public var related: String? + + public init(groupBy: String? = nil, related: String? = nil) { + self.groupBy = groupBy + self.related = related + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.groupBy = try values.decodeIfPresent(String.self, forKey: "groupBy") + self.related = try values.decodeIfPresent(String.self, forKey: "related") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(groupBy, forKey: "groupBy") + try values.encodeIfPresent(related, forKey: "related") + } + } + + public init(links: Links? = nil) { + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.links = try values.decodeIfPresent(Links.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") + } + } + + public init(apps: Apps? = nil) { + self.apps = apps + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.apps = try values.decodeIfPresent(Apps.self, forKey: "apps") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(apps, forKey: "apps") + } + } + + public init(dataPoints: DataPoints? = nil, dimensions: Dimensions? = nil) { + self.dataPoints = dataPoints + self.dimensions = dimensions + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.dataPoints = try values.decodeIfPresent(DataPoints.self, forKey: "dataPoints") + self.dimensions = try values.decodeIfPresent(Dimensions.self, forKey: "dimensions") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(dataPoints, forKey: "dataPoints") + try values.encodeIfPresent(dimensions, forKey: "dimensions") + } + } + + public init(data: [Datum], links: PagedDocumentLinks, meta: PagingInformation? = nil) { + self.data = data + self.links = links + self.meta = meta + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode([Datum].self, forKey: "data") + self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + try values.encodeIfPresent(meta, forKey: "meta") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/BetaTestersResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaTestersResponse.swift index f170435e..06ed9f89 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaTestersResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaTestersResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct BetaTestersResponse: Codable { } else if let value = try? container.decode(Build.self) { self = .build(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, BetaGroup, Build)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/BetaTestersWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaTestersWithoutIncludesResponse.swift index 3ce6e55f..ab8f0480 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaTestersWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaTestersWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BrazilAgeRating.swift b/Sources/OpenAPI/Generated/Entities/BrazilAgeRating.swift index ac4bc910..023dffd7 100644 --- a/Sources/OpenAPI/Generated/Entities/BrazilAgeRating.swift +++ b/Sources/OpenAPI/Generated/Entities/BrazilAgeRating.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/Build.swift b/Sources/OpenAPI/Generated/Entities/Build.swift index 88460d9e..975fbee2 100644 --- a/Sources/OpenAPI/Generated/Entities/Build.swift +++ b/Sources/OpenAPI/Generated/Entities/Build.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BuildAppEncryptionDeclarationLinkageRequest.swift b/Sources/OpenAPI/Generated/Entities/BuildAppEncryptionDeclarationLinkageRequest.swift index 8399abeb..7d51ec41 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildAppEncryptionDeclarationLinkageRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildAppEncryptionDeclarationLinkageRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BuildAppEncryptionDeclarationLinkageResponse.swift b/Sources/OpenAPI/Generated/Entities/BuildAppEncryptionDeclarationLinkageResponse.swift index dcd4b8cf..d609ca56 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildAppEncryptionDeclarationLinkageResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildAppEncryptionDeclarationLinkageResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BuildAudienceType.swift b/Sources/OpenAPI/Generated/Entities/BuildAudienceType.swift index 006544b6..9f41292c 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildAudienceType.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildAudienceType.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BuildBetaDetail.swift b/Sources/OpenAPI/Generated/Entities/BuildBetaDetail.swift index f4bef2f4..026abd00 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildBetaDetail.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildBetaDetail.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BuildBetaDetailResponse.swift b/Sources/OpenAPI/Generated/Entities/BuildBetaDetailResponse.swift index 63552e24..4db2de7d 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildBetaDetailResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildBetaDetailResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BuildBetaDetailUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/BuildBetaDetailUpdateRequest.swift index 59a12ca5..def1f571 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildBetaDetailUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildBetaDetailUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BuildBetaDetailWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/BuildBetaDetailWithoutIncludesResponse.swift index 35cbeffa..29fbe6a7 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildBetaDetailWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildBetaDetailWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BuildBetaDetailsResponse.swift b/Sources/OpenAPI/Generated/Entities/BuildBetaDetailsResponse.swift index 6552984a..cd78a3cf 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildBetaDetailsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildBetaDetailsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BuildBetaGroupsLinkagesRequest.swift b/Sources/OpenAPI/Generated/Entities/BuildBetaGroupsLinkagesRequest.swift index 06f1bfa4..8649463f 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildBetaGroupsLinkagesRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildBetaGroupsLinkagesRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BuildBetaNotification.swift b/Sources/OpenAPI/Generated/Entities/BuildBetaNotification.swift index 213b2742..357af195 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildBetaNotification.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildBetaNotification.swift @@ -1,32 +1,34 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation public struct BuildBetaNotification: Codable, Identifiable { public var type: `Type` public var id: String + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case buildBetaNotifications } - public init(type: `Type`, id: String) { + public init(type: `Type`, id: String, links: ResourceLinks? = nil) { self.type = type self.id = id + self.links = links } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) self.type = try values.decode(`Type`.self, forKey: "type") self.id = try values.decode(String.self, forKey: "id") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encode(type, forKey: "type") try values.encode(id, forKey: "id") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/BuildBetaNotificationCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/BuildBetaNotificationCreateRequest.swift index f4d15403..288f1215 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildBetaNotificationCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildBetaNotificationCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BuildBetaNotificationResponse.swift b/Sources/OpenAPI/Generated/Entities/BuildBetaNotificationResponse.swift index e6b26f47..f37da27d 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildBetaNotificationResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildBetaNotificationResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BuildBundle.swift b/Sources/OpenAPI/Generated/Entities/BuildBundle.swift index dd3a8770..ae0a26d1 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildBundle.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildBundle.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -10,6 +8,7 @@ public struct BuildBundle: Codable, Identifiable { public var id: String public var attributes: Attributes? public var relationships: Relationships? + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case buildBundles @@ -420,11 +419,12 @@ public struct BuildBundle: Codable, Identifiable { } } - public init(type: `Type`, id: String, attributes: Attributes? = nil, relationships: Relationships? = nil) { + public init(type: `Type`, id: String, attributes: Attributes? = nil, relationships: Relationships? = nil, links: ResourceLinks? = nil) { self.type = type self.id = id self.attributes = attributes self.relationships = relationships + self.links = links } public init(from decoder: Decoder) throws { @@ -433,6 +433,7 @@ public struct BuildBundle: Codable, Identifiable { self.id = try values.decode(String.self, forKey: "id") self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") self.relationships = try values.decodeIfPresent(Relationships.self, forKey: "relationships") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { @@ -441,5 +442,6 @@ public struct BuildBundle: Codable, Identifiable { try values.encode(id, forKey: "id") try values.encodeIfPresent(attributes, forKey: "attributes") try values.encodeIfPresent(relationships, forKey: "relationships") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/BuildBundleFileSize.swift b/Sources/OpenAPI/Generated/Entities/BuildBundleFileSize.swift index 9f64afca..06978d27 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildBundleFileSize.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildBundleFileSize.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -9,6 +7,7 @@ public struct BuildBundleFileSize: Codable, Identifiable { public var type: `Type` public var id: String public var attributes: Attributes? + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case buildBundleFileSizes @@ -44,10 +43,11 @@ public struct BuildBundleFileSize: Codable, Identifiable { } } - public init(type: `Type`, id: String, attributes: Attributes? = nil) { + public init(type: `Type`, id: String, attributes: Attributes? = nil, links: ResourceLinks? = nil) { self.type = type self.id = id self.attributes = attributes + self.links = links } public init(from decoder: Decoder) throws { @@ -55,6 +55,7 @@ public struct BuildBundleFileSize: Codable, Identifiable { self.type = try values.decode(`Type`.self, forKey: "type") self.id = try values.decode(String.self, forKey: "id") self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { @@ -62,5 +63,6 @@ public struct BuildBundleFileSize: Codable, Identifiable { try values.encode(type, forKey: "type") try values.encode(id, forKey: "id") try values.encodeIfPresent(attributes, forKey: "attributes") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/BuildBundleFileSizesResponse.swift b/Sources/OpenAPI/Generated/Entities/BuildBundleFileSizesResponse.swift index 83b3d1f2..33cafe17 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildBundleFileSizesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildBundleFileSizesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BuildIcon.swift b/Sources/OpenAPI/Generated/Entities/BuildIcon.swift index 9fe5c313..18f1eab5 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildIcon.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildIcon.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -9,6 +7,7 @@ public struct BuildIcon: Codable, Identifiable { public var type: `Type` public var id: String public var attributes: Attributes? + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case buildIcons @@ -40,10 +39,11 @@ public struct BuildIcon: Codable, Identifiable { } } - public init(type: `Type`, id: String, attributes: Attributes? = nil) { + public init(type: `Type`, id: String, attributes: Attributes? = nil, links: ResourceLinks? = nil) { self.type = type self.id = id self.attributes = attributes + self.links = links } public init(from decoder: Decoder) throws { @@ -51,6 +51,7 @@ public struct BuildIcon: Codable, Identifiable { self.type = try values.decode(`Type`.self, forKey: "type") self.id = try values.decode(String.self, forKey: "id") self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { @@ -58,5 +59,6 @@ public struct BuildIcon: Codable, Identifiable { try values.encode(type, forKey: "type") try values.encode(id, forKey: "id") try values.encodeIfPresent(attributes, forKey: "attributes") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/BuildIconsResponse.swift b/Sources/OpenAPI/Generated/Entities/BuildIconsResponse.swift index c5dd5449..f407c786 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildIconsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildIconsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BuildIconsWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/BuildIconsWithoutIncludesResponse.swift index 074b909f..d771746b 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildIconsWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildIconsWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BuildIndividualTestersLinkagesRequest.swift b/Sources/OpenAPI/Generated/Entities/BuildIndividualTestersLinkagesRequest.swift index 76216ad0..7b6a6c5a 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildIndividualTestersLinkagesRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildIndividualTestersLinkagesRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BuildIndividualTestersLinkagesResponse.swift b/Sources/OpenAPI/Generated/Entities/BuildIndividualTestersLinkagesResponse.swift index 748859e0..c251f33f 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildIndividualTestersLinkagesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildIndividualTestersLinkagesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BuildResponse.swift b/Sources/OpenAPI/Generated/Entities/BuildResponse.swift index 026b1bb3..62ae929a 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -49,7 +47,10 @@ public struct BuildResponse: Codable { } else if let value = try? container.decode(BuildBundle.self) { self = .buildBundle(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (PrereleaseVersion, BetaTester, BetaGroup, BetaBuildLocalization, AppEncryptionDeclaration, BetaAppReviewSubmission, App, BuildBetaDetail, AppStoreVersion, BuildIcon, BuildBundle)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/BuildUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/BuildUpdateRequest.swift index 30f636d9..3325dd1e 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BuildWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/BuildWithoutIncludesResponse.swift index bdd6b386..cfe0c438 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BuildsResponse.swift b/Sources/OpenAPI/Generated/Entities/BuildsResponse.swift index 4939a672..3f909e57 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -49,7 +47,10 @@ public struct BuildsResponse: Codable { } else if let value = try? container.decode(BuildBundle.self) { self = .buildBundle(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (PrereleaseVersion, BetaTester, BetaGroup, BetaBuildLocalization, AppEncryptionDeclaration, BetaAppReviewSubmission, App, BuildBetaDetail, AppStoreVersion, BuildIcon, BuildBundle)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/BuildsWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/BuildsWithoutIncludesResponse.swift index a09cc070..d4cd84aa 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildsWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildsWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BundleID.swift b/Sources/OpenAPI/Generated/Entities/BundleID.swift index 4e821882..e0fab615 100644 --- a/Sources/OpenAPI/Generated/Entities/BundleID.swift +++ b/Sources/OpenAPI/Generated/Entities/BundleID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BundleIDCapabilitiesResponse.swift b/Sources/OpenAPI/Generated/Entities/BundleIDCapabilitiesResponse.swift index 9abd8ea9..392aefc7 100644 --- a/Sources/OpenAPI/Generated/Entities/BundleIDCapabilitiesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BundleIDCapabilitiesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BundleIDCapabilitiesWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/BundleIDCapabilitiesWithoutIncludesResponse.swift index 102f3ce0..6d649e45 100644 --- a/Sources/OpenAPI/Generated/Entities/BundleIDCapabilitiesWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BundleIDCapabilitiesWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BundleIDCapability.swift b/Sources/OpenAPI/Generated/Entities/BundleIDCapability.swift index 6981c362..1fd269fa 100644 --- a/Sources/OpenAPI/Generated/Entities/BundleIDCapability.swift +++ b/Sources/OpenAPI/Generated/Entities/BundleIDCapability.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BundleIDCapabilityCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/BundleIDCapabilityCreateRequest.swift index 64098519..038cac75 100644 --- a/Sources/OpenAPI/Generated/Entities/BundleIDCapabilityCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BundleIDCapabilityCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BundleIDCapabilityResponse.swift b/Sources/OpenAPI/Generated/Entities/BundleIDCapabilityResponse.swift index dfdee72b..697766ac 100644 --- a/Sources/OpenAPI/Generated/Entities/BundleIDCapabilityResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BundleIDCapabilityResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BundleIDCapabilityUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/BundleIDCapabilityUpdateRequest.swift index acb90911..ef59b91d 100644 --- a/Sources/OpenAPI/Generated/Entities/BundleIDCapabilityUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BundleIDCapabilityUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BundleIDCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/BundleIDCreateRequest.swift index eead961f..a7e2c8af 100644 --- a/Sources/OpenAPI/Generated/Entities/BundleIDCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BundleIDCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BundleIDPlatform.swift b/Sources/OpenAPI/Generated/Entities/BundleIDPlatform.swift index d0121a57..009c00d4 100644 --- a/Sources/OpenAPI/Generated/Entities/BundleIDPlatform.swift +++ b/Sources/OpenAPI/Generated/Entities/BundleIDPlatform.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BundleIDResponse.swift b/Sources/OpenAPI/Generated/Entities/BundleIDResponse.swift index cdcf3703..9d2f8e4c 100644 --- a/Sources/OpenAPI/Generated/Entities/BundleIDResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BundleIDResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct BundleIDResponse: Codable { } else if let value = try? container.decode(App.self) { self = .app(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (Profile, BundleIDCapability, App)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/BundleIDUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/BundleIDUpdateRequest.swift index c4f796fe..5f6589d5 100644 --- a/Sources/OpenAPI/Generated/Entities/BundleIDUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/BundleIDUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BundleIDWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/BundleIDWithoutIncludesResponse.swift index d0169492..fc23b0f0 100644 --- a/Sources/OpenAPI/Generated/Entities/BundleIDWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BundleIDWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/BundleIDsResponse.swift b/Sources/OpenAPI/Generated/Entities/BundleIDsResponse.swift index 632d82d8..f8ee11e6 100644 --- a/Sources/OpenAPI/Generated/Entities/BundleIDsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BundleIDsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct BundleIDsResponse: Codable { } else if let value = try? container.decode(App.self) { self = .app(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (Profile, BundleIDCapability, App)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/CapabilityOption.swift b/Sources/OpenAPI/Generated/Entities/CapabilityOption.swift index aba83fdd..c4b3c88a 100644 --- a/Sources/OpenAPI/Generated/Entities/CapabilityOption.swift +++ b/Sources/OpenAPI/Generated/Entities/CapabilityOption.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CapabilitySetting.swift b/Sources/OpenAPI/Generated/Entities/CapabilitySetting.swift index 4837ae30..93c26895 100644 --- a/Sources/OpenAPI/Generated/Entities/CapabilitySetting.swift +++ b/Sources/OpenAPI/Generated/Entities/CapabilitySetting.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CapabilityType.swift b/Sources/OpenAPI/Generated/Entities/CapabilityType.swift index cdfa6634..8eebe0a3 100644 --- a/Sources/OpenAPI/Generated/Entities/CapabilityType.swift +++ b/Sources/OpenAPI/Generated/Entities/CapabilityType.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/Certificate.swift b/Sources/OpenAPI/Generated/Entities/Certificate.swift index fdc90c52..e64f9109 100644 --- a/Sources/OpenAPI/Generated/Entities/Certificate.swift +++ b/Sources/OpenAPI/Generated/Entities/Certificate.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CertificateCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/CertificateCreateRequest.swift index e24c687f..30ce3cc1 100644 --- a/Sources/OpenAPI/Generated/Entities/CertificateCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/CertificateCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CertificateResponse.swift b/Sources/OpenAPI/Generated/Entities/CertificateResponse.swift index f2029983..ebefc41f 100644 --- a/Sources/OpenAPI/Generated/Entities/CertificateResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/CertificateResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CertificateType.swift b/Sources/OpenAPI/Generated/Entities/CertificateType.swift index e2c943b7..138653bd 100644 --- a/Sources/OpenAPI/Generated/Entities/CertificateType.swift +++ b/Sources/OpenAPI/Generated/Entities/CertificateType.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CertificatesResponse.swift b/Sources/OpenAPI/Generated/Entities/CertificatesResponse.swift index 3c1eacd6..f97d5b66 100644 --- a/Sources/OpenAPI/Generated/Entities/CertificatesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/CertificatesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CertificatesWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/CertificatesWithoutIncludesResponse.swift index d07ae383..1986c94a 100644 --- a/Sources/OpenAPI/Generated/Entities/CertificatesWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/CertificatesWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiAction.swift b/Sources/OpenAPI/Generated/Entities/CiAction.swift index e2249bf3..408855c4 100644 --- a/Sources/OpenAPI/Generated/Entities/CiAction.swift +++ b/Sources/OpenAPI/Generated/Entities/CiAction.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiActionType.swift b/Sources/OpenAPI/Generated/Entities/CiActionType.swift index bb1694d5..23151e7f 100644 --- a/Sources/OpenAPI/Generated/Entities/CiActionType.swift +++ b/Sources/OpenAPI/Generated/Entities/CiActionType.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiArtifact.swift b/Sources/OpenAPI/Generated/Entities/CiArtifact.swift index fc954e92..cfedf49b 100644 --- a/Sources/OpenAPI/Generated/Entities/CiArtifact.swift +++ b/Sources/OpenAPI/Generated/Entities/CiArtifact.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiArtifactResponse.swift b/Sources/OpenAPI/Generated/Entities/CiArtifactResponse.swift index e931d36a..f3e46fa6 100644 --- a/Sources/OpenAPI/Generated/Entities/CiArtifactResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/CiArtifactResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiArtifactsResponse.swift b/Sources/OpenAPI/Generated/Entities/CiArtifactsResponse.swift index 76edf3d6..3e22f336 100644 --- a/Sources/OpenAPI/Generated/Entities/CiArtifactsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/CiArtifactsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiBranchPatterns.swift b/Sources/OpenAPI/Generated/Entities/CiBranchPatterns.swift index f7f178a8..aed003c4 100644 --- a/Sources/OpenAPI/Generated/Entities/CiBranchPatterns.swift +++ b/Sources/OpenAPI/Generated/Entities/CiBranchPatterns.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiBranchStartCondition.swift b/Sources/OpenAPI/Generated/Entities/CiBranchStartCondition.swift index a708330c..1fabee31 100644 --- a/Sources/OpenAPI/Generated/Entities/CiBranchStartCondition.swift +++ b/Sources/OpenAPI/Generated/Entities/CiBranchStartCondition.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiBuildAction.swift b/Sources/OpenAPI/Generated/Entities/CiBuildAction.swift index 4229257d..6a524fba 100644 --- a/Sources/OpenAPI/Generated/Entities/CiBuildAction.swift +++ b/Sources/OpenAPI/Generated/Entities/CiBuildAction.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiBuildActionResponse.swift b/Sources/OpenAPI/Generated/Entities/CiBuildActionResponse.swift index 8ea74646..80cb7bbc 100644 --- a/Sources/OpenAPI/Generated/Entities/CiBuildActionResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/CiBuildActionResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiBuildActionsResponse.swift b/Sources/OpenAPI/Generated/Entities/CiBuildActionsResponse.swift index 23384481..a7155684 100644 --- a/Sources/OpenAPI/Generated/Entities/CiBuildActionsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/CiBuildActionsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiBuildRun.swift b/Sources/OpenAPI/Generated/Entities/CiBuildRun.swift index fc55fac2..044af748 100644 --- a/Sources/OpenAPI/Generated/Entities/CiBuildRun.swift +++ b/Sources/OpenAPI/Generated/Entities/CiBuildRun.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiBuildRunCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/CiBuildRunCreateRequest.swift index e20c633b..9bd09663 100644 --- a/Sources/OpenAPI/Generated/Entities/CiBuildRunCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/CiBuildRunCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiBuildRunResponse.swift b/Sources/OpenAPI/Generated/Entities/CiBuildRunResponse.swift index ed161ecf..bddabe2c 100644 --- a/Sources/OpenAPI/Generated/Entities/CiBuildRunResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/CiBuildRunResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -31,7 +29,10 @@ public struct CiBuildRunResponse: Codable { } else if let value = try? container.decode(ScmPullRequest.self) { self = .scmPullRequest(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (Build, CiWorkflow, CiProduct, ScmGitReference, ScmPullRequest)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/CiBuildRunsResponse.swift b/Sources/OpenAPI/Generated/Entities/CiBuildRunsResponse.swift index 6de64a50..48b7d09f 100644 --- a/Sources/OpenAPI/Generated/Entities/CiBuildRunsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/CiBuildRunsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -31,7 +29,10 @@ public struct CiBuildRunsResponse: Codable { } else if let value = try? container.decode(ScmPullRequest.self) { self = .scmPullRequest(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (Build, CiWorkflow, CiProduct, ScmGitReference, ScmPullRequest)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/CiCompletionStatus.swift b/Sources/OpenAPI/Generated/Entities/CiCompletionStatus.swift index eb3d14d7..23ffeae9 100644 --- a/Sources/OpenAPI/Generated/Entities/CiCompletionStatus.swift +++ b/Sources/OpenAPI/Generated/Entities/CiCompletionStatus.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiExecutionProgress.swift b/Sources/OpenAPI/Generated/Entities/CiExecutionProgress.swift index 070b2706..71ada9e2 100644 --- a/Sources/OpenAPI/Generated/Entities/CiExecutionProgress.swift +++ b/Sources/OpenAPI/Generated/Entities/CiExecutionProgress.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiFilesAndFoldersRule.swift b/Sources/OpenAPI/Generated/Entities/CiFilesAndFoldersRule.swift index 4a2df7b7..a00bad57 100644 --- a/Sources/OpenAPI/Generated/Entities/CiFilesAndFoldersRule.swift +++ b/Sources/OpenAPI/Generated/Entities/CiFilesAndFoldersRule.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiGitRefKind.swift b/Sources/OpenAPI/Generated/Entities/CiGitRefKind.swift index e470da90..c0722306 100644 --- a/Sources/OpenAPI/Generated/Entities/CiGitRefKind.swift +++ b/Sources/OpenAPI/Generated/Entities/CiGitRefKind.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiGitUser.swift b/Sources/OpenAPI/Generated/Entities/CiGitUser.swift index 6a27b024..d76a2e9c 100644 --- a/Sources/OpenAPI/Generated/Entities/CiGitUser.swift +++ b/Sources/OpenAPI/Generated/Entities/CiGitUser.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiIssue.swift b/Sources/OpenAPI/Generated/Entities/CiIssue.swift index 946a034f..4398a7e3 100644 --- a/Sources/OpenAPI/Generated/Entities/CiIssue.swift +++ b/Sources/OpenAPI/Generated/Entities/CiIssue.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiIssueCounts.swift b/Sources/OpenAPI/Generated/Entities/CiIssueCounts.swift index 311930e5..142b310b 100644 --- a/Sources/OpenAPI/Generated/Entities/CiIssueCounts.swift +++ b/Sources/OpenAPI/Generated/Entities/CiIssueCounts.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiIssueResponse.swift b/Sources/OpenAPI/Generated/Entities/CiIssueResponse.swift index eb0da05d..0f71a63c 100644 --- a/Sources/OpenAPI/Generated/Entities/CiIssueResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/CiIssueResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiIssuesResponse.swift b/Sources/OpenAPI/Generated/Entities/CiIssuesResponse.swift index afd3dac0..92408de1 100644 --- a/Sources/OpenAPI/Generated/Entities/CiIssuesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/CiIssuesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiMacOsVersion.swift b/Sources/OpenAPI/Generated/Entities/CiMacOsVersion.swift index ef74b45b..e561c1bf 100644 --- a/Sources/OpenAPI/Generated/Entities/CiMacOsVersion.swift +++ b/Sources/OpenAPI/Generated/Entities/CiMacOsVersion.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiMacOsVersionResponse.swift b/Sources/OpenAPI/Generated/Entities/CiMacOsVersionResponse.swift index 73c1d2b0..db14bb25 100644 --- a/Sources/OpenAPI/Generated/Entities/CiMacOsVersionResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/CiMacOsVersionResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiMacOsVersionsResponse.swift b/Sources/OpenAPI/Generated/Entities/CiMacOsVersionsResponse.swift index 4fb7e5ce..913484f7 100644 --- a/Sources/OpenAPI/Generated/Entities/CiMacOsVersionsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/CiMacOsVersionsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiProduct.swift b/Sources/OpenAPI/Generated/Entities/CiProduct.swift index dd78a277..98a83c61 100644 --- a/Sources/OpenAPI/Generated/Entities/CiProduct.swift +++ b/Sources/OpenAPI/Generated/Entities/CiProduct.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiProductResponse.swift b/Sources/OpenAPI/Generated/Entities/CiProductResponse.swift index 30a208bf..5b4d68ad 100644 --- a/Sources/OpenAPI/Generated/Entities/CiProductResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/CiProductResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct CiProductResponse: Codable { } else if let value = try? container.decode(ScmRepository.self) { self = .scmRepository(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, BundleID, ScmRepository)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/CiProductsResponse.swift b/Sources/OpenAPI/Generated/Entities/CiProductsResponse.swift index fbf4a457..a593ae6e 100644 --- a/Sources/OpenAPI/Generated/Entities/CiProductsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/CiProductsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct CiProductsResponse: Codable { } else if let value = try? container.decode(ScmRepository.self) { self = .scmRepository(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, BundleID, ScmRepository)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/CiPullRequestStartCondition.swift b/Sources/OpenAPI/Generated/Entities/CiPullRequestStartCondition.swift index 04359aa1..df9cfaeb 100644 --- a/Sources/OpenAPI/Generated/Entities/CiPullRequestStartCondition.swift +++ b/Sources/OpenAPI/Generated/Entities/CiPullRequestStartCondition.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiScheduledStartCondition.swift b/Sources/OpenAPI/Generated/Entities/CiScheduledStartCondition.swift index 56d31123..887506e9 100644 --- a/Sources/OpenAPI/Generated/Entities/CiScheduledStartCondition.swift +++ b/Sources/OpenAPI/Generated/Entities/CiScheduledStartCondition.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiStartConditionFileMatcher.swift b/Sources/OpenAPI/Generated/Entities/CiStartConditionFileMatcher.swift index 4b6257c8..7205ffd1 100644 --- a/Sources/OpenAPI/Generated/Entities/CiStartConditionFileMatcher.swift +++ b/Sources/OpenAPI/Generated/Entities/CiStartConditionFileMatcher.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiTagPatterns.swift b/Sources/OpenAPI/Generated/Entities/CiTagPatterns.swift index bdff576e..a31b33dd 100644 --- a/Sources/OpenAPI/Generated/Entities/CiTagPatterns.swift +++ b/Sources/OpenAPI/Generated/Entities/CiTagPatterns.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiTagStartCondition.swift b/Sources/OpenAPI/Generated/Entities/CiTagStartCondition.swift index c63eaa48..858d8681 100644 --- a/Sources/OpenAPI/Generated/Entities/CiTagStartCondition.swift +++ b/Sources/OpenAPI/Generated/Entities/CiTagStartCondition.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiTestDestination.swift b/Sources/OpenAPI/Generated/Entities/CiTestDestination.swift index b001f5d2..db781575 100644 --- a/Sources/OpenAPI/Generated/Entities/CiTestDestination.swift +++ b/Sources/OpenAPI/Generated/Entities/CiTestDestination.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiTestDestinationKind.swift b/Sources/OpenAPI/Generated/Entities/CiTestDestinationKind.swift index 25f7ee08..0353e106 100644 --- a/Sources/OpenAPI/Generated/Entities/CiTestDestinationKind.swift +++ b/Sources/OpenAPI/Generated/Entities/CiTestDestinationKind.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiTestResult.swift b/Sources/OpenAPI/Generated/Entities/CiTestResult.swift index d1119332..6bda9d00 100644 --- a/Sources/OpenAPI/Generated/Entities/CiTestResult.swift +++ b/Sources/OpenAPI/Generated/Entities/CiTestResult.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiTestResultResponse.swift b/Sources/OpenAPI/Generated/Entities/CiTestResultResponse.swift index 93da86b7..5dcacaa2 100644 --- a/Sources/OpenAPI/Generated/Entities/CiTestResultResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/CiTestResultResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiTestResultsResponse.swift b/Sources/OpenAPI/Generated/Entities/CiTestResultsResponse.swift index 6f0d83d5..8ea604e8 100644 --- a/Sources/OpenAPI/Generated/Entities/CiTestResultsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/CiTestResultsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiTestStatus.swift b/Sources/OpenAPI/Generated/Entities/CiTestStatus.swift index 50a96307..7e3a3ad3 100644 --- a/Sources/OpenAPI/Generated/Entities/CiTestStatus.swift +++ b/Sources/OpenAPI/Generated/Entities/CiTestStatus.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiWorkflow.swift b/Sources/OpenAPI/Generated/Entities/CiWorkflow.swift index 6f8bb158..eb9355c0 100644 --- a/Sources/OpenAPI/Generated/Entities/CiWorkflow.swift +++ b/Sources/OpenAPI/Generated/Entities/CiWorkflow.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiWorkflowCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/CiWorkflowCreateRequest.swift index d087755c..e523a878 100644 --- a/Sources/OpenAPI/Generated/Entities/CiWorkflowCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/CiWorkflowCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiWorkflowResponse.swift b/Sources/OpenAPI/Generated/Entities/CiWorkflowResponse.swift index cadefeb7..0ad85dd7 100644 --- a/Sources/OpenAPI/Generated/Entities/CiWorkflowResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/CiWorkflowResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -28,7 +26,10 @@ public struct CiWorkflowResponse: Codable { } else if let value = try? container.decode(CiMacOsVersion.self) { self = .ciMacOsVersion(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (CiProduct, ScmRepository, CiXcodeVersion, CiMacOsVersion)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/CiWorkflowUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/CiWorkflowUpdateRequest.swift index 549d2e09..ffa8db18 100644 --- a/Sources/OpenAPI/Generated/Entities/CiWorkflowUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/CiWorkflowUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiWorkflowsResponse.swift b/Sources/OpenAPI/Generated/Entities/CiWorkflowsResponse.swift index 69e9c279..a36ba348 100644 --- a/Sources/OpenAPI/Generated/Entities/CiWorkflowsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/CiWorkflowsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -28,7 +26,10 @@ public struct CiWorkflowsResponse: Codable { } else if let value = try? container.decode(CiMacOsVersion.self) { self = .ciMacOsVersion(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (CiProduct, ScmRepository, CiXcodeVersion, CiMacOsVersion)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/CiXcodeVersion.swift b/Sources/OpenAPI/Generated/Entities/CiXcodeVersion.swift index ab08476b..68dc33ca 100644 --- a/Sources/OpenAPI/Generated/Entities/CiXcodeVersion.swift +++ b/Sources/OpenAPI/Generated/Entities/CiXcodeVersion.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiXcodeVersionResponse.swift b/Sources/OpenAPI/Generated/Entities/CiXcodeVersionResponse.swift index c53b5bbc..a7289dfc 100644 --- a/Sources/OpenAPI/Generated/Entities/CiXcodeVersionResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/CiXcodeVersionResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CiXcodeVersionsResponse.swift b/Sources/OpenAPI/Generated/Entities/CiXcodeVersionsResponse.swift index df1b56ed..2c490e48 100644 --- a/Sources/OpenAPI/Generated/Entities/CiXcodeVersionsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/CiXcodeVersionsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CustomerReview.swift b/Sources/OpenAPI/Generated/Entities/CustomerReview.swift index 5d9911e3..eed899bd 100644 --- a/Sources/OpenAPI/Generated/Entities/CustomerReview.swift +++ b/Sources/OpenAPI/Generated/Entities/CustomerReview.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CustomerReviewResponse.swift b/Sources/OpenAPI/Generated/Entities/CustomerReviewResponse.swift index d3485a7b..aa5d7065 100644 --- a/Sources/OpenAPI/Generated/Entities/CustomerReviewResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/CustomerReviewResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CustomerReviewResponseV1.swift b/Sources/OpenAPI/Generated/Entities/CustomerReviewResponseV1.swift index d4f21466..b0d20c4a 100644 --- a/Sources/OpenAPI/Generated/Entities/CustomerReviewResponseV1.swift +++ b/Sources/OpenAPI/Generated/Entities/CustomerReviewResponseV1.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CustomerReviewResponseV1CreateRequest.swift b/Sources/OpenAPI/Generated/Entities/CustomerReviewResponseV1CreateRequest.swift index bee8829d..77dfe52f 100644 --- a/Sources/OpenAPI/Generated/Entities/CustomerReviewResponseV1CreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/CustomerReviewResponseV1CreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CustomerReviewResponseV1Response.swift b/Sources/OpenAPI/Generated/Entities/CustomerReviewResponseV1Response.swift index 1da0cdac..239ba057 100644 --- a/Sources/OpenAPI/Generated/Entities/CustomerReviewResponseV1Response.swift +++ b/Sources/OpenAPI/Generated/Entities/CustomerReviewResponseV1Response.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/CustomerReviewsResponse.swift b/Sources/OpenAPI/Generated/Entities/CustomerReviewsResponse.swift index 2bbd183d..ce4d3b71 100644 --- a/Sources/OpenAPI/Generated/Entities/CustomerReviewsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/CustomerReviewsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/Device.swift b/Sources/OpenAPI/Generated/Entities/Device.swift index 19522de9..c33a13de 100644 --- a/Sources/OpenAPI/Generated/Entities/Device.swift +++ b/Sources/OpenAPI/Generated/Entities/Device.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/DeviceCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/DeviceCreateRequest.swift index 626c0b5d..5fa44d9c 100644 --- a/Sources/OpenAPI/Generated/Entities/DeviceCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/DeviceCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/DeviceResponse.swift b/Sources/OpenAPI/Generated/Entities/DeviceResponse.swift index aea99c50..89a427fd 100644 --- a/Sources/OpenAPI/Generated/Entities/DeviceResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/DeviceResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/DeviceUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/DeviceUpdateRequest.swift index f367c72a..d77cccc4 100644 --- a/Sources/OpenAPI/Generated/Entities/DeviceUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/DeviceUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/DevicesResponse.swift b/Sources/OpenAPI/Generated/Entities/DevicesResponse.swift index f7313cd5..6f48fded 100644 --- a/Sources/OpenAPI/Generated/Entities/DevicesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/DevicesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/DevicesWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/DevicesWithoutIncludesResponse.swift index 3a2ec74a..245f038a 100644 --- a/Sources/OpenAPI/Generated/Entities/DevicesWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/DevicesWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/DiagnosticLog.swift b/Sources/OpenAPI/Generated/Entities/DiagnosticLog.swift index e1b07497..782bf196 100644 --- a/Sources/OpenAPI/Generated/Entities/DiagnosticLog.swift +++ b/Sources/OpenAPI/Generated/Entities/DiagnosticLog.swift @@ -1,32 +1,34 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation public struct DiagnosticLog: Codable, Identifiable { public var type: `Type` public var id: String + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case diagnosticLogs } - public init(type: `Type`, id: String) { + public init(type: `Type`, id: String, links: ResourceLinks? = nil) { self.type = type self.id = id + self.links = links } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) self.type = try values.decode(`Type`.self, forKey: "type") self.id = try values.decode(String.self, forKey: "id") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encode(type, forKey: "type") try values.encode(id, forKey: "id") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/DiagnosticLogCallStackNode.swift b/Sources/OpenAPI/Generated/Entities/DiagnosticLogCallStackNode.swift index 2febcf6e..50616502 100644 --- a/Sources/OpenAPI/Generated/Entities/DiagnosticLogCallStackNode.swift +++ b/Sources/OpenAPI/Generated/Entities/DiagnosticLogCallStackNode.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/DiagnosticLogs.swift b/Sources/OpenAPI/Generated/Entities/DiagnosticLogs.swift index 1d7b244a..49985e6e 100644 --- a/Sources/OpenAPI/Generated/Entities/DiagnosticLogs.swift +++ b/Sources/OpenAPI/Generated/Entities/DiagnosticLogs.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/DiagnosticSignature.swift b/Sources/OpenAPI/Generated/Entities/DiagnosticSignature.swift index d98657a4..4189ac9c 100644 --- a/Sources/OpenAPI/Generated/Entities/DiagnosticSignature.swift +++ b/Sources/OpenAPI/Generated/Entities/DiagnosticSignature.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -9,6 +7,7 @@ public struct DiagnosticSignature: Codable, Identifiable { public var type: `Type` public var id: String public var attributes: Attributes? + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case diagnosticSignatures @@ -45,10 +44,11 @@ public struct DiagnosticSignature: Codable, Identifiable { } } - public init(type: `Type`, id: String, attributes: Attributes? = nil) { + public init(type: `Type`, id: String, attributes: Attributes? = nil, links: ResourceLinks? = nil) { self.type = type self.id = id self.attributes = attributes + self.links = links } public init(from decoder: Decoder) throws { @@ -56,6 +56,7 @@ public struct DiagnosticSignature: Codable, Identifiable { self.type = try values.decode(`Type`.self, forKey: "type") self.id = try values.decode(String.self, forKey: "id") self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { @@ -63,5 +64,6 @@ public struct DiagnosticSignature: Codable, Identifiable { try values.encode(type, forKey: "type") try values.encode(id, forKey: "id") try values.encodeIfPresent(attributes, forKey: "attributes") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/DiagnosticSignaturesResponse.swift b/Sources/OpenAPI/Generated/Entities/DiagnosticSignaturesResponse.swift index 391e899f..6b904e95 100644 --- a/Sources/OpenAPI/Generated/Entities/DiagnosticSignaturesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/DiagnosticSignaturesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/DocumentLinks.swift b/Sources/OpenAPI/Generated/Entities/DocumentLinks.swift index e5b53600..ba2261b0 100644 --- a/Sources/OpenAPI/Generated/Entities/DocumentLinks.swift +++ b/Sources/OpenAPI/Generated/Entities/DocumentLinks.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/EndAppAvailabilityPreOrder.swift b/Sources/OpenAPI/Generated/Entities/EndAppAvailabilityPreOrder.swift index f0004715..765f3dad 100644 --- a/Sources/OpenAPI/Generated/Entities/EndAppAvailabilityPreOrder.swift +++ b/Sources/OpenAPI/Generated/Entities/EndAppAvailabilityPreOrder.swift @@ -1,32 +1,34 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation public struct EndAppAvailabilityPreOrder: Codable, Identifiable { public var type: `Type` public var id: String + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case endAppAvailabilityPreOrders } - public init(type: `Type`, id: String) { + public init(type: `Type`, id: String, links: ResourceLinks? = nil) { self.type = type self.id = id + self.links = links } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) self.type = try values.decode(`Type`.self, forKey: "type") self.id = try values.decode(String.self, forKey: "id") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encode(type, forKey: "type") try values.encode(id, forKey: "id") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/EndAppAvailabilityPreOrderCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/EndAppAvailabilityPreOrderCreateRequest.swift index 5845d134..1edcf958 100644 --- a/Sources/OpenAPI/Generated/Entities/EndAppAvailabilityPreOrderCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/EndAppAvailabilityPreOrderCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/EndAppAvailabilityPreOrderResponse.swift b/Sources/OpenAPI/Generated/Entities/EndAppAvailabilityPreOrderResponse.swift index 7346da94..d0f6396e 100644 --- a/Sources/OpenAPI/Generated/Entities/EndAppAvailabilityPreOrderResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/EndAppAvailabilityPreOrderResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/EndUserLicenseAgreement.swift b/Sources/OpenAPI/Generated/Entities/EndUserLicenseAgreement.swift index d2c27141..55751fad 100644 --- a/Sources/OpenAPI/Generated/Entities/EndUserLicenseAgreement.swift +++ b/Sources/OpenAPI/Generated/Entities/EndUserLicenseAgreement.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/EndUserLicenseAgreementCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/EndUserLicenseAgreementCreateRequest.swift index b2362e03..5c1d7220 100644 --- a/Sources/OpenAPI/Generated/Entities/EndUserLicenseAgreementCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/EndUserLicenseAgreementCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/EndUserLicenseAgreementResponse.swift b/Sources/OpenAPI/Generated/Entities/EndUserLicenseAgreementResponse.swift index c5746b3f..35015c04 100644 --- a/Sources/OpenAPI/Generated/Entities/EndUserLicenseAgreementResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/EndUserLicenseAgreementResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct EndUserLicenseAgreementResponse: Codable { } else if let value = try? container.decode(Territory.self) { self = .territory(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, Territory)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/EndUserLicenseAgreementUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/EndUserLicenseAgreementUpdateRequest.swift index 4db80131..7b687998 100644 --- a/Sources/OpenAPI/Generated/Entities/EndUserLicenseAgreementUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/EndUserLicenseAgreementUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/EndUserLicenseAgreementWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/EndUserLicenseAgreementWithoutIncludesResponse.swift index 1f401d35..194c2277 100644 --- a/Sources/OpenAPI/Generated/Entities/EndUserLicenseAgreementWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/EndUserLicenseAgreementWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ErrorResponse.swift b/Sources/OpenAPI/Generated/Entities/ErrorResponse.swift index e6287eab..1d07aad3 100644 --- a/Sources/OpenAPI/Generated/Entities/ErrorResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/ErrorResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -27,7 +25,10 @@ public struct ErrorResponse: Codable { } else if let value = try? container.decode(ErrorSourceParameter.self) { self = .errorSourceParameter(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (ErrorSourcePointer, ErrorSourceParameter)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/ErrorSourceParameter.swift b/Sources/OpenAPI/Generated/Entities/ErrorSourceParameter.swift index 0adfae84..d1087a8b 100644 --- a/Sources/OpenAPI/Generated/Entities/ErrorSourceParameter.swift +++ b/Sources/OpenAPI/Generated/Entities/ErrorSourceParameter.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ErrorSourcePointer.swift b/Sources/OpenAPI/Generated/Entities/ErrorSourcePointer.swift index db6cc59a..58f8d557 100644 --- a/Sources/OpenAPI/Generated/Entities/ErrorSourcePointer.swift +++ b/Sources/OpenAPI/Generated/Entities/ErrorSourcePointer.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ExternalBetaState.swift b/Sources/OpenAPI/Generated/Entities/ExternalBetaState.swift index d83f966b..855fbadc 100644 --- a/Sources/OpenAPI/Generated/Entities/ExternalBetaState.swift +++ b/Sources/OpenAPI/Generated/Entities/ExternalBetaState.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/FileLocation.swift b/Sources/OpenAPI/Generated/Entities/FileLocation.swift index 39c33d8e..e841dd6e 100644 --- a/Sources/OpenAPI/Generated/Entities/FileLocation.swift +++ b/Sources/OpenAPI/Generated/Entities/FileLocation.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievement.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievement.swift index 98d5ea57..85fd2612 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievement.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievement.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementCreateRequest.swift index 45669d6b..9733f13c 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementGroupAchievementLinkageRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementGroupAchievementLinkageRequest.swift index 05f37b13..c8f75910 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementGroupAchievementLinkageRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementGroupAchievementLinkageRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementGroupAchievementLinkageResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementGroupAchievementLinkageResponse.swift index c9e2b532..01a08223 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementGroupAchievementLinkageResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementGroupAchievementLinkageResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementImage.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementImage.swift index bcb59d1f..492e368d 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementImage.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementImage.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementImageCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementImageCreateRequest.swift index 118d1b56..01f0cb79 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementImageCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementImageCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementImageResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementImageResponse.swift index 0833d7ca..f04777f0 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementImageResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementImageResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementImageUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementImageUpdateRequest.swift index f2f03428..8c1df816 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementImageUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementImageUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementLocalization.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementLocalization.swift index b10bdaa9..80e6a9ef 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementLocalization.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementLocalizationCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementLocalizationCreateRequest.swift index 25fa2517..aab59eee 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementLocalizationCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementLocalizationCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementLocalizationResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementLocalizationResponse.swift index b0c87cd2..1d8c2963 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementLocalizationResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementLocalizationResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct GameCenterAchievementLocalizationResponse: Codable { } else if let value = try? container.decode(GameCenterAchievementImage.self) { self = .gameCenterAchievementImage(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterAchievement, GameCenterAchievementImage)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementLocalizationUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementLocalizationUpdateRequest.swift index 469911b9..4856d7c2 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementLocalizationUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementLocalizationUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementLocalizationsResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementLocalizationsResponse.swift index 233f2c7b..ff86883e 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementLocalizationsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementLocalizationsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct GameCenterAchievementLocalizationsResponse: Codable { } else if let value = try? container.decode(GameCenterAchievementImage.self) { self = .gameCenterAchievementImage(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterAchievement, GameCenterAchievementImage)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementRelease.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementRelease.swift index 33f8eb8a..e97743a3 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementRelease.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementRelease.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementReleaseCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementReleaseCreateRequest.swift index f2efe6b3..1813151b 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementReleaseCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementReleaseCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementReleaseResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementReleaseResponse.swift index 601d6769..b560d3ef 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementReleaseResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementReleaseResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct GameCenterAchievementReleaseResponse: Codable { } else if let value = try? container.decode(GameCenterAchievement.self) { self = .gameCenterAchievement(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterDetail, GameCenterAchievement)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementReleasesResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementReleasesResponse.swift index 701e741b..200322de 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementReleasesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementReleasesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct GameCenterAchievementReleasesResponse: Codable { } else if let value = try? container.decode(GameCenterAchievement.self) { self = .gameCenterAchievement(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterDetail, GameCenterAchievement)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementResponse.swift index 1a1e264b..35eb692f 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -31,7 +29,10 @@ public struct GameCenterAchievementResponse: Codable { } else if let value = try? container.decode(GameCenterAchievementRelease.self) { self = .gameCenterAchievementRelease(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterDetail, GameCenterGroup, GameCenterAchievement, GameCenterAchievementLocalization, GameCenterAchievementRelease)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementUpdateRequest.swift index 3339d83d..582a0256 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementsResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementsResponse.swift index 3ea0d2f1..3f2027fa 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -31,7 +29,10 @@ public struct GameCenterAchievementsResponse: Codable { } else if let value = try? container.decode(GameCenterAchievementRelease.self) { self = .gameCenterAchievementRelease(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterDetail, GameCenterGroup, GameCenterAchievement, GameCenterAchievementLocalization, GameCenterAchievementRelease)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAppVersion.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAppVersion.swift index 047cccf3..094952f7 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAppVersion.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAppVersion.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAppVersionCompatibilityVersionsLinkagesRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAppVersionCompatibilityVersionsLinkagesRequest.swift index 52eee0e7..54055be9 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAppVersionCompatibilityVersionsLinkagesRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAppVersionCompatibilityVersionsLinkagesRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAppVersionCompatibilityVersionsLinkagesResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAppVersionCompatibilityVersionsLinkagesResponse.swift index 94743252..071085a5 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAppVersionCompatibilityVersionsLinkagesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAppVersionCompatibilityVersionsLinkagesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAppVersionCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAppVersionCreateRequest.swift index 04b7ae87..9c23da88 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAppVersionCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAppVersionCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAppVersionResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAppVersionResponse.swift index 9a2e7ce7..c01ee25e 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAppVersionResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAppVersionResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct GameCenterAppVersionResponse: Codable { } else if let value = try? container.decode(AppStoreVersion.self) { self = .appStoreVersion(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterAppVersion, AppStoreVersion)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAppVersionUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAppVersionUpdateRequest.swift index 5c2e1bf5..c433fcc6 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAppVersionUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAppVersionUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAppVersionsResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAppVersionsResponse.swift index aca289e5..ad8708f7 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAppVersionsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAppVersionsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct GameCenterAppVersionsResponse: Codable { } else if let value = try? container.decode(AppStoreVersion.self) { self = .appStoreVersion(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterAppVersion, AppStoreVersion)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterDetail.swift b/Sources/OpenAPI/Generated/Entities/GameCenterDetail.swift index 28caa234..1c572cdd 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterDetail.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterDetail.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterDetailCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterDetailCreateRequest.swift index d09a212c..6ef9f039 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterDetailCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterDetailCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterDetailGameCenterAchievementsLinkagesRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterDetailGameCenterAchievementsLinkagesRequest.swift index 49ebf80a..1504f669 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterDetailGameCenterAchievementsLinkagesRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterDetailGameCenterAchievementsLinkagesRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterDetailGameCenterAchievementsLinkagesResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterDetailGameCenterAchievementsLinkagesResponse.swift index e14221ea..dc680c19 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterDetailGameCenterAchievementsLinkagesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterDetailGameCenterAchievementsLinkagesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterDetailGameCenterLeaderboardSetsLinkagesRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterDetailGameCenterLeaderboardSetsLinkagesRequest.swift index 56a2970d..8e65b73a 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterDetailGameCenterLeaderboardSetsLinkagesRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterDetailGameCenterLeaderboardSetsLinkagesRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterDetailGameCenterLeaderboardSetsLinkagesResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterDetailGameCenterLeaderboardSetsLinkagesResponse.swift index eb82b5ae..ec2af2cd 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterDetailGameCenterLeaderboardSetsLinkagesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterDetailGameCenterLeaderboardSetsLinkagesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterDetailGameCenterLeaderboardsLinkagesRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterDetailGameCenterLeaderboardsLinkagesRequest.swift index 7ee23a6e..55d9771a 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterDetailGameCenterLeaderboardsLinkagesRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterDetailGameCenterLeaderboardsLinkagesRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterDetailGameCenterLeaderboardsLinkagesResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterDetailGameCenterLeaderboardsLinkagesResponse.swift index 2dad2374..fac98fa2 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterDetailGameCenterLeaderboardsLinkagesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterDetailGameCenterLeaderboardsLinkagesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterDetailResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterDetailResponse.swift index 478aa05e..83f354c3 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterDetailResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterDetailResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -43,7 +41,10 @@ public struct GameCenterDetailResponse: Codable { } else if let value = try? container.decode(GameCenterLeaderboardSetRelease.self) { self = .gameCenterLeaderboardSetRelease(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, GameCenterAppVersion, GameCenterGroup, GameCenterLeaderboard, GameCenterLeaderboardSet, GameCenterAchievement, GameCenterAchievementRelease, GameCenterLeaderboardRelease, GameCenterLeaderboardSetRelease)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterDetailUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterDetailUpdateRequest.swift index 7ac84e20..41bad235 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterDetailUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterDetailUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterDetailsResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterDetailsResponse.swift index c0c76b0d..d7794409 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterDetailsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterDetailsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -43,7 +41,10 @@ public struct GameCenterDetailsResponse: Codable { } else if let value = try? container.decode(GameCenterLeaderboardSetRelease.self) { self = .gameCenterLeaderboardSetRelease(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, GameCenterAppVersion, GameCenterGroup, GameCenterLeaderboard, GameCenterLeaderboardSet, GameCenterAchievement, GameCenterAchievementRelease, GameCenterLeaderboardRelease, GameCenterLeaderboardSetRelease)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterEnabledVersion.swift b/Sources/OpenAPI/Generated/Entities/GameCenterEnabledVersion.swift index 80b78896..24c79c6b 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterEnabledVersion.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterEnabledVersion.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -11,6 +9,7 @@ public struct GameCenterEnabledVersion: Codable, Identifiable { public var id: String public var attributes: Attributes? public var relationships: Relationships? + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case gameCenterEnabledVersions @@ -208,11 +207,12 @@ public struct GameCenterEnabledVersion: Codable, Identifiable { } } - public init(type: `Type`, id: String, attributes: Attributes? = nil, relationships: Relationships? = nil) { + public init(type: `Type`, id: String, attributes: Attributes? = nil, relationships: Relationships? = nil, links: ResourceLinks? = nil) { self.type = type self.id = id self.attributes = attributes self.relationships = relationships + self.links = links } public init(from decoder: Decoder) throws { @@ -221,6 +221,7 @@ public struct GameCenterEnabledVersion: Codable, Identifiable { self.id = try values.decode(String.self, forKey: "id") self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") self.relationships = try values.decodeIfPresent(Relationships.self, forKey: "relationships") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { @@ -229,5 +230,6 @@ public struct GameCenterEnabledVersion: Codable, Identifiable { try values.encode(id, forKey: "id") try values.encodeIfPresent(attributes, forKey: "attributes") try values.encodeIfPresent(relationships, forKey: "relationships") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterEnabledVersionCompatibleVersionsLinkagesRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterEnabledVersionCompatibleVersionsLinkagesRequest.swift index 3488a830..19ab0929 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterEnabledVersionCompatibleVersionsLinkagesRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterEnabledVersionCompatibleVersionsLinkagesRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterEnabledVersionCompatibleVersionsLinkagesResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterEnabledVersionCompatibleVersionsLinkagesResponse.swift index 16efd355..653149aa 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterEnabledVersionCompatibleVersionsLinkagesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterEnabledVersionCompatibleVersionsLinkagesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterEnabledVersionsResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterEnabledVersionsResponse.swift index 7fa19003..56243449 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterEnabledVersionsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterEnabledVersionsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -23,7 +21,10 @@ public struct GameCenterEnabledVersionsResponse: Codable { } else if let value = try? container.decode(App.self) { self = .app(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterEnabledVersion, App)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterGroup.swift b/Sources/OpenAPI/Generated/Entities/GameCenterGroup.swift index d0682112..bef9023b 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterGroup.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterGroup.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterGroupCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterGroupCreateRequest.swift index 2cd0d4fb..f3626a9f 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterGroupCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterGroupCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterGroupGameCenterAchievementsLinkagesRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterGroupGameCenterAchievementsLinkagesRequest.swift index 9a661334..0a31c55c 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterGroupGameCenterAchievementsLinkagesRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterGroupGameCenterAchievementsLinkagesRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterGroupGameCenterAchievementsLinkagesResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterGroupGameCenterAchievementsLinkagesResponse.swift index 5b68bd30..2bc05983 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterGroupGameCenterAchievementsLinkagesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterGroupGameCenterAchievementsLinkagesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterGroupGameCenterLeaderboardSetsLinkagesRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterGroupGameCenterLeaderboardSetsLinkagesRequest.swift index 3a96ed2e..d9c50d69 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterGroupGameCenterLeaderboardSetsLinkagesRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterGroupGameCenterLeaderboardSetsLinkagesRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterGroupGameCenterLeaderboardSetsLinkagesResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterGroupGameCenterLeaderboardSetsLinkagesResponse.swift index f82451ba..abb473bb 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterGroupGameCenterLeaderboardSetsLinkagesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterGroupGameCenterLeaderboardSetsLinkagesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterGroupGameCenterLeaderboardsLinkagesRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterGroupGameCenterLeaderboardsLinkagesRequest.swift index f18c820f..3fed23a8 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterGroupGameCenterLeaderboardsLinkagesRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterGroupGameCenterLeaderboardsLinkagesRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterGroupGameCenterLeaderboardsLinkagesResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterGroupGameCenterLeaderboardsLinkagesResponse.swift index 3b46a2d7..06d4418c 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterGroupGameCenterLeaderboardsLinkagesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterGroupGameCenterLeaderboardsLinkagesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterGroupResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterGroupResponse.swift index b7a7bbad..f97805c9 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterGroupResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterGroupResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -28,7 +26,10 @@ public struct GameCenterGroupResponse: Codable { } else if let value = try? container.decode(GameCenterAchievement.self) { self = .gameCenterAchievement(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterDetail, GameCenterLeaderboard, GameCenterLeaderboardSet, GameCenterAchievement)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterGroupUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterGroupUpdateRequest.swift index bb833858..dfafc280 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterGroupUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterGroupUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterGroupsResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterGroupsResponse.swift index ba621171..a00f7b1c 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterGroupsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterGroupsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -28,7 +26,10 @@ public struct GameCenterGroupsResponse: Codable { } else if let value = try? container.decode(GameCenterAchievement.self) { self = .gameCenterAchievement(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterDetail, GameCenterLeaderboard, GameCenterLeaderboardSet, GameCenterAchievement)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboard.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboard.swift index 9f48e448..614db62e 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboard.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboard.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardCreateRequest.swift index 872e3e2c..21f84695 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardFormatter.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardFormatter.swift index 7d5e75e6..9a795dfc 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardFormatter.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardFormatter.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardGroupLeaderboardLinkageRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardGroupLeaderboardLinkageRequest.swift index a873ad16..94b79948 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardGroupLeaderboardLinkageRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardGroupLeaderboardLinkageRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardGroupLeaderboardLinkageResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardGroupLeaderboardLinkageResponse.swift index 12d6f932..40a955b1 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardGroupLeaderboardLinkageResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardGroupLeaderboardLinkageResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardImage.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardImage.swift index e9230e80..b4884ddc 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardImage.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardImage.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardImageCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardImageCreateRequest.swift index a5d095b3..d68df309 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardImageCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardImageCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardImageResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardImageResponse.swift index e9440666..5dec6615 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardImageResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardImageResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardImageUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardImageUpdateRequest.swift index aabdb051..d1308673 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardImageUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardImageUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardLocalization.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardLocalization.swift index d24d850e..210cc895 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardLocalization.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardLocalizationCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardLocalizationCreateRequest.swift index c6cd448c..8fd98398 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardLocalizationCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardLocalizationCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardLocalizationResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardLocalizationResponse.swift index abecc410..75b53192 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardLocalizationResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardLocalizationResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct GameCenterLeaderboardLocalizationResponse: Codable { } else if let value = try? container.decode(GameCenterLeaderboardImage.self) { self = .gameCenterLeaderboardImage(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterLeaderboard, GameCenterLeaderboardImage)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardLocalizationUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardLocalizationUpdateRequest.swift index cb1bc177..d9a959cc 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardLocalizationUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardLocalizationUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardLocalizationsResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardLocalizationsResponse.swift index 174741f2..5e7f0466 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardLocalizationsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardLocalizationsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct GameCenterLeaderboardLocalizationsResponse: Codable { } else if let value = try? container.decode(GameCenterLeaderboardImage.self) { self = .gameCenterLeaderboardImage(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterLeaderboard, GameCenterLeaderboardImage)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardRelease.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardRelease.swift index 64322396..39b0cc1a 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardRelease.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardRelease.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardReleaseCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardReleaseCreateRequest.swift index 89e84ba7..f197d354 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardReleaseCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardReleaseCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardReleaseResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardReleaseResponse.swift index ea48c7a5..d58db832 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardReleaseResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardReleaseResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct GameCenterLeaderboardReleaseResponse: Codable { } else if let value = try? container.decode(GameCenterLeaderboard.self) { self = .gameCenterLeaderboard(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterDetail, GameCenterLeaderboard)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardReleasesResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardReleasesResponse.swift index 73c9f593..6d8e95eb 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardReleasesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardReleasesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct GameCenterLeaderboardReleasesResponse: Codable { } else if let value = try? container.decode(GameCenterLeaderboard.self) { self = .gameCenterLeaderboard(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterDetail, GameCenterLeaderboard)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardResponse.swift index 6b33a7d1..a0cb107c 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -34,7 +32,10 @@ public struct GameCenterLeaderboardResponse: Codable { } else if let value = try? container.decode(GameCenterLeaderboardRelease.self) { self = .gameCenterLeaderboardRelease(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterDetail, GameCenterGroup, GameCenterLeaderboard, GameCenterLeaderboardSet, GameCenterLeaderboardLocalization, GameCenterLeaderboardRelease)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSet.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSet.swift index 450d1dcb..398e62a7 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSet.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSet.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetCreateRequest.swift index 9988c773..5efbc0bc 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -11,7 +9,7 @@ public struct GameCenterLeaderboardSetCreateRequest: Codable { public struct Data: Codable { public var type: `Type` public var attributes: Attributes - public var relationships: Relationships + public var relationships: Relationships? public enum `Type`: String, Codable, CaseIterable { case gameCenterLeaderboardSets @@ -40,10 +38,100 @@ public struct GameCenterLeaderboardSetCreateRequest: Codable { } public struct Relationships: Codable { - public var gameCenterLeaderboards: GameCenterLeaderboards + public var gameCenterDetail: GameCenterDetail? + public var gameCenterGroup: GameCenterGroup? + public var gameCenterLeaderboards: GameCenterLeaderboards? + + public struct GameCenterDetail: Codable { + public var data: Data? + + public struct Data: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterDetails + } + + public init(type: `Type`, id: String) { + self.type = type + self.id = id + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + } + } + + public init(data: Data? = nil) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decodeIfPresent(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(data, forKey: "data") + } + } + + public struct GameCenterGroup: Codable { + public var data: Data? + + public struct Data: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterGroups + } + + public init(type: `Type`, id: String) { + self.type = type + self.id = id + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + } + } + + public init(data: Data? = nil) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decodeIfPresent(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(data, forKey: "data") + } + } public struct GameCenterLeaderboards: Codable { - public var data: [Datum] + public var data: [Datum]? public struct Datum: Codable, Identifiable { public var type: `Type` @@ -71,37 +159,43 @@ public struct GameCenterLeaderboardSetCreateRequest: Codable { } } - public init(data: [Datum]) { + public init(data: [Datum]? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.data = try values.decode([Datum].self, forKey: "data") + self.data = try values.decodeIfPresent([Datum].self, forKey: "data") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(data, forKey: "data") + try values.encodeIfPresent(data, forKey: "data") } } - public init(gameCenterLeaderboards: GameCenterLeaderboards) { + public init(gameCenterDetail: GameCenterDetail? = nil, gameCenterGroup: GameCenterGroup? = nil, gameCenterLeaderboards: GameCenterLeaderboards? = nil) { + self.gameCenterDetail = gameCenterDetail + self.gameCenterGroup = gameCenterGroup self.gameCenterLeaderboards = gameCenterLeaderboards } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.gameCenterLeaderboards = try values.decode(GameCenterLeaderboards.self, forKey: "gameCenterLeaderboards") + self.gameCenterDetail = try values.decodeIfPresent(GameCenterDetail.self, forKey: "gameCenterDetail") + self.gameCenterGroup = try values.decodeIfPresent(GameCenterGroup.self, forKey: "gameCenterGroup") + self.gameCenterLeaderboards = try values.decodeIfPresent(GameCenterLeaderboards.self, forKey: "gameCenterLeaderboards") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(gameCenterLeaderboards, forKey: "gameCenterLeaderboards") + try values.encodeIfPresent(gameCenterDetail, forKey: "gameCenterDetail") + try values.encodeIfPresent(gameCenterGroup, forKey: "gameCenterGroup") + try values.encodeIfPresent(gameCenterLeaderboards, forKey: "gameCenterLeaderboards") } } - public init(type: `Type`, attributes: Attributes, relationships: Relationships) { + public init(type: `Type`, attributes: Attributes, relationships: Relationships? = nil) { self.type = type self.attributes = attributes self.relationships = relationships @@ -111,14 +205,14 @@ public struct GameCenterLeaderboardSetCreateRequest: Codable { let values = try decoder.container(keyedBy: StringCodingKey.self) self.type = try values.decode(`Type`.self, forKey: "type") self.attributes = try values.decode(Attributes.self, forKey: "attributes") - self.relationships = try values.decode(Relationships.self, forKey: "relationships") + self.relationships = try values.decodeIfPresent(Relationships.self, forKey: "relationships") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encode(type, forKey: "type") try values.encode(attributes, forKey: "attributes") - try values.encode(relationships, forKey: "relationships") + try values.encodeIfPresent(relationships, forKey: "relationships") } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest.swift index 3ce92c17..09fc3676 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesResponse.swift index 2b50c25b..695b38f9 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest.swift index 16859960..9c3fe601 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponse.swift index 2afac96f..f04819b0 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetImage.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetImage.swift index 8b485b4f..fca6ddb3 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetImage.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetImage.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetImageCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetImageCreateRequest.swift index ed083c0f..c5b7079d 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetImageCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetImageCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetImageResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetImageResponse.swift index 90414a80..53753777 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetImageResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetImageResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetImageUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetImageUpdateRequest.swift index abd74377..c465ba56 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetImageUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetImageUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetLocalization.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetLocalization.swift index acedb3e4..52f354d9 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetLocalization.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetLocalizationCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetLocalizationCreateRequest.swift index 3c83369c..7be20620 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetLocalizationCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetLocalizationCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetLocalizationResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetLocalizationResponse.swift index a3842acb..5b9d955e 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetLocalizationResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetLocalizationResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct GameCenterLeaderboardSetLocalizationResponse: Codable { } else if let value = try? container.decode(GameCenterLeaderboardSetImage.self) { self = .gameCenterLeaderboardSetImage(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterLeaderboardSet, GameCenterLeaderboardSetImage)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetLocalizationUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetLocalizationUpdateRequest.swift index 81ad2f0f..5b2c0d14 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetLocalizationUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetLocalizationUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetLocalizationsResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetLocalizationsResponse.swift index 30f9fe1c..bb1dbac3 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetLocalizationsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetLocalizationsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct GameCenterLeaderboardSetLocalizationsResponse: Codable { } else if let value = try? container.decode(GameCenterLeaderboardSetImage.self) { self = .gameCenterLeaderboardSetImage(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterLeaderboardSet, GameCenterLeaderboardSetImage)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetMemberLocalization.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetMemberLocalization.swift index cb570656..8ec4c132 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetMemberLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetMemberLocalization.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetMemberLocalizationCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetMemberLocalizationCreateRequest.swift index 106f9679..2546f30a 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetMemberLocalizationCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetMemberLocalizationCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetMemberLocalizationResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetMemberLocalizationResponse.swift index 855c2f0a..7a61a803 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetMemberLocalizationResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetMemberLocalizationResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct GameCenterLeaderboardSetMemberLocalizationResponse: Codable { } else if let value = try? container.decode(GameCenterLeaderboard.self) { self = .gameCenterLeaderboard(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterLeaderboardSet, GameCenterLeaderboard)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetMemberLocalizationUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetMemberLocalizationUpdateRequest.swift index ce893c7c..6ac25271 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetMemberLocalizationUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetMemberLocalizationUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetMemberLocalizationsResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetMemberLocalizationsResponse.swift index 0b35b4f0..bb6c1c13 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetMemberLocalizationsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetMemberLocalizationsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct GameCenterLeaderboardSetMemberLocalizationsResponse: Codable { } else if let value = try? container.decode(GameCenterLeaderboard.self) { self = .gameCenterLeaderboard(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterLeaderboardSet, GameCenterLeaderboard)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetRelease.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetRelease.swift index 191b5e50..5a908218 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetRelease.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetRelease.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetReleaseCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetReleaseCreateRequest.swift index 4b20aefb..c9db19f6 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetReleaseCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetReleaseCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetReleaseResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetReleaseResponse.swift index 01770bd7..cd192177 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetReleaseResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetReleaseResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct GameCenterLeaderboardSetReleaseResponse: Codable { } else if let value = try? container.decode(GameCenterLeaderboardSet.self) { self = .gameCenterLeaderboardSet(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterDetail, GameCenterLeaderboardSet)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetReleasesResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetReleasesResponse.swift index 50062aef..acd81cea 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetReleasesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetReleasesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct GameCenterLeaderboardSetReleasesResponse: Codable { } else if let value = try? container.decode(GameCenterLeaderboardSet.self) { self = .gameCenterLeaderboardSet(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterDetail, GameCenterLeaderboardSet)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetResponse.swift index a04d3278..dba58f68 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -34,7 +32,10 @@ public struct GameCenterLeaderboardSetResponse: Codable { } else if let value = try? container.decode(GameCenterLeaderboardSetRelease.self) { self = .gameCenterLeaderboardSetRelease(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterDetail, GameCenterGroup, GameCenterLeaderboardSet, GameCenterLeaderboardSetLocalization, GameCenterLeaderboard, GameCenterLeaderboardSetRelease)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetUpdateRequest.swift index f28abac5..821885fa 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetsResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetsResponse.swift index 4ca6742b..882e1015 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -34,7 +32,10 @@ public struct GameCenterLeaderboardSetsResponse: Codable { } else if let value = try? container.decode(GameCenterLeaderboardSetRelease.self) { self = .gameCenterLeaderboardSetRelease(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterDetail, GameCenterGroup, GameCenterLeaderboardSet, GameCenterLeaderboardSetLocalization, GameCenterLeaderboard, GameCenterLeaderboardSetRelease)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardUpdateRequest.swift index 42b37d41..cb1dd293 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardsResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardsResponse.swift index 1107be74..622f54e8 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -34,7 +32,10 @@ public struct GameCenterLeaderboardsResponse: Codable { } else if let value = try? container.decode(GameCenterLeaderboardRelease.self) { self = .gameCenterLeaderboardRelease(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterDetail, GameCenterGroup, GameCenterLeaderboard, GameCenterLeaderboardSet, GameCenterLeaderboardLocalization, GameCenterLeaderboardRelease)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingAppRequestsV1MetricResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingAppRequestsV1MetricResponse.swift new file mode 100644 index 00000000..77261b2c --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingAppRequestsV1MetricResponse.swift @@ -0,0 +1,172 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingAppRequestsV1MetricResponse: Codable { + public var data: [Datum] + public var links: PagedDocumentLinks + public var meta: PagingInformation? + + public struct Datum: Codable { + public var dataPoints: DataPoints? + public var dimensions: Dimensions? + public var granularity: Granularity? + + public struct DataPoints: Codable { + public var start: Date? + public var end: Date? + public var values: Values? + + public struct Values: Codable { + public var count: Int? + public var averageSecondsInQueue: Double? + public var p50SecondsInQueue: Double? + public var p95SecondsInQueue: Double? + + public init(count: Int? = nil, averageSecondsInQueue: Double? = nil, p50SecondsInQueue: Double? = nil, p95SecondsInQueue: Double? = nil) { + self.count = count + self.averageSecondsInQueue = averageSecondsInQueue + self.p50SecondsInQueue = p50SecondsInQueue + self.p95SecondsInQueue = p95SecondsInQueue + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.count = try values.decodeIfPresent(Int.self, forKey: "count") + self.averageSecondsInQueue = try values.decodeIfPresent(Double.self, forKey: "averageSecondsInQueue") + self.p50SecondsInQueue = try values.decodeIfPresent(Double.self, forKey: "p50SecondsInQueue") + self.p95SecondsInQueue = try values.decodeIfPresent(Double.self, forKey: "p95SecondsInQueue") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(count, forKey: "count") + try values.encodeIfPresent(averageSecondsInQueue, forKey: "averageSecondsInQueue") + try values.encodeIfPresent(p50SecondsInQueue, forKey: "p50SecondsInQueue") + try values.encodeIfPresent(p95SecondsInQueue, forKey: "p95SecondsInQueue") + } + } + + public init(start: Date? = nil, end: Date? = nil, values: Values? = nil) { + self.start = start + self.end = end + self.values = values + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.start = try values.decodeIfPresent(Date.self, forKey: "start") + self.end = try values.decodeIfPresent(Date.self, forKey: "end") + self.values = try values.decodeIfPresent(Values.self, forKey: "values") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(start, forKey: "start") + try values.encodeIfPresent(end, forKey: "end") + try values.encodeIfPresent(self.values, forKey: "values") + } + } + + public struct Dimensions: Codable { + public var result: Result? + + public struct Result: Codable { + public var links: Links? + + public struct Links: Codable { + public var groupBy: String? + + public init(groupBy: String? = nil) { + self.groupBy = groupBy + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.groupBy = try values.decodeIfPresent(String.self, forKey: "groupBy") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(groupBy, forKey: "groupBy") + } + } + + public init(links: Links? = nil) { + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.links = try values.decodeIfPresent(Links.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") + } + } + + public init(result: Result? = nil) { + self.result = result + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.result = try values.decodeIfPresent(Result.self, forKey: "result") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(result, forKey: "result") + } + } + + public enum Granularity: String, Codable, CaseIterable { + case p1d = "P1D" + case pt1h = "PT1H" + case pt15m = "PT15M" + } + + public init(dataPoints: DataPoints? = nil, dimensions: Dimensions? = nil, granularity: Granularity? = nil) { + self.dataPoints = dataPoints + self.dimensions = dimensions + self.granularity = granularity + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.dataPoints = try values.decodeIfPresent(DataPoints.self, forKey: "dataPoints") + self.dimensions = try values.decodeIfPresent(Dimensions.self, forKey: "dimensions") + self.granularity = try values.decodeIfPresent(Granularity.self, forKey: "granularity") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(dataPoints, forKey: "dataPoints") + try values.encodeIfPresent(dimensions, forKey: "dimensions") + try values.encodeIfPresent(granularity, forKey: "granularity") + } + } + + public init(data: [Datum], links: PagedDocumentLinks, meta: PagingInformation? = nil) { + self.data = data + self.links = links + self.meta = meta + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode([Datum].self, forKey: "data") + self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + try values.encodeIfPresent(meta, forKey: "meta") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingBooleanRuleResultsV1MetricResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingBooleanRuleResultsV1MetricResponse.swift new file mode 100644 index 00000000..7e2ef4ea --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingBooleanRuleResultsV1MetricResponse.swift @@ -0,0 +1,204 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingBooleanRuleResultsV1MetricResponse: Codable { + public var data: [Datum] + public var links: PagedDocumentLinks + public var meta: PagingInformation? + + public struct Datum: Codable { + public var dataPoints: DataPoints? + public var dimensions: Dimensions? + public var granularity: Granularity? + + public struct DataPoints: Codable { + public var start: Date? + public var end: Date? + public var values: Values? + + public struct Values: Codable { + public var count: Int? + + public init(count: Int? = nil) { + self.count = count + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.count = try values.decodeIfPresent(Int.self, forKey: "count") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(count, forKey: "count") + } + } + + public init(start: Date? = nil, end: Date? = nil, values: Values? = nil) { + self.start = start + self.end = end + self.values = values + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.start = try values.decodeIfPresent(Date.self, forKey: "start") + self.end = try values.decodeIfPresent(Date.self, forKey: "end") + self.values = try values.decodeIfPresent(Values.self, forKey: "values") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(start, forKey: "start") + try values.encodeIfPresent(end, forKey: "end") + try values.encodeIfPresent(self.values, forKey: "values") + } + } + + public struct Dimensions: Codable { + public var result: Result? + public var gameCenterMatchmakingQueue: GameCenterMatchmakingQueue? + + public struct Result: Codable { + public var links: Links? + + public struct Links: Codable { + public var groupBy: String? + + public init(groupBy: String? = nil) { + self.groupBy = groupBy + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.groupBy = try values.decodeIfPresent(String.self, forKey: "groupBy") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(groupBy, forKey: "groupBy") + } + } + + public init(links: Links? = nil) { + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.links = try values.decodeIfPresent(Links.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") + } + } + + public struct GameCenterMatchmakingQueue: Codable { + public var links: Links? + + public struct Links: Codable { + public var groupBy: String? + public var related: String? + + public init(groupBy: String? = nil, related: String? = nil) { + self.groupBy = groupBy + self.related = related + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.groupBy = try values.decodeIfPresent(String.self, forKey: "groupBy") + self.related = try values.decodeIfPresent(String.self, forKey: "related") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(groupBy, forKey: "groupBy") + try values.encodeIfPresent(related, forKey: "related") + } + } + + public init(links: Links? = nil) { + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.links = try values.decodeIfPresent(Links.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") + } + } + + public init(result: Result? = nil, gameCenterMatchmakingQueue: GameCenterMatchmakingQueue? = nil) { + self.result = result + self.gameCenterMatchmakingQueue = gameCenterMatchmakingQueue + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.result = try values.decodeIfPresent(Result.self, forKey: "result") + self.gameCenterMatchmakingQueue = try values.decodeIfPresent(GameCenterMatchmakingQueue.self, forKey: "gameCenterMatchmakingQueue") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(result, forKey: "result") + try values.encodeIfPresent(gameCenterMatchmakingQueue, forKey: "gameCenterMatchmakingQueue") + } + } + + public enum Granularity: String, Codable, CaseIterable { + case p1d = "P1D" + case pt1h = "PT1H" + case pt15m = "PT15M" + } + + public init(dataPoints: DataPoints? = nil, dimensions: Dimensions? = nil, granularity: Granularity? = nil) { + self.dataPoints = dataPoints + self.dimensions = dimensions + self.granularity = granularity + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.dataPoints = try values.decodeIfPresent(DataPoints.self, forKey: "dataPoints") + self.dimensions = try values.decodeIfPresent(Dimensions.self, forKey: "dimensions") + self.granularity = try values.decodeIfPresent(Granularity.self, forKey: "granularity") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(dataPoints, forKey: "dataPoints") + try values.encodeIfPresent(dimensions, forKey: "dimensions") + try values.encodeIfPresent(granularity, forKey: "granularity") + } + } + + public init(data: [Datum], links: PagedDocumentLinks, meta: PagingInformation? = nil) { + self.data = data + self.links = links + self.meta = meta + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode([Datum].self, forKey: "data") + self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + try values.encodeIfPresent(meta, forKey: "meta") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingNumberRuleResultsV1MetricResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingNumberRuleResultsV1MetricResponse.swift new file mode 100644 index 00000000..cc9be188 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingNumberRuleResultsV1MetricResponse.swift @@ -0,0 +1,176 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingNumberRuleResultsV1MetricResponse: Codable { + public var data: [Datum] + public var links: PagedDocumentLinks + public var meta: PagingInformation? + + public struct Datum: Codable { + public var dataPoints: DataPoints? + public var dimensions: Dimensions? + public var granularity: Granularity? + + public struct DataPoints: Codable { + public var start: Date? + public var end: Date? + public var values: Values? + + public struct Values: Codable { + public var count: Int? + public var averageResult: Double? + public var p50Result: Double? + public var p95Result: Double? + + public init(count: Int? = nil, averageResult: Double? = nil, p50Result: Double? = nil, p95Result: Double? = nil) { + self.count = count + self.averageResult = averageResult + self.p50Result = p50Result + self.p95Result = p95Result + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.count = try values.decodeIfPresent(Int.self, forKey: "count") + self.averageResult = try values.decodeIfPresent(Double.self, forKey: "averageResult") + self.p50Result = try values.decodeIfPresent(Double.self, forKey: "p50Result") + self.p95Result = try values.decodeIfPresent(Double.self, forKey: "p95Result") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(count, forKey: "count") + try values.encodeIfPresent(averageResult, forKey: "averageResult") + try values.encodeIfPresent(p50Result, forKey: "p50Result") + try values.encodeIfPresent(p95Result, forKey: "p95Result") + } + } + + public init(start: Date? = nil, end: Date? = nil, values: Values? = nil) { + self.start = start + self.end = end + self.values = values + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.start = try values.decodeIfPresent(Date.self, forKey: "start") + self.end = try values.decodeIfPresent(Date.self, forKey: "end") + self.values = try values.decodeIfPresent(Values.self, forKey: "values") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(start, forKey: "start") + try values.encodeIfPresent(end, forKey: "end") + try values.encodeIfPresent(self.values, forKey: "values") + } + } + + public struct Dimensions: Codable { + public var gameCenterMatchmakingQueue: GameCenterMatchmakingQueue? + + public struct GameCenterMatchmakingQueue: Codable { + public var links: Links? + + public struct Links: Codable { + public var groupBy: String? + public var related: String? + + public init(groupBy: String? = nil, related: String? = nil) { + self.groupBy = groupBy + self.related = related + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.groupBy = try values.decodeIfPresent(String.self, forKey: "groupBy") + self.related = try values.decodeIfPresent(String.self, forKey: "related") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(groupBy, forKey: "groupBy") + try values.encodeIfPresent(related, forKey: "related") + } + } + + public init(links: Links? = nil) { + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.links = try values.decodeIfPresent(Links.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") + } + } + + public init(gameCenterMatchmakingQueue: GameCenterMatchmakingQueue? = nil) { + self.gameCenterMatchmakingQueue = gameCenterMatchmakingQueue + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.gameCenterMatchmakingQueue = try values.decodeIfPresent(GameCenterMatchmakingQueue.self, forKey: "gameCenterMatchmakingQueue") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(gameCenterMatchmakingQueue, forKey: "gameCenterMatchmakingQueue") + } + } + + public enum Granularity: String, Codable, CaseIterable { + case p1d = "P1D" + case pt1h = "PT1H" + case pt15m = "PT15M" + } + + public init(dataPoints: DataPoints? = nil, dimensions: Dimensions? = nil, granularity: Granularity? = nil) { + self.dataPoints = dataPoints + self.dimensions = dimensions + self.granularity = granularity + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.dataPoints = try values.decodeIfPresent(DataPoints.self, forKey: "dataPoints") + self.dimensions = try values.decodeIfPresent(Dimensions.self, forKey: "dimensions") + self.granularity = try values.decodeIfPresent(Granularity.self, forKey: "granularity") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(dataPoints, forKey: "dataPoints") + try values.encodeIfPresent(dimensions, forKey: "dimensions") + try values.encodeIfPresent(granularity, forKey: "granularity") + } + } + + public init(data: [Datum], links: PagedDocumentLinks, meta: PagingInformation? = nil) { + self.data = data + self.links = links + self.meta = meta + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode([Datum].self, forKey: "data") + self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + try values.encodeIfPresent(meta, forKey: "meta") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueue.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueue.swift new file mode 100644 index 00000000..894bf101 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueue.swift @@ -0,0 +1,222 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingQueue: Codable, Identifiable { + public var type: `Type` + public var id: String + public var attributes: Attributes? + public var relationships: Relationships? + public var links: ResourceLinks? + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingQueues + } + + public struct Attributes: Codable { + public var referenceName: String? + + public init(referenceName: String? = nil) { + self.referenceName = referenceName + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.referenceName = try values.decodeIfPresent(String.self, forKey: "referenceName") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(referenceName, forKey: "referenceName") + } + } + + public struct Relationships: Codable { + public var ruleSet: RuleSet? + public var experimentRuleSet: ExperimentRuleSet? + + public struct RuleSet: Codable { + public var links: Links? + public var data: Data? + + public struct Links: Codable { + public var this: String? + public var related: String? + + public init(this: String? = nil, related: String? = nil) { + self.this = this + self.related = related + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.this = try values.decodeIfPresent(String.self, forKey: "self") + self.related = try values.decodeIfPresent(String.self, forKey: "related") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(this, forKey: "self") + try values.encodeIfPresent(related, forKey: "related") + } + } + + public struct Data: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingRuleSets + } + + public init(type: `Type`, id: String) { + self.type = type + self.id = id + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + } + } + + public init(links: Links? = nil, data: Data? = nil) { + self.links = links + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.links = try values.decodeIfPresent(Links.self, forKey: "links") + self.data = try values.decodeIfPresent(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") + try values.encodeIfPresent(data, forKey: "data") + } + } + + public struct ExperimentRuleSet: Codable { + public var links: Links? + public var data: Data? + + public struct Links: Codable { + public var this: String? + public var related: String? + + public init(this: String? = nil, related: String? = nil) { + self.this = this + self.related = related + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.this = try values.decodeIfPresent(String.self, forKey: "self") + self.related = try values.decodeIfPresent(String.self, forKey: "related") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(this, forKey: "self") + try values.encodeIfPresent(related, forKey: "related") + } + } + + public struct Data: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingRuleSets + } + + public init(type: `Type`, id: String) { + self.type = type + self.id = id + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + } + } + + public init(links: Links? = nil, data: Data? = nil) { + self.links = links + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.links = try values.decodeIfPresent(Links.self, forKey: "links") + self.data = try values.decodeIfPresent(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") + try values.encodeIfPresent(data, forKey: "data") + } + } + + public init(ruleSet: RuleSet? = nil, experimentRuleSet: ExperimentRuleSet? = nil) { + self.ruleSet = ruleSet + self.experimentRuleSet = experimentRuleSet + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.ruleSet = try values.decodeIfPresent(RuleSet.self, forKey: "ruleSet") + self.experimentRuleSet = try values.decodeIfPresent(ExperimentRuleSet.self, forKey: "experimentRuleSet") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(ruleSet, forKey: "ruleSet") + try values.encodeIfPresent(experimentRuleSet, forKey: "experimentRuleSet") + } + } + + public init(type: `Type`, id: String, attributes: Attributes? = nil, relationships: Relationships? = nil, links: ResourceLinks? = nil) { + self.type = type + self.id = id + self.attributes = attributes + self.relationships = relationships + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + self.relationships = try values.decodeIfPresent(Relationships.self, forKey: "relationships") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + try values.encodeIfPresent(attributes, forKey: "attributes") + try values.encodeIfPresent(relationships, forKey: "relationships") + try values.encodeIfPresent(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueCreateRequest.swift new file mode 100644 index 00000000..62ab4590 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueCreateRequest.swift @@ -0,0 +1,180 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingQueueCreateRequest: Codable { + public var data: Data + + public struct Data: Codable { + public var type: `Type` + public var attributes: Attributes + public var relationships: Relationships + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingQueues + } + + public struct Attributes: Codable { + public var referenceName: String + + public init(referenceName: String) { + self.referenceName = referenceName + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.referenceName = try values.decode(String.self, forKey: "referenceName") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(referenceName, forKey: "referenceName") + } + } + + public struct Relationships: Codable { + public var ruleSet: RuleSet + public var experimentRuleSet: ExperimentRuleSet? + + public struct RuleSet: Codable { + public var data: Data + + public struct Data: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingRuleSets + } + + public init(type: `Type`, id: String) { + self.type = type + self.id = id + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + } + } + + public init(data: Data) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + } + } + + public struct ExperimentRuleSet: Codable { + public var data: Data? + + public struct Data: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingRuleSets + } + + public init(type: `Type`, id: String) { + self.type = type + self.id = id + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + } + } + + public init(data: Data? = nil) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decodeIfPresent(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(data, forKey: "data") + } + } + + public init(ruleSet: RuleSet, experimentRuleSet: ExperimentRuleSet? = nil) { + self.ruleSet = ruleSet + self.experimentRuleSet = experimentRuleSet + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.ruleSet = try values.decode(RuleSet.self, forKey: "ruleSet") + self.experimentRuleSet = try values.decodeIfPresent(ExperimentRuleSet.self, forKey: "experimentRuleSet") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(ruleSet, forKey: "ruleSet") + try values.encodeIfPresent(experimentRuleSet, forKey: "experimentRuleSet") + } + } + + public init(type: `Type`, attributes: Attributes, relationships: Relationships) { + self.type = type + self.attributes = attributes + self.relationships = relationships + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.attributes = try values.decode(Attributes.self, forKey: "attributes") + self.relationships = try values.decode(Relationships.self, forKey: "relationships") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(attributes, forKey: "attributes") + try values.encode(relationships, forKey: "relationships") + } + } + + public init(data: Data) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueRequestsV1MetricResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueRequestsV1MetricResponse.swift new file mode 100644 index 00000000..a4f2bc09 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueRequestsV1MetricResponse.swift @@ -0,0 +1,216 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingQueueRequestsV1MetricResponse: Codable { + public var data: [Datum] + public var links: PagedDocumentLinks + public var meta: PagingInformation? + + public struct Datum: Codable { + public var dataPoints: DataPoints? + public var dimensions: Dimensions? + public var granularity: Granularity? + + public struct DataPoints: Codable { + public var start: Date? + public var end: Date? + public var values: Values? + + public struct Values: Codable { + public var count: Int? + public var averageSecondsInQueue: Double? + public var p50SecondsInQueue: Double? + public var p95SecondsInQueue: Double? + + public init(count: Int? = nil, averageSecondsInQueue: Double? = nil, p50SecondsInQueue: Double? = nil, p95SecondsInQueue: Double? = nil) { + self.count = count + self.averageSecondsInQueue = averageSecondsInQueue + self.p50SecondsInQueue = p50SecondsInQueue + self.p95SecondsInQueue = p95SecondsInQueue + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.count = try values.decodeIfPresent(Int.self, forKey: "count") + self.averageSecondsInQueue = try values.decodeIfPresent(Double.self, forKey: "averageSecondsInQueue") + self.p50SecondsInQueue = try values.decodeIfPresent(Double.self, forKey: "p50SecondsInQueue") + self.p95SecondsInQueue = try values.decodeIfPresent(Double.self, forKey: "p95SecondsInQueue") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(count, forKey: "count") + try values.encodeIfPresent(averageSecondsInQueue, forKey: "averageSecondsInQueue") + try values.encodeIfPresent(p50SecondsInQueue, forKey: "p50SecondsInQueue") + try values.encodeIfPresent(p95SecondsInQueue, forKey: "p95SecondsInQueue") + } + } + + public init(start: Date? = nil, end: Date? = nil, values: Values? = nil) { + self.start = start + self.end = end + self.values = values + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.start = try values.decodeIfPresent(Date.self, forKey: "start") + self.end = try values.decodeIfPresent(Date.self, forKey: "end") + self.values = try values.decodeIfPresent(Values.self, forKey: "values") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(start, forKey: "start") + try values.encodeIfPresent(end, forKey: "end") + try values.encodeIfPresent(self.values, forKey: "values") + } + } + + public struct Dimensions: Codable { + public var result: Result? + public var gameCenterDetail: GameCenterDetail? + + public struct Result: Codable { + public var links: Links? + + public struct Links: Codable { + public var groupBy: String? + + public init(groupBy: String? = nil) { + self.groupBy = groupBy + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.groupBy = try values.decodeIfPresent(String.self, forKey: "groupBy") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(groupBy, forKey: "groupBy") + } + } + + public init(links: Links? = nil) { + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.links = try values.decodeIfPresent(Links.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") + } + } + + public struct GameCenterDetail: Codable { + public var links: Links? + + public struct Links: Codable { + public var groupBy: String? + public var related: String? + + public init(groupBy: String? = nil, related: String? = nil) { + self.groupBy = groupBy + self.related = related + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.groupBy = try values.decodeIfPresent(String.self, forKey: "groupBy") + self.related = try values.decodeIfPresent(String.self, forKey: "related") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(groupBy, forKey: "groupBy") + try values.encodeIfPresent(related, forKey: "related") + } + } + + public init(links: Links? = nil) { + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.links = try values.decodeIfPresent(Links.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") + } + } + + public init(result: Result? = nil, gameCenterDetail: GameCenterDetail? = nil) { + self.result = result + self.gameCenterDetail = gameCenterDetail + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.result = try values.decodeIfPresent(Result.self, forKey: "result") + self.gameCenterDetail = try values.decodeIfPresent(GameCenterDetail.self, forKey: "gameCenterDetail") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(result, forKey: "result") + try values.encodeIfPresent(gameCenterDetail, forKey: "gameCenterDetail") + } + } + + public enum Granularity: String, Codable, CaseIterable { + case p1d = "P1D" + case pt1h = "PT1H" + case pt15m = "PT15M" + } + + public init(dataPoints: DataPoints? = nil, dimensions: Dimensions? = nil, granularity: Granularity? = nil) { + self.dataPoints = dataPoints + self.dimensions = dimensions + self.granularity = granularity + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.dataPoints = try values.decodeIfPresent(DataPoints.self, forKey: "dataPoints") + self.dimensions = try values.decodeIfPresent(Dimensions.self, forKey: "dimensions") + self.granularity = try values.decodeIfPresent(Granularity.self, forKey: "granularity") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(dataPoints, forKey: "dataPoints") + try values.encodeIfPresent(dimensions, forKey: "dimensions") + try values.encodeIfPresent(granularity, forKey: "granularity") + } + } + + public init(data: [Datum], links: PagedDocumentLinks, meta: PagingInformation? = nil) { + self.data = data + self.links = links + self.meta = meta + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode([Datum].self, forKey: "data") + self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + try values.encodeIfPresent(meta, forKey: "meta") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueResponse.swift new file mode 100644 index 00000000..e29e6dfa --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueResponse.swift @@ -0,0 +1,31 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingQueueResponse: Codable { + /// GameCenterMatchmakingQueue + public var data: GameCenterMatchmakingQueue + public var included: [GameCenterMatchmakingRuleSet]? + public var links: DocumentLinks + + public init(data: GameCenterMatchmakingQueue, included: [GameCenterMatchmakingRuleSet]? = nil, links: DocumentLinks) { + self.data = data + self.included = included + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(GameCenterMatchmakingQueue.self, forKey: "data") + self.included = try values.decodeIfPresent([GameCenterMatchmakingRuleSet].self, forKey: "included") + self.links = try values.decode(DocumentLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encodeIfPresent(included, forKey: "included") + try values.encode(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueSizesV1MetricResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueSizesV1MetricResponse.swift new file mode 100644 index 00000000..93b40244 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueSizesV1MetricResponse.swift @@ -0,0 +1,114 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingQueueSizesV1MetricResponse: Codable { + public var data: [Datum] + public var links: PagedDocumentLinks + public var meta: PagingInformation? + + public struct Datum: Codable { + public var dataPoints: DataPoints? + public var granularity: Granularity? + + public struct DataPoints: Codable { + public var start: Date? + public var end: Date? + public var values: Values? + + public struct Values: Codable { + public var count: Int? + public var averageNumberOfRequests: Double? + public var p50NumberOfRequests: Double? + public var p95NumberOfRequests: Double? + + public init(count: Int? = nil, averageNumberOfRequests: Double? = nil, p50NumberOfRequests: Double? = nil, p95NumberOfRequests: Double? = nil) { + self.count = count + self.averageNumberOfRequests = averageNumberOfRequests + self.p50NumberOfRequests = p50NumberOfRequests + self.p95NumberOfRequests = p95NumberOfRequests + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.count = try values.decodeIfPresent(Int.self, forKey: "count") + self.averageNumberOfRequests = try values.decodeIfPresent(Double.self, forKey: "averageNumberOfRequests") + self.p50NumberOfRequests = try values.decodeIfPresent(Double.self, forKey: "p50NumberOfRequests") + self.p95NumberOfRequests = try values.decodeIfPresent(Double.self, forKey: "p95NumberOfRequests") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(count, forKey: "count") + try values.encodeIfPresent(averageNumberOfRequests, forKey: "averageNumberOfRequests") + try values.encodeIfPresent(p50NumberOfRequests, forKey: "p50NumberOfRequests") + try values.encodeIfPresent(p95NumberOfRequests, forKey: "p95NumberOfRequests") + } + } + + public init(start: Date? = nil, end: Date? = nil, values: Values? = nil) { + self.start = start + self.end = end + self.values = values + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.start = try values.decodeIfPresent(Date.self, forKey: "start") + self.end = try values.decodeIfPresent(Date.self, forKey: "end") + self.values = try values.decodeIfPresent(Values.self, forKey: "values") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(start, forKey: "start") + try values.encodeIfPresent(end, forKey: "end") + try values.encodeIfPresent(self.values, forKey: "values") + } + } + + public enum Granularity: String, Codable, CaseIterable { + case p1d = "P1D" + case pt1h = "PT1H" + case pt15m = "PT15M" + } + + public init(dataPoints: DataPoints? = nil, granularity: Granularity? = nil) { + self.dataPoints = dataPoints + self.granularity = granularity + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.dataPoints = try values.decodeIfPresent(DataPoints.self, forKey: "dataPoints") + self.granularity = try values.decodeIfPresent(Granularity.self, forKey: "granularity") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(dataPoints, forKey: "dataPoints") + try values.encodeIfPresent(granularity, forKey: "granularity") + } + } + + public init(data: [Datum], links: PagedDocumentLinks, meta: PagingInformation? = nil) { + self.data = data + self.links = links + self.meta = meta + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode([Datum].self, forKey: "data") + self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + try values.encodeIfPresent(meta, forKey: "meta") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueUpdateRequest.swift new file mode 100644 index 00000000..17094ffa --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueUpdateRequest.swift @@ -0,0 +1,162 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingQueueUpdateRequest: Codable { + public var data: Data + + public struct Data: Codable, Identifiable { + public var type: `Type` + public var id: String + public var relationships: Relationships? + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingQueues + } + + public struct Relationships: Codable { + public var ruleSet: RuleSet? + public var experimentRuleSet: ExperimentRuleSet? + + public struct RuleSet: Codable { + public var data: Data? + + public struct Data: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingRuleSets + } + + public init(type: `Type`, id: String) { + self.type = type + self.id = id + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + } + } + + public init(data: Data? = nil) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decodeIfPresent(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(data, forKey: "data") + } + } + + public struct ExperimentRuleSet: Codable { + public var data: Data? + + public struct Data: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingRuleSets + } + + public init(type: `Type`, id: String) { + self.type = type + self.id = id + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + } + } + + public init(data: Data? = nil) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decodeIfPresent(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(data, forKey: "data") + } + } + + public init(ruleSet: RuleSet? = nil, experimentRuleSet: ExperimentRuleSet? = nil) { + self.ruleSet = ruleSet + self.experimentRuleSet = experimentRuleSet + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.ruleSet = try values.decodeIfPresent(RuleSet.self, forKey: "ruleSet") + self.experimentRuleSet = try values.decodeIfPresent(ExperimentRuleSet.self, forKey: "experimentRuleSet") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(ruleSet, forKey: "ruleSet") + try values.encodeIfPresent(experimentRuleSet, forKey: "experimentRuleSet") + } + } + + public init(type: `Type`, id: String, relationships: Relationships? = nil) { + self.type = type + self.id = id + self.relationships = relationships + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + self.relationships = try values.decodeIfPresent(Relationships.self, forKey: "relationships") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + try values.encodeIfPresent(relationships, forKey: "relationships") + } + } + + public init(data: Data) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueuesResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueuesResponse.swift new file mode 100644 index 00000000..a9b586a1 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueuesResponse.swift @@ -0,0 +1,34 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingQueuesResponse: Codable { + public var data: [GameCenterMatchmakingQueue] + public var included: [GameCenterMatchmakingRuleSet]? + public var links: PagedDocumentLinks + public var meta: PagingInformation? + + public init(data: [GameCenterMatchmakingQueue], included: [GameCenterMatchmakingRuleSet]? = nil, links: PagedDocumentLinks, meta: PagingInformation? = nil) { + self.data = data + self.included = included + self.links = links + self.meta = meta + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode([GameCenterMatchmakingQueue].self, forKey: "data") + self.included = try values.decodeIfPresent([GameCenterMatchmakingRuleSet].self, forKey: "included") + self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encodeIfPresent(included, forKey: "included") + try values.encode(links, forKey: "links") + try values.encodeIfPresent(meta, forKey: "meta") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRule.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRule.swift new file mode 100644 index 00000000..f4183142 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRule.swift @@ -0,0 +1,79 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingRule: Codable, Identifiable { + public var type: `Type` + public var id: String + public var attributes: Attributes? + public var links: ResourceLinks? + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingRules + } + + public struct Attributes: Codable { + public var referenceName: String? + public var description: String? + public var type: `Type`? + public var expression: String? + public var weight: Double? + + public enum `Type`: String, Codable, CaseIterable { + case compatible = "COMPATIBLE" + case distance = "DISTANCE" + case match = "MATCH" + case team = "TEAM" + } + + public init(referenceName: String? = nil, description: String? = nil, type: `Type`? = nil, expression: String? = nil, weight: Double? = nil) { + self.referenceName = referenceName + self.description = description + self.type = type + self.expression = expression + self.weight = weight + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.referenceName = try values.decodeIfPresent(String.self, forKey: "referenceName") + self.description = try values.decodeIfPresent(String.self, forKey: "description") + self.type = try values.decodeIfPresent(`Type`.self, forKey: "type") + self.expression = try values.decodeIfPresent(String.self, forKey: "expression") + self.weight = try values.decodeIfPresent(Double.self, forKey: "weight") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(referenceName, forKey: "referenceName") + try values.encodeIfPresent(description, forKey: "description") + try values.encodeIfPresent(type, forKey: "type") + try values.encodeIfPresent(expression, forKey: "expression") + try values.encodeIfPresent(weight, forKey: "weight") + } + } + + public init(type: `Type`, id: String, attributes: Attributes? = nil, links: ResourceLinks? = nil) { + self.type = type + self.id = id + self.attributes = attributes + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + try values.encodeIfPresent(attributes, forKey: "attributes") + try values.encodeIfPresent(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleCreateRequest.swift new file mode 100644 index 00000000..9f5c9151 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleCreateRequest.swift @@ -0,0 +1,155 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingRuleCreateRequest: Codable { + public var data: Data + + public struct Data: Codable { + public var type: `Type` + public var attributes: Attributes + public var relationships: Relationships + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingRules + } + + public struct Attributes: Codable { + public var referenceName: String + public var description: String + public var type: `Type` + public var expression: String + public var weight: Double? + + public enum `Type`: String, Codable, CaseIterable { + case compatible = "COMPATIBLE" + case distance = "DISTANCE" + case match = "MATCH" + case team = "TEAM" + } + + public init(referenceName: String, description: String, type: `Type`, expression: String, weight: Double? = nil) { + self.referenceName = referenceName + self.description = description + self.type = type + self.expression = expression + self.weight = weight + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.referenceName = try values.decode(String.self, forKey: "referenceName") + self.description = try values.decode(String.self, forKey: "description") + self.type = try values.decode(`Type`.self, forKey: "type") + self.expression = try values.decode(String.self, forKey: "expression") + self.weight = try values.decodeIfPresent(Double.self, forKey: "weight") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(referenceName, forKey: "referenceName") + try values.encode(description, forKey: "description") + try values.encode(type, forKey: "type") + try values.encode(expression, forKey: "expression") + try values.encodeIfPresent(weight, forKey: "weight") + } + } + + public struct Relationships: Codable { + public var ruleSet: RuleSet + + public struct RuleSet: Codable { + public var data: Data + + public struct Data: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingRuleSets + } + + public init(type: `Type`, id: String) { + self.type = type + self.id = id + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + } + } + + public init(data: Data) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + } + } + + public init(ruleSet: RuleSet) { + self.ruleSet = ruleSet + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.ruleSet = try values.decode(RuleSet.self, forKey: "ruleSet") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(ruleSet, forKey: "ruleSet") + } + } + + public init(type: `Type`, attributes: Attributes, relationships: Relationships) { + self.type = type + self.attributes = attributes + self.relationships = relationships + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.attributes = try values.decode(Attributes.self, forKey: "attributes") + self.relationships = try values.decode(Relationships.self, forKey: "relationships") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(attributes, forKey: "attributes") + try values.encode(relationships, forKey: "relationships") + } + } + + public init(data: Data) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleErrorsV1MetricResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleErrorsV1MetricResponse.swift new file mode 100644 index 00000000..93626bd0 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleErrorsV1MetricResponse.swift @@ -0,0 +1,164 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingRuleErrorsV1MetricResponse: Codable { + public var data: [Datum] + public var links: PagedDocumentLinks + public var meta: PagingInformation? + + public struct Datum: Codable { + public var dataPoints: DataPoints? + public var dimensions: Dimensions? + public var granularity: Granularity? + + public struct DataPoints: Codable { + public var start: Date? + public var end: Date? + public var values: Values? + + public struct Values: Codable { + public var count: Int? + + public init(count: Int? = nil) { + self.count = count + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.count = try values.decodeIfPresent(Int.self, forKey: "count") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(count, forKey: "count") + } + } + + public init(start: Date? = nil, end: Date? = nil, values: Values? = nil) { + self.start = start + self.end = end + self.values = values + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.start = try values.decodeIfPresent(Date.self, forKey: "start") + self.end = try values.decodeIfPresent(Date.self, forKey: "end") + self.values = try values.decodeIfPresent(Values.self, forKey: "values") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(start, forKey: "start") + try values.encodeIfPresent(end, forKey: "end") + try values.encodeIfPresent(self.values, forKey: "values") + } + } + + public struct Dimensions: Codable { + public var gameCenterMatchmakingQueue: GameCenterMatchmakingQueue? + + public struct GameCenterMatchmakingQueue: Codable { + public var links: Links? + + public struct Links: Codable { + public var groupBy: String? + public var related: String? + + public init(groupBy: String? = nil, related: String? = nil) { + self.groupBy = groupBy + self.related = related + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.groupBy = try values.decodeIfPresent(String.self, forKey: "groupBy") + self.related = try values.decodeIfPresent(String.self, forKey: "related") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(groupBy, forKey: "groupBy") + try values.encodeIfPresent(related, forKey: "related") + } + } + + public init(links: Links? = nil) { + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.links = try values.decodeIfPresent(Links.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") + } + } + + public init(gameCenterMatchmakingQueue: GameCenterMatchmakingQueue? = nil) { + self.gameCenterMatchmakingQueue = gameCenterMatchmakingQueue + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.gameCenterMatchmakingQueue = try values.decodeIfPresent(GameCenterMatchmakingQueue.self, forKey: "gameCenterMatchmakingQueue") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(gameCenterMatchmakingQueue, forKey: "gameCenterMatchmakingQueue") + } + } + + public enum Granularity: String, Codable, CaseIterable { + case p1d = "P1D" + case pt1h = "PT1H" + case pt15m = "PT15M" + } + + public init(dataPoints: DataPoints? = nil, dimensions: Dimensions? = nil, granularity: Granularity? = nil) { + self.dataPoints = dataPoints + self.dimensions = dimensions + self.granularity = granularity + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.dataPoints = try values.decodeIfPresent(DataPoints.self, forKey: "dataPoints") + self.dimensions = try values.decodeIfPresent(Dimensions.self, forKey: "dimensions") + self.granularity = try values.decodeIfPresent(Granularity.self, forKey: "granularity") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(dataPoints, forKey: "dataPoints") + try values.encodeIfPresent(dimensions, forKey: "dimensions") + try values.encodeIfPresent(granularity, forKey: "granularity") + } + } + + public init(data: [Datum], links: PagedDocumentLinks, meta: PagingInformation? = nil) { + self.data = data + self.links = links + self.meta = meta + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode([Datum].self, forKey: "data") + self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + try values.encodeIfPresent(meta, forKey: "meta") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleResponse.swift new file mode 100644 index 00000000..ce52c0c8 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleResponse.swift @@ -0,0 +1,27 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingRuleResponse: Codable { + /// GameCenterMatchmakingRule + public var data: GameCenterMatchmakingRule + public var links: DocumentLinks + + public init(data: GameCenterMatchmakingRule, links: DocumentLinks) { + self.data = data + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(GameCenterMatchmakingRule.self, forKey: "data") + self.links = try values.decode(DocumentLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSet.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSet.swift new file mode 100644 index 00000000..aff365bb --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSet.swift @@ -0,0 +1,320 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingRuleSet: Codable, Identifiable { + public var type: `Type` + public var id: String + public var attributes: Attributes? + public var relationships: Relationships? + public var links: ResourceLinks? + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingRuleSets + } + + public struct Attributes: Codable { + public var referenceName: String? + public var ruleLanguageVersion: Int? + public var minPlayers: Int? + public var maxPlayers: Int? + + public init(referenceName: String? = nil, ruleLanguageVersion: Int? = nil, minPlayers: Int? = nil, maxPlayers: Int? = nil) { + self.referenceName = referenceName + self.ruleLanguageVersion = ruleLanguageVersion + self.minPlayers = minPlayers + self.maxPlayers = maxPlayers + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.referenceName = try values.decodeIfPresent(String.self, forKey: "referenceName") + self.ruleLanguageVersion = try values.decodeIfPresent(Int.self, forKey: "ruleLanguageVersion") + self.minPlayers = try values.decodeIfPresent(Int.self, forKey: "minPlayers") + self.maxPlayers = try values.decodeIfPresent(Int.self, forKey: "maxPlayers") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(referenceName, forKey: "referenceName") + try values.encodeIfPresent(ruleLanguageVersion, forKey: "ruleLanguageVersion") + try values.encodeIfPresent(minPlayers, forKey: "minPlayers") + try values.encodeIfPresent(maxPlayers, forKey: "maxPlayers") + } + } + + public struct Relationships: Codable { + public var teams: Teams? + public var rules: Rules? + public var matchmakingQueues: MatchmakingQueues? + + public struct Teams: Codable { + public var links: Links? + public var meta: PagingInformation? + public var data: [Datum]? + + public struct Links: Codable { + public var this: String? + public var related: String? + + public init(this: String? = nil, related: String? = nil) { + self.this = this + self.related = related + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.this = try values.decodeIfPresent(String.self, forKey: "self") + self.related = try values.decodeIfPresent(String.self, forKey: "related") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(this, forKey: "self") + try values.encodeIfPresent(related, forKey: "related") + } + } + + public struct Datum: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingTeams + } + + public init(type: `Type`, id: String) { + self.type = type + self.id = id + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + } + } + + public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + self.links = links + self.meta = meta + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.links = try values.decodeIfPresent(Links.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + self.data = try values.decodeIfPresent([Datum].self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") + try values.encodeIfPresent(meta, forKey: "meta") + try values.encodeIfPresent(data, forKey: "data") + } + } + + public struct Rules: Codable { + public var links: Links? + public var meta: PagingInformation? + public var data: [Datum]? + + public struct Links: Codable { + public var this: String? + public var related: String? + + public init(this: String? = nil, related: String? = nil) { + self.this = this + self.related = related + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.this = try values.decodeIfPresent(String.self, forKey: "self") + self.related = try values.decodeIfPresent(String.self, forKey: "related") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(this, forKey: "self") + try values.encodeIfPresent(related, forKey: "related") + } + } + + public struct Datum: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingRules + } + + public init(type: `Type`, id: String) { + self.type = type + self.id = id + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + } + } + + public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + self.links = links + self.meta = meta + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.links = try values.decodeIfPresent(Links.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + self.data = try values.decodeIfPresent([Datum].self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") + try values.encodeIfPresent(meta, forKey: "meta") + try values.encodeIfPresent(data, forKey: "data") + } + } + + public struct MatchmakingQueues: Codable { + public var links: Links? + public var meta: PagingInformation? + public var data: [Datum]? + + public struct Links: Codable { + public var this: String? + public var related: String? + + public init(this: String? = nil, related: String? = nil) { + self.this = this + self.related = related + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.this = try values.decodeIfPresent(String.self, forKey: "self") + self.related = try values.decodeIfPresent(String.self, forKey: "related") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(this, forKey: "self") + try values.encodeIfPresent(related, forKey: "related") + } + } + + public struct Datum: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingQueues + } + + public init(type: `Type`, id: String) { + self.type = type + self.id = id + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + } + } + + public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + self.links = links + self.meta = meta + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.links = try values.decodeIfPresent(Links.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + self.data = try values.decodeIfPresent([Datum].self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") + try values.encodeIfPresent(meta, forKey: "meta") + try values.encodeIfPresent(data, forKey: "data") + } + } + + public init(teams: Teams? = nil, rules: Rules? = nil, matchmakingQueues: MatchmakingQueues? = nil) { + self.teams = teams + self.rules = rules + self.matchmakingQueues = matchmakingQueues + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.teams = try values.decodeIfPresent(Teams.self, forKey: "teams") + self.rules = try values.decodeIfPresent(Rules.self, forKey: "rules") + self.matchmakingQueues = try values.decodeIfPresent(MatchmakingQueues.self, forKey: "matchmakingQueues") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(teams, forKey: "teams") + try values.encodeIfPresent(rules, forKey: "rules") + try values.encodeIfPresent(matchmakingQueues, forKey: "matchmakingQueues") + } + } + + public init(type: `Type`, id: String, attributes: Attributes? = nil, relationships: Relationships? = nil, links: ResourceLinks? = nil) { + self.type = type + self.id = id + self.attributes = attributes + self.relationships = relationships + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + self.relationships = try values.decodeIfPresent(Relationships.self, forKey: "relationships") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + try values.encodeIfPresent(attributes, forKey: "attributes") + try values.encodeIfPresent(relationships, forKey: "relationships") + try values.encodeIfPresent(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSetCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSetCreateRequest.swift new file mode 100644 index 00000000..5a4e525b --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSetCreateRequest.swift @@ -0,0 +1,78 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingRuleSetCreateRequest: Codable { + public var data: Data + + public struct Data: Codable { + public var type: `Type` + public var attributes: Attributes + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingRuleSets + } + + public struct Attributes: Codable { + public var referenceName: String + public var ruleLanguageVersion: Int + public var minPlayers: Int + public var maxPlayers: Int + + public init(referenceName: String, ruleLanguageVersion: Int, minPlayers: Int, maxPlayers: Int) { + self.referenceName = referenceName + self.ruleLanguageVersion = ruleLanguageVersion + self.minPlayers = minPlayers + self.maxPlayers = maxPlayers + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.referenceName = try values.decode(String.self, forKey: "referenceName") + self.ruleLanguageVersion = try values.decode(Int.self, forKey: "ruleLanguageVersion") + self.minPlayers = try values.decode(Int.self, forKey: "minPlayers") + self.maxPlayers = try values.decode(Int.self, forKey: "maxPlayers") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(referenceName, forKey: "referenceName") + try values.encode(ruleLanguageVersion, forKey: "ruleLanguageVersion") + try values.encode(minPlayers, forKey: "minPlayers") + try values.encode(maxPlayers, forKey: "maxPlayers") + } + } + + public init(type: `Type`, attributes: Attributes) { + self.type = type + self.attributes = attributes + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.attributes = try values.decode(Attributes.self, forKey: "attributes") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(attributes, forKey: "attributes") + } + } + + public init(data: Data) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSetResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSetResponse.swift new file mode 100644 index 00000000..361805a8 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSetResponse.swift @@ -0,0 +1,62 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingRuleSetResponse: Codable { + /// GameCenterMatchmakingRuleSet + public var data: GameCenterMatchmakingRuleSet + public var included: [IncludedItem]? + public var links: DocumentLinks + + public enum IncludedItem: Codable { + case gameCenterMatchmakingTeam(GameCenterMatchmakingTeam) + case gameCenterMatchmakingRule(GameCenterMatchmakingRule) + case gameCenterMatchmakingQueue(GameCenterMatchmakingQueue) + + public init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let value = try? container.decode(GameCenterMatchmakingTeam.self) { + self = .gameCenterMatchmakingTeam(value) + } else if let value = try? container.decode(GameCenterMatchmakingRule.self) { + self = .gameCenterMatchmakingRule(value) + } else if let value = try? container.decode(GameCenterMatchmakingQueue.self) { + self = .gameCenterMatchmakingQueue(value) + } else { + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterMatchmakingTeam, GameCenterMatchmakingRule, GameCenterMatchmakingQueue)." + ) + } + } + + public func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .gameCenterMatchmakingTeam(let value): try container.encode(value) + case .gameCenterMatchmakingRule(let value): try container.encode(value) + case .gameCenterMatchmakingQueue(let value): try container.encode(value) + } + } + } + + public init(data: GameCenterMatchmakingRuleSet, included: [IncludedItem]? = nil, links: DocumentLinks) { + self.data = data + self.included = included + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(GameCenterMatchmakingRuleSet.self, forKey: "data") + self.included = try values.decodeIfPresent([IncludedItem].self, forKey: "included") + self.links = try values.decode(DocumentLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encodeIfPresent(included, forKey: "included") + try values.encode(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSetTest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSetTest.swift new file mode 100644 index 00000000..877b4d46 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSetTest.swift @@ -0,0 +1,78 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingRuleSetTest: Codable, Identifiable { + public var type: `Type` + public var id: String + public var attributes: Attributes? + public var links: ResourceLinks? + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingRuleSetTests + } + + public struct Attributes: Codable { + public var matchmakingResults: [[MatchmakingResultItem]]? + + public struct MatchmakingResultItem: Codable { + public var requestName: String? + public var teamAssignments: [GameCenterMatchmakingTeamAssignment]? + + public init(requestName: String? = nil, teamAssignments: [GameCenterMatchmakingTeamAssignment]? = nil) { + self.requestName = requestName + self.teamAssignments = teamAssignments + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.requestName = try values.decodeIfPresent(String.self, forKey: "requestName") + self.teamAssignments = try values.decodeIfPresent([GameCenterMatchmakingTeamAssignment].self, forKey: "teamAssignments") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(requestName, forKey: "requestName") + try values.encodeIfPresent(teamAssignments, forKey: "teamAssignments") + } + } + + public init(matchmakingResults: [[MatchmakingResultItem]]? = nil) { + self.matchmakingResults = matchmakingResults + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.matchmakingResults = try values.decodeIfPresent([[MatchmakingResultItem]].self, forKey: "matchmakingResults") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(matchmakingResults, forKey: "matchmakingResults") + } + } + + public init(type: `Type`, id: String, attributes: Attributes? = nil, links: ResourceLinks? = nil) { + self.type = type + self.id = id + self.attributes = attributes + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + try values.encodeIfPresent(attributes, forKey: "attributes") + try values.encodeIfPresent(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSetTestCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSetTestCreateRequest.swift new file mode 100644 index 00000000..66b5c3b4 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSetTestCreateRequest.swift @@ -0,0 +1,189 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingRuleSetTestCreateRequest: Codable { + public var data: Data + public var included: [IncludedItem]? + + public struct Data: Codable { + public var type: `Type` + public var relationships: Relationships + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingRuleSetTests + } + + public struct Relationships: Codable { + public var matchmakingRuleSet: MatchmakingRuleSet + public var matchmakingRequests: MatchmakingRequests + + public struct MatchmakingRuleSet: Codable { + public var data: Data + + public struct Data: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingRuleSets + } + + public init(type: `Type`, id: String) { + self.type = type + self.id = id + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + } + } + + public init(data: Data) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + } + } + + public struct MatchmakingRequests: Codable { + public var data: [Datum] + + public struct Datum: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingTestRequests + } + + public init(type: `Type`, id: String) { + self.type = type + self.id = id + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + } + } + + public init(data: [Datum]) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode([Datum].self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + } + } + + public init(matchmakingRuleSet: MatchmakingRuleSet, matchmakingRequests: MatchmakingRequests) { + self.matchmakingRuleSet = matchmakingRuleSet + self.matchmakingRequests = matchmakingRequests + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.matchmakingRuleSet = try values.decode(MatchmakingRuleSet.self, forKey: "matchmakingRuleSet") + self.matchmakingRequests = try values.decode(MatchmakingRequests.self, forKey: "matchmakingRequests") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(matchmakingRuleSet, forKey: "matchmakingRuleSet") + try values.encode(matchmakingRequests, forKey: "matchmakingRequests") + } + } + + public init(type: `Type`, relationships: Relationships) { + self.type = type + self.relationships = relationships + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.relationships = try values.decode(Relationships.self, forKey: "relationships") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(relationships, forKey: "relationships") + } + } + + public enum IncludedItem: Codable { + case gameCenterMatchmakingTestPlayerPropertyInlineCreate(GameCenterMatchmakingTestPlayerPropertyInlineCreate) + case gameCenterMatchmakingTestRequestInlineCreate(GameCenterMatchmakingTestRequestInlineCreate) + + public init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let value = try? container.decode(GameCenterMatchmakingTestPlayerPropertyInlineCreate.self) { + self = .gameCenterMatchmakingTestPlayerPropertyInlineCreate(value) + } else if let value = try? container.decode(GameCenterMatchmakingTestRequestInlineCreate.self) { + self = .gameCenterMatchmakingTestRequestInlineCreate(value) + } else { + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterMatchmakingTestPlayerPropertyInlineCreate, GameCenterMatchmakingTestRequestInlineCreate)." + ) + } + } + + public func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .gameCenterMatchmakingTestPlayerPropertyInlineCreate(let value): try container.encode(value) + case .gameCenterMatchmakingTestRequestInlineCreate(let value): try container.encode(value) + } + } + } + + public init(data: Data, included: [IncludedItem]? = nil) { + self.data = data + self.included = included + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + self.included = try values.decodeIfPresent([IncludedItem].self, forKey: "included") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encodeIfPresent(included, forKey: "included") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSetTestResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSetTestResponse.swift new file mode 100644 index 00000000..44c81564 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSetTestResponse.swift @@ -0,0 +1,27 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingRuleSetTestResponse: Codable { + /// GameCenterMatchmakingRuleSetTest + public var data: GameCenterMatchmakingRuleSetTest + public var links: DocumentLinks + + public init(data: GameCenterMatchmakingRuleSetTest, links: DocumentLinks) { + self.data = data + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(GameCenterMatchmakingRuleSetTest.self, forKey: "data") + self.links = try values.decode(DocumentLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSetUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSetUpdateRequest.swift new file mode 100644 index 00000000..68157387 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSetUpdateRequest.swift @@ -0,0 +1,74 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingRuleSetUpdateRequest: Codable { + public var data: Data + + public struct Data: Codable, Identifiable { + public var type: `Type` + public var id: String + public var attributes: Attributes? + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingRuleSets + } + + public struct Attributes: Codable { + public var minPlayers: Int? + public var maxPlayers: Int? + + public init(minPlayers: Int? = nil, maxPlayers: Int? = nil) { + self.minPlayers = minPlayers + self.maxPlayers = maxPlayers + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.minPlayers = try values.decodeIfPresent(Int.self, forKey: "minPlayers") + self.maxPlayers = try values.decodeIfPresent(Int.self, forKey: "maxPlayers") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(minPlayers, forKey: "minPlayers") + try values.encodeIfPresent(maxPlayers, forKey: "maxPlayers") + } + } + + public init(type: `Type`, id: String, attributes: Attributes? = nil) { + self.type = type + self.id = id + self.attributes = attributes + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + try values.encodeIfPresent(attributes, forKey: "attributes") + } + } + + public init(data: Data) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSetsResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSetsResponse.swift new file mode 100644 index 00000000..dd4c5794 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSetsResponse.swift @@ -0,0 +1,65 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingRuleSetsResponse: Codable { + public var data: [GameCenterMatchmakingRuleSet] + public var included: [IncludedItem]? + public var links: PagedDocumentLinks + public var meta: PagingInformation? + + public enum IncludedItem: Codable { + case gameCenterMatchmakingTeam(GameCenterMatchmakingTeam) + case gameCenterMatchmakingRule(GameCenterMatchmakingRule) + case gameCenterMatchmakingQueue(GameCenterMatchmakingQueue) + + public init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let value = try? container.decode(GameCenterMatchmakingTeam.self) { + self = .gameCenterMatchmakingTeam(value) + } else if let value = try? container.decode(GameCenterMatchmakingRule.self) { + self = .gameCenterMatchmakingRule(value) + } else if let value = try? container.decode(GameCenterMatchmakingQueue.self) { + self = .gameCenterMatchmakingQueue(value) + } else { + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (GameCenterMatchmakingTeam, GameCenterMatchmakingRule, GameCenterMatchmakingQueue)." + ) + } + } + + public func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .gameCenterMatchmakingTeam(let value): try container.encode(value) + case .gameCenterMatchmakingRule(let value): try container.encode(value) + case .gameCenterMatchmakingQueue(let value): try container.encode(value) + } + } + } + + public init(data: [GameCenterMatchmakingRuleSet], included: [IncludedItem]? = nil, links: PagedDocumentLinks, meta: PagingInformation? = nil) { + self.data = data + self.included = included + self.links = links + self.meta = meta + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode([GameCenterMatchmakingRuleSet].self, forKey: "data") + self.included = try values.decodeIfPresent([IncludedItem].self, forKey: "included") + self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encodeIfPresent(included, forKey: "included") + try values.encode(links, forKey: "links") + try values.encodeIfPresent(meta, forKey: "meta") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleUpdateRequest.swift new file mode 100644 index 00000000..79c17e98 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleUpdateRequest.swift @@ -0,0 +1,78 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingRuleUpdateRequest: Codable { + public var data: Data + + public struct Data: Codable, Identifiable { + public var type: `Type` + public var id: String + public var attributes: Attributes? + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingRules + } + + public struct Attributes: Codable { + public var description: String? + public var expression: String? + public var weight: Double? + + public init(description: String? = nil, expression: String? = nil, weight: Double? = nil) { + self.description = description + self.expression = expression + self.weight = weight + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.description = try values.decodeIfPresent(String.self, forKey: "description") + self.expression = try values.decodeIfPresent(String.self, forKey: "expression") + self.weight = try values.decodeIfPresent(Double.self, forKey: "weight") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(description, forKey: "description") + try values.encodeIfPresent(expression, forKey: "expression") + try values.encodeIfPresent(weight, forKey: "weight") + } + } + + public init(type: `Type`, id: String, attributes: Attributes? = nil) { + self.type = type + self.id = id + self.attributes = attributes + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + try values.encodeIfPresent(attributes, forKey: "attributes") + } + } + + public init(data: Data) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRulesResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRulesResponse.swift new file mode 100644 index 00000000..0001d951 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRulesResponse.swift @@ -0,0 +1,30 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingRulesResponse: Codable { + public var data: [GameCenterMatchmakingRule] + public var links: PagedDocumentLinks + public var meta: PagingInformation? + + public init(data: [GameCenterMatchmakingRule], links: PagedDocumentLinks, meta: PagingInformation? = nil) { + self.data = data + self.links = links + self.meta = meta + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode([GameCenterMatchmakingRule].self, forKey: "data") + self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + try values.encodeIfPresent(meta, forKey: "meta") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingSessionsV1MetricResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingSessionsV1MetricResponse.swift new file mode 100644 index 00000000..80bec3fd --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingSessionsV1MetricResponse.swift @@ -0,0 +1,114 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingSessionsV1MetricResponse: Codable { + public var data: [Datum] + public var links: PagedDocumentLinks + public var meta: PagingInformation? + + public struct Datum: Codable { + public var dataPoints: DataPoints? + public var granularity: Granularity? + + public struct DataPoints: Codable { + public var start: Date? + public var end: Date? + public var values: Values? + + public struct Values: Codable { + public var count: Int? + public var averagePlayerCount: Double? + public var p50PlayerCount: Double? + public var p95PlayerCount: Double? + + public init(count: Int? = nil, averagePlayerCount: Double? = nil, p50PlayerCount: Double? = nil, p95PlayerCount: Double? = nil) { + self.count = count + self.averagePlayerCount = averagePlayerCount + self.p50PlayerCount = p50PlayerCount + self.p95PlayerCount = p95PlayerCount + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.count = try values.decodeIfPresent(Int.self, forKey: "count") + self.averagePlayerCount = try values.decodeIfPresent(Double.self, forKey: "averagePlayerCount") + self.p50PlayerCount = try values.decodeIfPresent(Double.self, forKey: "p50PlayerCount") + self.p95PlayerCount = try values.decodeIfPresent(Double.self, forKey: "p95PlayerCount") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(count, forKey: "count") + try values.encodeIfPresent(averagePlayerCount, forKey: "averagePlayerCount") + try values.encodeIfPresent(p50PlayerCount, forKey: "p50PlayerCount") + try values.encodeIfPresent(p95PlayerCount, forKey: "p95PlayerCount") + } + } + + public init(start: Date? = nil, end: Date? = nil, values: Values? = nil) { + self.start = start + self.end = end + self.values = values + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.start = try values.decodeIfPresent(Date.self, forKey: "start") + self.end = try values.decodeIfPresent(Date.self, forKey: "end") + self.values = try values.decodeIfPresent(Values.self, forKey: "values") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(start, forKey: "start") + try values.encodeIfPresent(end, forKey: "end") + try values.encodeIfPresent(self.values, forKey: "values") + } + } + + public enum Granularity: String, Codable, CaseIterable { + case p1d = "P1D" + case pt1h = "PT1H" + case pt15m = "PT15M" + } + + public init(dataPoints: DataPoints? = nil, granularity: Granularity? = nil) { + self.dataPoints = dataPoints + self.granularity = granularity + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.dataPoints = try values.decodeIfPresent(DataPoints.self, forKey: "dataPoints") + self.granularity = try values.decodeIfPresent(Granularity.self, forKey: "granularity") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(dataPoints, forKey: "dataPoints") + try values.encodeIfPresent(granularity, forKey: "granularity") + } + } + + public init(data: [Datum], links: PagedDocumentLinks, meta: PagingInformation? = nil) { + self.data = data + self.links = links + self.meta = meta + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode([Datum].self, forKey: "data") + self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + try values.encodeIfPresent(meta, forKey: "meta") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTeam.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTeam.swift new file mode 100644 index 00000000..6ae3a6f7 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTeam.swift @@ -0,0 +1,64 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingTeam: Codable, Identifiable { + public var type: `Type` + public var id: String + public var attributes: Attributes? + public var links: ResourceLinks? + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingTeams + } + + public struct Attributes: Codable { + public var referenceName: String? + public var minPlayers: Int? + public var maxPlayers: Int? + + public init(referenceName: String? = nil, minPlayers: Int? = nil, maxPlayers: Int? = nil) { + self.referenceName = referenceName + self.minPlayers = minPlayers + self.maxPlayers = maxPlayers + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.referenceName = try values.decodeIfPresent(String.self, forKey: "referenceName") + self.minPlayers = try values.decodeIfPresent(Int.self, forKey: "minPlayers") + self.maxPlayers = try values.decodeIfPresent(Int.self, forKey: "maxPlayers") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(referenceName, forKey: "referenceName") + try values.encodeIfPresent(minPlayers, forKey: "minPlayers") + try values.encodeIfPresent(maxPlayers, forKey: "maxPlayers") + } + } + + public init(type: `Type`, id: String, attributes: Attributes? = nil, links: ResourceLinks? = nil) { + self.type = type + self.id = id + self.attributes = attributes + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + try values.encodeIfPresent(attributes, forKey: "attributes") + try values.encodeIfPresent(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTeamAssignment.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTeamAssignment.swift new file mode 100644 index 00000000..aaa13a2b --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTeamAssignment.swift @@ -0,0 +1,26 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingTeamAssignment: Codable { + public var playerID: String? + public var team: String? + + public init(playerID: String? = nil, team: String? = nil) { + self.playerID = playerID + self.team = team + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.playerID = try values.decodeIfPresent(String.self, forKey: "playerId") + self.team = try values.decodeIfPresent(String.self, forKey: "team") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(playerID, forKey: "playerId") + try values.encodeIfPresent(team, forKey: "team") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTeamCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTeamCreateRequest.swift new file mode 100644 index 00000000..ab7c10c6 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTeamCreateRequest.swift @@ -0,0 +1,140 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingTeamCreateRequest: Codable { + public var data: Data + + public struct Data: Codable { + public var type: `Type` + public var attributes: Attributes + public var relationships: Relationships + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingTeams + } + + public struct Attributes: Codable { + public var referenceName: String + public var minPlayers: Int + public var maxPlayers: Int + + public init(referenceName: String, minPlayers: Int, maxPlayers: Int) { + self.referenceName = referenceName + self.minPlayers = minPlayers + self.maxPlayers = maxPlayers + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.referenceName = try values.decode(String.self, forKey: "referenceName") + self.minPlayers = try values.decode(Int.self, forKey: "minPlayers") + self.maxPlayers = try values.decode(Int.self, forKey: "maxPlayers") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(referenceName, forKey: "referenceName") + try values.encode(minPlayers, forKey: "minPlayers") + try values.encode(maxPlayers, forKey: "maxPlayers") + } + } + + public struct Relationships: Codable { + public var ruleSet: RuleSet + + public struct RuleSet: Codable { + public var data: Data + + public struct Data: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingRuleSets + } + + public init(type: `Type`, id: String) { + self.type = type + self.id = id + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + } + } + + public init(data: Data) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + } + } + + public init(ruleSet: RuleSet) { + self.ruleSet = ruleSet + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.ruleSet = try values.decode(RuleSet.self, forKey: "ruleSet") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(ruleSet, forKey: "ruleSet") + } + } + + public init(type: `Type`, attributes: Attributes, relationships: Relationships) { + self.type = type + self.attributes = attributes + self.relationships = relationships + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.attributes = try values.decode(Attributes.self, forKey: "attributes") + self.relationships = try values.decode(Relationships.self, forKey: "relationships") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(attributes, forKey: "attributes") + try values.encode(relationships, forKey: "relationships") + } + } + + public init(data: Data) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTeamResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTeamResponse.swift new file mode 100644 index 00000000..4df625b2 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTeamResponse.swift @@ -0,0 +1,27 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingTeamResponse: Codable { + /// GameCenterMatchmakingTeam + public var data: GameCenterMatchmakingTeam + public var links: DocumentLinks + + public init(data: GameCenterMatchmakingTeam, links: DocumentLinks) { + self.data = data + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(GameCenterMatchmakingTeam.self, forKey: "data") + self.links = try values.decode(DocumentLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTeamUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTeamUpdateRequest.swift new file mode 100644 index 00000000..d72f5ada --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTeamUpdateRequest.swift @@ -0,0 +1,74 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingTeamUpdateRequest: Codable { + public var data: Data + + public struct Data: Codable, Identifiable { + public var type: `Type` + public var id: String + public var attributes: Attributes? + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingTeams + } + + public struct Attributes: Codable { + public var minPlayers: Int? + public var maxPlayers: Int? + + public init(minPlayers: Int? = nil, maxPlayers: Int? = nil) { + self.minPlayers = minPlayers + self.maxPlayers = maxPlayers + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.minPlayers = try values.decodeIfPresent(Int.self, forKey: "minPlayers") + self.maxPlayers = try values.decodeIfPresent(Int.self, forKey: "maxPlayers") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(minPlayers, forKey: "minPlayers") + try values.encodeIfPresent(maxPlayers, forKey: "maxPlayers") + } + } + + public init(type: `Type`, id: String, attributes: Attributes? = nil) { + self.type = type + self.id = id + self.attributes = attributes + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + try values.encodeIfPresent(attributes, forKey: "attributes") + } + } + + public init(data: Data) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTeamsResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTeamsResponse.swift new file mode 100644 index 00000000..437772da --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTeamsResponse.swift @@ -0,0 +1,30 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingTeamsResponse: Codable { + public var data: [GameCenterMatchmakingTeam] + public var links: PagedDocumentLinks + public var meta: PagingInformation? + + public init(data: [GameCenterMatchmakingTeam], links: PagedDocumentLinks, meta: PagingInformation? = nil) { + self.data = data + self.links = links + self.meta = meta + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode([GameCenterMatchmakingTeam].self, forKey: "data") + self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + try values.encodeIfPresent(meta, forKey: "meta") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTestPlayerPropertyInlineCreate.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTestPlayerPropertyInlineCreate.swift new file mode 100644 index 00000000..c07eeb6e --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTestPlayerPropertyInlineCreate.swift @@ -0,0 +1,56 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingTestPlayerPropertyInlineCreate: Codable, Identifiable { + public var type: `Type` + public var id: String? + public var attributes: Attributes + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingTestPlayerProperties + } + + public struct Attributes: Codable { + public var playerID: String + public var properties: [Property]? + + public init(playerID: String, properties: [Property]? = nil) { + self.playerID = playerID + self.properties = properties + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.playerID = try values.decode(String.self, forKey: "playerId") + self.properties = try values.decodeIfPresent([Property].self, forKey: "properties") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(playerID, forKey: "playerId") + try values.encodeIfPresent(properties, forKey: "properties") + } + } + + public init(type: `Type`, id: String? = nil, attributes: Attributes) { + self.type = type + self.id = id + self.attributes = attributes + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decodeIfPresent(String.self, forKey: "id") + self.attributes = try values.decode(Attributes.self, forKey: "attributes") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encodeIfPresent(id, forKey: "id") + try values.encode(attributes, forKey: "attributes") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTestRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTestRequest.swift new file mode 100644 index 00000000..ea8141d8 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTestRequest.swift @@ -0,0 +1,34 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingTestRequest: Codable, Identifiable { + public var type: `Type` + public var id: String + public var links: ResourceLinks? + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingTestRequests + } + + public init(type: `Type`, id: String, links: ResourceLinks? = nil) { + self.type = type + self.id = id + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + try values.encodeIfPresent(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTestRequestInlineCreate.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTestRequestInlineCreate.swift new file mode 100644 index 00000000..65bf71c6 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTestRequestInlineCreate.swift @@ -0,0 +1,196 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterMatchmakingTestRequestInlineCreate: Codable, Identifiable { + public var type: `Type` + public var id: String? + public var attributes: Attributes + public var relationships: Relationships? + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingTestRequests + } + + public struct Attributes: Codable { + public var requestName: String + public var secondsInQueue: Int + public var locale: Locale? + public var location: Location? + public var minPlayers: Int? + public var maxPlayers: Int? + public var playerCount: Int? + public var bundleID: String + public var platform: Platform + public var appVersion: String + + public enum Locale: String, Codable, CaseIterable { + case arSa = "AR-SA" + case caEs = "CA-ES" + case csCz = "CS-CZ" + case daDk = "DA-DK" + case deDe = "DE-DE" + case elGr = "EL-GR" + case enAu = "EN-AU" + case enGb = "EN-GB" + case enUs = "EN-US" + case enKy = "EN-KY" + case esEs = "ES-ES" + case esMx = "ES-MX" + case fiFi = "FI-FI" + case frCa = "FR-CA" + case frFr = "FR-FR" + case hiIn = "HI-IN" + case hrHr = "HR-HR" + case huHu = "HU-HU" + case idID = "ID-ID" + case itIt = "IT-IT" + case iwIl = "IW-IL" + case jaJp = "JA-JP" + case koKr = "KO-KR" + case msMy = "MS-MY" + case nlNl = "NL-NL" + case noNo = "NO-NO" + case plPl = "PL-PL" + case ptBr = "PT-BR" + case ptPt = "PT-PT" + case roRo = "RO-RO" + case ruRu = "RU-RU" + case skSk = "SK-SK" + case svSe = "SV-SE" + case thTh = "TH-TH" + case trTr = "TR-TR" + case ukUa = "UK-UA" + case zhCn = "ZH-CN" + case zhTw = "ZH-TW" + case zhHk = "ZH-HK" + } + + public init(requestName: String, secondsInQueue: Int, locale: Locale? = nil, location: Location? = nil, minPlayers: Int? = nil, maxPlayers: Int? = nil, playerCount: Int? = nil, bundleID: String, platform: Platform, appVersion: String) { + self.requestName = requestName + self.secondsInQueue = secondsInQueue + self.locale = locale + self.location = location + self.minPlayers = minPlayers + self.maxPlayers = maxPlayers + self.playerCount = playerCount + self.bundleID = bundleID + self.platform = platform + self.appVersion = appVersion + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.requestName = try values.decode(String.self, forKey: "requestName") + self.secondsInQueue = try values.decode(Int.self, forKey: "secondsInQueue") + self.locale = try values.decodeIfPresent(Locale.self, forKey: "locale") + self.location = try values.decodeIfPresent(Location.self, forKey: "location") + self.minPlayers = try values.decodeIfPresent(Int.self, forKey: "minPlayers") + self.maxPlayers = try values.decodeIfPresent(Int.self, forKey: "maxPlayers") + self.playerCount = try values.decodeIfPresent(Int.self, forKey: "playerCount") + self.bundleID = try values.decode(String.self, forKey: "bundleId") + self.platform = try values.decode(Platform.self, forKey: "platform") + self.appVersion = try values.decode(String.self, forKey: "appVersion") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(requestName, forKey: "requestName") + try values.encode(secondsInQueue, forKey: "secondsInQueue") + try values.encodeIfPresent(locale, forKey: "locale") + try values.encodeIfPresent(location, forKey: "location") + try values.encodeIfPresent(minPlayers, forKey: "minPlayers") + try values.encodeIfPresent(maxPlayers, forKey: "maxPlayers") + try values.encodeIfPresent(playerCount, forKey: "playerCount") + try values.encode(bundleID, forKey: "bundleId") + try values.encode(platform, forKey: "platform") + try values.encode(appVersion, forKey: "appVersion") + } + } + + public struct Relationships: Codable { + public var matchmakingPlayerProperties: MatchmakingPlayerProperties? + + public struct MatchmakingPlayerProperties: Codable { + public var data: [Datum]? + + public struct Datum: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterMatchmakingTestPlayerProperties + } + + public init(type: `Type`, id: String) { + self.type = type + self.id = id + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + } + } + + public init(data: [Datum]? = nil) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decodeIfPresent([Datum].self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(data, forKey: "data") + } + } + + public init(matchmakingPlayerProperties: MatchmakingPlayerProperties? = nil) { + self.matchmakingPlayerProperties = matchmakingPlayerProperties + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.matchmakingPlayerProperties = try values.decodeIfPresent(MatchmakingPlayerProperties.self, forKey: "matchmakingPlayerProperties") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(matchmakingPlayerProperties, forKey: "matchmakingPlayerProperties") + } + } + + public init(type: `Type`, id: String? = nil, attributes: Attributes, relationships: Relationships? = nil) { + self.type = type + self.id = id + self.attributes = attributes + self.relationships = relationships + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decodeIfPresent(String.self, forKey: "id") + self.attributes = try values.decode(Attributes.self, forKey: "attributes") + self.relationships = try values.decodeIfPresent(Relationships.self, forKey: "relationships") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encodeIfPresent(id, forKey: "id") + try values.encode(attributes, forKey: "attributes") + try values.encodeIfPresent(relationships, forKey: "relationships") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/HTTPHeader.swift b/Sources/OpenAPI/Generated/Entities/HTTPHeader.swift index f4d10e6e..f50d7dd7 100644 --- a/Sources/OpenAPI/Generated/Entities/HTTPHeader.swift +++ b/Sources/OpenAPI/Generated/Entities/HTTPHeader.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/IconAssetType.swift b/Sources/OpenAPI/Generated/Entities/IconAssetType.swift index 1810c07e..20616929 100644 --- a/Sources/OpenAPI/Generated/Entities/IconAssetType.swift +++ b/Sources/OpenAPI/Generated/Entities/IconAssetType.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ImageAsset.swift b/Sources/OpenAPI/Generated/Entities/ImageAsset.swift index 62c62d19..f4d9027b 100644 --- a/Sources/OpenAPI/Generated/Entities/ImageAsset.swift +++ b/Sources/OpenAPI/Generated/Entities/ImageAsset.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchase.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchase.swift index c596605e..8fc82e37 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchase.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchase.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseAppStoreReviewScreenshot.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseAppStoreReviewScreenshot.swift index b829f595..8c411304 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseAppStoreReviewScreenshot.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseAppStoreReviewScreenshot.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseAppStoreReviewScreenshotCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseAppStoreReviewScreenshotCreateRequest.swift index 395a7d4b..2e3cdf08 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseAppStoreReviewScreenshotCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseAppStoreReviewScreenshotCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseAppStoreReviewScreenshotResponse.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseAppStoreReviewScreenshotResponse.swift index 39a18085..a4d11b3c 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseAppStoreReviewScreenshotResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseAppStoreReviewScreenshotResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseAppStoreReviewScreenshotUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseAppStoreReviewScreenshotUpdateRequest.swift index c4f2b434..7e2e2763 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseAppStoreReviewScreenshotUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseAppStoreReviewScreenshotUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseAvailability.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseAvailability.swift index 92204264..f9067119 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseAvailability.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseAvailability.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseAvailabilityCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseAvailabilityCreateRequest.swift index e1e9f30c..419509e5 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseAvailabilityCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseAvailabilityCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseAvailabilityResponse.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseAvailabilityResponse.swift index accc1a4b..4ea675f4 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseAvailabilityResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseAvailabilityResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseContent.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseContent.swift index f4e6f3ab..22974cbf 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseContent.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseContent.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseContentResponse.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseContentResponse.swift index 2b036012..f5db6069 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseContentResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseContentResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseLocalization.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseLocalization.swift index f3092e8e..868b5b42 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseLocalization.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseLocalizationCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseLocalizationCreateRequest.swift index 8c7f93f4..a7fa08e5 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseLocalizationCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseLocalizationCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseLocalizationResponse.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseLocalizationResponse.swift index 3b7bbdf5..9e489bb5 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseLocalizationResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseLocalizationResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseLocalizationUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseLocalizationUpdateRequest.swift index 625ce04b..ca97d6c3 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseLocalizationUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseLocalizationUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseLocalizationsResponse.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseLocalizationsResponse.swift index 488f1e96..9450cef1 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseLocalizationsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseLocalizationsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchasePrice.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchasePrice.swift index 6b05f345..13a81f6b 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchasePrice.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchasePrice.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -10,6 +8,7 @@ public struct InAppPurchasePrice: Codable, Identifiable { public var id: String public var attributes: Attributes? public var relationships: Relationships? + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case inAppPurchasePrices @@ -203,11 +202,12 @@ public struct InAppPurchasePrice: Codable, Identifiable { } } - public init(type: `Type`, id: String, attributes: Attributes? = nil, relationships: Relationships? = nil) { + public init(type: `Type`, id: String, attributes: Attributes? = nil, relationships: Relationships? = nil, links: ResourceLinks? = nil) { self.type = type self.id = id self.attributes = attributes self.relationships = relationships + self.links = links } public init(from decoder: Decoder) throws { @@ -216,6 +216,7 @@ public struct InAppPurchasePrice: Codable, Identifiable { self.id = try values.decode(String.self, forKey: "id") self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") self.relationships = try values.decodeIfPresent(Relationships.self, forKey: "relationships") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { @@ -224,5 +225,6 @@ public struct InAppPurchasePrice: Codable, Identifiable { try values.encode(id, forKey: "id") try values.encodeIfPresent(attributes, forKey: "attributes") try values.encodeIfPresent(relationships, forKey: "relationships") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceInlineCreate.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceInlineCreate.swift index fe055fa4..33984439 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceInlineCreate.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceInlineCreate.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchasePricePoint.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchasePricePoint.swift index 8fe321dc..77192ee3 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchasePricePoint.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchasePricePoint.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -10,6 +8,7 @@ public struct InAppPurchasePricePoint: Codable, Identifiable { public var id: String public var attributes: Attributes? public var relationships: Relationships? + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case inAppPurchasePricePoints @@ -130,11 +129,12 @@ public struct InAppPurchasePricePoint: Codable, Identifiable { } } - public init(type: `Type`, id: String, attributes: Attributes? = nil, relationships: Relationships? = nil) { + public init(type: `Type`, id: String, attributes: Attributes? = nil, relationships: Relationships? = nil, links: ResourceLinks? = nil) { self.type = type self.id = id self.attributes = attributes self.relationships = relationships + self.links = links } public init(from decoder: Decoder) throws { @@ -143,6 +143,7 @@ public struct InAppPurchasePricePoint: Codable, Identifiable { self.id = try values.decode(String.self, forKey: "id") self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") self.relationships = try values.decodeIfPresent(Relationships.self, forKey: "relationships") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { @@ -151,5 +152,6 @@ public struct InAppPurchasePricePoint: Codable, Identifiable { try values.encode(id, forKey: "id") try values.encodeIfPresent(attributes, forKey: "attributes") try values.encodeIfPresent(relationships, forKey: "relationships") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchasePricePointsResponse.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchasePricePointsResponse.swift index 11e4e4a4..119aac95 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchasePricePointsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchasePricePointsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceSchedule.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceSchedule.swift index 6f2b979d..ea8b6cde 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceSchedule.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceSchedule.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceScheduleCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceScheduleCreateRequest.swift index e61cbd18..0a10e6e2 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceScheduleCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceScheduleCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -204,7 +202,10 @@ public struct InAppPurchasePriceScheduleCreateRequest: Codable { } else if let value = try? container.decode(TerritoryInlineCreate.self) { self = .territoryInlineCreate(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (InAppPurchasePriceInlineCreate, TerritoryInlineCreate)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceScheduleResponse.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceScheduleResponse.swift index c86193fa..cdc2547d 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceScheduleResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceScheduleResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct InAppPurchasePriceScheduleResponse: Codable { } else if let value = try? container.decode(InAppPurchasePrice.self) { self = .inAppPurchasePrice(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (InAppPurchaseV2, Territory, InAppPurchasePrice)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchasePricesResponse.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchasePricesResponse.swift index d109c8f6..3fe17569 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchasePricesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchasePricesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct InAppPurchasePricesResponse: Codable { } else if let value = try? container.decode(Territory.self) { self = .territory(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (InAppPurchasePricePoint, Territory)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseResponse.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseResponse.swift index 752f23f1..c86fe981 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseState.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseState.swift index 465abd75..3558ce45 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseState.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseState.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseSubmission.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseSubmission.swift index ff6d64ce..d7b6c270 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseSubmission.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseSubmission.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -9,6 +7,7 @@ public struct InAppPurchaseSubmission: Codable, Identifiable { public var type: `Type` public var id: String public var relationships: Relationships? + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case inAppPurchaseSubmissions @@ -102,10 +101,11 @@ public struct InAppPurchaseSubmission: Codable, Identifiable { } } - public init(type: `Type`, id: String, relationships: Relationships? = nil) { + public init(type: `Type`, id: String, relationships: Relationships? = nil, links: ResourceLinks? = nil) { self.type = type self.id = id self.relationships = relationships + self.links = links } public init(from decoder: Decoder) throws { @@ -113,6 +113,7 @@ public struct InAppPurchaseSubmission: Codable, Identifiable { self.type = try values.decode(`Type`.self, forKey: "type") self.id = try values.decode(String.self, forKey: "id") self.relationships = try values.decodeIfPresent(Relationships.self, forKey: "relationships") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { @@ -120,5 +121,6 @@ public struct InAppPurchaseSubmission: Codable, Identifiable { try values.encode(type, forKey: "type") try values.encode(id, forKey: "id") try values.encodeIfPresent(relationships, forKey: "relationships") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseSubmissionCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseSubmissionCreateRequest.swift index 4fed1dd2..e3288a4b 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseSubmissionCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseSubmissionCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseSubmissionResponse.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseSubmissionResponse.swift index d0692cf5..84ef8ed8 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseSubmissionResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseSubmissionResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseType.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseType.swift index 776d7125..6f8be090 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseType.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseType.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2.swift index 05ca4bd5..92c12a78 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2CreateRequest.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2CreateRequest.swift index 3196fa39..7559ffaf 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2CreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2CreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2Response.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2Response.swift index 597d3ecb..1d442981 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2Response.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2Response.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -37,7 +35,10 @@ public struct InAppPurchaseV2Response: Codable { } else if let value = try? container.decode(InAppPurchaseAvailability.self) { self = .inAppPurchaseAvailability(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (InAppPurchaseLocalization, InAppPurchasePricePoint, InAppPurchaseContent, InAppPurchaseAppStoreReviewScreenshot, PromotedPurchase, InAppPurchasePriceSchedule, InAppPurchaseAvailability)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2UpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2UpdateRequest.swift index b06a8898..36560a8a 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2UpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2UpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchasesResponse.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchasesResponse.swift index 99ba8319..988ec425 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchasesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchasesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchasesV2Response.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchasesV2Response.swift index cf1c7e25..9cb5c719 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchasesV2Response.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchasesV2Response.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -37,7 +35,10 @@ public struct InAppPurchasesV2Response: Codable { } else if let value = try? container.decode(InAppPurchaseAvailability.self) { self = .inAppPurchaseAvailability(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (InAppPurchaseLocalization, InAppPurchasePricePoint, InAppPurchaseContent, InAppPurchaseAppStoreReviewScreenshot, PromotedPurchase, InAppPurchasePriceSchedule, InAppPurchaseAvailability)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/InternalBetaState.swift b/Sources/OpenAPI/Generated/Entities/InternalBetaState.swift index 1d291eb1..d3b1eab2 100644 --- a/Sources/OpenAPI/Generated/Entities/InternalBetaState.swift +++ b/Sources/OpenAPI/Generated/Entities/InternalBetaState.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/KidsAgeBand.swift b/Sources/OpenAPI/Generated/Entities/KidsAgeBand.swift index f92166c5..7181bf79 100644 --- a/Sources/OpenAPI/Generated/Entities/KidsAgeBand.swift +++ b/Sources/OpenAPI/Generated/Entities/KidsAgeBand.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/Location.swift b/Sources/OpenAPI/Generated/Entities/Location.swift new file mode 100644 index 00000000..7c4c67f5 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/Location.swift @@ -0,0 +1,26 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct Location: Codable { + public var latitude: Double? + public var longitude: Double? + + public init(latitude: Double? = nil, longitude: Double? = nil) { + self.latitude = latitude + self.longitude = longitude + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.latitude = try values.decodeIfPresent(Double.self, forKey: "latitude") + self.longitude = try values.decodeIfPresent(Double.self, forKey: "longitude") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(latitude, forKey: "latitude") + try values.encodeIfPresent(longitude, forKey: "longitude") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/MetricCategory.swift b/Sources/OpenAPI/Generated/Entities/MetricCategory.swift index c635d807..b77575f3 100644 --- a/Sources/OpenAPI/Generated/Entities/MetricCategory.swift +++ b/Sources/OpenAPI/Generated/Entities/MetricCategory.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/MetricsInsight.swift b/Sources/OpenAPI/Generated/Entities/MetricsInsight.swift index 25573c41..0f99265b 100644 --- a/Sources/OpenAPI/Generated/Entities/MetricsInsight.swift +++ b/Sources/OpenAPI/Generated/Entities/MetricsInsight.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/PagedDocumentLinks.swift b/Sources/OpenAPI/Generated/Entities/PagedDocumentLinks.swift index f55644f3..926954cb 100644 --- a/Sources/OpenAPI/Generated/Entities/PagedDocumentLinks.swift +++ b/Sources/OpenAPI/Generated/Entities/PagedDocumentLinks.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/PagingInformation.swift b/Sources/OpenAPI/Generated/Entities/PagingInformation.swift index 7de6cfbc..5d75b0ec 100644 --- a/Sources/OpenAPI/Generated/Entities/PagingInformation.swift +++ b/Sources/OpenAPI/Generated/Entities/PagingInformation.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/PerfPowerMetric.swift b/Sources/OpenAPI/Generated/Entities/PerfPowerMetric.swift index cc5cc491..33e660ac 100644 --- a/Sources/OpenAPI/Generated/Entities/PerfPowerMetric.swift +++ b/Sources/OpenAPI/Generated/Entities/PerfPowerMetric.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -9,6 +7,7 @@ public struct PerfPowerMetric: Codable, Identifiable { public var type: `Type` public var id: String public var attributes: Attributes? + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case perfPowerMetrics @@ -54,10 +53,11 @@ public struct PerfPowerMetric: Codable, Identifiable { } } - public init(type: `Type`, id: String, attributes: Attributes? = nil) { + public init(type: `Type`, id: String, attributes: Attributes? = nil, links: ResourceLinks? = nil) { self.type = type self.id = id self.attributes = attributes + self.links = links } public init(from decoder: Decoder) throws { @@ -65,6 +65,7 @@ public struct PerfPowerMetric: Codable, Identifiable { self.type = try values.decode(`Type`.self, forKey: "type") self.id = try values.decode(String.self, forKey: "id") self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { @@ -72,5 +73,6 @@ public struct PerfPowerMetric: Codable, Identifiable { try values.encode(type, forKey: "type") try values.encode(id, forKey: "id") try values.encodeIfPresent(attributes, forKey: "attributes") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/PhasedReleaseState.swift b/Sources/OpenAPI/Generated/Entities/PhasedReleaseState.swift index 80868992..b2d8fd43 100644 --- a/Sources/OpenAPI/Generated/Entities/PhasedReleaseState.swift +++ b/Sources/OpenAPI/Generated/Entities/PhasedReleaseState.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/Platform.swift b/Sources/OpenAPI/Generated/Entities/Platform.swift index 8a2a6496..3c92100a 100644 --- a/Sources/OpenAPI/Generated/Entities/Platform.swift +++ b/Sources/OpenAPI/Generated/Entities/Platform.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -9,5 +7,4 @@ public enum Platform: String, Codable, CaseIterable { case ios = "IOS" case macOs = "MAC_OS" case tvOs = "TV_OS" - case visionOs = "VISION_OS" // VisionOS manually added since version 3.0 of Apple's OpenAPI spec fails to include it. Reported in FB13208526 27/9/2023. } diff --git a/Sources/OpenAPI/Generated/Entities/PreReleaseVersionsResponse.swift b/Sources/OpenAPI/Generated/Entities/PreReleaseVersionsResponse.swift index 20f01495..11ebc127 100644 --- a/Sources/OpenAPI/Generated/Entities/PreReleaseVersionsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/PreReleaseVersionsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct PreReleaseVersionsResponse: Codable { } else if let value = try? container.decode(App.self) { self = .app(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (Build, App)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/PreReleaseVersionsWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/PreReleaseVersionsWithoutIncludesResponse.swift index 546d2ff9..9cff5f16 100644 --- a/Sources/OpenAPI/Generated/Entities/PreReleaseVersionsWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/PreReleaseVersionsWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/PrereleaseVersion.swift b/Sources/OpenAPI/Generated/Entities/PrereleaseVersion.swift index c47d0a79..b5045020 100644 --- a/Sources/OpenAPI/Generated/Entities/PrereleaseVersion.swift +++ b/Sources/OpenAPI/Generated/Entities/PrereleaseVersion.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/PrereleaseVersionResponse.swift b/Sources/OpenAPI/Generated/Entities/PrereleaseVersionResponse.swift index 5a44ef35..81250109 100644 --- a/Sources/OpenAPI/Generated/Entities/PrereleaseVersionResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/PrereleaseVersionResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct PrereleaseVersionResponse: Codable { } else if let value = try? container.decode(App.self) { self = .app(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (Build, App)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/PrereleaseVersionWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/PrereleaseVersionWithoutIncludesResponse.swift index 85aa8db5..d1a3a999 100644 --- a/Sources/OpenAPI/Generated/Entities/PrereleaseVersionWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/PrereleaseVersionWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/PreviewType.swift b/Sources/OpenAPI/Generated/Entities/PreviewType.swift index 41c513c3..9cde99e8 100644 --- a/Sources/OpenAPI/Generated/Entities/PreviewType.swift +++ b/Sources/OpenAPI/Generated/Entities/PreviewType.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/Profile.swift b/Sources/OpenAPI/Generated/Entities/Profile.swift index c9fe2aef..6952f124 100644 --- a/Sources/OpenAPI/Generated/Entities/Profile.swift +++ b/Sources/OpenAPI/Generated/Entities/Profile.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ProfileCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/ProfileCreateRequest.swift index 160fe4c1..fc660641 100644 --- a/Sources/OpenAPI/Generated/Entities/ProfileCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/ProfileCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ProfileResponse.swift b/Sources/OpenAPI/Generated/Entities/ProfileResponse.swift index f61baf24..7e511d10 100644 --- a/Sources/OpenAPI/Generated/Entities/ProfileResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/ProfileResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct ProfileResponse: Codable { } else if let value = try? container.decode(Certificate.self) { self = .certificate(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (BundleID, Device, Certificate)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/ProfilesResponse.swift b/Sources/OpenAPI/Generated/Entities/ProfilesResponse.swift index 881a55c8..613b2619 100644 --- a/Sources/OpenAPI/Generated/Entities/ProfilesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/ProfilesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct ProfilesResponse: Codable { } else if let value = try? container.decode(Certificate.self) { self = .certificate(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (BundleID, Device, Certificate)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/ProfilesWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/ProfilesWithoutIncludesResponse.swift index 44eb18a5..4be5e9f7 100644 --- a/Sources/OpenAPI/Generated/Entities/ProfilesWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/ProfilesWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/PromotedPurchase.swift b/Sources/OpenAPI/Generated/Entities/PromotedPurchase.swift index 284fc659..2ea6d947 100644 --- a/Sources/OpenAPI/Generated/Entities/PromotedPurchase.swift +++ b/Sources/OpenAPI/Generated/Entities/PromotedPurchase.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseCreateRequest.swift index dc3c47dc..fde7b364 100644 --- a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImage.swift b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImage.swift index 55b75696..c8ccd142 100644 --- a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImage.swift +++ b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImage.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImageCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImageCreateRequest.swift index 66acde1c..04407968 100644 --- a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImageCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImageCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImageResponse.swift b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImageResponse.swift index fc34a647..6e7fd04a 100644 --- a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImageResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImageResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImageUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImageUpdateRequest.swift index c1b27b59..6a4dedaa 100644 --- a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImageUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImageUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImagesResponse.swift b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImagesResponse.swift index becb533e..6a941df9 100644 --- a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImagesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImagesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseResponse.swift b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseResponse.swift index 2724fb88..705175ad 100644 --- a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct PromotedPurchaseResponse: Codable { } else if let value = try? container.decode(PromotedPurchaseImage.self) { self = .promotedPurchaseImage(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (InAppPurchaseV2, Subscription, PromotedPurchaseImage)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseUpdateRequest.swift index 95b1ebb5..280b6b33 100644 --- a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/PromotedPurchasesResponse.swift b/Sources/OpenAPI/Generated/Entities/PromotedPurchasesResponse.swift index bea301f6..f09502d3 100644 --- a/Sources/OpenAPI/Generated/Entities/PromotedPurchasesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/PromotedPurchasesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct PromotedPurchasesResponse: Codable { } else if let value = try? container.decode(PromotedPurchaseImage.self) { self = .promotedPurchaseImage(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (InAppPurchaseV2, Subscription, PromotedPurchaseImage)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/Property.swift b/Sources/OpenAPI/Generated/Entities/Property.swift new file mode 100644 index 00000000..ca2917c1 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/Property.swift @@ -0,0 +1,26 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct Property: Codable { + public var key: String? + public var value: String? + + public init(key: String? = nil, value: String? = nil) { + self.key = key + self.value = value + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.key = try values.decodeIfPresent(String.self, forKey: "key") + self.value = try values.decodeIfPresent(String.self, forKey: "value") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(key, forKey: "key") + try values.encodeIfPresent(value, forKey: "value") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/ResourceLinks.swift b/Sources/OpenAPI/Generated/Entities/ResourceLinks.swift index 55fc43c2..7ed13880 100644 --- a/Sources/OpenAPI/Generated/Entities/ResourceLinks.swift +++ b/Sources/OpenAPI/Generated/Entities/ResourceLinks.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ReviewSubmission.swift b/Sources/OpenAPI/Generated/Entities/ReviewSubmission.swift index 2f8f018c..c0b5705c 100644 --- a/Sources/OpenAPI/Generated/Entities/ReviewSubmission.swift +++ b/Sources/OpenAPI/Generated/Entities/ReviewSubmission.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ReviewSubmissionCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/ReviewSubmissionCreateRequest.swift index 6a66f750..a7ff589f 100644 --- a/Sources/OpenAPI/Generated/Entities/ReviewSubmissionCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/ReviewSubmissionCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ReviewSubmissionItem.swift b/Sources/OpenAPI/Generated/Entities/ReviewSubmissionItem.swift index 54d335b7..ce40c4b7 100644 --- a/Sources/OpenAPI/Generated/Entities/ReviewSubmissionItem.swift +++ b/Sources/OpenAPI/Generated/Entities/ReviewSubmissionItem.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ReviewSubmissionItemCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/ReviewSubmissionItemCreateRequest.swift index 95a436c6..e8688ea0 100644 --- a/Sources/OpenAPI/Generated/Entities/ReviewSubmissionItemCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/ReviewSubmissionItemCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ReviewSubmissionItemResponse.swift b/Sources/OpenAPI/Generated/Entities/ReviewSubmissionItemResponse.swift index 07759212..729a48e0 100644 --- a/Sources/OpenAPI/Generated/Entities/ReviewSubmissionItemResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/ReviewSubmissionItemResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -31,7 +29,10 @@ public struct ReviewSubmissionItemResponse: Codable { } else if let value = try? container.decode(AppEvent.self) { self = .appEvent(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppStoreVersion, AppCustomProductPageVersion, AppStoreVersionExperiment, AppStoreVersionExperimentV2, AppEvent)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/ReviewSubmissionItemUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/ReviewSubmissionItemUpdateRequest.swift index ef94497c..02d087e7 100644 --- a/Sources/OpenAPI/Generated/Entities/ReviewSubmissionItemUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/ReviewSubmissionItemUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ReviewSubmissionItemsResponse.swift b/Sources/OpenAPI/Generated/Entities/ReviewSubmissionItemsResponse.swift index 4cbdbe4c..7f6e7f58 100644 --- a/Sources/OpenAPI/Generated/Entities/ReviewSubmissionItemsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/ReviewSubmissionItemsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -31,7 +29,10 @@ public struct ReviewSubmissionItemsResponse: Codable { } else if let value = try? container.decode(AppEvent.self) { self = .appEvent(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AppStoreVersion, AppCustomProductPageVersion, AppStoreVersionExperiment, AppStoreVersionExperimentV2, AppEvent)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/ReviewSubmissionResponse.swift b/Sources/OpenAPI/Generated/Entities/ReviewSubmissionResponse.swift index ce83a0e2..91dae3c0 100644 --- a/Sources/OpenAPI/Generated/Entities/ReviewSubmissionResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/ReviewSubmissionResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -28,7 +26,10 @@ public struct ReviewSubmissionResponse: Codable { } else if let value = try? container.decode(Actor.self) { self = .actor(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, ReviewSubmissionItem, AppStoreVersion, Actor)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/ReviewSubmissionUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/ReviewSubmissionUpdateRequest.swift index 29d0d7de..04dfcc0b 100644 --- a/Sources/OpenAPI/Generated/Entities/ReviewSubmissionUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/ReviewSubmissionUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ReviewSubmissionsResponse.swift b/Sources/OpenAPI/Generated/Entities/ReviewSubmissionsResponse.swift index 4904ed9e..652ca3b1 100644 --- a/Sources/OpenAPI/Generated/Entities/ReviewSubmissionsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/ReviewSubmissionsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -28,7 +26,10 @@ public struct ReviewSubmissionsResponse: Codable { } else if let value = try? container.decode(Actor.self) { self = .actor(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (App, ReviewSubmissionItem, AppStoreVersion, Actor)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/RoutingAppCoverage.swift b/Sources/OpenAPI/Generated/Entities/RoutingAppCoverage.swift index 3ed427df..913eb502 100644 --- a/Sources/OpenAPI/Generated/Entities/RoutingAppCoverage.swift +++ b/Sources/OpenAPI/Generated/Entities/RoutingAppCoverage.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/RoutingAppCoverageCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/RoutingAppCoverageCreateRequest.swift index a69540e9..47c25d83 100644 --- a/Sources/OpenAPI/Generated/Entities/RoutingAppCoverageCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/RoutingAppCoverageCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/RoutingAppCoverageResponse.swift b/Sources/OpenAPI/Generated/Entities/RoutingAppCoverageResponse.swift index 53b2ad00..6ebe640b 100644 --- a/Sources/OpenAPI/Generated/Entities/RoutingAppCoverageResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/RoutingAppCoverageResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/RoutingAppCoverageUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/RoutingAppCoverageUpdateRequest.swift index cee559d0..c24481e1 100644 --- a/Sources/OpenAPI/Generated/Entities/RoutingAppCoverageUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/RoutingAppCoverageUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/RoutingAppCoverageWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/RoutingAppCoverageWithoutIncludesResponse.swift index edbdf081..e52810e8 100644 --- a/Sources/OpenAPI/Generated/Entities/RoutingAppCoverageWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/RoutingAppCoverageWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SandboxTesterV2.swift b/Sources/OpenAPI/Generated/Entities/SandboxTesterV2.swift index 262a9776..3633833f 100644 --- a/Sources/OpenAPI/Generated/Entities/SandboxTesterV2.swift +++ b/Sources/OpenAPI/Generated/Entities/SandboxTesterV2.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SandboxTesterV2Response.swift b/Sources/OpenAPI/Generated/Entities/SandboxTesterV2Response.swift index 651870d3..d26a90c5 100644 --- a/Sources/OpenAPI/Generated/Entities/SandboxTesterV2Response.swift +++ b/Sources/OpenAPI/Generated/Entities/SandboxTesterV2Response.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SandboxTesterV2UpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/SandboxTesterV2UpdateRequest.swift index 92ad28ab..856296de 100644 --- a/Sources/OpenAPI/Generated/Entities/SandboxTesterV2UpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SandboxTesterV2UpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SandboxTestersClearPurchaseHistoryRequestV2.swift b/Sources/OpenAPI/Generated/Entities/SandboxTestersClearPurchaseHistoryRequestV2.swift index 156f72fe..6ca93d6d 100644 --- a/Sources/OpenAPI/Generated/Entities/SandboxTestersClearPurchaseHistoryRequestV2.swift +++ b/Sources/OpenAPI/Generated/Entities/SandboxTestersClearPurchaseHistoryRequestV2.swift @@ -1,32 +1,34 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation public struct SandboxTestersClearPurchaseHistoryRequestV2: Codable, Identifiable { public var type: `Type` public var id: String + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case sandboxTestersClearPurchaseHistoryRequest } - public init(type: `Type`, id: String) { + public init(type: `Type`, id: String, links: ResourceLinks? = nil) { self.type = type self.id = id + self.links = links } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) self.type = try values.decode(`Type`.self, forKey: "type") self.id = try values.decode(String.self, forKey: "id") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encode(type, forKey: "type") try values.encode(id, forKey: "id") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/SandboxTestersClearPurchaseHistoryRequestV2CreateRequest.swift b/Sources/OpenAPI/Generated/Entities/SandboxTestersClearPurchaseHistoryRequestV2CreateRequest.swift index 9b123d84..2e98780e 100644 --- a/Sources/OpenAPI/Generated/Entities/SandboxTestersClearPurchaseHistoryRequestV2CreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SandboxTestersClearPurchaseHistoryRequestV2CreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SandboxTestersClearPurchaseHistoryRequestV2Response.swift b/Sources/OpenAPI/Generated/Entities/SandboxTestersClearPurchaseHistoryRequestV2Response.swift index f83c9377..2557f797 100644 --- a/Sources/OpenAPI/Generated/Entities/SandboxTestersClearPurchaseHistoryRequestV2Response.swift +++ b/Sources/OpenAPI/Generated/Entities/SandboxTestersClearPurchaseHistoryRequestV2Response.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SandboxTestersV2Response.swift b/Sources/OpenAPI/Generated/Entities/SandboxTestersV2Response.swift index 5d938f22..75f56ca7 100644 --- a/Sources/OpenAPI/Generated/Entities/SandboxTestersV2Response.swift +++ b/Sources/OpenAPI/Generated/Entities/SandboxTestersV2Response.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ScmGitReference.swift b/Sources/OpenAPI/Generated/Entities/ScmGitReference.swift index ccb0d953..979bbf27 100644 --- a/Sources/OpenAPI/Generated/Entities/ScmGitReference.swift +++ b/Sources/OpenAPI/Generated/Entities/ScmGitReference.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ScmGitReferenceResponse.swift b/Sources/OpenAPI/Generated/Entities/ScmGitReferenceResponse.swift index 2e725e49..eca2f45a 100644 --- a/Sources/OpenAPI/Generated/Entities/ScmGitReferenceResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/ScmGitReferenceResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ScmGitReferencesResponse.swift b/Sources/OpenAPI/Generated/Entities/ScmGitReferencesResponse.swift index 5f28db91..f29278c8 100644 --- a/Sources/OpenAPI/Generated/Entities/ScmGitReferencesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/ScmGitReferencesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ScmProvider.swift b/Sources/OpenAPI/Generated/Entities/ScmProvider.swift index 0f48467d..85de25dc 100644 --- a/Sources/OpenAPI/Generated/Entities/ScmProvider.swift +++ b/Sources/OpenAPI/Generated/Entities/ScmProvider.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ScmProviderResponse.swift b/Sources/OpenAPI/Generated/Entities/ScmProviderResponse.swift index 0e4f4a58..21309b99 100644 --- a/Sources/OpenAPI/Generated/Entities/ScmProviderResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/ScmProviderResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ScmProviderType.swift b/Sources/OpenAPI/Generated/Entities/ScmProviderType.swift index 90abc035..9e2817eb 100644 --- a/Sources/OpenAPI/Generated/Entities/ScmProviderType.swift +++ b/Sources/OpenAPI/Generated/Entities/ScmProviderType.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ScmProvidersResponse.swift b/Sources/OpenAPI/Generated/Entities/ScmProvidersResponse.swift index 7ab698e0..7ef7df4a 100644 --- a/Sources/OpenAPI/Generated/Entities/ScmProvidersResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/ScmProvidersResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ScmPullRequest.swift b/Sources/OpenAPI/Generated/Entities/ScmPullRequest.swift index 98c18109..85834fe8 100644 --- a/Sources/OpenAPI/Generated/Entities/ScmPullRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/ScmPullRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ScmPullRequestResponse.swift b/Sources/OpenAPI/Generated/Entities/ScmPullRequestResponse.swift index b2146769..672dbdc9 100644 --- a/Sources/OpenAPI/Generated/Entities/ScmPullRequestResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/ScmPullRequestResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ScmPullRequestsResponse.swift b/Sources/OpenAPI/Generated/Entities/ScmPullRequestsResponse.swift index c0159730..1e8cfe95 100644 --- a/Sources/OpenAPI/Generated/Entities/ScmPullRequestsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/ScmPullRequestsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ScmRepositoriesResponse.swift b/Sources/OpenAPI/Generated/Entities/ScmRepositoriesResponse.swift index 5330fef7..a64a574d 100644 --- a/Sources/OpenAPI/Generated/Entities/ScmRepositoriesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/ScmRepositoriesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct ScmRepositoriesResponse: Codable { } else if let value = try? container.decode(ScmGitReference.self) { self = .scmGitReference(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (ScmProvider, ScmGitReference)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/ScmRepository.swift b/Sources/OpenAPI/Generated/Entities/ScmRepository.swift index 6529c1d5..34b7d2f3 100644 --- a/Sources/OpenAPI/Generated/Entities/ScmRepository.swift +++ b/Sources/OpenAPI/Generated/Entities/ScmRepository.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/ScmRepositoryResponse.swift b/Sources/OpenAPI/Generated/Entities/ScmRepositoryResponse.swift index d01d8f9c..2dc9aef1 100644 --- a/Sources/OpenAPI/Generated/Entities/ScmRepositoryResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/ScmRepositoryResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct ScmRepositoryResponse: Codable { } else if let value = try? container.decode(ScmGitReference.self) { self = .scmGitReference(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (ScmProvider, ScmGitReference)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/ScreenshotDisplayType.swift b/Sources/OpenAPI/Generated/Entities/ScreenshotDisplayType.swift index 785c619d..aad50281 100644 --- a/Sources/OpenAPI/Generated/Entities/ScreenshotDisplayType.swift +++ b/Sources/OpenAPI/Generated/Entities/ScreenshotDisplayType.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/Subscription.swift b/Sources/OpenAPI/Generated/Entities/Subscription.swift index 35bce989..0732dce7 100644 --- a/Sources/OpenAPI/Generated/Entities/Subscription.swift +++ b/Sources/OpenAPI/Generated/Entities/Subscription.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionAppStoreReviewScreenshot.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionAppStoreReviewScreenshot.swift index bb0ff11a..76697f5a 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionAppStoreReviewScreenshot.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionAppStoreReviewScreenshot.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionAppStoreReviewScreenshotCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionAppStoreReviewScreenshotCreateRequest.swift index b2c0f977..9d119b3f 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionAppStoreReviewScreenshotCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionAppStoreReviewScreenshotCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionAppStoreReviewScreenshotResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionAppStoreReviewScreenshotResponse.swift index e3d456f1..90673d71 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionAppStoreReviewScreenshotResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionAppStoreReviewScreenshotResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionAppStoreReviewScreenshotUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionAppStoreReviewScreenshotUpdateRequest.swift index 8ec1c820..8bee9d7c 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionAppStoreReviewScreenshotUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionAppStoreReviewScreenshotUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionAvailability.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionAvailability.swift index baf8196a..5ac52f3f 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionAvailability.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionAvailability.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionAvailabilityCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionAvailabilityCreateRequest.swift index 3495e1e1..0537c7a4 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionAvailabilityCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionAvailabilityCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionAvailabilityResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionAvailabilityResponse.swift index 0a965946..84363013 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionAvailabilityResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionAvailabilityResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct SubscriptionAvailabilityResponse: Codable { } else if let value = try? container.decode(Territory.self) { self = .territory(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (Subscription, Territory)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionCreateRequest.swift index 42ec3493..9e7c0a04 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionCustomerEligibility.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionCustomerEligibility.swift index 246d4eee..3db18ea5 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionCustomerEligibility.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionCustomerEligibility.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionGracePeriod.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionGracePeriod.swift index d894f7fe..0f7918b9 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionGracePeriod.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionGracePeriod.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionGracePeriodDuration.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionGracePeriodDuration.swift index 0d0c4828..29feb480 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionGracePeriodDuration.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionGracePeriodDuration.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionGracePeriodResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionGracePeriodResponse.swift index 04c205a4..b646005a 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionGracePeriodResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionGracePeriodResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionGracePeriodUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionGracePeriodUpdateRequest.swift index 6108dfa0..153121e4 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionGracePeriodUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionGracePeriodUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionGroup.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionGroup.swift index 9777fef2..ab8878c1 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionGroup.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionGroup.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupCreateRequest.swift index 2d327302..44c8823d 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupLocalization.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupLocalization.swift index d567c72d..487cdae2 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupLocalization.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupLocalizationCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupLocalizationCreateRequest.swift index 6e87ea43..6de9d299 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupLocalizationCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupLocalizationCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupLocalizationResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupLocalizationResponse.swift index e71ca5e2..10443893 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupLocalizationResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupLocalizationResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupLocalizationUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupLocalizationUpdateRequest.swift index 392eb821..69a3f200 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupLocalizationUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupLocalizationUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupLocalizationsResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupLocalizationsResponse.swift index 5cc728b4..98d42d55 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupLocalizationsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupLocalizationsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupResponse.swift index 707003ab..e43563d2 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct SubscriptionGroupResponse: Codable { } else if let value = try? container.decode(SubscriptionGroupLocalization.self) { self = .subscriptionGroupLocalization(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (Subscription, SubscriptionGroupLocalization)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupSubmission.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupSubmission.swift index cae33e5d..1f8f71d8 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupSubmission.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupSubmission.swift @@ -1,32 +1,34 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation public struct SubscriptionGroupSubmission: Codable, Identifiable { public var type: `Type` public var id: String + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case subscriptionGroupSubmissions } - public init(type: `Type`, id: String) { + public init(type: `Type`, id: String, links: ResourceLinks? = nil) { self.type = type self.id = id + self.links = links } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) self.type = try values.decode(`Type`.self, forKey: "type") self.id = try values.decode(String.self, forKey: "id") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encode(type, forKey: "type") try values.encode(id, forKey: "id") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupSubmissionCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupSubmissionCreateRequest.swift index 725c46a9..7e46f35a 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupSubmissionCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupSubmissionCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupSubmissionResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupSubmissionResponse.swift index 3b11c1c4..96d54511 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupSubmissionResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupSubmissionResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupUpdateRequest.swift index 304f0548..7f430235 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupsResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupsResponse.swift index 5258ec8b..75dbaf88 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct SubscriptionGroupsResponse: Codable { } else if let value = try? container.decode(SubscriptionGroupLocalization.self) { self = .subscriptionGroupLocalization(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (Subscription, SubscriptionGroupLocalization)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOffer.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOffer.swift index 5b79f50a..bf83afba 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOffer.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOffer.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOfferCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOfferCreateRequest.swift index 6a217869..bb15cbd3 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOfferCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOfferCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOfferInlineCreate.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOfferInlineCreate.swift index fd0948af..91ae28e7 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOfferInlineCreate.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOfferInlineCreate.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOfferResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOfferResponse.swift index 9b6e9fd4..7d2922f5 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOfferResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOfferResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct SubscriptionIntroductoryOfferResponse: Codable { } else if let value = try? container.decode(SubscriptionPricePoint.self) { self = .subscriptionPricePoint(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (Subscription, Territory, SubscriptionPricePoint)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOfferUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOfferUpdateRequest.swift index b923beb1..3c5bb596 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOfferUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOfferUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOffersLinkagesRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOffersLinkagesRequest.swift index 1b0ea15c..bff5b6a9 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOffersLinkagesRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOffersLinkagesRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOffersLinkagesResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOffersLinkagesResponse.swift index 701430c3..d651b040 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOffersLinkagesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOffersLinkagesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOffersResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOffersResponse.swift index c7635b06..d420c6a4 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOffersResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOffersResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -25,7 +23,10 @@ public struct SubscriptionIntroductoryOffersResponse: Codable { } else if let value = try? container.decode(SubscriptionPricePoint.self) { self = .subscriptionPricePoint(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (Subscription, Territory, SubscriptionPricePoint)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionLocalization.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionLocalization.swift index 6b76ab4b..32943a58 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionLocalization.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionLocalizationCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionLocalizationCreateRequest.swift index 4810dec9..13ae3b7c 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionLocalizationCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionLocalizationCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionLocalizationResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionLocalizationResponse.swift index 2290f1e6..19c9ecac 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionLocalizationResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionLocalizationResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionLocalizationUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionLocalizationUpdateRequest.swift index 0491f3aa..32fa3996 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionLocalizationUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionLocalizationUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionLocalizationsResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionLocalizationsResponse.swift index 6cb25409..12bb9d23 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionLocalizationsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionLocalizationsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCode.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCode.swift index b02c0d64..b5be6284 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCode.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCode.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCreateRequest.swift index 81188784..841fbf96 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCustomCode.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCustomCode.swift index ab12fa31..5748d497 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCustomCode.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCustomCode.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCustomCodeCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCustomCodeCreateRequest.swift index 9ab2606d..47958164 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCustomCodeCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCustomCodeCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCustomCodeResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCustomCodeResponse.swift index 523b84e2..50b27134 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCustomCodeResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCustomCodeResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCustomCodeUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCustomCodeUpdateRequest.swift index f43241b4..8935f857 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCustomCodeUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCustomCodeUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCustomCodesResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCustomCodesResponse.swift index bb3b3af0..ce2c456d 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCustomCodesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCustomCodesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCode.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCode.swift index c91302b7..2b1269ca 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCode.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCode.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCodeCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCodeCreateRequest.swift index c6d9b0ac..ec70da9f 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCodeCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCodeCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCodeResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCodeResponse.swift index ef83835d..8c067d08 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCodeResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCodeResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCodeUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCodeUpdateRequest.swift index dbb67224..c44ea2cd 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCodeUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCodeUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCodeValue.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCodeValue.swift index 8e1d633c..e7bfc46e 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCodeValue.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCodeValue.swift @@ -1,32 +1,34 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation public struct SubscriptionOfferCodeOneTimeUseCodeValue: Codable, Identifiable { public var type: `Type` public var id: String + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case subscriptionOfferCodeOneTimeUseCodeValues } - public init(type: `Type`, id: String) { + public init(type: `Type`, id: String, links: ResourceLinks? = nil) { self.type = type self.id = id + self.links = links } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) self.type = try values.decode(`Type`.self, forKey: "type") self.id = try values.decode(String.self, forKey: "id") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encode(type, forKey: "type") try values.encode(id, forKey: "id") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCodesResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCodesResponse.swift index 42112ccb..5b837772 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCodesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCodesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodePrice.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodePrice.swift index 26f4fbd0..6e491d0d 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodePrice.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodePrice.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -9,6 +7,7 @@ public struct SubscriptionOfferCodePrice: Codable, Identifiable { public var type: `Type` public var id: String public var relationships: Relationships? + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case subscriptionOfferCodePrices @@ -176,10 +175,11 @@ public struct SubscriptionOfferCodePrice: Codable, Identifiable { } } - public init(type: `Type`, id: String, relationships: Relationships? = nil) { + public init(type: `Type`, id: String, relationships: Relationships? = nil, links: ResourceLinks? = nil) { self.type = type self.id = id self.relationships = relationships + self.links = links } public init(from decoder: Decoder) throws { @@ -187,6 +187,7 @@ public struct SubscriptionOfferCodePrice: Codable, Identifiable { self.type = try values.decode(`Type`.self, forKey: "type") self.id = try values.decode(String.self, forKey: "id") self.relationships = try values.decodeIfPresent(Relationships.self, forKey: "relationships") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { @@ -194,5 +195,6 @@ public struct SubscriptionOfferCodePrice: Codable, Identifiable { try values.encode(type, forKey: "type") try values.encode(id, forKey: "id") try values.encodeIfPresent(relationships, forKey: "relationships") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodePriceInlineCreate.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodePriceInlineCreate.swift index c4bc9c89..3068020f 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodePriceInlineCreate.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodePriceInlineCreate.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodePricesResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodePricesResponse.swift index 8cf70d50..a331b2b5 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodePricesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodePricesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct SubscriptionOfferCodePricesResponse: Codable { } else if let value = try? container.decode(SubscriptionPricePoint.self) { self = .subscriptionPricePoint(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (Territory, SubscriptionPricePoint)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeResponse.swift index 10100c78..779c4027 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -28,7 +26,10 @@ public struct SubscriptionOfferCodeResponse: Codable { } else if let value = try? container.decode(SubscriptionOfferCodePrice.self) { self = .subscriptionOfferCodePrice(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (Subscription, SubscriptionOfferCodeOneTimeUseCode, SubscriptionOfferCodeCustomCode, SubscriptionOfferCodePrice)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeUpdateRequest.swift index 3e1b1bf3..30520272 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodesResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodesResponse.swift index 4218c5e1..7b0fef92 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -28,7 +26,10 @@ public struct SubscriptionOfferCodesResponse: Codable { } else if let value = try? container.decode(SubscriptionOfferCodePrice.self) { self = .subscriptionOfferCodePrice(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (Subscription, SubscriptionOfferCodeOneTimeUseCode, SubscriptionOfferCodeCustomCode, SubscriptionOfferCodePrice)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferDuration.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferDuration.swift index e25ee023..1a1970ee 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferDuration.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferDuration.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferEligibility.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferEligibility.swift index 2d7abb7d..f81c839f 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferEligibility.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferEligibility.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferMode.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferMode.swift index 62f672fd..b8f239de 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferMode.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferMode.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionPrice.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionPrice.swift index 59dc844c..ac172109 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionPrice.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionPrice.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionPriceCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionPriceCreateRequest.swift index c6bf8266..573dc0a5 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionPriceCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionPriceCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionPriceInlineCreate.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionPriceInlineCreate.swift index b60e42ae..1249a07c 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionPriceInlineCreate.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionPriceInlineCreate.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionPricePoint.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionPricePoint.swift index d8bc08dd..6337a8c4 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionPricePoint.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionPricePoint.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionPricePointInlineCreate.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionPricePointInlineCreate.swift index f293e1fd..1311978f 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionPricePointInlineCreate.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionPricePointInlineCreate.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionPricePointResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionPricePointResponse.swift index a7a23e37..bb7c424c 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionPricePointResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionPricePointResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionPricePointsResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionPricePointsResponse.swift index 91da2547..ec78f872 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionPricePointsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionPricePointsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionPriceResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionPriceResponse.swift index 47ac8ec0..ae834ec6 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionPriceResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionPriceResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct SubscriptionPriceResponse: Codable { } else if let value = try? container.decode(SubscriptionPricePoint.self) { self = .subscriptionPricePoint(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (Territory, SubscriptionPricePoint)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionPricesLinkagesRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionPricesLinkagesRequest.swift index 115b8d37..3adee719 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionPricesLinkagesRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionPricesLinkagesRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionPricesLinkagesResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionPricesLinkagesResponse.swift index 4c63c4a0..67af3383 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionPricesLinkagesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionPricesLinkagesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionPricesResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionPricesResponse.swift index a5f19d01..507615d8 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionPricesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionPricesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct SubscriptionPricesResponse: Codable { } else if let value = try? container.decode(SubscriptionPricePoint.self) { self = .subscriptionPricePoint(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (Territory, SubscriptionPricePoint)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOffer.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOffer.swift index dba06c69..55da04fd 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOffer.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOffer.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferCreateRequest.swift index 02e71d6f..51bdf08d 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferInlineCreate.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferInlineCreate.swift index b209983f..bc720987 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferInlineCreate.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferInlineCreate.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferPrice.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferPrice.swift index 023a502c..2d6cae0b 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferPrice.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferPrice.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -9,6 +7,7 @@ public struct SubscriptionPromotionalOfferPrice: Codable, Identifiable { public var type: `Type` public var id: String public var relationships: Relationships? + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case subscriptionPromotionalOfferPrices @@ -176,10 +175,11 @@ public struct SubscriptionPromotionalOfferPrice: Codable, Identifiable { } } - public init(type: `Type`, id: String, relationships: Relationships? = nil) { + public init(type: `Type`, id: String, relationships: Relationships? = nil, links: ResourceLinks? = nil) { self.type = type self.id = id self.relationships = relationships + self.links = links } public init(from decoder: Decoder) throws { @@ -187,6 +187,7 @@ public struct SubscriptionPromotionalOfferPrice: Codable, Identifiable { self.type = try values.decode(`Type`.self, forKey: "type") self.id = try values.decode(String.self, forKey: "id") self.relationships = try values.decodeIfPresent(Relationships.self, forKey: "relationships") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { @@ -194,5 +195,6 @@ public struct SubscriptionPromotionalOfferPrice: Codable, Identifiable { try values.encode(type, forKey: "type") try values.encode(id, forKey: "id") try values.encodeIfPresent(relationships, forKey: "relationships") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferPriceInlineCreate.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferPriceInlineCreate.swift index a0806ff4..3150cf90 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferPriceInlineCreate.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferPriceInlineCreate.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferPricesResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferPricesResponse.swift index e4d34317..59f016cf 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferPricesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferPricesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct SubscriptionPromotionalOfferPricesResponse: Codable { } else if let value = try? container.decode(SubscriptionPricePoint.self) { self = .subscriptionPricePoint(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (Territory, SubscriptionPricePoint)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferResponse.swift index 7cbe3787..ebdb9de9 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct SubscriptionPromotionalOfferResponse: Codable { } else if let value = try? container.decode(SubscriptionPromotionalOfferPrice.self) { self = .subscriptionPromotionalOfferPrice(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (Subscription, SubscriptionPromotionalOfferPrice)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferUpdateRequest.swift index 4f53ac98..ed72073e 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOffersResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOffersResponse.swift index c60060e7..ed1a15ab 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOffersResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOffersResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -22,7 +20,10 @@ public struct SubscriptionPromotionalOffersResponse: Codable { } else if let value = try? container.decode(SubscriptionPromotionalOfferPrice.self) { self = .subscriptionPromotionalOfferPrice(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (Subscription, SubscriptionPromotionalOfferPrice)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionResponse.swift index c7c4d9f6..c58d0e7c 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -43,7 +41,10 @@ public struct SubscriptionResponse: Codable { } else if let value = try? container.decode(SubscriptionAvailability.self) { self = .subscriptionAvailability(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (SubscriptionLocalization, SubscriptionAppStoreReviewScreenshot, SubscriptionGroup, SubscriptionIntroductoryOffer, SubscriptionPromotionalOffer, SubscriptionOfferCode, SubscriptionPrice, PromotedPurchase, SubscriptionAvailability)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionStatusURLVersion.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionStatusURLVersion.swift index d564153e..5fdaf90a 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionStatusURLVersion.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionStatusURLVersion.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionSubmission.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionSubmission.swift index 72975bb7..678b0432 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionSubmission.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionSubmission.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -9,6 +7,7 @@ public struct SubscriptionSubmission: Codable, Identifiable { public var type: `Type` public var id: String public var relationships: Relationships? + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case subscriptionSubmissions @@ -102,10 +101,11 @@ public struct SubscriptionSubmission: Codable, Identifiable { } } - public init(type: `Type`, id: String, relationships: Relationships? = nil) { + public init(type: `Type`, id: String, relationships: Relationships? = nil, links: ResourceLinks? = nil) { self.type = type self.id = id self.relationships = relationships + self.links = links } public init(from decoder: Decoder) throws { @@ -113,6 +113,7 @@ public struct SubscriptionSubmission: Codable, Identifiable { self.type = try values.decode(`Type`.self, forKey: "type") self.id = try values.decode(String.self, forKey: "id") self.relationships = try values.decodeIfPresent(Relationships.self, forKey: "relationships") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { @@ -120,5 +121,6 @@ public struct SubscriptionSubmission: Codable, Identifiable { try values.encode(type, forKey: "type") try values.encode(id, forKey: "id") try values.encodeIfPresent(relationships, forKey: "relationships") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionSubmissionCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionSubmissionCreateRequest.swift index b4539402..5edbac69 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionSubmissionCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionSubmissionCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionSubmissionResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionSubmissionResponse.swift index 8d59d104..2ffcd228 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionSubmissionResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionSubmissionResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionUpdateRequest.swift index 2ac55cd7..85483d9d 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -263,7 +261,10 @@ public struct SubscriptionUpdateRequest: Codable { } else if let value = try? container.decode(SubscriptionIntroductoryOfferInlineCreate.self) { self = .subscriptionIntroductoryOfferInlineCreate(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (SubscriptionPromotionalOfferInlineCreate, SubscriptionPriceInlineCreate, SubscriptionIntroductoryOfferInlineCreate)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionsResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionsResponse.swift index aaecac25..ce6dc0e7 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -43,7 +41,10 @@ public struct SubscriptionsResponse: Codable { } else if let value = try? container.decode(SubscriptionAvailability.self) { self = .subscriptionAvailability(value) } else { - throw DecodingError.dataCorruptedError(in: container, debugDescription: "Failed to intialize `oneOf`") + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (SubscriptionLocalization, SubscriptionAppStoreReviewScreenshot, SubscriptionGroup, SubscriptionIntroductoryOffer, SubscriptionPromotionalOffer, SubscriptionOfferCode, SubscriptionPrice, PromotedPurchase, SubscriptionAvailability)." + ) } } diff --git a/Sources/OpenAPI/Generated/Entities/TerritoriesResponse.swift b/Sources/OpenAPI/Generated/Entities/TerritoriesResponse.swift index 7909159c..82c3231d 100644 --- a/Sources/OpenAPI/Generated/Entities/TerritoriesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/TerritoriesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/TerritoriesWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/TerritoriesWithoutIncludesResponse.swift index bf6820a8..7ae27a3e 100644 --- a/Sources/OpenAPI/Generated/Entities/TerritoriesWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/TerritoriesWithoutIncludesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/Territory.swift b/Sources/OpenAPI/Generated/Entities/Territory.swift index 9b327a5a..acd453a3 100644 --- a/Sources/OpenAPI/Generated/Entities/Territory.swift +++ b/Sources/OpenAPI/Generated/Entities/Territory.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation @@ -9,6 +7,7 @@ public struct Territory: Codable, Identifiable { public var type: `Type` public var id: String public var attributes: Attributes? + public var links: ResourceLinks? public enum `Type`: String, Codable, CaseIterable { case territories @@ -32,10 +31,11 @@ public struct Territory: Codable, Identifiable { } } - public init(type: `Type`, id: String, attributes: Attributes? = nil) { + public init(type: `Type`, id: String, attributes: Attributes? = nil, links: ResourceLinks? = nil) { self.type = type self.id = id self.attributes = attributes + self.links = links } public init(from decoder: Decoder) throws { @@ -43,6 +43,7 @@ public struct Territory: Codable, Identifiable { self.type = try values.decode(`Type`.self, forKey: "type") self.id = try values.decode(String.self, forKey: "id") self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") } public func encode(to encoder: Encoder) throws { @@ -50,5 +51,6 @@ public struct Territory: Codable, Identifiable { try values.encode(type, forKey: "type") try values.encode(id, forKey: "id") try values.encodeIfPresent(attributes, forKey: "attributes") + try values.encodeIfPresent(links, forKey: "links") } } diff --git a/Sources/OpenAPI/Generated/Entities/TerritoryAvailabilitiesResponse.swift b/Sources/OpenAPI/Generated/Entities/TerritoryAvailabilitiesResponse.swift index f7d7d042..c237b9ca 100644 --- a/Sources/OpenAPI/Generated/Entities/TerritoryAvailabilitiesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/TerritoryAvailabilitiesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/TerritoryAvailability.swift b/Sources/OpenAPI/Generated/Entities/TerritoryAvailability.swift index 584da223..7577be72 100644 --- a/Sources/OpenAPI/Generated/Entities/TerritoryAvailability.swift +++ b/Sources/OpenAPI/Generated/Entities/TerritoryAvailability.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/TerritoryAvailabilityInlineCreate.swift b/Sources/OpenAPI/Generated/Entities/TerritoryAvailabilityInlineCreate.swift index 865f4fd6..ff598c29 100644 --- a/Sources/OpenAPI/Generated/Entities/TerritoryAvailabilityInlineCreate.swift +++ b/Sources/OpenAPI/Generated/Entities/TerritoryAvailabilityInlineCreate.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/TerritoryAvailabilityResponse.swift b/Sources/OpenAPI/Generated/Entities/TerritoryAvailabilityResponse.swift index aded6291..1c94f947 100644 --- a/Sources/OpenAPI/Generated/Entities/TerritoryAvailabilityResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/TerritoryAvailabilityResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/TerritoryAvailabilityUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/TerritoryAvailabilityUpdateRequest.swift index ea0bd85e..b9cf76bf 100644 --- a/Sources/OpenAPI/Generated/Entities/TerritoryAvailabilityUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/TerritoryAvailabilityUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/TerritoryCode.swift b/Sources/OpenAPI/Generated/Entities/TerritoryCode.swift index 4a5f41c9..3c7aa00b 100644 --- a/Sources/OpenAPI/Generated/Entities/TerritoryCode.swift +++ b/Sources/OpenAPI/Generated/Entities/TerritoryCode.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/TerritoryInlineCreate.swift b/Sources/OpenAPI/Generated/Entities/TerritoryInlineCreate.swift index 401cc7f0..449a8b81 100644 --- a/Sources/OpenAPI/Generated/Entities/TerritoryInlineCreate.swift +++ b/Sources/OpenAPI/Generated/Entities/TerritoryInlineCreate.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/TerritoryResponse.swift b/Sources/OpenAPI/Generated/Entities/TerritoryResponse.swift index c445eb93..4e97fe8b 100644 --- a/Sources/OpenAPI/Generated/Entities/TerritoryResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/TerritoryResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/UploadOperation.swift b/Sources/OpenAPI/Generated/Entities/UploadOperation.swift index fd34929a..8ed9ed6c 100644 --- a/Sources/OpenAPI/Generated/Entities/UploadOperation.swift +++ b/Sources/OpenAPI/Generated/Entities/UploadOperation.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/User.swift b/Sources/OpenAPI/Generated/Entities/User.swift index 9bd1c77c..bfb6747c 100644 --- a/Sources/OpenAPI/Generated/Entities/User.swift +++ b/Sources/OpenAPI/Generated/Entities/User.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/UserInvitation.swift b/Sources/OpenAPI/Generated/Entities/UserInvitation.swift index 2c74deb4..8a69622c 100644 --- a/Sources/OpenAPI/Generated/Entities/UserInvitation.swift +++ b/Sources/OpenAPI/Generated/Entities/UserInvitation.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/UserInvitationCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/UserInvitationCreateRequest.swift index 1bdc3a68..7b84803d 100644 --- a/Sources/OpenAPI/Generated/Entities/UserInvitationCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/UserInvitationCreateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/UserInvitationResponse.swift b/Sources/OpenAPI/Generated/Entities/UserInvitationResponse.swift index ab846d18..0fe40d6d 100644 --- a/Sources/OpenAPI/Generated/Entities/UserInvitationResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/UserInvitationResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/UserInvitationsResponse.swift b/Sources/OpenAPI/Generated/Entities/UserInvitationsResponse.swift index e39fa589..36d6b296 100644 --- a/Sources/OpenAPI/Generated/Entities/UserInvitationsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/UserInvitationsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/UserResponse.swift b/Sources/OpenAPI/Generated/Entities/UserResponse.swift index c4735718..524fc2ab 100644 --- a/Sources/OpenAPI/Generated/Entities/UserResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/UserResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/UserRole.swift b/Sources/OpenAPI/Generated/Entities/UserRole.swift index 00178c86..06157c6d 100644 --- a/Sources/OpenAPI/Generated/Entities/UserRole.swift +++ b/Sources/OpenAPI/Generated/Entities/UserRole.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/UserUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/UserUpdateRequest.swift index 2888be7d..0930bf60 100644 --- a/Sources/OpenAPI/Generated/Entities/UserUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/UserUpdateRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/UserVisibleAppsLinkagesRequest.swift b/Sources/OpenAPI/Generated/Entities/UserVisibleAppsLinkagesRequest.swift index 7be4c0cf..3f147772 100644 --- a/Sources/OpenAPI/Generated/Entities/UserVisibleAppsLinkagesRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/UserVisibleAppsLinkagesRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/UserVisibleAppsLinkagesResponse.swift b/Sources/OpenAPI/Generated/Entities/UserVisibleAppsLinkagesResponse.swift index b84df85d..8dba42ef 100644 --- a/Sources/OpenAPI/Generated/Entities/UserVisibleAppsLinkagesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/UserVisibleAppsLinkagesResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/UsersResponse.swift b/Sources/OpenAPI/Generated/Entities/UsersResponse.swift index 7a33e823..aebab888 100644 --- a/Sources/OpenAPI/Generated/Entities/UsersResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/UsersResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Entities/XcodeMetrics.swift b/Sources/OpenAPI/Generated/Entities/XcodeMetrics.swift index 21471ee2..139d803c 100644 --- a/Sources/OpenAPI/Generated/Entities/XcodeMetrics.swift +++ b/Sources/OpenAPI/Generated/Entities/XcodeMetrics.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Paths/Paths+Extensions.swift b/Sources/OpenAPI/Generated/Extensions/APIEndpoint.swift similarity index 83% rename from Sources/OpenAPI/Generated/Paths/Paths+Extensions.swift rename to Sources/OpenAPI/Generated/Extensions/APIEndpoint.swift index bb1a4109..8044a8d4 100644 --- a/Sources/OpenAPI/Generated/Paths/Paths+Extensions.swift +++ b/Sources/OpenAPI/Generated/Extensions/APIEndpoint.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Entities/Entities+Extensions.swift b/Sources/OpenAPI/Generated/Extensions/StringCodingKey.swift similarity index 95% rename from Sources/OpenAPI/Generated/Entities/Entities+Extensions.swift rename to Sources/OpenAPI/Generated/Extensions/StringCodingKey.swift index 886192a8..1840813b 100644 --- a/Sources/OpenAPI/Generated/Entities/Entities+Extensions.swift +++ b/Sources/OpenAPI/Generated/Extensions/StringCodingKey.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1.swift b/Sources/OpenAPI/Generated/Paths/PathsV1.swift index 2b8ab7fd..ce122a95 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Actors.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Actors.swift index 0f433152..cc4ecfc2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Actors.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Actors.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters) -> Request { - .get(path, query: parameters.asQuery) + Request(path: path, method: "GET", query: parameters.asQuery, id: "actors-get_collection") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ActorsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ActorsWithID.swift index ff43d1bb..0b418b4b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ActorsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ActorsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Actors { public let path: String public func get(fieldsActors: [FieldsActors]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsActors)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsActors), id: "actors-get_instance") } private func makeGetQuery(_ fieldsActors: [FieldsActors]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AgeRatingDeclarations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AgeRatingDeclarations.swift index a0d82bea..e274f120 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AgeRatingDeclarations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AgeRatingDeclarations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AgeRatingDeclarationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AgeRatingDeclarationsWithID.swift index 91aa9116..4985fafa 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AgeRatingDeclarationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AgeRatingDeclarationsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AgeRatingDeclarations { public let path: String public func patch(_ body: AppStoreConnect_Swift_SDK.AgeRatingDeclarationUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "ageRatingDeclarations-update_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilities.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilities.swift index bd0fb77b..cdadb045 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilities.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilities.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -15,8 +13,9 @@ extension APIEndpoint.V1 { /// Path: `/v1/appAvailabilities` public let path: String + @available(*, deprecated, message: "Deprecated") public func post(_ body: AppStoreConnect_Swift_SDK.AppAvailabilityCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appAvailabilities-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithID.swift index a334a27e..6112535d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -15,8 +13,9 @@ extension APIEndpoint.V1.AppAvailabilities { /// Path: `/v1/appAvailabilities/{id}` public let path: String + @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appAvailabilities-get_instance") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithIDAvailableTerritories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithIDAvailableTerritories.swift index 621062ac..d3019ccc 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithIDAvailableTerritories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithIDAvailableTerritories.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -15,8 +13,9 @@ extension APIEndpoint.V1.AppAvailabilities.WithID { /// Path: `/v1/appAvailabilities/{id}/availableTerritories` public let path: String + @available(*, deprecated, message: "Deprecated") public func get(fieldsTerritories: [FieldsTerritories]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsTerritories, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsTerritories, limit), id: "appAvailabilities-availableTerritories-get_to_many_related") } private func makeGetQuery(_ fieldsTerritories: [FieldsTerritories]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithIDRelationships.swift index 32df77fe..a5dd0185 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithIDRelationshipsAvailableTerritories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithIDRelationshipsAvailableTerritories.swift index 957951d6..c8126ce6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithIDRelationshipsAvailableTerritories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithIDRelationshipsAvailableTerritories.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCategories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCategories.swift index 2db9fdde..5cddec08 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCategories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCategories.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCategories-get_collection") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithID.swift index 2115235e..f23b71be 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppCategories { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCategories-get_instance") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDParent.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDParent.swift index 50ae937f..a2ac55b0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDParent.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDParent.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppCategories.WithID { public let path: String public func get(fieldsAppCategories: [FieldsAppCategories]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsAppCategories)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppCategories), id: "appCategories-parent-get_to_one_related") } private func makeGetQuery(_ fieldsAppCategories: [FieldsAppCategories]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDRelationships.swift index 90c51471..afd9c95d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDRelationshipsParent.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDRelationshipsParent.swift index c331825d..3cc3e2d6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDRelationshipsParent.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDRelationshipsParent.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDRelationshipsSubcategories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDRelationshipsSubcategories.swift index 8cb32530..0b96152c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDRelationshipsSubcategories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDRelationshipsSubcategories.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDSubcategories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDSubcategories.swift index 116389b4..b53d37c3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDSubcategories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDSubcategories.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppCategories.WithID { public let path: String public func get(fieldsAppCategories: [FieldsAppCategories]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsAppCategories, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppCategories, limit), id: "appCategories-subcategories-get_to_many_related") } private func makeGetQuery(_ fieldsAppCategories: [FieldsAppCategories]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperienceImages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperienceImages.swift index 0e825905..13412177 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperienceImages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperienceImages.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppClipAdvancedExperienceImageCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appClipAdvancedExperienceImages-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperienceImagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperienceImagesWithID.swift index 436321db..c851edde 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperienceImagesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperienceImagesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppClipAdvancedExperienceImages { public let path: String public func get(fieldsAppClipAdvancedExperienceImages: [FieldsAppClipAdvancedExperienceImages]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsAppClipAdvancedExperienceImages)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppClipAdvancedExperienceImages), id: "appClipAdvancedExperienceImages-get_instance") } private func makeGetQuery(_ fieldsAppClipAdvancedExperienceImages: [FieldsAppClipAdvancedExperienceImages]?) -> [(String, String?)] { @@ -36,7 +34,7 @@ extension APIEndpoint.V1.AppClipAdvancedExperienceImages { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppClipAdvancedExperienceImageUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appClipAdvancedExperienceImages-update_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperiences.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperiences.swift index 3772aad6..d0400ebe 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperiences.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperiences.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppClipAdvancedExperienceCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appClipAdvancedExperiences-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperiencesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperiencesWithID.swift index 5a6741ba..5d82dc43 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperiencesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperiencesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppClipAdvancedExperiences { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClipAdvancedExperiences-get_instance") } public struct GetParameters { @@ -62,7 +60,7 @@ extension APIEndpoint.V1.AppClipAdvancedExperiences { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppClipAdvancedExperienceUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appClipAdvancedExperiences-update_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAppStoreReviewDetails.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAppStoreReviewDetails.swift index 132af73d..0a781654 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAppStoreReviewDetails.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAppStoreReviewDetails.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppClipAppStoreReviewDetailCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appClipAppStoreReviewDetails-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAppStoreReviewDetailsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAppStoreReviewDetailsWithID.swift index ed52cd5b..006a246e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAppStoreReviewDetailsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAppStoreReviewDetailsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppClipAppStoreReviewDetails { public let path: String public func get(fieldsAppClipAppStoreReviewDetails: [FieldsAppClipAppStoreReviewDetails]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsAppClipAppStoreReviewDetails, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppClipAppStoreReviewDetails, include), id: "appClipAppStoreReviewDetails-get_instance") } private func makeGetQuery(_ fieldsAppClipAppStoreReviewDetails: [FieldsAppClipAppStoreReviewDetails]?, _ include: [Include]?) -> [(String, String?)] { @@ -36,7 +34,7 @@ extension APIEndpoint.V1.AppClipAppStoreReviewDetails { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppClipAppStoreReviewDetailUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appClipAppStoreReviewDetails-update_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizations.swift index 06f5ea73..31ca8bf0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppClipDefaultExperienceLocalizationCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appClipDefaultExperienceLocalizations-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithID.swift index 15092c82..a6cb181d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppClipDefaultExperienceLocalizations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClipDefaultExperienceLocalizations-get_instance") } public struct GetParameters { @@ -63,11 +61,11 @@ extension APIEndpoint.V1.AppClipDefaultExperienceLocalizations { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppClipDefaultExperienceLocalizationUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appClipDefaultExperienceLocalizations-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "appClipDefaultExperienceLocalizations-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithIDAppClipHeaderImage.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithIDAppClipHeaderImage.swift index 625480fe..558d72d8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithIDAppClipHeaderImage.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithIDAppClipHeaderImage.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppClipDefaultExperienceLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClipDefaultExperienceLocalizations-appClipHeaderImage-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithIDRelationships.swift index dfbccfec..6664e5b7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithIDRelationshipsAppClipHeaderImage.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithIDRelationshipsAppClipHeaderImage.swift index 584ccdd4..b6308c10 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithIDRelationshipsAppClipHeaderImage.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithIDRelationshipsAppClipHeaderImage.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiences.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiences.swift index 3f2e6f9b..b2a1fee2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiences.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiences.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppClipDefaultExperienceCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appClipDefaultExperiences-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithID.swift index 88768d04..227c6323 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppClipDefaultExperiences { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClipDefaultExperiences-get_instance") } public struct GetParameters { @@ -100,11 +98,11 @@ extension APIEndpoint.V1.AppClipDefaultExperiences { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppClipDefaultExperienceUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appClipDefaultExperiences-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "appClipDefaultExperiences-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDAppClipAppStoreReviewDetail.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDAppClipAppStoreReviewDetail.swift index 6e2b1194..f96e2d0a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDAppClipAppStoreReviewDetail.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDAppClipAppStoreReviewDetail.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClipDefaultExperiences-appClipAppStoreReviewDetail-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDAppClipDefaultExperienceLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDAppClipDefaultExperienceLocalizations.swift index 427cc0f9..c1140c97 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDAppClipDefaultExperienceLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDAppClipDefaultExperienceLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClipDefaultExperiences-appClipDefaultExperienceLocalizations-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDRelationships.swift index 052ea76e..7f06aff5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDRelationshipsAppClipAppStoreReviewDetail.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDRelationshipsAppClipAppStoreReviewDetail.swift index 86bb4f05..77facd7d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDRelationshipsAppClipAppStoreReviewDetail.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDRelationshipsAppClipAppStoreReviewDetail.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDRelationshipsAppClipDefaultExperienceLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDRelationshipsAppClipDefaultExperienceLocalizations.swift index 26769f2b..a7f8100e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDRelationshipsAppClipDefaultExperienceLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDRelationshipsAppClipDefaultExperienceLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDRelationshipsReleaseWithAppStoreVersion.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDRelationshipsReleaseWithAppStoreVersion.swift index c2fc8adb..20887ec8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDRelationshipsReleaseWithAppStoreVersion.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDRelationshipsReleaseWithAppStoreVersion.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,11 +14,11 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID.Relationships { public let path: String public var get: Request { - .get(path) + Request(path: path, method: "GET", id: "appClipDefaultExperiences-releaseWithAppStoreVersion-get_to_one_relationship") } public func patch(_ body: AppStoreConnect_Swift_SDK.AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appClipDefaultExperiences-releaseWithAppStoreVersion-update_to_one_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDReleaseWithAppStoreVersion.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDReleaseWithAppStoreVersion.swift index 6960c5c9..a6520bb5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDReleaseWithAppStoreVersion.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDReleaseWithAppStoreVersion.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClipDefaultExperiences-releaseWithAppStoreVersion-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipHeaderImages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipHeaderImages.swift index ef30ccca..32b0868f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipHeaderImages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipHeaderImages.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppClipHeaderImageCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appClipHeaderImages-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipHeaderImagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipHeaderImagesWithID.swift index 40db3841..f4dd06ea 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipHeaderImagesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipHeaderImagesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppClipHeaderImages { public let path: String public func get(fieldsAppClipHeaderImages: [FieldsAppClipHeaderImages]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsAppClipHeaderImages, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppClipHeaderImages, include), id: "appClipHeaderImages-get_instance") } private func makeGetQuery(_ fieldsAppClipHeaderImages: [FieldsAppClipHeaderImages]?, _ include: [Include]?) -> [(String, String?)] { @@ -42,11 +40,11 @@ extension APIEndpoint.V1.AppClipHeaderImages { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppClipHeaderImageUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appClipHeaderImages-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "appClipHeaderImages-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClips.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClips.swift index 60a7286f..66fdc875 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClips.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClips.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithID.swift index 00d3356a..7a51b296 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppClips { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClips-get_instance") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipAdvancedExperiences.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipAdvancedExperiences.swift index ba4475d2..ae800796 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipAdvancedExperiences.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipAdvancedExperiences.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppClips.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClips-appClipAdvancedExperiences-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipDefaultExperiences.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipDefaultExperiences.swift index 3f9c026b..d2934a66 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipDefaultExperiences.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipDefaultExperiences.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppClips.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClips-appClipDefaultExperiences-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDRelationships.swift index 8b20cf94..bb643b8e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDRelationshipsAppClipAdvancedExperiences.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDRelationshipsAppClipAdvancedExperiences.swift index d9386848..9145741a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDRelationshipsAppClipAdvancedExperiences.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDRelationshipsAppClipAdvancedExperiences.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDRelationshipsAppClipDefaultExperiences.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDRelationshipsAppClipDefaultExperiences.swift index 1b2bd1be..a3c02b54 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDRelationshipsAppClipDefaultExperiences.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDRelationshipsAppClipDefaultExperiences.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizations.swift index 0daebf15..b863f478 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppCustomProductPageLocalizationCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appCustomProductPageLocalizations-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithID.swift index 0c9e4b34..969dd79e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppCustomProductPageLocalizations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCustomProductPageLocalizations-get_instance") } public struct GetParameters { @@ -79,11 +77,11 @@ extension APIEndpoint.V1.AppCustomProductPageLocalizations { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppCustomProductPageLocalizationUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appCustomProductPageLocalizations-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "appCustomProductPageLocalizations-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppPreviewSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppPreviewSets.swift index d1a9a6c6..b3afebe8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppPreviewSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppPreviewSets.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppCustomProductPageLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCustomProductPageLocalizations-appPreviewSets-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppScreenshotSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppScreenshotSets.swift index f9b7facc..0ee1780e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppScreenshotSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppScreenshotSets.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppCustomProductPageLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCustomProductPageLocalizations-appScreenshotSets-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDRelationships.swift index 9cac76b1..8d990545 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDRelationshipsAppPreviewSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDRelationshipsAppPreviewSets.swift index 9011776f..d010e088 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDRelationshipsAppPreviewSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDRelationshipsAppPreviewSets.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDRelationshipsAppScreenshotSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDRelationshipsAppScreenshotSets.swift index dd7ce03a..7eafd776 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDRelationshipsAppScreenshotSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDRelationshipsAppScreenshotSets.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersions.swift index 437508c6..1f1367b2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppCustomProductPageVersionCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appCustomProductPageVersions-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersionsWithID.swift index f57614ae..d59cdba6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersionsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppCustomProductPageVersions { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCustomProductPageVersions-get_instance") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersionsWithIDAppCustomProductPageLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersionsWithIDAppCustomProductPageLocalizations.swift index 1cd6a86f..ef7e7c4e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersionsWithIDAppCustomProductPageLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersionsWithIDAppCustomProductPageLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppCustomProductPageVersions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCustomProductPageVersions-appCustomProductPageLocalizations-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersionsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersionsWithIDRelationships.swift index 99a3ed95..52064f46 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersionsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersionsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersionsWithIDRelationshipsAppCustomProductPageLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersionsWithIDRelationshipsAppCustomProductPageLocalizations.swift index 60295795..3b828c23 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersionsWithIDRelationshipsAppCustomProductPageLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersionsWithIDRelationshipsAppCustomProductPageLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPages.swift index 278d5b5f..bcc74b31 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPages.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppCustomProductPageCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appCustomProductPages-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithID.swift index 17d3b932..649817c7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppCustomProductPages { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCustomProductPages-get_instance") } public struct GetParameters { @@ -65,11 +63,11 @@ extension APIEndpoint.V1.AppCustomProductPages { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppCustomProductPageUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appCustomProductPages-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "appCustomProductPages-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithIDAppCustomProductPageVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithIDAppCustomProductPageVersions.swift index 9c96e744..5fa570c8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithIDAppCustomProductPageVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithIDAppCustomProductPageVersions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppCustomProductPages.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCustomProductPages-appCustomProductPageVersions-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithIDRelationships.swift index 20c12184..adf69556 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithIDRelationshipsAppCustomProductPageVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithIDRelationshipsAppCustomProductPageVersions.swift index e6ea75c6..94e1f887 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithIDRelationshipsAppCustomProductPageVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithIDRelationshipsAppCustomProductPageVersions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationDocuments.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationDocuments.swift index 11f3a213..ef0c5a1b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationDocuments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationDocuments.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppEncryptionDeclarationDocumentCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appEncryptionDeclarationDocuments-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationDocumentsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationDocumentsWithID.swift index 7c13f5aa..050f23a5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationDocumentsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationDocumentsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppEncryptionDeclarationDocuments { public let path: String public func get(fieldsAppEncryptionDeclarationDocuments: [FieldsAppEncryptionDeclarationDocuments]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsAppEncryptionDeclarationDocuments)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppEncryptionDeclarationDocuments), id: "appEncryptionDeclarationDocuments-get_instance") } private func makeGetQuery(_ fieldsAppEncryptionDeclarationDocuments: [FieldsAppEncryptionDeclarationDocuments]?) -> [(String, String?)] { @@ -38,7 +36,7 @@ extension APIEndpoint.V1.AppEncryptionDeclarationDocuments { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppEncryptionDeclarationDocumentUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appEncryptionDeclarationDocuments-update_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarations.swift index 6fb8673c..b3873477 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appEncryptionDeclarations-get_collection") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithID.swift index 9bb65af6..12ad2ae9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppEncryptionDeclarations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appEncryptionDeclarations-get_instance") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDApp.swift index 9cf7712a..7ca85733 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDApp.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppEncryptionDeclarations.WithID { public let path: String public func get(fieldsApps: [FieldsApps]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsApps)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsApps), id: "appEncryptionDeclarations-app-get_to_one_related") } private func makeGetQuery(_ fieldsApps: [FieldsApps]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDAppEncryptionDeclarationDocument.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDAppEncryptionDeclarationDocument.swift index 893fd8db..78ab9f00 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDAppEncryptionDeclarationDocument.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDAppEncryptionDeclarationDocument.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppEncryptionDeclarations.WithID { public let path: String public func get(fieldsAppEncryptionDeclarationDocuments: [FieldsAppEncryptionDeclarationDocuments]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsAppEncryptionDeclarationDocuments)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppEncryptionDeclarationDocuments), id: "appEncryptionDeclarations-appEncryptionDeclarationDocument-get_to_one_related") } private func makeGetQuery(_ fieldsAppEncryptionDeclarationDocuments: [FieldsAppEncryptionDeclarationDocuments]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDRelationships.swift index 39ace3ce..be8c30ae 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDRelationshipsApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDRelationshipsApp.swift index 6b42f551..b2b7ded6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDRelationshipsApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDRelationshipsApp.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDRelationshipsAppEncryptionDeclarationDocument.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDRelationshipsAppEncryptionDeclarationDocument.swift index e96ff34d..99b0cbf6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDRelationshipsAppEncryptionDeclarationDocument.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDRelationshipsAppEncryptionDeclarationDocument.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDRelationshipsBuilds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDRelationshipsBuilds.swift index 4dad1d46..26094b1a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDRelationshipsBuilds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDRelationshipsBuilds.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -17,7 +15,7 @@ extension APIEndpoint.V1.AppEncryptionDeclarations.WithID.Relationships { @available(*, deprecated, message: "Deprecated") public func post(_ body: AppStoreConnect_Swift_SDK.AppEncryptionDeclarationBuildsLinkagesRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appEncryptionDeclarations-builds-create_to_many_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizations.swift index 763c6b93..32cbbf82 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppEventLocalizationCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appEventLocalizations-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithID.swift index 4a7fba93..aed471e5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppEventLocalizations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appEventLocalizations-get_instance") } public struct GetParameters { @@ -90,11 +88,11 @@ extension APIEndpoint.V1.AppEventLocalizations { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppEventLocalizationUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appEventLocalizations-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "appEventLocalizations-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDAppEventScreenshots.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDAppEventScreenshots.swift index 2467bca9..d7269008 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDAppEventScreenshots.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDAppEventScreenshots.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppEventLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appEventLocalizations-appEventScreenshots-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDAppEventVideoClips.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDAppEventVideoClips.swift index 028ecc91..d32bccf3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDAppEventVideoClips.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDAppEventVideoClips.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppEventLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appEventLocalizations-appEventVideoClips-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDRelationships.swift index aa274da9..138eabc2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDRelationshipsAppEventScreenshots.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDRelationshipsAppEventScreenshots.swift index 5520626e..0c00618b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDRelationshipsAppEventScreenshots.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDRelationshipsAppEventScreenshots.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDRelationshipsAppEventVideoClips.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDRelationshipsAppEventVideoClips.swift index 0abd53a1..459191ec 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDRelationshipsAppEventVideoClips.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDRelationshipsAppEventVideoClips.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventScreenshots.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventScreenshots.swift index 77693178..6c063f6c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventScreenshots.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventScreenshots.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppEventScreenshotCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appEventScreenshots-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventScreenshotsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventScreenshotsWithID.swift index 1391ba15..91d240b5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventScreenshotsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventScreenshotsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppEventScreenshots { public let path: String public func get(fieldsAppEventScreenshots: [FieldsAppEventScreenshots]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsAppEventScreenshots, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppEventScreenshots, include), id: "appEventScreenshots-get_instance") } private func makeGetQuery(_ fieldsAppEventScreenshots: [FieldsAppEventScreenshots]?, _ include: [Include]?) -> [(String, String?)] { @@ -43,11 +41,11 @@ extension APIEndpoint.V1.AppEventScreenshots { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppEventScreenshotUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appEventScreenshots-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "appEventScreenshots-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventVideoClips.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventVideoClips.swift index d291c35b..b3ac3325 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventVideoClips.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventVideoClips.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppEventVideoClipCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appEventVideoClips-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventVideoClipsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventVideoClipsWithID.swift index 4f5d4ac1..7c8ae260 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventVideoClipsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventVideoClipsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppEventVideoClips { public let path: String public func get(fieldsAppEventVideoClips: [FieldsAppEventVideoClips]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsAppEventVideoClips, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppEventVideoClips, include), id: "appEventVideoClips-get_instance") } private func makeGetQuery(_ fieldsAppEventVideoClips: [FieldsAppEventVideoClips]?, _ include: [Include]?) -> [(String, String?)] { @@ -44,11 +42,11 @@ extension APIEndpoint.V1.AppEventVideoClips { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppEventVideoClipUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appEventVideoClips-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "appEventVideoClips-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEvents.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEvents.swift index 73fa16e3..49ad7f99 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEvents.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEvents.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppEventCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appEvents-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithID.swift index 3f3bf107..d6a52a0e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppEvents { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appEvents-get_instance") } public struct GetParameters { @@ -72,11 +70,11 @@ extension APIEndpoint.V1.AppEvents { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppEventUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appEvents-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "appEvents-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithIDLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithIDLocalizations.swift index ee89edab..d37e7dd2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithIDLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithIDLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppEvents.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appEvents-localizations-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithIDRelationships.swift index 329afe65..9b2f73a4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithIDRelationshipsLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithIDRelationshipsLocalizations.swift index 0c97edc8..ed0332da 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithIDRelationshipsLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithIDRelationshipsLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfoLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfoLocalizations.swift index f015b005..fe577102 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfoLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfoLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppInfoLocalizationCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appInfoLocalizations-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfoLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfoLocalizationsWithID.swift index b9b5a305..1783be17 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfoLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfoLocalizationsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppInfoLocalizations { public let path: String public func get(fieldsAppInfoLocalizations: [FieldsAppInfoLocalizations]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsAppInfoLocalizations, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppInfoLocalizations, include), id: "appInfoLocalizations-get_instance") } private func makeGetQuery(_ fieldsAppInfoLocalizations: [FieldsAppInfoLocalizations]?, _ include: [Include]?) -> [(String, String?)] { @@ -41,11 +39,11 @@ extension APIEndpoint.V1.AppInfoLocalizations { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppInfoLocalizationUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appInfoLocalizations-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "appInfoLocalizations-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfos.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfos.swift index 31921e58..c1854996 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfos.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfos.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithID.swift index 52bcdfec..701c5dec 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppInfos { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appInfos-get_instance") } public struct GetParameters { @@ -114,7 +112,7 @@ extension APIEndpoint.V1.AppInfos { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppInfoUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appInfos-update_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAgeRatingDeclaration.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAgeRatingDeclaration.swift index beafaacb..39547a5d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAgeRatingDeclaration.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAgeRatingDeclaration.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppInfos.WithID { public let path: String public func get(fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsAgeRatingDeclarations)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsAgeRatingDeclarations), id: "appInfos-ageRatingDeclaration-get_to_one_related") } private func makeGetQuery(_ fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAppInfoLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAppInfoLocalizations.swift index 618ebe5e..2fac7322 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAppInfoLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAppInfoLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppInfos.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appInfos-appInfoLocalizations-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDPrimaryCategory.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDPrimaryCategory.swift index 18cd3224..a33244f6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDPrimaryCategory.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDPrimaryCategory.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppInfos.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appInfos-primaryCategory-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDPrimarySubcategoryOne.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDPrimarySubcategoryOne.swift index 3aa679e5..1d4e9f97 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDPrimarySubcategoryOne.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDPrimarySubcategoryOne.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppInfos.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appInfos-primarySubcategoryOne-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDPrimarySubcategoryTwo.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDPrimarySubcategoryTwo.swift index c61f7be6..e96a0885 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDPrimarySubcategoryTwo.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDPrimarySubcategoryTwo.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppInfos.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appInfos-primarySubcategoryTwo-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationships.swift index 77014894..4b546c85 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsAgeRatingDeclaration.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsAgeRatingDeclaration.swift index 755edfa1..3df45bd5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsAgeRatingDeclaration.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsAgeRatingDeclaration.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsAppInfoLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsAppInfoLocalizations.swift index c787849d..a0d0443c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsAppInfoLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsAppInfoLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsPrimaryCategory.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsPrimaryCategory.swift index b1e5bb10..dbdd0513 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsPrimaryCategory.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsPrimaryCategory.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsPrimarySubcategoryOne.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsPrimarySubcategoryOne.swift index 6fc406ed..12d7e359 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsPrimarySubcategoryOne.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsPrimarySubcategoryOne.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsPrimarySubcategoryTwo.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsPrimarySubcategoryTwo.swift index 5e6339df..3d56ec9d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsPrimarySubcategoryTwo.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsPrimarySubcategoryTwo.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsSecondaryCategory.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsSecondaryCategory.swift index cbd9cace..95796bf2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsSecondaryCategory.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsSecondaryCategory.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsSecondarySubcategoryOne.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsSecondarySubcategoryOne.swift index e934832d..5021971d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsSecondarySubcategoryOne.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsSecondarySubcategoryOne.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsSecondarySubcategoryTwo.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsSecondarySubcategoryTwo.swift index 7d3417c6..f7cb2ab0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsSecondarySubcategoryTwo.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsSecondarySubcategoryTwo.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDSecondaryCategory.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDSecondaryCategory.swift index 076eb38c..06c9c37e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDSecondaryCategory.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDSecondaryCategory.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppInfos.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appInfos-secondaryCategory-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDSecondarySubcategoryOne.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDSecondarySubcategoryOne.swift index 464292db..caa573c9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDSecondarySubcategoryOne.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDSecondarySubcategoryOne.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppInfos.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appInfos-secondarySubcategoryOne-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDSecondarySubcategoryTwo.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDSecondarySubcategoryTwo.swift index 523fb9fa..d53c688b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDSecondarySubcategoryTwo.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDSecondarySubcategoryTwo.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppInfos.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appInfos-secondarySubcategoryTwo-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreOrders.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreOrders.swift index 58377704..f3054e4f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreOrders.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreOrders.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -15,8 +13,9 @@ extension APIEndpoint.V1 { /// Path: `/v1/appPreOrders` public let path: String + @available(*, deprecated, message: "Deprecated") public func post(_ body: AppStoreConnect_Swift_SDK.AppPreOrderCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appPreOrders-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreOrdersWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreOrdersWithID.swift index f6427706..af24d655 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreOrdersWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreOrdersWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -15,8 +13,9 @@ extension APIEndpoint.V1.AppPreOrders { /// Path: `/v1/appPreOrders/{id}` public let path: String + @available(*, deprecated, message: "Deprecated") public func get(fieldsAppPreOrders: [FieldsAppPreOrders]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsAppPreOrders, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppPreOrders, include), id: "appPreOrders-get_instance") } private func makeGetQuery(_ fieldsAppPreOrders: [FieldsAppPreOrders]?, _ include: [Include]?) -> [(String, String?)] { @@ -36,12 +35,14 @@ extension APIEndpoint.V1.AppPreOrders { case app } + @available(*, deprecated, message: "Deprecated") public func patch(_ body: AppStoreConnect_Swift_SDK.AppPreOrderUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appPreOrders-update_instance") } + @available(*, deprecated, message: "Deprecated") public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "appPreOrders-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSets.swift index 02959d3a..e722d3ff 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSets.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppPreviewSetCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appPreviewSets-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithID.swift index 589e2963..7250d9d1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppPreviewSets { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appPreviewSets-get_instance") } public struct GetParameters { @@ -72,7 +70,7 @@ extension APIEndpoint.V1.AppPreviewSets { } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "appPreviewSets-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithIDAppPreviews.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithIDAppPreviews.swift index ba7ac44b..1ffd2cae 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithIDAppPreviews.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithIDAppPreviews.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppPreviewSets.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appPreviewSets-appPreviews-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithIDRelationships.swift index 6e842025..4c20f4fd 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithIDRelationshipsAppPreviews.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithIDRelationshipsAppPreviews.swift index 64d565aa..a8f56263 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithIDRelationshipsAppPreviews.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithIDRelationshipsAppPreviews.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppPreviewSets.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(limit)) + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "appPreviewSets-appPreviews-get_to_many_relationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -26,7 +24,7 @@ extension APIEndpoint.V1.AppPreviewSets.WithID.Relationships { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppPreviewSetAppPreviewsLinkagesRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appPreviewSets-appPreviews-replace_to_many_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviews.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviews.swift index f7efa9dc..657831f9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviews.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviews.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppPreviewCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appPreviews-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewsWithID.swift index 6448f222..1b39be28 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppPreviews { public let path: String public func get(fieldsAppPreviews: [FieldsAppPreviews]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsAppPreviews, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppPreviews, include), id: "appPreviews-get_instance") } private func makeGetQuery(_ fieldsAppPreviews: [FieldsAppPreviews]?, _ include: [Include]?) -> [(String, String?)] { @@ -45,11 +43,11 @@ extension APIEndpoint.V1.AppPreviews { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppPreviewUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appPreviews-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "appPreviews-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPricePoints.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPricePoints.swift index e74b9681..55351ff2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPricePoints.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPricePoints.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -17,7 +15,7 @@ extension APIEndpoint.V1 { @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appPricePoints-get_collection") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPricePointsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPricePointsWithID.swift index 4df1608f..ac902008 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPricePointsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPricePointsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -17,7 +15,7 @@ extension APIEndpoint.V1.AppPricePoints { @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appPricePoints-get_instance") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPricePointsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPricePointsWithIDRelationships.swift index b97ff93a..a8a6a1d1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPricePointsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPricePointsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPricePointsWithIDRelationshipsTerritory.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPricePointsWithIDRelationshipsTerritory.swift index a487782a..c528de02 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPricePointsWithIDRelationshipsTerritory.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPricePointsWithIDRelationshipsTerritory.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPricePointsWithIDTerritory.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPricePointsWithIDTerritory.swift index d6d1e5bf..b4e18c2b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPricePointsWithIDTerritory.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPricePointsWithIDTerritory.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -17,7 +15,7 @@ extension APIEndpoint.V1.AppPricePoints.WithID { @available(*, deprecated, message: "Deprecated") public func get(fieldsTerritories: [FieldsTerritories]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsTerritories)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsTerritories), id: "appPricePoints-territory-get_to_one_related") } private func makeGetQuery(_ fieldsTerritories: [FieldsTerritories]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedules.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedules.swift index d1589376..36dd4d15 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedules.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedules.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppPriceScheduleCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appPriceSchedules-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithID.swift index dd32cb03..b3dcade8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppPriceSchedules { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appPriceSchedules-get_instance") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDAutomaticPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDAutomaticPrices.swift index da468144..67f19e6d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDAutomaticPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDAutomaticPrices.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppPriceSchedules.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appPriceSchedules-automaticPrices-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDBaseTerritory.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDBaseTerritory.swift index 3b30dcae..1fd22a39 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDBaseTerritory.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDBaseTerritory.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppPriceSchedules.WithID { public let path: String public func get(fieldsTerritories: [FieldsTerritories]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsTerritories)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsTerritories), id: "appPriceSchedules-baseTerritory-get_to_one_related") } private func makeGetQuery(_ fieldsTerritories: [FieldsTerritories]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDManualPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDManualPrices.swift index ca766cdc..c0cf1298 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDManualPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDManualPrices.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppPriceSchedules.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appPriceSchedules-manualPrices-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDRelationships.swift index 209a3a22..13b17a99 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDRelationshipsAutomaticPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDRelationshipsAutomaticPrices.swift index c1d3eb4b..65e3f22e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDRelationshipsAutomaticPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDRelationshipsAutomaticPrices.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDRelationshipsBaseTerritory.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDRelationshipsBaseTerritory.swift index 7cb654a8..47139b1b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDRelationshipsBaseTerritory.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDRelationshipsBaseTerritory.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDRelationshipsManualPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDRelationshipsManualPrices.swift index eacb5848..70da80be 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDRelationshipsManualPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDRelationshipsManualPrices.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceTiers.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceTiers.swift index 420bff2b..e7dc4eca 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceTiers.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceTiers.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -17,7 +15,7 @@ extension APIEndpoint.V1 { @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appPriceTiers-get_collection") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceTiersWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceTiersWithID.swift index 6118e4c5..aaaa55d6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceTiersWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceTiersWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -17,7 +15,7 @@ extension APIEndpoint.V1.AppPriceTiers { @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appPriceTiers-get_instance") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceTiersWithIDPricePoints.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceTiersWithIDPricePoints.swift index 9c5bc7b5..4e2a77c3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceTiersWithIDPricePoints.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceTiersWithIDPricePoints.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -17,7 +15,7 @@ extension APIEndpoint.V1.AppPriceTiers.WithID { @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appPriceTiers-pricePoints-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceTiersWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceTiersWithIDRelationships.swift index 6145b90c..925e2a03 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceTiersWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceTiersWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceTiersWithIDRelationshipsPricePoints.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceTiersWithIDRelationshipsPricePoints.swift index 58eb317c..2c5f797c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceTiersWithIDRelationshipsPricePoints.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceTiersWithIDRelationshipsPricePoints.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPrices.swift index a4d8cc56..a2ddbabf 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPrices.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPricesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPricesWithID.swift index ad84ac69..5c6af147 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPricesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPricesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -17,7 +15,7 @@ extension APIEndpoint.V1.AppPrices { @available(*, deprecated, message: "Deprecated") public func get(fieldsAppPrices: [FieldsAppPrices]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsAppPrices, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppPrices, include), id: "appPrices-get_instance") } private func makeGetQuery(_ fieldsAppPrices: [FieldsAppPrices]?, _ include: [Include]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSets.swift index e9cfed74..ffbb6454 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSets.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppScreenshotSetCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appScreenshotSets-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithID.swift index 5d8a0fce..1957042a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppScreenshotSets { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appScreenshotSets-get_instance") } public struct GetParameters { @@ -71,7 +69,7 @@ extension APIEndpoint.V1.AppScreenshotSets { } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "appScreenshotSets-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithIDAppScreenshots.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithIDAppScreenshots.swift index 52a80a65..a70af7a6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithIDAppScreenshots.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithIDAppScreenshots.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppScreenshotSets.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appScreenshotSets-appScreenshots-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithIDRelationships.swift index ddfb2dce..6030a495 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithIDRelationshipsAppScreenshots.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithIDRelationshipsAppScreenshots.swift index dc959d65..b2ef790c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithIDRelationshipsAppScreenshots.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithIDRelationshipsAppScreenshots.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppScreenshotSets.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(limit)) + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "appScreenshotSets-appScreenshots-get_to_many_relationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -26,7 +24,7 @@ extension APIEndpoint.V1.AppScreenshotSets.WithID.Relationships { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppScreenshotSetAppScreenshotsLinkagesRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appScreenshotSets-appScreenshots-replace_to_many_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshots.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshots.swift index c81558d3..3c41890b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshots.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshots.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppScreenshotCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appScreenshots-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotsWithID.swift index f7e4f1d2..8bee7e17 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppScreenshots { public let path: String public func get(fieldsAppScreenshots: [FieldsAppScreenshots]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsAppScreenshots, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppScreenshots, include), id: "appScreenshots-get_instance") } private func makeGetQuery(_ fieldsAppScreenshots: [FieldsAppScreenshots]?, _ include: [Include]?) -> [(String, String?)] { @@ -44,11 +42,11 @@ extension APIEndpoint.V1.AppScreenshots { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppScreenshotUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appScreenshots-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "appScreenshots-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewAttachments.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewAttachments.swift index e716773b..d59e25bd 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewAttachments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewAttachments.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreReviewAttachmentCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appStoreReviewAttachments-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewAttachmentsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewAttachmentsWithID.swift index 560337fb..3edfa2d4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewAttachmentsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewAttachmentsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppStoreReviewAttachments { public let path: String public func get(fieldsAppStoreReviewAttachments: [FieldsAppStoreReviewAttachments]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsAppStoreReviewAttachments, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppStoreReviewAttachments, include), id: "appStoreReviewAttachments-get_instance") } private func makeGetQuery(_ fieldsAppStoreReviewAttachments: [FieldsAppStoreReviewAttachments]?, _ include: [Include]?) -> [(String, String?)] { @@ -41,11 +39,11 @@ extension APIEndpoint.V1.AppStoreReviewAttachments { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppStoreReviewAttachmentUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appStoreReviewAttachments-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "appStoreReviewAttachments-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetails.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetails.swift index f0f3eb46..8625acba 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetails.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetails.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreReviewDetailCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appStoreReviewDetails-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithID.swift index c8028d7f..017ce070 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppStoreReviewDetails { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreReviewDetails-get_instance") } public struct GetParameters { @@ -71,7 +69,7 @@ extension APIEndpoint.V1.AppStoreReviewDetails { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppStoreReviewDetailUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appStoreReviewDetails-update_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithIDAppStoreReviewAttachments.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithIDAppStoreReviewAttachments.swift index 3fab940d..de22f7f8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithIDAppStoreReviewAttachments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithIDAppStoreReviewAttachments.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppStoreReviewDetails.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreReviewDetails-appStoreReviewAttachments-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithIDRelationships.swift index 0b164ffb..7bc0cc2e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithIDRelationshipsAppStoreReviewAttachments.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithIDRelationshipsAppStoreReviewAttachments.swift index 54f714ad..ed8e5cde 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithIDRelationshipsAppStoreReviewAttachments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithIDRelationshipsAppStoreReviewAttachments.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizations.swift index dbdb0007..89d58a4a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionExperimentTreatmentLocalizationCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appStoreVersionExperimentTreatmentLocalizations-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithID.swift index 810b4173..52f4c0f3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppStoreVersionExperimentTreatmentLocalizations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperimentTreatmentLocalizations-get_instance") } public struct GetParameters { @@ -78,7 +76,7 @@ extension APIEndpoint.V1.AppStoreVersionExperimentTreatmentLocalizations { } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "appStoreVersionExperimentTreatmentLocalizations-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppPreviewSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppPreviewSets.swift index ff1625ea..04564691 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppPreviewSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppPreviewSets.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppStoreVersionExperimentTreatmentLocalizations.WithID public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperimentTreatmentLocalizations-appPreviewSets-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppScreenshotSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppScreenshotSets.swift index 41095b45..71b313e5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppScreenshotSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppScreenshotSets.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppStoreVersionExperimentTreatmentLocalizations.WithID public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperimentTreatmentLocalizations-appScreenshotSets-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDRelationships.swift index 6f3a6fa5..131f6b5f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDRelationshipsAppPreviewSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDRelationshipsAppPreviewSets.swift index fe8432e7..7992a227 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDRelationshipsAppPreviewSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDRelationshipsAppPreviewSets.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDRelationshipsAppScreenshotSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDRelationshipsAppScreenshotSets.swift index 03ae85af..346d0e1a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDRelationshipsAppScreenshotSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDRelationshipsAppScreenshotSets.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatments.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatments.swift index 6edcb5fd..68bc20fc 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatments.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionExperimentTreatmentCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appStoreVersionExperimentTreatments-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentsWithID.swift index 4d89192f..7a70b557 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppStoreVersionExperimentTreatments { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperimentTreatments-get_instance") } public struct GetParameters { @@ -66,11 +64,11 @@ extension APIEndpoint.V1.AppStoreVersionExperimentTreatments { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionExperimentTreatmentUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appStoreVersionExperimentTreatments-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "appStoreVersionExperimentTreatments-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentsWithIDAppStoreVersionExperimentTreatmentLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentsWithIDAppStoreVersionExperimentTreatmentLocalizations.swift index 26cc1320..4e8160bc 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentsWithIDAppStoreVersionExperimentTreatmentLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentsWithIDAppStoreVersionExperimentTreatmentLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppStoreVersionExperimentTreatments.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperimentTreatments-appStoreVersionExperimentTreatmentLocalizations-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentsWithIDRelationships.swift index cb36680f..471a15cf 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentsWithIDRelationshipsAppStoreVersionExperimentTreatmentLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentsWithIDRelationshipsAppStoreVersionExperimentTreatmentLocalizations.swift index 90717a8a..5c561b38 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentsWithIDRelationshipsAppStoreVersionExperimentTreatmentLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentsWithIDRelationshipsAppStoreVersionExperimentTreatmentLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperiments.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperiments.swift index d3522d26..6604847b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperiments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperiments.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -17,7 +15,7 @@ extension APIEndpoint.V1 { @available(*, deprecated, message: "Deprecated") public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionExperimentCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appStoreVersionExperiments-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithID.swift index 69d156af..7e8a83f5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -17,7 +15,7 @@ extension APIEndpoint.V1.AppStoreVersionExperiments { @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperiments-get_instance") } public struct GetParameters { @@ -72,12 +70,12 @@ extension APIEndpoint.V1.AppStoreVersionExperiments { @available(*, deprecated, message: "Deprecated") public func patch(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionExperimentUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appStoreVersionExperiments-update_instance") } @available(*, deprecated, message: "Deprecated") public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "appStoreVersionExperiments-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithIDAppStoreVersionExperimentTreatments.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithIDAppStoreVersionExperimentTreatments.swift index 563d137b..1023ad6d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithIDAppStoreVersionExperimentTreatments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithIDAppStoreVersionExperimentTreatments.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -17,7 +15,7 @@ extension APIEndpoint.V1.AppStoreVersionExperiments.WithID { @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperiments-appStoreVersionExperimentTreatments-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithIDRelationships.swift index 6aa7d189..c400b492 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithIDRelationshipsAppStoreVersionExperimentTreatments.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithIDRelationshipsAppStoreVersionExperimentTreatments.swift index a93087ae..bdcefd66 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithIDRelationshipsAppStoreVersionExperimentTreatments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithIDRelationshipsAppStoreVersionExperimentTreatments.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizations.swift index 5cfc51f8..65ec4652 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionLocalizationCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appStoreVersionLocalizations-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithID.swift index fa59a8da..68b8fbac 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppStoreVersionLocalizations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionLocalizations-get_instance") } public struct GetParameters { @@ -84,11 +82,11 @@ extension APIEndpoint.V1.AppStoreVersionLocalizations { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionLocalizationUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appStoreVersionLocalizations-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "appStoreVersionLocalizations-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppPreviewSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppPreviewSets.swift index 66e366ea..14bd4622 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppPreviewSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppPreviewSets.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppStoreVersionLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionLocalizations-appPreviewSets-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppScreenshotSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppScreenshotSets.swift index 81f510a5..fcb2b92a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppScreenshotSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppScreenshotSets.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppStoreVersionLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionLocalizations-appScreenshotSets-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDRelationships.swift index ad03df0c..da3a5e6a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDRelationshipsAppPreviewSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDRelationshipsAppPreviewSets.swift index 42973239..4e1d5ee4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDRelationshipsAppPreviewSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDRelationshipsAppPreviewSets.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDRelationshipsAppScreenshotSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDRelationshipsAppScreenshotSets.swift index b285cb1f..7a6830b0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDRelationshipsAppScreenshotSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDRelationshipsAppScreenshotSets.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionPhasedReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionPhasedReleases.swift index 616c57c2..0f55461f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionPhasedReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionPhasedReleases.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionPhasedReleaseCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appStoreVersionPhasedReleases-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionPhasedReleasesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionPhasedReleasesWithID.swift index 76138b40..890f4757 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionPhasedReleasesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionPhasedReleasesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,11 +14,11 @@ extension APIEndpoint.V1.AppStoreVersionPhasedReleases { public let path: String public func patch(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionPhasedReleaseUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appStoreVersionPhasedReleases-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "appStoreVersionPhasedReleases-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionPromotions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionPromotions.swift index 6ae40b0a..accb8c59 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionPromotions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionPromotions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionPromotionCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appStoreVersionPromotions-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionReleaseRequests.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionReleaseRequests.swift index 1abaf062..c6759943 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionReleaseRequests.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionReleaseRequests.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionReleaseRequestCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appStoreVersionReleaseRequests-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionSubmissions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionSubmissions.swift index 056f7c16..92f73115 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionSubmissions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionSubmissions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -17,7 +15,7 @@ extension APIEndpoint.V1 { @available(*, deprecated, message: "Deprecated") public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionSubmissionCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appStoreVersionSubmissions-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionSubmissionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionSubmissionsWithID.swift index b9ba10cf..64c3e576 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionSubmissionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionSubmissionsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -17,7 +15,7 @@ extension APIEndpoint.V1.AppStoreVersionSubmissions { @available(*, deprecated, message: "Deprecated") public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "appStoreVersionSubmissions-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersions.swift index f248193f..e281d66d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appStoreVersions-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithID.swift index 8b66afc0..6eb6b635 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppStoreVersions { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions-get_instance") } public struct GetParameters { @@ -243,11 +241,11 @@ extension APIEndpoint.V1.AppStoreVersions { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appStoreVersions-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "appStoreVersions-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAgeRatingDeclaration.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAgeRatingDeclaration.swift index deaa842b..c66f94f8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAgeRatingDeclaration.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAgeRatingDeclaration.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -17,7 +15,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { @available(*, deprecated, message: "Deprecated") public func get(fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsAgeRatingDeclarations)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsAgeRatingDeclarations), id: "appStoreVersions-ageRatingDeclaration-get_to_one_related") } private func makeGetQuery(_ fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppClipDefaultExperience.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppClipDefaultExperience.swift index 160a3ff7..7ec61f4c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppClipDefaultExperience.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppClipDefaultExperience.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions-appClipDefaultExperience-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreReviewDetail.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreReviewDetail.swift index a2be2209..ce1df925 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreReviewDetail.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreReviewDetail.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions-appStoreReviewDetail-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperiments.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperiments.swift index 23102842..9163fca9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperiments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperiments.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -17,7 +15,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions-appStoreVersionExperiments-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperimentsV2.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperimentsV2.swift index 0590e5f7..87bae20c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperimentsV2.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperimentsV2.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions-appStoreVersionExperimentsV2-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionLocalizations.swift index 20fda8bd..e28cfa8b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { public let path: String public func get(fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsAppStoreVersionLocalizations, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppStoreVersionLocalizations, limit), id: "appStoreVersions-appStoreVersionLocalizations-get_to_many_related") } private func makeGetQuery(_ fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionPhasedRelease.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionPhasedRelease.swift index 4e2a68a9..e6134c72 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionPhasedRelease.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionPhasedRelease.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { public let path: String public func get(fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsAppStoreVersionPhasedReleases)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppStoreVersionPhasedReleases), id: "appStoreVersions-appStoreVersionPhasedRelease-get_to_one_related") } private func makeGetQuery(_ fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionSubmission.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionSubmission.swift index 6d5098ef..95fcf240 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionSubmission.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionSubmission.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -17,7 +15,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions-appStoreVersionSubmission-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDBuild.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDBuild.swift index 1224dbb6..2d013777 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDBuild.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDBuild.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { public let path: String public func get(fieldsBuilds: [FieldsBuilds]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsBuilds)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsBuilds), id: "appStoreVersions-build-get_to_one_related") } private func makeGetQuery(_ fieldsBuilds: [FieldsBuilds]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDCustomerReviews.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDCustomerReviews.swift index 44fd69de..94c38314 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDCustomerReviews.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDCustomerReviews.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions-customerReviews-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationships.swift index e2894d8d..9dab33dd 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAgeRatingDeclaration.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAgeRatingDeclaration.swift index fe09221a..54c445f0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAgeRatingDeclaration.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAgeRatingDeclaration.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppClipDefaultExperience.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppClipDefaultExperience.swift index 5abd68f5..2a583f20 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppClipDefaultExperience.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppClipDefaultExperience.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,11 +14,11 @@ extension APIEndpoint.V1.AppStoreVersions.WithID.Relationships { public let path: String public var get: Request { - .get(path) + Request(path: path, method: "GET", id: "appStoreVersions-appClipDefaultExperience-get_to_one_relationship") } public func patch(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionAppClipDefaultExperienceLinkageRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appStoreVersions-appClipDefaultExperience-update_to_one_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppStoreReviewDetail.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppStoreReviewDetail.swift index 62bffa18..d6fd1e81 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppStoreReviewDetail.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppStoreReviewDetail.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppStoreVersionExperiments.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppStoreVersionExperiments.swift index ebab36fb..9b5eecfd 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppStoreVersionExperiments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppStoreVersionExperiments.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppStoreVersionExperimentsV2.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppStoreVersionExperimentsV2.swift index c7cc1897..2ffd8c2b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppStoreVersionExperimentsV2.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppStoreVersionExperimentsV2.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppStoreVersionLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppStoreVersionLocalizations.swift index f018b987..7d17e351 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppStoreVersionLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppStoreVersionLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppStoreVersionPhasedRelease.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppStoreVersionPhasedRelease.swift index 33e921ea..78eee9b1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppStoreVersionPhasedRelease.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppStoreVersionPhasedRelease.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppStoreVersionSubmission.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppStoreVersionSubmission.swift index 0845002b..90bedf2c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppStoreVersionSubmission.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppStoreVersionSubmission.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsBuild.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsBuild.swift index 2fdb7bd2..0b166393 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsBuild.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsBuild.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,11 +14,11 @@ extension APIEndpoint.V1.AppStoreVersions.WithID.Relationships { public let path: String public var get: Request { - .get(path) + Request(path: path, method: "GET", id: "appStoreVersions-build-get_to_one_relationship") } public func patch(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionBuildLinkageRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appStoreVersions-build-update_to_one_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsCustomerReviews.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsCustomerReviews.swift index 5f616d58..a21b1ef4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsCustomerReviews.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsCustomerReviews.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsRoutingAppCoverage.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsRoutingAppCoverage.swift index 47fdf4ab..8409e815 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsRoutingAppCoverage.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsRoutingAppCoverage.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRoutingAppCoverage.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRoutingAppCoverage.swift index d89609a0..407ddfcd 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRoutingAppCoverage.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRoutingAppCoverage.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { public let path: String public func get(fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsRoutingAppCoverages)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsRoutingAppCoverages), id: "appStoreVersions-routingAppCoverage-get_to_one_related") } private func makeGetQuery(_ fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Apps.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Apps.swift index 02171238..8f0d9e39 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Apps.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Apps.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-get_collection") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithID.swift index 29de6cc6..1691ad9c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-get_instance") } public struct GetParameters { @@ -598,7 +596,7 @@ extension APIEndpoint.V1.Apps { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "apps-update_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppAvailability.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppAvailability.swift index f6a97c95..b536f417 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppAvailability.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppAvailability.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -15,8 +13,9 @@ extension APIEndpoint.V1.Apps.WithID { /// Path: `/v1/apps/{id}/appAvailability` public let path: String + @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-appAvailability-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppClips.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppClips.swift index bd7686d6..0be5e516 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppClips.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppClips.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-appClips-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppCustomProductPages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppCustomProductPages.swift index b7a54ae6..d0f4b1c4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppCustomProductPages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppCustomProductPages.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-appCustomProductPages-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEncryptionDeclarations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEncryptionDeclarations.swift index 6e342105..89d5db5e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEncryptionDeclarations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEncryptionDeclarations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-appEncryptionDeclarations-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEvents.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEvents.swift index 10d7c191..d1a406ac 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEvents.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEvents.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-appEvents-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppInfos.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppInfos.swift index eacdfba8..49026f3e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppInfos.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppInfos.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-appInfos-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPricePoints.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPricePoints.swift index 74892ac3..c9aadd78 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPricePoints.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPricePoints.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-appPricePoints-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPriceSchedule.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPriceSchedule.swift index 4a80679e..dc81ba01 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPriceSchedule.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPriceSchedule.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-appPriceSchedule-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersionExperimentsV2.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersionExperimentsV2.swift index f6d4452b..b4c2e596 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersionExperimentsV2.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersionExperimentsV2.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-appStoreVersionExperimentsV2-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersions.swift index 5e417782..099d70d1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-appStoreVersions-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAvailableTerritories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAvailableTerritories.swift index c78a6918..ef43b364 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAvailableTerritories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAvailableTerritories.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -17,7 +15,7 @@ extension APIEndpoint.V1.Apps.WithID { @available(*, deprecated, message: "Deprecated") public func get(fieldsTerritories: [FieldsTerritories]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsTerritories, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsTerritories, limit), id: "apps-availableTerritories-get_to_many_related") } private func makeGetQuery(_ fieldsTerritories: [FieldsTerritories]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaAppLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaAppLocalizations.swift index 30b5adf3..870bc8fa 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaAppLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaAppLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsBetaAppLocalizations, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaAppLocalizations, limit), id: "apps-betaAppLocalizations-get_to_many_related") } private func makeGetQuery(_ fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaAppReviewDetail.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaAppReviewDetail.swift index d521a3cd..223a9f24 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaAppReviewDetail.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaAppReviewDetail.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsBetaAppReviewDetails)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaAppReviewDetails), id: "apps-betaAppReviewDetail-get_to_one_related") } private func makeGetQuery(_ fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaGroups.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaGroups.swift index 212399b4..7c9b23c0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaGroups.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaGroups.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(fieldsBetaGroups: [FieldsBetaGroups]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsBetaGroups, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaGroups, limit), id: "apps-betaGroups-get_to_many_related") } private func makeGetQuery(_ fieldsBetaGroups: [FieldsBetaGroups]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaLicenseAgreement.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaLicenseAgreement.swift index f3a06641..1eca060d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaLicenseAgreement.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaLicenseAgreement.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsBetaLicenseAgreements)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaLicenseAgreements), id: "apps-betaLicenseAgreement-get_to_one_related") } private func makeGetQuery(_ fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBuilds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBuilds.swift index 7f078086..e374eea7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBuilds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBuilds.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(fieldsBuilds: [FieldsBuilds]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsBuilds, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsBuilds, limit), id: "apps-builds-get_to_many_related") } private func makeGetQuery(_ fieldsBuilds: [FieldsBuilds]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDCiProduct.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDCiProduct.swift index 874b1d08..4cb6cec4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDCiProduct.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDCiProduct.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-ciProduct-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDCustomerReviews.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDCustomerReviews.swift index 1c25845f..3c51e600 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDCustomerReviews.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDCustomerReviews.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-customerReviews-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDEndUserLicenseAgreement.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDEndUserLicenseAgreement.swift index 77591030..a966c01e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDEndUserLicenseAgreement.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDEndUserLicenseAgreement.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsEndUserLicenseAgreements)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsEndUserLicenseAgreements), id: "apps-endUserLicenseAgreement-get_to_one_related") } private func makeGetQuery(_ fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterDetail.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterDetail.swift index ef527706..b9de8c70 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterDetail.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterDetail.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-gameCenterDetail-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterEnabledVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterEnabledVersions.swift index 2fe1af70..e17df48c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterEnabledVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterEnabledVersions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -17,7 +15,7 @@ extension APIEndpoint.V1.Apps.WithID { @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-gameCenterEnabledVersions-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchases.swift index ebb9caff..336633ac 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchases.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -17,7 +15,7 @@ extension APIEndpoint.V1.Apps.WithID { @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-inAppPurchases-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchasesV2.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchasesV2.swift index a83ff4ab..14c1bd6a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchasesV2.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchasesV2.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-inAppPurchasesV2-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMetrics.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMetrics.swift new file mode 100644 index 00000000..925a8a62 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMetrics.swift @@ -0,0 +1,16 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.Apps.WithID { + public var metrics: Metrics { + Metrics(path: path + "/metrics") + } + + public struct Metrics { + /// Path: `/v1/apps/{id}/metrics` + public let path: String + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMetricsBetaTesterUsages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMetricsBetaTesterUsages.swift new file mode 100644 index 00000000..70695552 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMetricsBetaTesterUsages.swift @@ -0,0 +1,47 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.Apps.WithID.Metrics { + public var betaTesterUsages: BetaTesterUsages { + BetaTesterUsages(path: path + "/betaTesterUsages") + } + + public struct BetaTesterUsages { + /// Path: `/v1/apps/{id}/metrics/betaTesterUsages` + public let path: String + + public func get(parameters: GetParameters? = nil) -> Request { + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-betaTesterUsages-get_metrics") + } + + public struct GetParameters { + public var limit: Int? + public var groupBy: [GroupBy]? + public var filterBetaTesters: String? + public var period: String? + + public enum GroupBy: String, Codable, CaseIterable { + case betaTesters + } + + public init(limit: Int? = nil, groupBy: [GroupBy]? = nil, filterBetaTesters: String? = nil, period: String? = nil) { + self.limit = limit + self.groupBy = groupBy + self.filterBetaTesters = filterBetaTesters + self.period = period + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(limit, forKey: "limit") + encoder.encode(groupBy, forKey: "groupBy") + encoder.encode(filterBetaTesters, forKey: "filter[betaTesters]") + encoder.encode(period, forKey: "period") + return encoder.items + } + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPerfPowerMetrics.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPerfPowerMetrics.swift index c7f9085a..1b99f94e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPerfPowerMetrics.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPerfPowerMetrics.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-perfPowerMetrics-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPreOrder.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPreOrder.swift index ed4e3de7..b03b434c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPreOrder.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPreOrder.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -15,8 +13,9 @@ extension APIEndpoint.V1.Apps.WithID { /// Path: `/v1/apps/{id}/preOrder` public let path: String + @available(*, deprecated, message: "Deprecated") public func get(fieldsAppPreOrders: [FieldsAppPreOrders]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsAppPreOrders)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppPreOrders), id: "apps-preOrder-get_to_one_related") } private func makeGetQuery(_ fieldsAppPreOrders: [FieldsAppPreOrders]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPreReleaseVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPreReleaseVersions.swift index 934ec01b..eb75a891 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPreReleaseVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPreReleaseVersions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsPreReleaseVersions, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsPreReleaseVersions, limit), id: "apps-preReleaseVersions-get_to_many_related") } private func makeGetQuery(_ fieldsPreReleaseVersions: [FieldsPreReleaseVersions]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPricePoints.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPricePoints.swift index 469f0fa1..445cec0b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPricePoints.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPricePoints.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -17,7 +15,7 @@ extension APIEndpoint.V1.Apps.WithID { @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-pricePoints-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPrices.swift index 68a8c7b2..04e19ba5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPrices.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -17,7 +15,7 @@ extension APIEndpoint.V1.Apps.WithID { @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-prices-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPromotedPurchases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPromotedPurchases.swift index 13ef6532..3b8a393c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPromotedPurchases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPromotedPurchases.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-promotedPurchases-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationships.swift index 502bdc13..ff95f416 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppAvailability.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppAvailability.swift index 009ca14b..ea7ba210 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppAvailability.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppAvailability.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppClips.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppClips.swift index db642fbf..9d6621a4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppClips.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppClips.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppCustomProductPages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppCustomProductPages.swift index bde2173e..f9fe704a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppCustomProductPages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppCustomProductPages.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppEncryptionDeclarations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppEncryptionDeclarations.swift index c04afe9b..ce57d2e2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppEncryptionDeclarations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppEncryptionDeclarations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppEvents.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppEvents.swift index 77c61c89..2466f412 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppEvents.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppEvents.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppInfos.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppInfos.swift index 973ab5d6..3441403a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppInfos.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppInfos.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppPricePoints.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppPricePoints.swift index f9e54b67..1b91f2cf 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppPricePoints.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppPricePoints.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppPriceSchedule.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppPriceSchedule.swift index 858717d5..8b399453 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppPriceSchedule.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppPriceSchedule.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppStoreVersionExperimentsV2.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppStoreVersionExperimentsV2.swift index ebe8ab84..88cd3216 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppStoreVersionExperimentsV2.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppStoreVersionExperimentsV2.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppStoreVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppStoreVersions.swift index 4907e198..116555d9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppStoreVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppStoreVersions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAvailableTerritories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAvailableTerritories.swift index 5d8614dd..43914934 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAvailableTerritories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAvailableTerritories.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaAppLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaAppLocalizations.swift index 1e59849d..59e4f21b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaAppLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaAppLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaAppReviewDetail.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaAppReviewDetail.swift index 761f4628..c34de666 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaAppReviewDetail.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaAppReviewDetail.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaGroups.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaGroups.swift index 812e5c93..26d6122a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaGroups.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaGroups.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaLicenseAgreement.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaLicenseAgreement.swift index d4718c5e..48f88284 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaLicenseAgreement.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaLicenseAgreement.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaTesters.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaTesters.swift index 68b154d7..2ade60be 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaTesters.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaTesters.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID.Relationships { public let path: String public func delete(_ body: AppStoreConnect_Swift_SDK.AppBetaTestersLinkagesRequest) -> Request { - .delete(path, body: body) + Request(path: path, method: "DELETE", body: body, id: "apps-betaTesters-delete_to_many_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBuilds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBuilds.swift index c6e812e8..576bc760 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBuilds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBuilds.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsCiProduct.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsCiProduct.swift index 6d155d54..369c9858 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsCiProduct.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsCiProduct.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsCustomerReviews.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsCustomerReviews.swift index 1716d298..2778fb77 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsCustomerReviews.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsCustomerReviews.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsEndUserLicenseAgreement.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsEndUserLicenseAgreement.swift index b9b88b13..11019643 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsEndUserLicenseAgreement.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsEndUserLicenseAgreement.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsGameCenterDetail.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsGameCenterDetail.swift index a2519918..8735a171 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsGameCenterDetail.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsGameCenterDetail.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsGameCenterEnabledVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsGameCenterEnabledVersions.swift index 2ac6e947..d5d9b6af 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsGameCenterEnabledVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsGameCenterEnabledVersions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsInAppPurchases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsInAppPurchases.swift index 7966244d..5f1a1bd7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsInAppPurchases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsInAppPurchases.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsInAppPurchasesV2.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsInAppPurchasesV2.swift index 0b6c495a..a9bad8a6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsInAppPurchasesV2.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsInAppPurchasesV2.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsPreOrder.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsPreOrder.swift index 61cbd44c..a69e83bf 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsPreOrder.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsPreOrder.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsPreReleaseVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsPreReleaseVersions.swift index d5b4dff4..58b8a88b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsPreReleaseVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsPreReleaseVersions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsPricePoints.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsPricePoints.swift index bd57ab47..a96ffcaf 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsPricePoints.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsPricePoints.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsPrices.swift index 0204a36c..ebadfd47 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsPrices.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsPromotedPurchases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsPromotedPurchases.swift index 8677460f..3ff0ac75 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsPromotedPurchases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsPromotedPurchases.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(limit)) + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "apps-promotedPurchases-get_to_many_relationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -26,7 +24,7 @@ extension APIEndpoint.V1.Apps.WithID.Relationships { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppPromotedPurchasesLinkagesRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "apps-promotedPurchases-replace_to_many_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsReviewSubmissions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsReviewSubmissions.swift index 1e4fbc4d..70436635 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsReviewSubmissions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsReviewSubmissions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsSubscriptionGracePeriod.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsSubscriptionGracePeriod.swift index 24f8505b..ea028846 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsSubscriptionGracePeriod.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsSubscriptionGracePeriod.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsSubscriptionGroups.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsSubscriptionGroups.swift index 632ab742..b3701229 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsSubscriptionGroups.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsSubscriptionGroups.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDReviewSubmissions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDReviewSubmissions.swift index d67af72b..f6906796 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDReviewSubmissions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDReviewSubmissions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-reviewSubmissions-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGracePeriod.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGracePeriod.swift index a32f1b73..8d993a96 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGracePeriod.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGracePeriod.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsSubscriptionGracePeriods)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsSubscriptionGracePeriods), id: "apps-subscriptionGracePeriod-get_to_one_related") } private func makeGetQuery(_ fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGroups.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGroups.swift index 0b31d189..25ca6936 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGroups.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGroups.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-subscriptionGroups-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationLocalizations.swift index d5a9f8a0..54f4d248 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.BetaAppClipInvocationLocalizationCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "betaAppClipInvocationLocalizations-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationLocalizationsWithID.swift index 20e9e890..e400e0d5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationLocalizationsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,11 +14,11 @@ extension APIEndpoint.V1.BetaAppClipInvocationLocalizations { public let path: String public func patch(_ body: AppStoreConnect_Swift_SDK.BetaAppClipInvocationLocalizationUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "betaAppClipInvocationLocalizations-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "betaAppClipInvocationLocalizations-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocations.swift index 08d1611b..8edfe45f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.BetaAppClipInvocationCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "betaAppClipInvocations-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationsWithID.swift index 0a669f97..7146387a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BetaAppClipInvocations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaAppClipInvocations-get_instance") } public struct GetParameters { @@ -50,11 +48,11 @@ extension APIEndpoint.V1.BetaAppClipInvocations { } public func patch(_ body: AppStoreConnect_Swift_SDK.BetaAppClipInvocationUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "betaAppClipInvocations-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "betaAppClipInvocations-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizations.swift index 2f9588f5..94449a1f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaAppLocalizations-get_collection") } public struct GetParameters { @@ -110,7 +108,7 @@ extension APIEndpoint.V1 { } public func post(_ body: AppStoreConnect_Swift_SDK.BetaAppLocalizationCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "betaAppLocalizations-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithID.swift index 9c47e225..ac37e362 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BetaAppLocalizations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaAppLocalizations-get_instance") } public struct GetParameters { @@ -101,11 +99,11 @@ extension APIEndpoint.V1.BetaAppLocalizations { } public func patch(_ body: AppStoreConnect_Swift_SDK.BetaAppLocalizationUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "betaAppLocalizations-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "betaAppLocalizations-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDApp.swift index 8812db2e..263187a0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDApp.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BetaAppLocalizations.WithID { public let path: String public func get(fieldsApps: [FieldsApps]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsApps)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsApps), id: "betaAppLocalizations-app-get_to_one_related") } private func makeGetQuery(_ fieldsApps: [FieldsApps]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDRelationships.swift index c525b1ca..15de1e31 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDRelationshipsApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDRelationshipsApp.swift index 75dcdf44..159de719 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDRelationshipsApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDRelationshipsApp.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetails.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetails.swift index 14ff2389..921d08e8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetails.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetails.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters) -> Request { - .get(path, query: parameters.asQuery) + Request(path: path, method: "GET", query: parameters.asQuery, id: "betaAppReviewDetails-get_collection") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithID.swift index ad7c54bc..b3cc3bbe 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BetaAppReviewDetails { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaAppReviewDetails-get_instance") } public struct GetParameters { @@ -103,7 +101,7 @@ extension APIEndpoint.V1.BetaAppReviewDetails { } public func patch(_ body: AppStoreConnect_Swift_SDK.BetaAppReviewDetailUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "betaAppReviewDetails-update_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDApp.swift index 68c6e07e..cac7378e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDApp.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BetaAppReviewDetails.WithID { public let path: String public func get(fieldsApps: [FieldsApps]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsApps)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsApps), id: "betaAppReviewDetails-app-get_to_one_related") } private func makeGetQuery(_ fieldsApps: [FieldsApps]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDRelationships.swift index d4ddffbd..d7c737e7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDRelationshipsApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDRelationshipsApp.swift index a7181365..2d0a25f1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDRelationshipsApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDRelationshipsApp.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissions.swift index d6cd4964..305ff8b5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters) -> Request { - .get(path, query: parameters.asQuery) + Request(path: path, method: "GET", query: parameters.asQuery, id: "betaAppReviewSubmissions-get_collection") } public struct GetParameters { @@ -93,7 +91,7 @@ extension APIEndpoint.V1 { } public func post(_ body: AppStoreConnect_Swift_SDK.BetaAppReviewSubmissionCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "betaAppReviewSubmissions-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithID.swift index 55071915..20880079 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BetaAppReviewSubmissions { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaAppReviewSubmissions-get_instance") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithIDBuild.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithIDBuild.swift index c33f9e04..13a5ee42 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithIDBuild.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithIDBuild.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BetaAppReviewSubmissions.WithID { public let path: String public func get(fieldsBuilds: [FieldsBuilds]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsBuilds)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsBuilds), id: "betaAppReviewSubmissions-build-get_to_one_related") } private func makeGetQuery(_ fieldsBuilds: [FieldsBuilds]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithIDRelationships.swift index 23dd748e..6e1e6e58 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithIDRelationshipsBuild.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithIDRelationshipsBuild.swift index c1ae52a4..538133b7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithIDRelationshipsBuild.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithIDRelationshipsBuild.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizations.swift index 79fc1ba4..72bff2c7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaBuildLocalizations-get_collection") } public struct GetParameters { @@ -86,7 +84,7 @@ extension APIEndpoint.V1 { } public func post(_ body: AppStoreConnect_Swift_SDK.BetaBuildLocalizationCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "betaBuildLocalizations-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithID.swift index 4be8c3fd..23fdb6b1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BetaBuildLocalizations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaBuildLocalizations-get_instance") } public struct GetParameters { @@ -77,11 +75,11 @@ extension APIEndpoint.V1.BetaBuildLocalizations { } public func patch(_ body: AppStoreConnect_Swift_SDK.BetaBuildLocalizationUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "betaBuildLocalizations-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "betaBuildLocalizations-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithIDBuild.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithIDBuild.swift index cff2d967..aee86e30 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithIDBuild.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithIDBuild.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BetaBuildLocalizations.WithID { public let path: String public func get(fieldsBuilds: [FieldsBuilds]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsBuilds)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsBuilds), id: "betaBuildLocalizations-build-get_to_one_related") } private func makeGetQuery(_ fieldsBuilds: [FieldsBuilds]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithIDRelationships.swift index 00e561e8..917fb689 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithIDRelationshipsBuild.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithIDRelationshipsBuild.swift index 59fa7947..dd1f0cd4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithIDRelationshipsBuild.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithIDRelationshipsBuild.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroups.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroups.swift index 5ce23f78..da2ea154 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroups.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroups.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaGroups-get_collection") } public struct GetParameters { @@ -200,7 +198,7 @@ extension APIEndpoint.V1 { } public func post(_ body: AppStoreConnect_Swift_SDK.BetaGroupCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "betaGroups-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithID.swift index f0ded7e1..de806fc4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BetaGroups { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaGroups-get_instance") } public struct GetParameters { @@ -159,11 +157,11 @@ extension APIEndpoint.V1.BetaGroups { } public func patch(_ body: AppStoreConnect_Swift_SDK.BetaGroupUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "betaGroups-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "betaGroups-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDApp.swift index cadf91f5..06bf2464 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDApp.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BetaGroups.WithID { public let path: String public func get(fieldsApps: [FieldsApps]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsApps)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsApps), id: "betaGroups-app-get_to_one_related") } private func makeGetQuery(_ fieldsApps: [FieldsApps]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDBetaTesters.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDBetaTesters.swift index b4d01755..0b9a7fab 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDBetaTesters.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDBetaTesters.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BetaGroups.WithID { public let path: String public func get(fieldsBetaTesters: [FieldsBetaTesters]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsBetaTesters, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaTesters, limit), id: "betaGroups-betaTesters-get_to_many_related") } private func makeGetQuery(_ fieldsBetaTesters: [FieldsBetaTesters]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDBuilds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDBuilds.swift index 737af7ee..8ce8977f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDBuilds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDBuilds.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BetaGroups.WithID { public let path: String public func get(fieldsBuilds: [FieldsBuilds]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsBuilds, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsBuilds, limit), id: "betaGroups-builds-get_to_many_related") } private func makeGetQuery(_ fieldsBuilds: [FieldsBuilds]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDMetrics.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDMetrics.swift new file mode 100644 index 00000000..1f77f4dd --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDMetrics.swift @@ -0,0 +1,16 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.BetaGroups.WithID { + public var metrics: Metrics { + Metrics(path: path + "/metrics") + } + + public struct Metrics { + /// Path: `/v1/betaGroups/{id}/metrics` + public let path: String + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDMetricsBetaTesterUsages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDMetricsBetaTesterUsages.swift new file mode 100644 index 00000000..d612ecb1 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDMetricsBetaTesterUsages.swift @@ -0,0 +1,47 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.BetaGroups.WithID.Metrics { + public var betaTesterUsages: BetaTesterUsages { + BetaTesterUsages(path: path + "/betaTesterUsages") + } + + public struct BetaTesterUsages { + /// Path: `/v1/betaGroups/{id}/metrics/betaTesterUsages` + public let path: String + + public func get(parameters: GetParameters? = nil) -> Request { + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaGroups-betaTesterUsages-get_metrics") + } + + public struct GetParameters { + public var limit: Int? + public var groupBy: [GroupBy]? + public var filterBetaTesters: String? + public var period: String? + + public enum GroupBy: String, Codable, CaseIterable { + case betaTesters + } + + public init(limit: Int? = nil, groupBy: [GroupBy]? = nil, filterBetaTesters: String? = nil, period: String? = nil) { + self.limit = limit + self.groupBy = groupBy + self.filterBetaTesters = filterBetaTesters + self.period = period + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(limit, forKey: "limit") + encoder.encode(groupBy, forKey: "groupBy") + encoder.encode(filterBetaTesters, forKey: "filter[betaTesters]") + encoder.encode(period, forKey: "period") + return encoder.items + } + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationships.swift index b003b340..552fbe04 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationshipsApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationshipsApp.swift index 81719701..039a5ed8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationshipsApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationshipsApp.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationshipsBetaTesters.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationshipsBetaTesters.swift index ce60f347..e5df0a74 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationshipsBetaTesters.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationshipsBetaTesters.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BetaGroups.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(limit)) + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "betaGroups-betaTesters-get_to_many_relationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -26,11 +24,11 @@ extension APIEndpoint.V1.BetaGroups.WithID.Relationships { } public func post(_ body: AppStoreConnect_Swift_SDK.BetaGroupBetaTestersLinkagesRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "betaGroups-betaTesters-create_to_many_relationship") } public func delete(_ body: AppStoreConnect_Swift_SDK.BetaGroupBetaTestersLinkagesRequest) -> Request { - .delete(path, body: body) + Request(path: path, method: "DELETE", body: body, id: "betaGroups-betaTesters-delete_to_many_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationshipsBuilds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationshipsBuilds.swift index 361838af..61abd499 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationshipsBuilds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationshipsBuilds.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BetaGroups.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(limit)) + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "betaGroups-builds-get_to_many_relationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -26,11 +24,11 @@ extension APIEndpoint.V1.BetaGroups.WithID.Relationships { } public func post(_ body: AppStoreConnect_Swift_SDK.BetaGroupBuildsLinkagesRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "betaGroups-builds-create_to_many_relationship") } public func delete(_ body: AppStoreConnect_Swift_SDK.BetaGroupBuildsLinkagesRequest) -> Request { - .delete(path, body: body) + Request(path: path, method: "DELETE", body: body, id: "betaGroups-builds-delete_to_many_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreements.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreements.swift index 9acc91f3..c7b789a4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreements.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreements.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaLicenseAgreements-get_collection") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithID.swift index a5f829e5..3749fdbd 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BetaLicenseAgreements { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaLicenseAgreements-get_instance") } public struct GetParameters { @@ -96,7 +94,7 @@ extension APIEndpoint.V1.BetaLicenseAgreements { } public func patch(_ body: AppStoreConnect_Swift_SDK.BetaLicenseAgreementUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "betaLicenseAgreements-update_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDApp.swift index 53ebca9a..ebf41fb5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDApp.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BetaLicenseAgreements.WithID { public let path: String public func get(fieldsApps: [FieldsApps]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsApps)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsApps), id: "betaLicenseAgreements-app-get_to_one_related") } private func makeGetQuery(_ fieldsApps: [FieldsApps]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDRelationships.swift index 2b7ca15f..629011b0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDRelationshipsApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDRelationshipsApp.swift index 99b525dc..33b5da91 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDRelationshipsApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDRelationshipsApp.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTesterInvitations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTesterInvitations.swift index 7341c4cc..46cfdbdc 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTesterInvitations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTesterInvitations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.BetaTesterInvitationCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "betaTesterInvitations-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTesters.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTesters.swift index 223c8ba5..9e4d7a47 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTesters.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTesters.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaTesters-get_collection") } public struct GetParameters { @@ -208,7 +206,7 @@ extension APIEndpoint.V1 { } public func post(_ body: AppStoreConnect_Swift_SDK.BetaTesterCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "betaTesters-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithID.swift index 762c0cd9..c24e7791 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BetaTesters { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaTesters-get_instance") } public struct GetParameters { @@ -162,7 +160,7 @@ extension APIEndpoint.V1.BetaTesters { } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "betaTesters-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDApps.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDApps.swift index d9c91481..8e60fac7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDApps.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDApps.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BetaTesters.WithID { public let path: String public func get(fieldsApps: [FieldsApps]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsApps, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsApps, limit), id: "betaTesters-apps-get_to_many_related") } private func makeGetQuery(_ fieldsApps: [FieldsApps]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDBetaGroups.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDBetaGroups.swift index ffca6b1f..e226dfd9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDBetaGroups.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDBetaGroups.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BetaTesters.WithID { public let path: String public func get(fieldsBetaGroups: [FieldsBetaGroups]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsBetaGroups, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaGroups, limit), id: "betaTesters-betaGroups-get_to_many_related") } private func makeGetQuery(_ fieldsBetaGroups: [FieldsBetaGroups]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDBuilds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDBuilds.swift index 7e84b798..21776beb 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDBuilds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDBuilds.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BetaTesters.WithID { public let path: String public func get(fieldsBuilds: [FieldsBuilds]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsBuilds, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsBuilds, limit), id: "betaTesters-builds-get_to_many_related") } private func makeGetQuery(_ fieldsBuilds: [FieldsBuilds]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDMetrics.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDMetrics.swift new file mode 100644 index 00000000..dbb6488a --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDMetrics.swift @@ -0,0 +1,16 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.BetaTesters.WithID { + public var metrics: Metrics { + Metrics(path: path + "/metrics") + } + + public struct Metrics { + /// Path: `/v1/betaTesters/{id}/metrics` + public let path: String + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDMetricsBetaTesterUsages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDMetricsBetaTesterUsages.swift new file mode 100644 index 00000000..5c4ccc9f --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDMetricsBetaTesterUsages.swift @@ -0,0 +1,40 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.BetaTesters.WithID.Metrics { + public var betaTesterUsages: BetaTesterUsages { + BetaTesterUsages(path: path + "/betaTesterUsages") + } + + public struct BetaTesterUsages { + /// Path: `/v1/betaTesters/{id}/metrics/betaTesterUsages` + public let path: String + + public func get(parameters: GetParameters? = nil) -> Request { + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaTesters-betaTesterUsages-get_metrics") + } + + public struct GetParameters { + public var limit: Int? + public var filterApps: String? + public var period: String? + + public init(limit: Int? = nil, filterApps: String? = nil, period: String? = nil) { + self.limit = limit + self.filterApps = filterApps + self.period = period + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(limit, forKey: "limit") + encoder.encode(filterApps, forKey: "filter[apps]") + encoder.encode(period, forKey: "period") + return encoder.items + } + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationships.swift index 1a33fc5b..9f70cd11 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationshipsApps.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationshipsApps.swift index ad951768..328cdd69 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationshipsApps.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationshipsApps.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BetaTesters.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(limit)) + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "betaTesters-apps-get_to_many_relationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -26,7 +24,7 @@ extension APIEndpoint.V1.BetaTesters.WithID.Relationships { } public func delete(_ body: AppStoreConnect_Swift_SDK.BetaTesterAppsLinkagesRequest) -> Request { - .delete(path, body: body) + Request(path: path, method: "DELETE", body: body, id: "betaTesters-apps-delete_to_many_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationshipsBetaGroups.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationshipsBetaGroups.swift index 418d2611..6313fa0f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationshipsBetaGroups.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationshipsBetaGroups.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BetaTesters.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(limit)) + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "betaTesters-betaGroups-get_to_many_relationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -26,11 +24,11 @@ extension APIEndpoint.V1.BetaTesters.WithID.Relationships { } public func post(_ body: AppStoreConnect_Swift_SDK.BetaTesterBetaGroupsLinkagesRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "betaTesters-betaGroups-create_to_many_relationship") } public func delete(_ body: AppStoreConnect_Swift_SDK.BetaTesterBetaGroupsLinkagesRequest) -> Request { - .delete(path, body: body) + Request(path: path, method: "DELETE", body: body, id: "betaTesters-betaGroups-delete_to_many_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationshipsBuilds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationshipsBuilds.swift index 6be26b59..c2b03821 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationshipsBuilds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationshipsBuilds.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BetaTesters.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(limit)) + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "betaTesters-builds-get_to_many_relationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -26,11 +24,11 @@ extension APIEndpoint.V1.BetaTesters.WithID.Relationships { } public func post(_ body: AppStoreConnect_Swift_SDK.BetaTesterBuildsLinkagesRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "betaTesters-builds-create_to_many_relationship") } public func delete(_ body: AppStoreConnect_Swift_SDK.BetaTesterBuildsLinkagesRequest) -> Request { - .delete(path, body: body) + Request(path: path, method: "DELETE", body: body, id: "betaTesters-builds-delete_to_many_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetails.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetails.swift index 65001169..497af235 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetails.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetails.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "buildBetaDetails-get_collection") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithID.swift index b301fdc0..c66b2dde 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BuildBetaDetails { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "buildBetaDetails-get_instance") } public struct GetParameters { @@ -78,7 +76,7 @@ extension APIEndpoint.V1.BuildBetaDetails { } public func patch(_ body: AppStoreConnect_Swift_SDK.BuildBetaDetailUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "buildBetaDetails-update_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithIDBuild.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithIDBuild.swift index bdde42e2..cc8bb2c3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithIDBuild.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithIDBuild.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BuildBetaDetails.WithID { public let path: String public func get(fieldsBuilds: [FieldsBuilds]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsBuilds)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsBuilds), id: "buildBetaDetails-build-get_to_one_related") } private func makeGetQuery(_ fieldsBuilds: [FieldsBuilds]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithIDRelationships.swift index 279cf3dc..a262d077 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithIDRelationshipsBuild.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithIDRelationshipsBuild.swift index 35c887f9..10242706 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithIDRelationshipsBuild.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithIDRelationshipsBuild.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaNotifications.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaNotifications.swift index f7ed2e75..fdd4fe40 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaNotifications.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaNotifications.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.BuildBetaNotificationCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "buildBetaNotifications-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundles.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundles.swift index f05e7e2f..1d8628d6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundles.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundles.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithID.swift index 64f4ed0e..9b9c100c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDAppClipDomainCacheStatus.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDAppClipDomainCacheStatus.swift index bd678303..7fee9dd3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDAppClipDomainCacheStatus.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDAppClipDomainCacheStatus.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BuildBundles.WithID { public let path: String public func get(fieldsAppClipDomainStatuses: [FieldsAppClipDomainStatuses]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsAppClipDomainStatuses)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppClipDomainStatuses), id: "buildBundles-appClipDomainCacheStatus-get_to_one_related") } private func makeGetQuery(_ fieldsAppClipDomainStatuses: [FieldsAppClipDomainStatuses]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDAppClipDomainDebugStatus.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDAppClipDomainDebugStatus.swift index eb8efd48..d0595e2f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDAppClipDomainDebugStatus.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDAppClipDomainDebugStatus.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BuildBundles.WithID { public let path: String public func get(fieldsAppClipDomainStatuses: [FieldsAppClipDomainStatuses]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsAppClipDomainStatuses)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppClipDomainStatuses), id: "buildBundles-appClipDomainDebugStatus-get_to_one_related") } private func makeGetQuery(_ fieldsAppClipDomainStatuses: [FieldsAppClipDomainStatuses]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDBetaAppClipInvocations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDBetaAppClipInvocations.swift index b3d384ea..23401e21 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDBetaAppClipInvocations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDBetaAppClipInvocations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BuildBundles.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "buildBundles-betaAppClipInvocations-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDBuildBundleFileSizes.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDBuildBundleFileSizes.swift index 094933b3..45344c78 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDBuildBundleFileSizes.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDBuildBundleFileSizes.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BuildBundles.WithID { public let path: String public func get(fieldsBuildBundleFileSizes: [FieldsBuildBundleFileSizes]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsBuildBundleFileSizes, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsBuildBundleFileSizes, limit), id: "buildBundles-buildBundleFileSizes-get_to_many_related") } private func makeGetQuery(_ fieldsBuildBundleFileSizes: [FieldsBuildBundleFileSizes]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDRelationships.swift index b4c8a1e0..0199713a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDRelationshipsAppClipDomainCacheStatus.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDRelationshipsAppClipDomainCacheStatus.swift index b334f780..0b0fcb60 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDRelationshipsAppClipDomainCacheStatus.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDRelationshipsAppClipDomainCacheStatus.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDRelationshipsAppClipDomainDebugStatus.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDRelationshipsAppClipDomainDebugStatus.swift index d6191071..2604537c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDRelationshipsAppClipDomainDebugStatus.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDRelationshipsAppClipDomainDebugStatus.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDRelationshipsBetaAppClipInvocations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDRelationshipsBetaAppClipInvocations.swift index b1b89dfc..0b821b72 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDRelationshipsBetaAppClipInvocations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDRelationshipsBetaAppClipInvocations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDRelationshipsBuildBundleFileSizes.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDRelationshipsBuildBundleFileSizes.swift index 0f99cd52..2f4feb9c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDRelationshipsBuildBundleFileSizes.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDRelationshipsBuildBundleFileSizes.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Builds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Builds.swift index 0649e765..0bb467eb 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Builds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Builds.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "builds-get_collection") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithID.swift index f7bbc313..83d9fcf1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Builds { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "builds-get_instance") } public struct GetParameters { @@ -271,7 +269,7 @@ extension APIEndpoint.V1.Builds { } public func patch(_ body: AppStoreConnect_Swift_SDK.BuildUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "builds-update_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDApp.swift index 91ad7936..62ab78f3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDApp.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Builds.WithID { public let path: String public func get(fieldsApps: [FieldsApps]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsApps)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsApps), id: "builds-app-get_to_one_related") } private func makeGetQuery(_ fieldsApps: [FieldsApps]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDAppEncryptionDeclaration.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDAppEncryptionDeclaration.swift index e33bcaac..501e84ef 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDAppEncryptionDeclaration.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDAppEncryptionDeclaration.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Builds.WithID { public let path: String public func get(fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsAppEncryptionDeclarations)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppEncryptionDeclarations), id: "builds-appEncryptionDeclaration-get_to_one_related") } private func makeGetQuery(_ fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDAppStoreVersion.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDAppStoreVersion.swift index 1483927e..318a2ad1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDAppStoreVersion.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDAppStoreVersion.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Builds.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "builds-appStoreVersion-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDBetaAppReviewSubmission.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDBetaAppReviewSubmission.swift index edc8b9a8..ce3a48d0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDBetaAppReviewSubmission.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDBetaAppReviewSubmission.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Builds.WithID { public let path: String public func get(fieldsBetaAppReviewSubmissions: [FieldsBetaAppReviewSubmissions]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsBetaAppReviewSubmissions)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaAppReviewSubmissions), id: "builds-betaAppReviewSubmission-get_to_one_related") } private func makeGetQuery(_ fieldsBetaAppReviewSubmissions: [FieldsBetaAppReviewSubmissions]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDBetaBuildLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDBetaBuildLocalizations.swift index 7d011c1b..10a2dcab 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDBetaBuildLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDBetaBuildLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Builds.WithID { public let path: String public func get(fieldsBetaBuildLocalizations: [FieldsBetaBuildLocalizations]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsBetaBuildLocalizations, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaBuildLocalizations, limit), id: "builds-betaBuildLocalizations-get_to_many_related") } private func makeGetQuery(_ fieldsBetaBuildLocalizations: [FieldsBetaBuildLocalizations]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDBuildBetaDetail.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDBuildBetaDetail.swift index 1c8c28ec..89608311 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDBuildBetaDetail.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDBuildBetaDetail.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Builds.WithID { public let path: String public func get(fieldsBuildBetaDetails: [FieldsBuildBetaDetails]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsBuildBetaDetails)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsBuildBetaDetails), id: "builds-buildBetaDetail-get_to_one_related") } private func makeGetQuery(_ fieldsBuildBetaDetails: [FieldsBuildBetaDetails]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDDiagnosticSignatures.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDDiagnosticSignatures.swift index 168fe9a1..beb0046b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDDiagnosticSignatures.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDDiagnosticSignatures.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Builds.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "builds-diagnosticSignatures-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDIcons.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDIcons.swift index 0ec3f04f..af735221 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDIcons.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDIcons.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Builds.WithID { public let path: String public func get(fieldsBuildIcons: [FieldsBuildIcons]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsBuildIcons, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsBuildIcons, limit), id: "builds-icons-get_to_many_related") } private func makeGetQuery(_ fieldsBuildIcons: [FieldsBuildIcons]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDIndividualTesters.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDIndividualTesters.swift index 6f44803c..8b4ccd82 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDIndividualTesters.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDIndividualTesters.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Builds.WithID { public let path: String public func get(fieldsBetaTesters: [FieldsBetaTesters]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsBetaTesters, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaTesters, limit), id: "builds-individualTesters-get_to_many_related") } private func makeGetQuery(_ fieldsBetaTesters: [FieldsBetaTesters]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDMetrics.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDMetrics.swift new file mode 100644 index 00000000..31cc3006 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDMetrics.swift @@ -0,0 +1,16 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.Builds.WithID { + public var metrics: Metrics { + Metrics(path: path + "/metrics") + } + + public struct Metrics { + /// Path: `/v1/builds/{id}/metrics` + public let path: String + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDMetricsBetaBuildUsages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDMetricsBetaBuildUsages.swift new file mode 100644 index 00000000..fcafab52 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDMetricsBetaBuildUsages.swift @@ -0,0 +1,26 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.Builds.WithID.Metrics { + public var betaBuildUsages: BetaBuildUsages { + BetaBuildUsages(path: path + "/betaBuildUsages") + } + + public struct BetaBuildUsages { + /// Path: `/v1/builds/{id}/metrics/betaBuildUsages` + public let path: String + + public func get(limit: Int? = nil) -> Request { + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "builds-betaBuildUsages-get_metrics") + } + + private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { + let encoder = URLQueryEncoder() + encoder.encode(limit, forKey: "limit") + return encoder.items + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDPerfPowerMetrics.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDPerfPowerMetrics.swift index 843f8234..fa113d17 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDPerfPowerMetrics.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDPerfPowerMetrics.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Builds.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "builds-perfPowerMetrics-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDPreReleaseVersion.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDPreReleaseVersion.swift index 5c48d462..97fa395e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDPreReleaseVersion.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDPreReleaseVersion.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Builds.WithID { public let path: String public func get(fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsPreReleaseVersions)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsPreReleaseVersions), id: "builds-preReleaseVersion-get_to_one_related") } private func makeGetQuery(_ fieldsPreReleaseVersions: [FieldsPreReleaseVersions]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationships.swift index fb9efc97..48308a69 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsApp.swift index 90377ee7..256d3210 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsApp.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsAppEncryptionDeclaration.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsAppEncryptionDeclaration.swift index 68f7fdf3..dd279a6a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsAppEncryptionDeclaration.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsAppEncryptionDeclaration.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,11 +14,11 @@ extension APIEndpoint.V1.Builds.WithID.Relationships { public let path: String public var get: Request { - .get(path) + Request(path: path, method: "GET", id: "builds-appEncryptionDeclaration-get_to_one_relationship") } public func patch(_ body: AppStoreConnect_Swift_SDK.BuildAppEncryptionDeclarationLinkageRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "builds-appEncryptionDeclaration-update_to_one_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsAppStoreVersion.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsAppStoreVersion.swift index 47841ceb..55c6a66e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsAppStoreVersion.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsAppStoreVersion.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsBetaAppReviewSubmission.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsBetaAppReviewSubmission.swift index 2b96cbac..a3974d36 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsBetaAppReviewSubmission.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsBetaAppReviewSubmission.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsBetaBuildLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsBetaBuildLocalizations.swift index c867c0e2..8838da9e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsBetaBuildLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsBetaBuildLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsBetaGroups.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsBetaGroups.swift index 4e4c81d5..ad7f9e28 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsBetaGroups.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsBetaGroups.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,11 +14,11 @@ extension APIEndpoint.V1.Builds.WithID.Relationships { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.BuildBetaGroupsLinkagesRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "builds-betaGroups-create_to_many_relationship") } public func delete(_ body: AppStoreConnect_Swift_SDK.BuildBetaGroupsLinkagesRequest) -> Request { - .delete(path, body: body) + Request(path: path, method: "DELETE", body: body, id: "builds-betaGroups-delete_to_many_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsBuildBetaDetail.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsBuildBetaDetail.swift index 4de1494f..b986d55a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsBuildBetaDetail.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsBuildBetaDetail.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsDiagnosticSignatures.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsDiagnosticSignatures.swift index 3ec7c3cb..4aa4d8bb 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsDiagnosticSignatures.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsDiagnosticSignatures.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsIcons.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsIcons.swift index 1fe6b36d..6e0f3b2b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsIcons.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsIcons.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsIndividualTesters.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsIndividualTesters.swift index afc837d1..8ea666e4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsIndividualTesters.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsIndividualTesters.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Builds.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(limit)) + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "builds-individualTesters-get_to_many_relationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -26,11 +24,11 @@ extension APIEndpoint.V1.Builds.WithID.Relationships { } public func post(_ body: AppStoreConnect_Swift_SDK.BuildIndividualTestersLinkagesRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "builds-individualTesters-create_to_many_relationship") } public func delete(_ body: AppStoreConnect_Swift_SDK.BuildIndividualTestersLinkagesRequest) -> Request { - .delete(path, body: body) + Request(path: path, method: "DELETE", body: body, id: "builds-individualTesters-delete_to_many_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsPreReleaseVersion.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsPreReleaseVersion.swift index a327fad4..98b86086 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsPreReleaseVersion.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsPreReleaseVersion.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDCapabilities.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDCapabilities.swift index 45ba2dc2..1fa90b6a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDCapabilities.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDCapabilities.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.BundleIDCapabilityCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "bundleIdCapabilities-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDCapabilitiesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDCapabilitiesWithID.swift index 958ea6df..8dd98442 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDCapabilitiesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDCapabilitiesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,11 +14,11 @@ extension APIEndpoint.V1.BundleIDCapabilities { public let path: String public func patch(_ body: AppStoreConnect_Swift_SDK.BundleIDCapabilityUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "bundleIdCapabilities-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "bundleIdCapabilities-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDs.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDs.swift index ba192ae3..3a1018f3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDs.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDs.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "bundleIds-get_collection") } public struct GetParameters { @@ -174,7 +172,7 @@ extension APIEndpoint.V1 { } public func post(_ body: AppStoreConnect_Swift_SDK.BundleIDCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "bundleIds-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithID.swift index 679ae689..f1762983 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BundleIDs { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "bundleIds-get_instance") } public struct GetParameters { @@ -135,11 +133,11 @@ extension APIEndpoint.V1.BundleIDs { } public func patch(_ body: AppStoreConnect_Swift_SDK.BundleIDUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "bundleIds-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "bundleIds-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDApp.swift index 779dd07c..45c3d5f2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDApp.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BundleIDs.WithID { public let path: String public func get(fieldsApps: [FieldsApps]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsApps)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsApps), id: "bundleIds-app-get_to_one_related") } private func makeGetQuery(_ fieldsApps: [FieldsApps]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDBundleIDCapabilities.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDBundleIDCapabilities.swift index 7420ef78..b3c89581 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDBundleIDCapabilities.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDBundleIDCapabilities.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BundleIDs.WithID { public let path: String public func get(fieldsBundleIDCapabilities: [FieldsBundleIDCapabilities]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsBundleIDCapabilities, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsBundleIDCapabilities, limit), id: "bundleIds-bundleIdCapabilities-get_to_many_related") } private func makeGetQuery(_ fieldsBundleIDCapabilities: [FieldsBundleIDCapabilities]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDProfiles.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDProfiles.swift index 1e7e178d..d74408d9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDProfiles.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDProfiles.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.BundleIDs.WithID { public let path: String public func get(fieldsProfiles: [FieldsProfiles]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsProfiles, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsProfiles, limit), id: "bundleIds-profiles-get_to_many_related") } private func makeGetQuery(_ fieldsProfiles: [FieldsProfiles]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDRelationships.swift index 6a2c85ec..751748f1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDRelationshipsApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDRelationshipsApp.swift index 284603d0..85fe6cc3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDRelationshipsApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDRelationshipsApp.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDRelationshipsBundleIDCapabilities.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDRelationshipsBundleIDCapabilities.swift index 38c34533..062cd1b8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDRelationshipsBundleIDCapabilities.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDRelationshipsBundleIDCapabilities.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDRelationshipsProfiles.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDRelationshipsProfiles.swift index 9d9d3049..ed1d3fbf 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDRelationshipsProfiles.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDRelationshipsProfiles.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Certificates.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Certificates.swift index 53d7fc64..3758496f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Certificates.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Certificates.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "certificates-get_collection") } public struct GetParameters { @@ -88,7 +86,7 @@ extension APIEndpoint.V1 { } public func post(_ body: AppStoreConnect_Swift_SDK.CertificateCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "certificates-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CertificatesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CertificatesWithID.swift index 9ef8ac65..b0d2aee9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CertificatesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CertificatesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Certificates { public let path: String public func get(fieldsCertificates: [FieldsCertificates]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsCertificates)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsCertificates), id: "certificates-get_instance") } private func makeGetQuery(_ fieldsCertificates: [FieldsCertificates]?) -> [(String, String?)] { @@ -37,7 +35,7 @@ extension APIEndpoint.V1.Certificates { } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "certificates-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiArtifacts.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiArtifacts.swift index b240b86a..4dc08b6a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiArtifacts.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiArtifacts.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiArtifactsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiArtifactsWithID.swift index df8ef44d..d668ff1a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiArtifactsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiArtifactsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CiArtifacts { public let path: String public func get(fieldsCiArtifacts: [FieldsCiArtifacts]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsCiArtifacts)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsCiArtifacts), id: "ciArtifacts-get_instance") } private func makeGetQuery(_ fieldsCiArtifacts: [FieldsCiArtifacts]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActions.swift index 34623f6b..5830e9c3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithID.swift index e06dad62..ea9739db 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CiBuildActions { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciBuildActions-get_instance") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDArtifacts.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDArtifacts.swift index 627e2831..6d5ea324 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDArtifacts.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDArtifacts.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CiBuildActions.WithID { public let path: String public func get(fieldsCiArtifacts: [FieldsCiArtifacts]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsCiArtifacts, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsCiArtifacts, limit), id: "ciBuildActions-artifacts-get_to_many_related") } private func makeGetQuery(_ fieldsCiArtifacts: [FieldsCiArtifacts]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDBuildRun.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDBuildRun.swift index 065b40d5..b00bc290 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDBuildRun.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDBuildRun.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CiBuildActions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciBuildActions-buildRun-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDIssues.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDIssues.swift index d33b1043..a78c8060 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDIssues.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDIssues.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CiBuildActions.WithID { public let path: String public func get(fieldsCiIssues: [FieldsCiIssues]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsCiIssues, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsCiIssues, limit), id: "ciBuildActions-issues-get_to_many_related") } private func makeGetQuery(_ fieldsCiIssues: [FieldsCiIssues]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDRelationships.swift index 138aae0d..b07316c1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDRelationshipsArtifacts.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDRelationshipsArtifacts.swift index 214356a7..b5d2d320 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDRelationshipsArtifacts.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDRelationshipsArtifacts.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDRelationshipsBuildRun.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDRelationshipsBuildRun.swift index 77550930..73dc1435 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDRelationshipsBuildRun.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDRelationshipsBuildRun.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDRelationshipsIssues.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDRelationshipsIssues.swift index ca009c71..5b8b6942 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDRelationshipsIssues.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDRelationshipsIssues.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDRelationshipsTestResults.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDRelationshipsTestResults.swift index 3d3f031b..fdb78cec 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDRelationshipsTestResults.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDRelationshipsTestResults.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDTestResults.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDTestResults.swift index 7d47b8de..e7c2017c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDTestResults.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDTestResults.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CiBuildActions.WithID { public let path: String public func get(fieldsCiTestResults: [FieldsCiTestResults]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsCiTestResults, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsCiTestResults, limit), id: "ciBuildActions-testResults-get_to_many_related") } private func makeGetQuery(_ fieldsCiTestResults: [FieldsCiTestResults]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRuns.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRuns.swift index d2152020..ef51dc7a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRuns.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRuns.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.CiBuildRunCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "ciBuildRuns-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithID.swift index 704e6d9f..b7d06b34 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CiBuildRuns { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciBuildRuns-get_instance") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDActions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDActions.swift index 512131b3..7713085c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDActions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDActions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CiBuildRuns.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciBuildRuns-actions-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDBuilds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDBuilds.swift index 10435f1e..d1233fae 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDBuilds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDBuilds.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CiBuildRuns.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciBuildRuns-builds-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDRelationships.swift index f225d4ab..810334e5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDRelationshipsActions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDRelationshipsActions.swift index 8ca8bd0f..d868d3de 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDRelationshipsActions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDRelationshipsActions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDRelationshipsBuilds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDRelationshipsBuilds.swift index 88ff19c4..9490b6d3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDRelationshipsBuilds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDRelationshipsBuilds.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiIssues.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiIssues.swift index 4d181075..08bd327e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiIssues.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiIssues.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiIssuesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiIssuesWithID.swift index c0b65e03..a7c95334 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiIssuesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiIssuesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CiIssues { public let path: String public func get(fieldsCiIssues: [FieldsCiIssues]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsCiIssues)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsCiIssues), id: "ciIssues-get_instance") } private func makeGetQuery(_ fieldsCiIssues: [FieldsCiIssues]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersions.swift index 793d9653..bc30bac7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciMacOsVersions-get_collection") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersionsWithID.swift index 80576d4d..3192ea87 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersionsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CiMacOsVersions { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciMacOsVersions-get_instance") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersionsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersionsWithIDRelationships.swift index 86bf2012..89831ada 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersionsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersionsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersionsWithIDRelationshipsXcodeVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersionsWithIDRelationshipsXcodeVersions.swift index 10786b7d..ecdb1200 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersionsWithIDRelationshipsXcodeVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersionsWithIDRelationshipsXcodeVersions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersionsWithIDXcodeVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersionsWithIDXcodeVersions.swift index 61ae0ae6..f7b593ff 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersionsWithIDXcodeVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersionsWithIDXcodeVersions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CiMacOsVersions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciMacOsVersions-xcodeVersions-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProducts.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProducts.swift index 559c7e9e..ab4fe920 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProducts.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProducts.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciProducts-get_collection") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithID.swift index ca3fd9d8..e74935bd 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CiProducts { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciProducts-get_instance") } public struct GetParameters { @@ -173,7 +171,7 @@ extension APIEndpoint.V1.CiProducts { } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "ciProducts-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDAdditionalRepositories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDAdditionalRepositories.swift index 2101f9ee..593b64b7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDAdditionalRepositories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDAdditionalRepositories.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CiProducts.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciProducts-additionalRepositories-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDApp.swift index abbfb858..d3200119 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDApp.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CiProducts.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciProducts-app-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDBuildRuns.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDBuildRuns.swift index 1cc3d788..38c712b2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDBuildRuns.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDBuildRuns.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CiProducts.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciProducts-buildRuns-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDPrimaryRepositories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDPrimaryRepositories.swift index aebc89c8..3033e8a2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDPrimaryRepositories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDPrimaryRepositories.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CiProducts.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciProducts-primaryRepositories-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationships.swift index 2929d232..026367b2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationshipsAdditionalRepositories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationshipsAdditionalRepositories.swift index 38e3c068..c99897d0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationshipsAdditionalRepositories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationshipsAdditionalRepositories.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationshipsApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationshipsApp.swift index 65d382ff..6d251fe4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationshipsApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationshipsApp.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationshipsBuildRuns.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationshipsBuildRuns.swift index 4f3d9471..ef33abdc 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationshipsBuildRuns.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationshipsBuildRuns.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationshipsPrimaryRepositories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationshipsPrimaryRepositories.swift index cf645ede..4f88e9b1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationshipsPrimaryRepositories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationshipsPrimaryRepositories.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationshipsWorkflows.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationshipsWorkflows.swift index 12ee3a54..1e687a80 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationshipsWorkflows.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationshipsWorkflows.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDWorkflows.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDWorkflows.swift index fd104cde..f3a52ce2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDWorkflows.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDWorkflows.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CiProducts.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciProducts-workflows-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiTestResults.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiTestResults.swift index 1b85ee61..a957d9e5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiTestResults.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiTestResults.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiTestResultsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiTestResultsWithID.swift index 7ceca4be..f39f2f63 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiTestResultsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiTestResultsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CiTestResults { public let path: String public func get(fieldsCiTestResults: [FieldsCiTestResults]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsCiTestResults)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsCiTestResults), id: "ciTestResults-get_instance") } private func makeGetQuery(_ fieldsCiTestResults: [FieldsCiTestResults]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflows.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflows.swift index ad421bb2..353b4e07 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflows.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflows.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.CiWorkflowCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "ciWorkflows-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithID.swift index f810ddc4..f5bb83e8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CiWorkflows { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciWorkflows-get_instance") } public struct GetParameters { @@ -106,11 +104,11 @@ extension APIEndpoint.V1.CiWorkflows { } public func patch(_ body: AppStoreConnect_Swift_SDK.CiWorkflowUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "ciWorkflows-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "ciWorkflows-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDBuildRuns.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDBuildRuns.swift index cdb77db7..8e36a444 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDBuildRuns.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDBuildRuns.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CiWorkflows.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciWorkflows-buildRuns-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDRelationships.swift index 6e95b338..a24856b3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDRelationshipsBuildRuns.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDRelationshipsBuildRuns.swift index 8d2c6512..80675540 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDRelationshipsBuildRuns.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDRelationshipsBuildRuns.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDRelationshipsRepository.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDRelationshipsRepository.swift index e92f204a..22f3a991 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDRelationshipsRepository.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDRelationshipsRepository.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDRepository.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDRepository.swift index f1d8ada0..56ad2379 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDRepository.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDRepository.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CiWorkflows.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciWorkflows-repository-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersions.swift index dc512256..8abb7395 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciXcodeVersions-get_collection") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersionsWithID.swift index ad75b9c5..984f9b83 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersionsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CiXcodeVersions { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciXcodeVersions-get_instance") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersionsWithIDMacOsVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersionsWithIDMacOsVersions.swift index dcf99b86..c3d8771a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersionsWithIDMacOsVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersionsWithIDMacOsVersions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CiXcodeVersions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciXcodeVersions-macOsVersions-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersionsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersionsWithIDRelationships.swift index e0516a70..4def99c6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersionsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersionsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersionsWithIDRelationshipsMacOsVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersionsWithIDRelationshipsMacOsVersions.swift index 42c8e006..e623e655 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersionsWithIDRelationshipsMacOsVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersionsWithIDRelationshipsMacOsVersions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewResponses.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewResponses.swift index 416da052..acb98e6f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewResponses.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewResponses.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.CustomerReviewResponseV1CreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "customerReviewResponses-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewResponsesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewResponsesWithID.swift index aa3cffb5..a9935f54 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewResponsesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewResponsesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CustomerReviewResponses { public let path: String public func get(fieldsCustomerReviewResponses: [FieldsCustomerReviewResponses]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsCustomerReviewResponses, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsCustomerReviewResponses, include), id: "customerReviewResponses-get_instance") } private func makeGetQuery(_ fieldsCustomerReviewResponses: [FieldsCustomerReviewResponses]?, _ include: [Include]?) -> [(String, String?)] { @@ -38,7 +36,7 @@ extension APIEndpoint.V1.CustomerReviewResponses { } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "customerReviewResponses-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviews.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviews.swift index 41ac3369..af1a2263 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviews.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviews.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithID.swift index 5c7afa61..e78713e1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CustomerReviews { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "customerReviews-get_instance") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithIDRelationships.swift index d9afb5b4..6dda5bfc 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithIDRelationshipsResponse.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithIDRelationshipsResponse.swift index c1965762..51ee7b63 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithIDRelationshipsResponse.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithIDRelationshipsResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithIDResponse.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithIDResponse.swift index 75c64a3d..f3f60a37 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithIDResponse.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithIDResponse.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.CustomerReviews.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "customerReviews-response-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Devices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Devices.swift index 530f388d..316a898f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Devices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Devices.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "devices-get_collection") } public struct GetParameters { @@ -88,7 +86,7 @@ extension APIEndpoint.V1 { } public func post(_ body: AppStoreConnect_Swift_SDK.DeviceCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "devices-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1DevicesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1DevicesWithID.swift index bb886deb..f80ce9b9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1DevicesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1DevicesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Devices { public let path: String public func get(fieldsDevices: [FieldsDevices]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsDevices)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsDevices), id: "devices-get_instance") } private func makeGetQuery(_ fieldsDevices: [FieldsDevices]?) -> [(String, String?)] { @@ -36,7 +34,7 @@ extension APIEndpoint.V1.Devices { } public func patch(_ body: AppStoreConnect_Swift_SDK.DeviceUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "devices-update_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1DiagnosticSignatures.swift b/Sources/OpenAPI/Generated/Paths/PathsV1DiagnosticSignatures.swift index 5e7ab22e..213c67f6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1DiagnosticSignatures.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1DiagnosticSignatures.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1DiagnosticSignaturesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1DiagnosticSignaturesWithID.swift index ce650678..cd146c69 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1DiagnosticSignaturesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1DiagnosticSignaturesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1DiagnosticSignaturesWithIDLogs.swift b/Sources/OpenAPI/Generated/Paths/PathsV1DiagnosticSignaturesWithIDLogs.swift index f64f6609..35606e96 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1DiagnosticSignaturesWithIDLogs.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1DiagnosticSignaturesWithIDLogs.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.DiagnosticSignatures.WithID { public let path: String public func get(limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(limit)) + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "diagnosticSignatures-logs-get_to_many_related") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1EndAppAvailabilityPreOrders.swift b/Sources/OpenAPI/Generated/Paths/PathsV1EndAppAvailabilityPreOrders.swift index bc8299b4..6e440ef7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1EndAppAvailabilityPreOrders.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1EndAppAvailabilityPreOrders.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.EndAppAvailabilityPreOrderCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "endAppAvailabilityPreOrders-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreements.swift b/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreements.swift index 3c590aef..6d057f11 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreements.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreements.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.EndUserLicenseAgreementCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "endUserLicenseAgreements-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreementsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreementsWithID.swift index 055086f4..6dc7de45 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreementsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreementsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.EndUserLicenseAgreements { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "endUserLicenseAgreements-get_instance") } public struct GetParameters { @@ -58,11 +56,11 @@ extension APIEndpoint.V1.EndUserLicenseAgreements { } public func patch(_ body: AppStoreConnect_Swift_SDK.EndUserLicenseAgreementUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "endUserLicenseAgreements-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "endUserLicenseAgreements-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreementsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreementsWithIDRelationships.swift index 39f4733a..235aa2bc 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreementsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreementsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreementsWithIDRelationshipsTerritories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreementsWithIDRelationshipsTerritories.swift index 5cff26ce..47c9c006 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreementsWithIDRelationshipsTerritories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreementsWithIDRelationshipsTerritories.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreementsWithIDTerritories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreementsWithIDTerritories.swift index 3eed0711..7d1d9e52 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreementsWithIDTerritories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreementsWithIDTerritories.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.EndUserLicenseAgreements.WithID { public let path: String public func get(fieldsTerritories: [FieldsTerritories]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsTerritories, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsTerritories, limit), id: "endUserLicenseAgreements-territories-get_to_many_related") } private func makeGetQuery(_ fieldsTerritories: [FieldsTerritories]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1FinanceReports.swift b/Sources/OpenAPI/Generated/Paths/PathsV1FinanceReports.swift index 3fb58217..2ddef09f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1FinanceReports.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1FinanceReports.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters) -> Request { - .get(path, query: parameters.asQuery) + Request(path: path, method: "GET", query: parameters.asQuery, id: "financeReports-get_collection") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementImages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementImages.swift index 37f92f2c..79b72d7f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementImages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementImages.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterAchievementImageCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "gameCenterAchievementImages-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementImagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementImagesWithID.swift index f854fca3..4ef0a094 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementImagesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementImagesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterAchievementImages { public let path: String public func get(fieldsGameCenterAchievementImages: [FieldsGameCenterAchievementImages]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsGameCenterAchievementImages, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterAchievementImages, include), id: "gameCenterAchievementImages-get_instance") } private func makeGetQuery(_ fieldsGameCenterAchievementImages: [FieldsGameCenterAchievementImages]?, _ include: [Include]?) -> [(String, String?)] { @@ -41,11 +39,11 @@ extension APIEndpoint.V1.GameCenterAchievementImages { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterAchievementImageUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "gameCenterAchievementImages-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "gameCenterAchievementImages-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizations.swift index 8487c408..1508111f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterAchievementLocalizationCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "gameCenterAchievementLocalizations-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithID.swift index 8967bcbb..00096a85 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterAchievementLocalizations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAchievementLocalizations-get_instance") } public struct GetParameters { @@ -81,11 +79,11 @@ extension APIEndpoint.V1.GameCenterAchievementLocalizations { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterAchievementLocalizationUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "gameCenterAchievementLocalizations-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "gameCenterAchievementLocalizations-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDGameCenterAchievement.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDGameCenterAchievement.swift index 56dd3cda..70bd4672 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDGameCenterAchievement.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDGameCenterAchievement.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterAchievementLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAchievementLocalizations-gameCenterAchievement-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDGameCenterAchievementImage.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDGameCenterAchievementImage.swift index 3e90e65e..84ba97c4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDGameCenterAchievementImage.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDGameCenterAchievementImage.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterAchievementLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAchievementLocalizations-gameCenterAchievementImage-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDRelationships.swift index 40c1dcbc..fc0b9fd9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDRelationshipsGameCenterAchievement.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDRelationshipsGameCenterAchievement.swift index 6462c2db..28883656 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDRelationshipsGameCenterAchievement.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDRelationshipsGameCenterAchievement.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDRelationshipsGameCenterAchievementImage.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDRelationshipsGameCenterAchievementImage.swift index 19ccfdef..932164f0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDRelationshipsGameCenterAchievementImage.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDRelationshipsGameCenterAchievementImage.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementReleases.swift index 502bef08..e7d7a2d3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementReleases.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterAchievementReleaseCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "gameCenterAchievementReleases-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementReleasesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementReleasesWithID.swift index d8469f33..d640302e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementReleasesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementReleasesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterAchievementReleases { public let path: String public func get(fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsGameCenterAchievementReleases, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterAchievementReleases, include), id: "gameCenterAchievementReleases-get_instance") } private func makeGetQuery(_ fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]?, _ include: [Include]?) -> [(String, String?)] { @@ -38,7 +36,7 @@ extension APIEndpoint.V1.GameCenterAchievementReleases { } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "gameCenterAchievementReleases-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievements.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievements.swift index 983f8f03..cd1c72b6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievements.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievements.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterAchievementCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "gameCenterAchievements-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithID.swift index 2d34699f..ec566c0d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterAchievements { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAchievements-get_instance") } public struct GetParameters { @@ -86,11 +84,11 @@ extension APIEndpoint.V1.GameCenterAchievements { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterAchievementUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "gameCenterAchievements-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "gameCenterAchievements-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDGroupAchievement.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDGroupAchievement.swift index 6c19bedb..6c7780d5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDGroupAchievement.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDGroupAchievement.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterAchievements.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAchievements-groupAchievement-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDLocalizations.swift index 7f1342ab..577a8f65 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterAchievements.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAchievements-localizations-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationships.swift index 3e3baa44..36e594c6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationshipsGroupAchievement.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationshipsGroupAchievement.swift index 6211277c..7430d7ee 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationshipsGroupAchievement.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationshipsGroupAchievement.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,11 +14,11 @@ extension APIEndpoint.V1.GameCenterAchievements.WithID.Relationships { public let path: String public var get: Request { - .get(path) + Request(path: path, method: "GET", id: "gameCenterAchievements-groupAchievement-get_to_one_relationship") } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterAchievementGroupAchievementLinkageRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "gameCenterAchievements-groupAchievement-update_to_one_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationshipsLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationshipsLocalizations.swift index b45540e8..7e7092e4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationshipsLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationshipsLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationshipsReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationshipsReleases.swift index 6b82fc36..1afc1db9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationshipsReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationshipsReleases.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDReleases.swift index 948c8d3b..ecea5544 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDReleases.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterAchievements.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAchievements-releases-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersions.swift index 03b7c231..471ad44a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterAppVersionCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "gameCenterAppVersions-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithID.swift index ec52e66b..08c1cfc3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterAppVersions { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAppVersions-get_instance") } public struct GetParameters { @@ -77,7 +75,7 @@ extension APIEndpoint.V1.GameCenterAppVersions { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterAppVersionUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "gameCenterAppVersions-update_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDAppStoreVersion.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDAppStoreVersion.swift index 32b51543..90d27f20 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDAppStoreVersion.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDAppStoreVersion.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAppVersions-appStoreVersion-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDCompatibilityVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDCompatibilityVersions.swift index 8920b08e..cf1aa6d0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDCompatibilityVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDCompatibilityVersions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAppVersions-compatibilityVersions-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDRelationships.swift index 1b62ec24..59ad6128 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDRelationshipsAppStoreVersion.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDRelationshipsAppStoreVersion.swift index 5372f350..09960385 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDRelationshipsAppStoreVersion.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDRelationshipsAppStoreVersion.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDRelationshipsCompatibilityVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDRelationshipsCompatibilityVersions.swift index 1dd4c57c..50a1b90a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDRelationshipsCompatibilityVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDRelationshipsCompatibilityVersions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(limit)) + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterAppVersions-compatibilityVersions-get_to_many_relationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -26,11 +24,11 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID.Relationships { } public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterAppVersionCompatibilityVersionsLinkagesRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "gameCenterAppVersions-compatibilityVersions-create_to_many_relationship") } public func delete(_ body: AppStoreConnect_Swift_SDK.GameCenterAppVersionCompatibilityVersionsLinkagesRequest) -> Request { - .delete(path, body: body) + Request(path: path, method: "DELETE", body: body, id: "gameCenterAppVersions-compatibilityVersions-delete_to_many_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetails.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetails.swift index 205c833b..7957c711 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetails.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetails.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterDetailCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "gameCenterDetails-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithID.swift index 5c7fa50e..f6375acb 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterDetails { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails-get_instance") } public struct GetParameters { @@ -189,7 +187,7 @@ extension APIEndpoint.V1.GameCenterDetails { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterDetailUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "gameCenterDetails-update_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDAchievementReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDAchievementReleases.swift index f38bb00c..c0d73b4f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDAchievementReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDAchievementReleases.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails-achievementReleases-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterAchievements.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterAchievements.swift index 475d7d32..9359f6d4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterAchievements.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterAchievements.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails-gameCenterAchievements-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterAppVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterAppVersions.swift index 960dee75..b15235e7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterAppVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterAppVersions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails-gameCenterAppVersions-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterGroup.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterGroup.swift index ef68ee1e..ea83cb05 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterGroup.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterGroup.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails-gameCenterGroup-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterLeaderboardSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterLeaderboardSets.swift index b2298aab..7b462972 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterLeaderboardSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterLeaderboardSets.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails-gameCenterLeaderboardSets-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterLeaderboards.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterLeaderboards.swift index 6f836a53..3f732cde 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterLeaderboards.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterLeaderboards.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails-gameCenterLeaderboards-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDLeaderboardReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDLeaderboardReleases.swift index 5926e779..af034c6e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDLeaderboardReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDLeaderboardReleases.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails-leaderboardReleases-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDLeaderboardSetReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDLeaderboardSetReleases.swift index 2f064ad7..1e398bf8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDLeaderboardSetReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDLeaderboardSetReleases.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails-leaderboardSetReleases-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetrics.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetrics.swift new file mode 100644 index 00000000..242d2ec3 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetrics.swift @@ -0,0 +1,16 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.GameCenterDetails.WithID { + public var metrics: Metrics { + Metrics(path: path + "/metrics") + } + + public struct Metrics { + /// Path: `/v1/gameCenterDetails/{id}/metrics` + public let path: String + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsClassicMatchmakingRequests.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsClassicMatchmakingRequests.swift new file mode 100644 index 00000000..62a0774e --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsClassicMatchmakingRequests.swift @@ -0,0 +1,73 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.GameCenterDetails.WithID.Metrics { + public var classicMatchmakingRequests: ClassicMatchmakingRequests { + ClassicMatchmakingRequests(path: path + "/classicMatchmakingRequests") + } + + public struct ClassicMatchmakingRequests { + /// Path: `/v1/gameCenterDetails/{id}/metrics/classicMatchmakingRequests` + public let path: String + + public func get(parameters: GetParameters) -> Request { + Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterDetails-classicMatchmakingRequests-get_metrics") + } + + public struct GetParameters { + public var limit: Int? + public var granularity: [Granularity] + public var groupBy: [GroupBy]? + public var filterResult: FilterResult? + public var sort: [Sort]? + + public enum Granularity: String, Codable, CaseIterable { + case p1d = "P1D" + case pt1h = "PT1H" + case pt15m = "PT15M" + } + + public enum GroupBy: String, Codable, CaseIterable { + case result + } + + public enum FilterResult: String, Codable, CaseIterable { + case matched = "MATCHED" + case canceled = "CANCELED" + case expired = "EXPIRED" + } + + public enum Sort: String, Codable, CaseIterable { + case averageSecondsInQueue + case minusaverageSecondsInQueue = "-averageSecondsInQueue" + case count + case minuscount = "-count" + case p50SecondsInQueue + case minusp50SecondsInQueue = "-p50SecondsInQueue" + case p95SecondsInQueue + case minusp95SecondsInQueue = "-p95SecondsInQueue" + } + + public init(limit: Int? = nil, granularity: [Granularity], groupBy: [GroupBy]? = nil, filterResult: FilterResult? = nil, sort: [Sort]? = nil) { + self.limit = limit + self.granularity = granularity + self.groupBy = groupBy + self.filterResult = filterResult + self.sort = sort + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(limit, forKey: "limit") + encoder.encode(granularity, forKey: "granularity") + encoder.encode(groupBy, forKey: "groupBy") + encoder.encode(filterResult, forKey: "filter[result]") + encoder.encode(sort, forKey: "sort") + return encoder.items + } + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsRuleBasedMatchmakingRequests.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsRuleBasedMatchmakingRequests.swift new file mode 100644 index 00000000..d8598625 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsRuleBasedMatchmakingRequests.swift @@ -0,0 +1,73 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.GameCenterDetails.WithID.Metrics { + public var ruleBasedMatchmakingRequests: RuleBasedMatchmakingRequests { + RuleBasedMatchmakingRequests(path: path + "/ruleBasedMatchmakingRequests") + } + + public struct RuleBasedMatchmakingRequests { + /// Path: `/v1/gameCenterDetails/{id}/metrics/ruleBasedMatchmakingRequests` + public let path: String + + public func get(parameters: GetParameters) -> Request { + Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterDetails-ruleBasedMatchmakingRequests-get_metrics") + } + + public struct GetParameters { + public var limit: Int? + public var granularity: [Granularity] + public var groupBy: [GroupBy]? + public var filterResult: FilterResult? + public var sort: [Sort]? + + public enum Granularity: String, Codable, CaseIterable { + case p1d = "P1D" + case pt1h = "PT1H" + case pt15m = "PT15M" + } + + public enum GroupBy: String, Codable, CaseIterable { + case result + } + + public enum FilterResult: String, Codable, CaseIterable { + case matched = "MATCHED" + case canceled = "CANCELED" + case expired = "EXPIRED" + } + + public enum Sort: String, Codable, CaseIterable { + case averageSecondsInQueue + case minusaverageSecondsInQueue = "-averageSecondsInQueue" + case count + case minuscount = "-count" + case p50SecondsInQueue + case minusp50SecondsInQueue = "-p50SecondsInQueue" + case p95SecondsInQueue + case minusp95SecondsInQueue = "-p95SecondsInQueue" + } + + public init(limit: Int? = nil, granularity: [Granularity], groupBy: [GroupBy]? = nil, filterResult: FilterResult? = nil, sort: [Sort]? = nil) { + self.limit = limit + self.granularity = granularity + self.groupBy = groupBy + self.filterResult = filterResult + self.sort = sort + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(limit, forKey: "limit") + encoder.encode(granularity, forKey: "granularity") + encoder.encode(groupBy, forKey: "groupBy") + encoder.encode(filterResult, forKey: "filter[result]") + encoder.encode(sort, forKey: "sort") + return encoder.items + } + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationships.swift index 16e5b563..f33b2e4a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsAchievementReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsAchievementReleases.swift index 5a97c7ea..42c0e955 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsAchievementReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsAchievementReleases.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterAchievements.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterAchievements.swift index a5ab9b52..f2d3d0a9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterAchievements.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterAchievements.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(limit)) + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterDetails-gameCenterAchievements-get_to_many_relationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -26,7 +24,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID.Relationships { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterDetailGameCenterAchievementsLinkagesRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "gameCenterDetails-gameCenterAchievements-replace_to_many_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterAppVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterAppVersions.swift index 1da3a3a8..e3bcb1dd 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterAppVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterAppVersions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterGroup.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterGroup.swift index 4a44f582..3e79e991 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterGroup.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterGroup.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterLeaderboardSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterLeaderboardSets.swift index e462645f..f144f40c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterLeaderboardSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterLeaderboardSets.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(limit)) + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterDetails-gameCenterLeaderboardSets-get_to_many_relationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -26,7 +24,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID.Relationships { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterDetailGameCenterLeaderboardSetsLinkagesRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "gameCenterDetails-gameCenterLeaderboardSets-replace_to_many_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterLeaderboards.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterLeaderboards.swift index 3075b283..49e1d57d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterLeaderboards.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterLeaderboards.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(limit)) + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterDetails-gameCenterLeaderboards-get_to_many_relationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -26,7 +24,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID.Relationships { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterDetailGameCenterLeaderboardsLinkagesRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "gameCenterDetails-gameCenterLeaderboards-replace_to_many_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsLeaderboardReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsLeaderboardReleases.swift index 2ff50ac6..4e0bd296 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsLeaderboardReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsLeaderboardReleases.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsLeaderboardSetReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsLeaderboardSetReleases.swift index 7baf77a2..bf7aee53 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsLeaderboardSetReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsLeaderboardSetReleases.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersions.swift index 827d494c..5e615c07 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithID.swift index e773bc94..4c623369 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDCompatibleVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDCompatibleVersions.swift index ce0b2732..9e94806c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDCompatibleVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDCompatibleVersions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -17,7 +15,7 @@ extension APIEndpoint.V1.GameCenterEnabledVersions.WithID { @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterEnabledVersions-compatibleVersions-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDRelationships.swift index f3a94615..a624ef66 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDRelationshipsCompatibleVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDRelationshipsCompatibleVersions.swift index 1f9f09c5..79858094 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDRelationshipsCompatibleVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDRelationshipsCompatibleVersions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -17,7 +15,7 @@ extension APIEndpoint.V1.GameCenterEnabledVersions.WithID.Relationships { @available(*, deprecated, message: "Deprecated") public func get(limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(limit)) + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterEnabledVersions-compatibleVersions-get_to_many_relationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -28,17 +26,17 @@ extension APIEndpoint.V1.GameCenterEnabledVersions.WithID.Relationships { @available(*, deprecated, message: "Deprecated") public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterEnabledVersionCompatibleVersionsLinkagesRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "gameCenterEnabledVersions-compatibleVersions-create_to_many_relationship") } @available(*, deprecated, message: "Deprecated") public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterEnabledVersionCompatibleVersionsLinkagesRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "gameCenterEnabledVersions-compatibleVersions-replace_to_many_relationship") } @available(*, deprecated, message: "Deprecated") public func delete(_ body: AppStoreConnect_Swift_SDK.GameCenterEnabledVersionCompatibleVersionsLinkagesRequest) -> Request { - .delete(path, body: body) + Request(path: path, method: "DELETE", body: body, id: "gameCenterEnabledVersions-compatibleVersions-delete_to_many_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroups.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroups.swift index 37b8f389..8e45a5dd 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroups.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroups.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterGroups-get_collection") } public struct GetParameters { @@ -143,7 +141,7 @@ extension APIEndpoint.V1 { } public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterGroupCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "gameCenterGroups-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithID.swift index 2b3eaead..a29d4508 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterGroups { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterGroups-get_instance") } public struct GetParameters { @@ -137,11 +135,11 @@ extension APIEndpoint.V1.GameCenterGroups { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterGroupUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "gameCenterGroups-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "gameCenterGroups-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterAchievements.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterAchievements.swift index 15753b3a..874fb842 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterAchievements.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterAchievements.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterGroups.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterGroups-gameCenterAchievements-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterDetails.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterDetails.swift index 357764df..3c3d6e56 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterDetails.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterDetails.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterGroups.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterGroups-gameCenterDetails-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterLeaderboardSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterLeaderboardSets.swift index ea9eb687..0233ea26 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterLeaderboardSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterLeaderboardSets.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterGroups.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterGroups-gameCenterLeaderboardSets-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterLeaderboards.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterLeaderboards.swift index e473071b..1998aede 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterLeaderboards.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterLeaderboards.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterGroups.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterGroups-gameCenterLeaderboards-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationships.swift index 4e3b3ff4..5e81de12 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterAchievements.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterAchievements.swift index e14b51c5..be33f246 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterAchievements.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterAchievements.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterGroups.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(limit)) + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterGroups-gameCenterAchievements-get_to_many_relationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -26,7 +24,7 @@ extension APIEndpoint.V1.GameCenterGroups.WithID.Relationships { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterGroupGameCenterAchievementsLinkagesRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "gameCenterGroups-gameCenterAchievements-replace_to_many_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterDetails.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterDetails.swift index 41dd73e6..f11b844c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterDetails.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterDetails.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterLeaderboardSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterLeaderboardSets.swift index 610bb7e4..d8f6809e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterLeaderboardSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterLeaderboardSets.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterGroups.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(limit)) + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterGroups-gameCenterLeaderboardSets-get_to_many_relationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -26,7 +24,7 @@ extension APIEndpoint.V1.GameCenterGroups.WithID.Relationships { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterGroupGameCenterLeaderboardSetsLinkagesRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "gameCenterGroups-gameCenterLeaderboardSets-replace_to_many_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterLeaderboards.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterLeaderboards.swift index ee003d0b..738fad24 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterLeaderboards.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterLeaderboards.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterGroups.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(limit)) + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterGroups-gameCenterLeaderboards-get_to_many_relationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -26,7 +24,7 @@ extension APIEndpoint.V1.GameCenterGroups.WithID.Relationships { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterGroupGameCenterLeaderboardsLinkagesRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "gameCenterGroups-gameCenterLeaderboards-replace_to_many_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardImages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardImages.swift index 144c8d70..266a3eca 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardImages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardImages.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardImageCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardImages-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardImagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardImagesWithID.swift index 6af7cb14..d37074cd 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardImagesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardImagesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardImages { public let path: String public func get(fieldsGameCenterLeaderboardImages: [FieldsGameCenterLeaderboardImages]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsGameCenterLeaderboardImages, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterLeaderboardImages, include), id: "gameCenterLeaderboardImages-get_instance") } private func makeGetQuery(_ fieldsGameCenterLeaderboardImages: [FieldsGameCenterLeaderboardImages]?, _ include: [Include]?) -> [(String, String?)] { @@ -41,11 +39,11 @@ extension APIEndpoint.V1.GameCenterLeaderboardImages { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardImageUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboardImages-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "gameCenterLeaderboardImages-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizations.swift index 1f3cf4b3..8d213bb2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardLocalizationCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardLocalizations-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithID.swift index 09b8fe53..9eff879a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardLocalizations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardLocalizations-get_instance") } public struct GetParameters { @@ -65,11 +63,11 @@ extension APIEndpoint.V1.GameCenterLeaderboardLocalizations { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardLocalizationUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboardLocalizations-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "gameCenterLeaderboardLocalizations-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithIDGameCenterLeaderboardImage.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithIDGameCenterLeaderboardImage.swift index d1d6067c..8d8665a2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithIDGameCenterLeaderboardImage.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithIDGameCenterLeaderboardImage.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardLocalizations-gameCenterLeaderboardImage-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithIDRelationships.swift index 72016ef3..68e12187 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithIDRelationshipsGameCenterLeaderboardImage.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithIDRelationshipsGameCenterLeaderboardImage.swift index c8514328..3ad8ee20 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithIDRelationshipsGameCenterLeaderboardImage.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithIDRelationshipsGameCenterLeaderboardImage.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardReleases.swift index 8e368954..4cdb0f42 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardReleases.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardReleaseCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardReleases-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardReleasesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardReleasesWithID.swift index a77faeac..ae9573aa 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardReleasesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardReleasesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardReleases { public let path: String public func get(fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsGameCenterLeaderboardReleases, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterLeaderboardReleases, include), id: "gameCenterLeaderboardReleases-get_instance") } private func makeGetQuery(_ fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]?, _ include: [Include]?) -> [(String, String?)] { @@ -38,7 +36,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardReleases { } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "gameCenterLeaderboardReleases-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetImages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetImages.swift index 64dbe639..a9537bc3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetImages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetImages.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetImageCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardSetImages-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetImagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetImagesWithID.swift index 877918ad..53cd2e30 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetImagesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetImagesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardSetImages { public let path: String public func get(fieldsGameCenterLeaderboardSetImages: [FieldsGameCenterLeaderboardSetImages]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsGameCenterLeaderboardSetImages, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterLeaderboardSetImages, include), id: "gameCenterLeaderboardSetImages-get_instance") } private func makeGetQuery(_ fieldsGameCenterLeaderboardSetImages: [FieldsGameCenterLeaderboardSetImages]?, _ include: [Include]?) -> [(String, String?)] { @@ -41,11 +39,11 @@ extension APIEndpoint.V1.GameCenterLeaderboardSetImages { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetImageUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboardSetImages-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "gameCenterLeaderboardSetImages-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizations.swift index 6f3965b7..ef5fd68a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetLocalizationCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardSetLocalizations-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithID.swift index ede87c98..4003cdb4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardSetLocalizations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSetLocalizations-get_instance") } public struct GetParameters { @@ -62,11 +60,11 @@ extension APIEndpoint.V1.GameCenterLeaderboardSetLocalizations { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetLocalizationUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboardSetLocalizations-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "gameCenterLeaderboardSetLocalizations-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithIDGameCenterLeaderboardSetImage.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithIDGameCenterLeaderboardSetImage.swift index 6522744a..7d8669cf 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithIDGameCenterLeaderboardSetImage.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithIDGameCenterLeaderboardSetImage.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardSetLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSetLocalizations-gameCenterLeaderboardSetImage-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithIDRelationships.swift index 63bd4ce7..c4cc5927 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithIDRelationshipsGameCenterLeaderboardSetImage.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithIDRelationshipsGameCenterLeaderboardSetImage.swift index a7ee882f..048149b0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithIDRelationshipsGameCenterLeaderboardSetImage.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithIDRelationshipsGameCenterLeaderboardSetImage.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizations.swift index 54332f1e..c8fe3bc4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters) -> Request { - .get(path, query: parameters.asQuery) + Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterLeaderboardSetMemberLocalizations-get_collection") } public struct GetParameters { @@ -95,7 +93,7 @@ extension APIEndpoint.V1 { } public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetMemberLocalizationCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardSetMemberLocalizations-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithID.swift index 49d46dd6..4500f64f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,11 +14,11 @@ extension APIEndpoint.V1.GameCenterLeaderboardSetMemberLocalizations { public let path: String public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetMemberLocalizationUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboardSetMemberLocalizations-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "gameCenterLeaderboardSetMemberLocalizations-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDGameCenterLeaderboard.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDGameCenterLeaderboard.swift index fc42dc3f..954c2207 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDGameCenterLeaderboard.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDGameCenterLeaderboard.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardSetMemberLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSetMemberLocalizations-gameCenterLeaderboard-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDGameCenterLeaderboardSet.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDGameCenterLeaderboardSet.swift index b324fbd9..c312af3b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDGameCenterLeaderboardSet.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDGameCenterLeaderboardSet.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardSetMemberLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSetMemberLocalizations-gameCenterLeaderboardSet-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDRelationships.swift index 5cd0dcca..ffd3b6d0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDRelationshipsGameCenterLeaderboard.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDRelationshipsGameCenterLeaderboard.swift index 6eb93817..7f6ce7e6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDRelationshipsGameCenterLeaderboard.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDRelationshipsGameCenterLeaderboard.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDRelationshipsGameCenterLeaderboardSet.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDRelationshipsGameCenterLeaderboardSet.swift index e707a685..274fb676 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDRelationshipsGameCenterLeaderboardSet.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDRelationshipsGameCenterLeaderboardSet.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetReleases.swift index 7759c05c..beaa8454 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetReleases.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetReleaseCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardSetReleases-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetReleasesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetReleasesWithID.swift index 1567fa7d..ff8cc18b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetReleasesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetReleasesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardSetReleases { public let path: String public func get(fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsGameCenterLeaderboardSetReleases, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterLeaderboardSetReleases, include), id: "gameCenterLeaderboardSetReleases-get_instance") } private func makeGetQuery(_ fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]?, _ include: [Include]?) -> [(String, String?)] { @@ -38,7 +36,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardSetReleases { } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "gameCenterLeaderboardSetReleases-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSets.swift index 01f78946..5af2e2db 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSets.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardSets-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithID.swift index 1e99e6b3..4feca32e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardSets { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSets-get_instance") } public struct GetParameters { @@ -108,11 +106,11 @@ extension APIEndpoint.V1.GameCenterLeaderboardSets { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboardSets-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "gameCenterLeaderboardSets-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDGameCenterLeaderboards.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDGameCenterLeaderboards.swift index 18edcb78..2f770000 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDGameCenterLeaderboards.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDGameCenterLeaderboards.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardSets.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSets-gameCenterLeaderboards-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDGroupLeaderboardSet.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDGroupLeaderboardSet.swift index c2d9fa4f..717d45ca 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDGroupLeaderboardSet.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDGroupLeaderboardSet.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardSets.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSets-groupLeaderboardSet-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDLocalizations.swift index fa6769a4..fa090bd1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardSets.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSets-localizations-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationships.swift index bd94f591..090b24e8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsGameCenterLeaderboards.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsGameCenterLeaderboards.swift index e015ef34..ce5deaf8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsGameCenterLeaderboards.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsGameCenterLeaderboards.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardSets.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(limit)) + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterLeaderboardSets-gameCenterLeaderboards-get_to_many_relationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -26,15 +24,15 @@ extension APIEndpoint.V1.GameCenterLeaderboardSets.WithID.Relationships { } public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardSets-gameCenterLeaderboards-create_to_many_relationship") } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboardSets-gameCenterLeaderboards-replace_to_many_relationship") } public func delete(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest) -> Request { - .delete(path, body: body) + Request(path: path, method: "DELETE", body: body, id: "gameCenterLeaderboardSets-gameCenterLeaderboards-delete_to_many_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsGroupLeaderboardSet.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsGroupLeaderboardSet.swift index 147a75f5..f640bd15 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsGroupLeaderboardSet.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsGroupLeaderboardSet.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,11 +14,11 @@ extension APIEndpoint.V1.GameCenterLeaderboardSets.WithID.Relationships { public let path: String public var get: Request { - .get(path) + Request(path: path, method: "GET", id: "gameCenterLeaderboardSets-groupLeaderboardSet-get_to_one_relationship") } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboardSets-groupLeaderboardSet-update_to_one_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsLocalizations.swift index 31f9a47f..a846f31b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsReleases.swift index 4f03ac88..68a44f86 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsReleases.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDReleases.swift index 54e3d34c..4757f007 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDReleases.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardSets.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSets-releases-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboards.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboards.swift index 87235952..27140555 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboards.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboards.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboards-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithID.swift index c15c0b22..7fb5416c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboards { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboards-get_instance") } public struct GetParameters { @@ -97,11 +95,11 @@ extension APIEndpoint.V1.GameCenterLeaderboards { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboards-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "gameCenterLeaderboards-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDGroupLeaderboard.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDGroupLeaderboard.swift index c3ff3039..8a8870c5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDGroupLeaderboard.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDGroupLeaderboard.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboards.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboards-groupLeaderboard-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDLocalizations.swift index ab594bcb..eaa70b17 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboards.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboards-localizations-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationships.swift index cff112c6..fad56ca3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationshipsGroupLeaderboard.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationshipsGroupLeaderboard.swift index 29dd755c..40d327d1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationshipsGroupLeaderboard.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationshipsGroupLeaderboard.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,11 +14,11 @@ extension APIEndpoint.V1.GameCenterLeaderboards.WithID.Relationships { public let path: String public var get: Request { - .get(path) + Request(path: path, method: "GET", id: "gameCenterLeaderboards-groupLeaderboard-get_to_one_relationship") } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardGroupLeaderboardLinkageRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboards-groupLeaderboard-update_to_one_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationshipsLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationshipsLocalizations.swift index 17c170c3..d87f0746 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationshipsLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationshipsLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationshipsReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationshipsReleases.swift index b728fe3e..93056961 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationshipsReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationshipsReleases.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDReleases.swift index b115274d..07c77725 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDReleases.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboards.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboards-releases-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueues.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueues.swift new file mode 100644 index 00000000..a032f685 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueues.swift @@ -0,0 +1,55 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1 { + public var gameCenterMatchmakingQueues: GameCenterMatchmakingQueues { + GameCenterMatchmakingQueues(path: path + "/gameCenterMatchmakingQueues") + } + + public struct GameCenterMatchmakingQueues { + /// Path: `/v1/gameCenterMatchmakingQueues` + public let path: String + + public func get(parameters: GetParameters? = nil) -> Request { + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterMatchmakingQueues-get_collection") + } + + public struct GetParameters { + public var fieldsGameCenterMatchmakingQueues: [FieldsGameCenterMatchmakingQueues]? + public var limit: Int? + public var include: [Include]? + + public enum FieldsGameCenterMatchmakingQueues: String, Codable, CaseIterable { + case experimentRuleSet + case referenceName + case ruleSet + } + + public enum Include: String, Codable, CaseIterable { + case experimentRuleSet + case ruleSet + } + + public init(fieldsGameCenterMatchmakingQueues: [FieldsGameCenterMatchmakingQueues]? = nil, limit: Int? = nil, include: [Include]? = nil) { + self.fieldsGameCenterMatchmakingQueues = fieldsGameCenterMatchmakingQueues + self.limit = limit + self.include = include + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(fieldsGameCenterMatchmakingQueues, forKey: "fields[gameCenterMatchmakingQueues]") + encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") + return encoder.items + } + } + + public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterMatchmakingQueueCreateRequest) -> Request { + Request(path: path, method: "POST", body: body, id: "gameCenterMatchmakingQueues-create_instance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithID.swift new file mode 100644 index 00000000..281bb349 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithID.swift @@ -0,0 +1,46 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.GameCenterMatchmakingQueues { + public func id(_ id: String) -> WithID { + WithID(path: "\(path)/\(id)") + } + + public struct WithID { + /// Path: `/v1/gameCenterMatchmakingQueues/{id}` + public let path: String + + public func get(fieldsGameCenterMatchmakingQueues: [FieldsGameCenterMatchmakingQueues]? = nil, include: [Include]? = nil) -> Request { + Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterMatchmakingQueues, include), id: "gameCenterMatchmakingQueues-get_instance") + } + + private func makeGetQuery(_ fieldsGameCenterMatchmakingQueues: [FieldsGameCenterMatchmakingQueues]?, _ include: [Include]?) -> [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(fieldsGameCenterMatchmakingQueues, forKey: "fields[gameCenterMatchmakingQueues]") + encoder.encode(include, forKey: "include") + return encoder.items + } + + public enum FieldsGameCenterMatchmakingQueues: String, Codable, CaseIterable { + case experimentRuleSet + case referenceName + case ruleSet + } + + public enum Include: String, Codable, CaseIterable { + case experimentRuleSet + case ruleSet + } + + public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterMatchmakingQueueUpdateRequest) -> Request { + Request(path: path, method: "PATCH", body: body, id: "gameCenterMatchmakingQueues-update_instance") + } + + public var delete: Request { + Request(path: path, method: "DELETE", id: "gameCenterMatchmakingQueues-delete_instance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetrics.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetrics.swift new file mode 100644 index 00000000..d116c877 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetrics.swift @@ -0,0 +1,16 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID { + public var metrics: Metrics { + Metrics(path: path + "/metrics") + } + + public struct Metrics { + /// Path: `/v1/gameCenterMatchmakingQueues/{id}/metrics` + public let path: String + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingQueueSizes.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingQueueSizes.swift new file mode 100644 index 00000000..2835b579 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingQueueSizes.swift @@ -0,0 +1,57 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { + public var experimentMatchmakingQueueSizes: ExperimentMatchmakingQueueSizes { + ExperimentMatchmakingQueueSizes(path: path + "/experimentMatchmakingQueueSizes") + } + + public struct ExperimentMatchmakingQueueSizes { + /// Path: `/v1/gameCenterMatchmakingQueues/{id}/metrics/experimentMatchmakingQueueSizes` + public let path: String + + public func get(parameters: GetParameters) -> Request { + Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterMatchmakingQueues-experimentMatchmakingQueueSizes-get_metrics") + } + + public struct GetParameters { + public var limit: Int? + public var granularity: [Granularity] + public var sort: [Sort]? + + public enum Granularity: String, Codable, CaseIterable { + case p1d = "P1D" + case pt1h = "PT1H" + case pt15m = "PT15M" + } + + public enum Sort: String, Codable, CaseIterable { + case averageNumberOfRequests + case minusaverageNumberOfRequests = "-averageNumberOfRequests" + case count + case minuscount = "-count" + case p50NumberOfRequests + case minusp50NumberOfRequests = "-p50NumberOfRequests" + case p95NumberOfRequests + case minusp95NumberOfRequests = "-p95NumberOfRequests" + } + + public init(limit: Int? = nil, granularity: [Granularity], sort: [Sort]? = nil) { + self.limit = limit + self.granularity = granularity + self.sort = sort + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(limit, forKey: "limit") + encoder.encode(granularity, forKey: "granularity") + encoder.encode(sort, forKey: "sort") + return encoder.items + } + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingRequests.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingRequests.swift new file mode 100644 index 00000000..143001d7 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingRequests.swift @@ -0,0 +1,77 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { + public var experimentMatchmakingRequests: ExperimentMatchmakingRequests { + ExperimentMatchmakingRequests(path: path + "/experimentMatchmakingRequests") + } + + public struct ExperimentMatchmakingRequests { + /// Path: `/v1/gameCenterMatchmakingQueues/{id}/metrics/experimentMatchmakingRequests` + public let path: String + + public func get(parameters: GetParameters) -> Request { + Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterMatchmakingQueues-experimentMatchmakingRequests-get_metrics") + } + + public struct GetParameters { + public var limit: Int? + public var granularity: [Granularity] + public var groupBy: [GroupBy]? + public var filterResult: FilterResult? + public var filterGameCenterDetail: String? + public var sort: [Sort]? + + public enum Granularity: String, Codable, CaseIterable { + case p1d = "P1D" + case pt1h = "PT1H" + case pt15m = "PT15M" + } + + public enum GroupBy: String, Codable, CaseIterable { + case gameCenterDetail + case result + } + + public enum FilterResult: String, Codable, CaseIterable { + case matched = "MATCHED" + case canceled = "CANCELED" + case expired = "EXPIRED" + } + + public enum Sort: String, Codable, CaseIterable { + case averageSecondsInQueue + case minusaverageSecondsInQueue = "-averageSecondsInQueue" + case count + case minuscount = "-count" + case p50SecondsInQueue + case minusp50SecondsInQueue = "-p50SecondsInQueue" + case p95SecondsInQueue + case minusp95SecondsInQueue = "-p95SecondsInQueue" + } + + public init(limit: Int? = nil, granularity: [Granularity], groupBy: [GroupBy]? = nil, filterResult: FilterResult? = nil, filterGameCenterDetail: String? = nil, sort: [Sort]? = nil) { + self.limit = limit + self.granularity = granularity + self.groupBy = groupBy + self.filterResult = filterResult + self.filterGameCenterDetail = filterGameCenterDetail + self.sort = sort + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(limit, forKey: "limit") + encoder.encode(granularity, forKey: "granularity") + encoder.encode(groupBy, forKey: "groupBy") + encoder.encode(filterResult, forKey: "filter[result]") + encoder.encode(filterGameCenterDetail, forKey: "filter[gameCenterDetail]") + encoder.encode(sort, forKey: "sort") + return encoder.items + } + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingQueueSizes.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingQueueSizes.swift new file mode 100644 index 00000000..c9a44a20 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingQueueSizes.swift @@ -0,0 +1,57 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { + public var matchmakingQueueSizes: MatchmakingQueueSizes { + MatchmakingQueueSizes(path: path + "/matchmakingQueueSizes") + } + + public struct MatchmakingQueueSizes { + /// Path: `/v1/gameCenterMatchmakingQueues/{id}/metrics/matchmakingQueueSizes` + public let path: String + + public func get(parameters: GetParameters) -> Request { + Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterMatchmakingQueues-matchmakingQueueSizes-get_metrics") + } + + public struct GetParameters { + public var limit: Int? + public var granularity: [Granularity] + public var sort: [Sort]? + + public enum Granularity: String, Codable, CaseIterable { + case p1d = "P1D" + case pt1h = "PT1H" + case pt15m = "PT15M" + } + + public enum Sort: String, Codable, CaseIterable { + case averageNumberOfRequests + case minusaverageNumberOfRequests = "-averageNumberOfRequests" + case count + case minuscount = "-count" + case p50NumberOfRequests + case minusp50NumberOfRequests = "-p50NumberOfRequests" + case p95NumberOfRequests + case minusp95NumberOfRequests = "-p95NumberOfRequests" + } + + public init(limit: Int? = nil, granularity: [Granularity], sort: [Sort]? = nil) { + self.limit = limit + self.granularity = granularity + self.sort = sort + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(limit, forKey: "limit") + encoder.encode(granularity, forKey: "granularity") + encoder.encode(sort, forKey: "sort") + return encoder.items + } + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingRequests.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingRequests.swift new file mode 100644 index 00000000..b5c832a2 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingRequests.swift @@ -0,0 +1,77 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { + public var matchmakingRequests: MatchmakingRequests { + MatchmakingRequests(path: path + "/matchmakingRequests") + } + + public struct MatchmakingRequests { + /// Path: `/v1/gameCenterMatchmakingQueues/{id}/metrics/matchmakingRequests` + public let path: String + + public func get(parameters: GetParameters) -> Request { + Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterMatchmakingQueues-matchmakingRequests-get_metrics") + } + + public struct GetParameters { + public var limit: Int? + public var granularity: [Granularity] + public var groupBy: [GroupBy]? + public var filterResult: FilterResult? + public var filterGameCenterDetail: String? + public var sort: [Sort]? + + public enum Granularity: String, Codable, CaseIterable { + case p1d = "P1D" + case pt1h = "PT1H" + case pt15m = "PT15M" + } + + public enum GroupBy: String, Codable, CaseIterable { + case gameCenterDetail + case result + } + + public enum FilterResult: String, Codable, CaseIterable { + case matched = "MATCHED" + case canceled = "CANCELED" + case expired = "EXPIRED" + } + + public enum Sort: String, Codable, CaseIterable { + case averageSecondsInQueue + case minusaverageSecondsInQueue = "-averageSecondsInQueue" + case count + case minuscount = "-count" + case p50SecondsInQueue + case minusp50SecondsInQueue = "-p50SecondsInQueue" + case p95SecondsInQueue + case minusp95SecondsInQueue = "-p95SecondsInQueue" + } + + public init(limit: Int? = nil, granularity: [Granularity], groupBy: [GroupBy]? = nil, filterResult: FilterResult? = nil, filterGameCenterDetail: String? = nil, sort: [Sort]? = nil) { + self.limit = limit + self.granularity = granularity + self.groupBy = groupBy + self.filterResult = filterResult + self.filterGameCenterDetail = filterGameCenterDetail + self.sort = sort + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(limit, forKey: "limit") + encoder.encode(granularity, forKey: "granularity") + encoder.encode(groupBy, forKey: "groupBy") + encoder.encode(filterResult, forKey: "filter[result]") + encoder.encode(filterGameCenterDetail, forKey: "filter[gameCenterDetail]") + encoder.encode(sort, forKey: "sort") + return encoder.items + } + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingSessions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingSessions.swift new file mode 100644 index 00000000..be9b4715 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingSessions.swift @@ -0,0 +1,57 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { + public var matchmakingSessions: MatchmakingSessions { + MatchmakingSessions(path: path + "/matchmakingSessions") + } + + public struct MatchmakingSessions { + /// Path: `/v1/gameCenterMatchmakingQueues/{id}/metrics/matchmakingSessions` + public let path: String + + public func get(parameters: GetParameters) -> Request { + Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterMatchmakingQueues-matchmakingSessions-get_metrics") + } + + public struct GetParameters { + public var limit: Int? + public var granularity: [Granularity] + public var sort: [Sort]? + + public enum Granularity: String, Codable, CaseIterable { + case p1d = "P1D" + case pt1h = "PT1H" + case pt15m = "PT15M" + } + + public enum Sort: String, Codable, CaseIterable { + case averagePlayerCount + case minusaveragePlayerCount = "-averagePlayerCount" + case count + case minuscount = "-count" + case p50PlayerCount + case minusp50PlayerCount = "-p50PlayerCount" + case p95PlayerCount + case minusp95PlayerCount = "-p95PlayerCount" + } + + public init(limit: Int? = nil, granularity: [Granularity], sort: [Sort]? = nil) { + self.limit = limit + self.granularity = granularity + self.sort = sort + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(limit, forKey: "limit") + encoder.encode(granularity, forKey: "granularity") + encoder.encode(sort, forKey: "sort") + return encoder.items + } + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetTests.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetTests.swift new file mode 100644 index 00000000..94dd0510 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetTests.swift @@ -0,0 +1,20 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1 { + public var gameCenterMatchmakingRuleSetTests: GameCenterMatchmakingRuleSetTests { + GameCenterMatchmakingRuleSetTests(path: path + "/gameCenterMatchmakingRuleSetTests") + } + + public struct GameCenterMatchmakingRuleSetTests { + /// Path: `/v1/gameCenterMatchmakingRuleSetTests` + public let path: String + + public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterMatchmakingRuleSetTestCreateRequest) -> Request { + Request(path: path, method: "POST", body: body, id: "gameCenterMatchmakingRuleSetTests-create_instance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSets.swift new file mode 100644 index 00000000..3862d41c --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSets.swift @@ -0,0 +1,100 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1 { + public var gameCenterMatchmakingRuleSets: GameCenterMatchmakingRuleSets { + GameCenterMatchmakingRuleSets(path: path + "/gameCenterMatchmakingRuleSets") + } + + public struct GameCenterMatchmakingRuleSets { + /// Path: `/v1/gameCenterMatchmakingRuleSets` + public let path: String + + public func get(parameters: GetParameters? = nil) -> Request { + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterMatchmakingRuleSets-get_collection") + } + + public struct GetParameters { + public var fieldsGameCenterMatchmakingRuleSets: [FieldsGameCenterMatchmakingRuleSets]? + public var limit: Int? + public var include: [Include]? + public var fieldsGameCenterMatchmakingQueues: [FieldsGameCenterMatchmakingQueues]? + public var fieldsGameCenterMatchmakingTeams: [FieldsGameCenterMatchmakingTeams]? + public var fieldsGameCenterMatchmakingRules: [FieldsGameCenterMatchmakingRules]? + public var limitMatchmakingQueues: Int? + public var limitRules: Int? + public var limitTeams: Int? + + public enum FieldsGameCenterMatchmakingRuleSets: String, Codable, CaseIterable { + case matchmakingQueues + case maxPlayers + case minPlayers + case referenceName + case ruleLanguageVersion + case rules + case teams + } + + public enum Include: String, Codable, CaseIterable { + case matchmakingQueues + case rules + case teams + } + + public enum FieldsGameCenterMatchmakingQueues: String, Codable, CaseIterable { + case experimentRuleSet + case referenceName + case ruleSet + } + + public enum FieldsGameCenterMatchmakingTeams: String, Codable, CaseIterable { + case maxPlayers + case minPlayers + case referenceName + case ruleSet + } + + public enum FieldsGameCenterMatchmakingRules: String, Codable, CaseIterable { + case description + case expression + case referenceName + case ruleSet + case type + case weight + } + + public init(fieldsGameCenterMatchmakingRuleSets: [FieldsGameCenterMatchmakingRuleSets]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsGameCenterMatchmakingQueues: [FieldsGameCenterMatchmakingQueues]? = nil, fieldsGameCenterMatchmakingTeams: [FieldsGameCenterMatchmakingTeams]? = nil, fieldsGameCenterMatchmakingRules: [FieldsGameCenterMatchmakingRules]? = nil, limitMatchmakingQueues: Int? = nil, limitRules: Int? = nil, limitTeams: Int? = nil) { + self.fieldsGameCenterMatchmakingRuleSets = fieldsGameCenterMatchmakingRuleSets + self.limit = limit + self.include = include + self.fieldsGameCenterMatchmakingQueues = fieldsGameCenterMatchmakingQueues + self.fieldsGameCenterMatchmakingTeams = fieldsGameCenterMatchmakingTeams + self.fieldsGameCenterMatchmakingRules = fieldsGameCenterMatchmakingRules + self.limitMatchmakingQueues = limitMatchmakingQueues + self.limitRules = limitRules + self.limitTeams = limitTeams + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(fieldsGameCenterMatchmakingRuleSets, forKey: "fields[gameCenterMatchmakingRuleSets]") + encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") + encoder.encode(fieldsGameCenterMatchmakingQueues, forKey: "fields[gameCenterMatchmakingQueues]") + encoder.encode(fieldsGameCenterMatchmakingTeams, forKey: "fields[gameCenterMatchmakingTeams]") + encoder.encode(fieldsGameCenterMatchmakingRules, forKey: "fields[gameCenterMatchmakingRules]") + encoder.encode(limitMatchmakingQueues, forKey: "limit[matchmakingQueues]") + encoder.encode(limitRules, forKey: "limit[rules]") + encoder.encode(limitTeams, forKey: "limit[teams]") + return encoder.items + } + } + + public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterMatchmakingRuleSetCreateRequest) -> Request { + Request(path: path, method: "POST", body: body, id: "gameCenterMatchmakingRuleSets-create_instance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithID.swift new file mode 100644 index 00000000..b65e6a38 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithID.swift @@ -0,0 +1,101 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.GameCenterMatchmakingRuleSets { + public func id(_ id: String) -> WithID { + WithID(path: "\(path)/\(id)") + } + + public struct WithID { + /// Path: `/v1/gameCenterMatchmakingRuleSets/{id}` + public let path: String + + public func get(parameters: GetParameters? = nil) -> Request { + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterMatchmakingRuleSets-get_instance") + } + + public struct GetParameters { + public var fieldsGameCenterMatchmakingRuleSets: [FieldsGameCenterMatchmakingRuleSets]? + public var include: [Include]? + public var fieldsGameCenterMatchmakingQueues: [FieldsGameCenterMatchmakingQueues]? + public var fieldsGameCenterMatchmakingTeams: [FieldsGameCenterMatchmakingTeams]? + public var fieldsGameCenterMatchmakingRules: [FieldsGameCenterMatchmakingRules]? + public var limitMatchmakingQueues: Int? + public var limitRules: Int? + public var limitTeams: Int? + + public enum FieldsGameCenterMatchmakingRuleSets: String, Codable, CaseIterable { + case matchmakingQueues + case maxPlayers + case minPlayers + case referenceName + case ruleLanguageVersion + case rules + case teams + } + + public enum Include: String, Codable, CaseIterable { + case matchmakingQueues + case rules + case teams + } + + public enum FieldsGameCenterMatchmakingQueues: String, Codable, CaseIterable { + case experimentRuleSet + case referenceName + case ruleSet + } + + public enum FieldsGameCenterMatchmakingTeams: String, Codable, CaseIterable { + case maxPlayers + case minPlayers + case referenceName + case ruleSet + } + + public enum FieldsGameCenterMatchmakingRules: String, Codable, CaseIterable { + case description + case expression + case referenceName + case ruleSet + case type + case weight + } + + public init(fieldsGameCenterMatchmakingRuleSets: [FieldsGameCenterMatchmakingRuleSets]? = nil, include: [Include]? = nil, fieldsGameCenterMatchmakingQueues: [FieldsGameCenterMatchmakingQueues]? = nil, fieldsGameCenterMatchmakingTeams: [FieldsGameCenterMatchmakingTeams]? = nil, fieldsGameCenterMatchmakingRules: [FieldsGameCenterMatchmakingRules]? = nil, limitMatchmakingQueues: Int? = nil, limitRules: Int? = nil, limitTeams: Int? = nil) { + self.fieldsGameCenterMatchmakingRuleSets = fieldsGameCenterMatchmakingRuleSets + self.include = include + self.fieldsGameCenterMatchmakingQueues = fieldsGameCenterMatchmakingQueues + self.fieldsGameCenterMatchmakingTeams = fieldsGameCenterMatchmakingTeams + self.fieldsGameCenterMatchmakingRules = fieldsGameCenterMatchmakingRules + self.limitMatchmakingQueues = limitMatchmakingQueues + self.limitRules = limitRules + self.limitTeams = limitTeams + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(fieldsGameCenterMatchmakingRuleSets, forKey: "fields[gameCenterMatchmakingRuleSets]") + encoder.encode(include, forKey: "include") + encoder.encode(fieldsGameCenterMatchmakingQueues, forKey: "fields[gameCenterMatchmakingQueues]") + encoder.encode(fieldsGameCenterMatchmakingTeams, forKey: "fields[gameCenterMatchmakingTeams]") + encoder.encode(fieldsGameCenterMatchmakingRules, forKey: "fields[gameCenterMatchmakingRules]") + encoder.encode(limitMatchmakingQueues, forKey: "limit[matchmakingQueues]") + encoder.encode(limitRules, forKey: "limit[rules]") + encoder.encode(limitTeams, forKey: "limit[teams]") + return encoder.items + } + } + + public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterMatchmakingRuleSetUpdateRequest) -> Request { + Request(path: path, method: "PATCH", body: body, id: "gameCenterMatchmakingRuleSets-update_instance") + } + + public var delete: Request { + Request(path: path, method: "DELETE", id: "gameCenterMatchmakingRuleSets-delete_instance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDMatchmakingQueues.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDMatchmakingQueues.swift new file mode 100644 index 00000000..1e2949a2 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDMatchmakingQueues.swift @@ -0,0 +1,64 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.GameCenterMatchmakingRuleSets.WithID { + public var matchmakingQueues: MatchmakingQueues { + MatchmakingQueues(path: path + "/matchmakingQueues") + } + + public struct MatchmakingQueues { + /// Path: `/v1/gameCenterMatchmakingRuleSets/{id}/matchmakingQueues` + public let path: String + + public func get(parameters: GetParameters? = nil) -> Request { + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterMatchmakingRuleSets-matchmakingQueues-get_to_many_related") + } + + public struct GetParameters { + public var fieldsGameCenterMatchmakingQueues: [FieldsGameCenterMatchmakingQueues]? + public var fieldsGameCenterMatchmakingRuleSets: [FieldsGameCenterMatchmakingRuleSets]? + public var limit: Int? + public var include: [Include]? + + public enum FieldsGameCenterMatchmakingQueues: String, Codable, CaseIterable { + case experimentRuleSet + case referenceName + case ruleSet + } + + public enum FieldsGameCenterMatchmakingRuleSets: String, Codable, CaseIterable { + case matchmakingQueues + case maxPlayers + case minPlayers + case referenceName + case ruleLanguageVersion + case rules + case teams + } + + public enum Include: String, Codable, CaseIterable { + case experimentRuleSet + case ruleSet + } + + public init(fieldsGameCenterMatchmakingQueues: [FieldsGameCenterMatchmakingQueues]? = nil, fieldsGameCenterMatchmakingRuleSets: [FieldsGameCenterMatchmakingRuleSets]? = nil, limit: Int? = nil, include: [Include]? = nil) { + self.fieldsGameCenterMatchmakingQueues = fieldsGameCenterMatchmakingQueues + self.fieldsGameCenterMatchmakingRuleSets = fieldsGameCenterMatchmakingRuleSets + self.limit = limit + self.include = include + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(fieldsGameCenterMatchmakingQueues, forKey: "fields[gameCenterMatchmakingQueues]") + encoder.encode(fieldsGameCenterMatchmakingRuleSets, forKey: "fields[gameCenterMatchmakingRuleSets]") + encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") + return encoder.items + } + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDRelationships.swift new file mode 100644 index 00000000..e6524028 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDRelationships.swift @@ -0,0 +1,16 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.GameCenterMatchmakingRuleSets.WithID { + public var relationships: Relationships { + Relationships(path: path + "/relationships") + } + + public struct Relationships { + /// Path: `/v1/gameCenterMatchmakingRuleSets/{id}/relationships` + public let path: String + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDRelationshipsMatchmakingQueues.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDRelationshipsMatchmakingQueues.swift new file mode 100644 index 00000000..14f68e32 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDRelationshipsMatchmakingQueues.swift @@ -0,0 +1,16 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.GameCenterMatchmakingRuleSets.WithID.Relationships { + public var matchmakingQueues: MatchmakingQueues { + MatchmakingQueues(path: path + "/matchmakingQueues") + } + + public struct MatchmakingQueues { + /// Path: `/v1/gameCenterMatchmakingRuleSets/{id}/relationships/matchmakingQueues` + public let path: String + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDRelationshipsRules.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDRelationshipsRules.swift new file mode 100644 index 00000000..1cc80f80 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDRelationshipsRules.swift @@ -0,0 +1,16 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.GameCenterMatchmakingRuleSets.WithID.Relationships { + public var rules: Rules { + Rules(path: path + "/rules") + } + + public struct Rules { + /// Path: `/v1/gameCenterMatchmakingRuleSets/{id}/relationships/rules` + public let path: String + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDRelationshipsTeams.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDRelationshipsTeams.swift new file mode 100644 index 00000000..77897dfa --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDRelationshipsTeams.swift @@ -0,0 +1,16 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.GameCenterMatchmakingRuleSets.WithID.Relationships { + public var teams: Teams { + Teams(path: path + "/teams") + } + + public struct Teams { + /// Path: `/v1/gameCenterMatchmakingRuleSets/{id}/relationships/teams` + public let path: String + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDRules.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDRules.swift new file mode 100644 index 00000000..2e5cf60d --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDRules.swift @@ -0,0 +1,36 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.GameCenterMatchmakingRuleSets.WithID { + public var rules: Rules { + Rules(path: path + "/rules") + } + + public struct Rules { + /// Path: `/v1/gameCenterMatchmakingRuleSets/{id}/rules` + public let path: String + + public func get(fieldsGameCenterMatchmakingRules: [FieldsGameCenterMatchmakingRules]? = nil, limit: Int? = nil) -> Request { + Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterMatchmakingRules, limit), id: "gameCenterMatchmakingRuleSets-rules-get_to_many_related") + } + + private func makeGetQuery(_ fieldsGameCenterMatchmakingRules: [FieldsGameCenterMatchmakingRules]?, _ limit: Int?) -> [(String, String?)] { + let encoder = URLQueryEncoder() + encoder.encode(fieldsGameCenterMatchmakingRules, forKey: "fields[gameCenterMatchmakingRules]", explode: false) + encoder.encode(limit, forKey: "limit") + return encoder.items + } + + public enum FieldsGameCenterMatchmakingRules: String, Codable, CaseIterable { + case description + case expression + case referenceName + case ruleSet + case type + case weight + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDTeams.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDTeams.swift new file mode 100644 index 00000000..5383f553 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDTeams.swift @@ -0,0 +1,34 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.GameCenterMatchmakingRuleSets.WithID { + public var teams: Teams { + Teams(path: path + "/teams") + } + + public struct Teams { + /// Path: `/v1/gameCenterMatchmakingRuleSets/{id}/teams` + public let path: String + + public func get(fieldsGameCenterMatchmakingTeams: [FieldsGameCenterMatchmakingTeams]? = nil, limit: Int? = nil) -> Request { + Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterMatchmakingTeams, limit), id: "gameCenterMatchmakingRuleSets-teams-get_to_many_related") + } + + private func makeGetQuery(_ fieldsGameCenterMatchmakingTeams: [FieldsGameCenterMatchmakingTeams]?, _ limit: Int?) -> [(String, String?)] { + let encoder = URLQueryEncoder() + encoder.encode(fieldsGameCenterMatchmakingTeams, forKey: "fields[gameCenterMatchmakingTeams]", explode: false) + encoder.encode(limit, forKey: "limit") + return encoder.items + } + + public enum FieldsGameCenterMatchmakingTeams: String, Codable, CaseIterable { + case maxPlayers + case minPlayers + case referenceName + case ruleSet + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRules.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRules.swift new file mode 100644 index 00000000..88a7df5d --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRules.swift @@ -0,0 +1,20 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1 { + public var gameCenterMatchmakingRules: GameCenterMatchmakingRules { + GameCenterMatchmakingRules(path: path + "/gameCenterMatchmakingRules") + } + + public struct GameCenterMatchmakingRules { + /// Path: `/v1/gameCenterMatchmakingRules` + public let path: String + + public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterMatchmakingRuleCreateRequest) -> Request { + Request(path: path, method: "POST", body: body, id: "gameCenterMatchmakingRules-create_instance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithID.swift new file mode 100644 index 00000000..da1d80b8 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithID.swift @@ -0,0 +1,24 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.GameCenterMatchmakingRules { + public func id(_ id: String) -> WithID { + WithID(path: "\(path)/\(id)") + } + + public struct WithID { + /// Path: `/v1/gameCenterMatchmakingRules/{id}` + public let path: String + + public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterMatchmakingRuleUpdateRequest) -> Request { + Request(path: path, method: "PATCH", body: body, id: "gameCenterMatchmakingRules-update_instance") + } + + public var delete: Request { + Request(path: path, method: "DELETE", id: "gameCenterMatchmakingRules-delete_instance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetrics.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetrics.swift new file mode 100644 index 00000000..14fe0efe --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetrics.swift @@ -0,0 +1,16 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.GameCenterMatchmakingRules.WithID { + public var metrics: Metrics { + Metrics(path: path + "/metrics") + } + + public struct Metrics { + /// Path: `/v1/gameCenterMatchmakingRules/{id}/metrics` + public let path: String + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingBooleanRuleResults.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingBooleanRuleResults.swift new file mode 100644 index 00000000..92495ce0 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingBooleanRuleResults.swift @@ -0,0 +1,65 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.GameCenterMatchmakingRules.WithID.Metrics { + public var matchmakingBooleanRuleResults: MatchmakingBooleanRuleResults { + MatchmakingBooleanRuleResults(path: path + "/matchmakingBooleanRuleResults") + } + + public struct MatchmakingBooleanRuleResults { + /// Path: `/v1/gameCenterMatchmakingRules/{id}/metrics/matchmakingBooleanRuleResults` + public let path: String + + public func get(parameters: GetParameters) -> Request { + Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterMatchmakingRules-matchmakingBooleanRuleResults-get_metrics") + } + + public struct GetParameters { + public var limit: Int? + public var granularity: [Granularity] + public var groupBy: [GroupBy]? + public var filterResult: String? + public var filterGameCenterMatchmakingQueue: String? + public var sort: [Sort]? + + public enum Granularity: String, Codable, CaseIterable { + case p1d = "P1D" + case pt1h = "PT1H" + case pt15m = "PT15M" + } + + public enum GroupBy: String, Codable, CaseIterable { + case gameCenterMatchmakingQueue + case result + } + + public enum Sort: String, Codable, CaseIterable { + case count + case minuscount = "-count" + } + + public init(limit: Int? = nil, granularity: [Granularity], groupBy: [GroupBy]? = nil, filterResult: String? = nil, filterGameCenterMatchmakingQueue: String? = nil, sort: [Sort]? = nil) { + self.limit = limit + self.granularity = granularity + self.groupBy = groupBy + self.filterResult = filterResult + self.filterGameCenterMatchmakingQueue = filterGameCenterMatchmakingQueue + self.sort = sort + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(limit, forKey: "limit") + encoder.encode(granularity, forKey: "granularity") + encoder.encode(groupBy, forKey: "groupBy") + encoder.encode(filterResult, forKey: "filter[result]") + encoder.encode(filterGameCenterMatchmakingQueue, forKey: "filter[gameCenterMatchmakingQueue]") + encoder.encode(sort, forKey: "sort") + return encoder.items + } + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingNumberRuleResults.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingNumberRuleResults.swift new file mode 100644 index 00000000..01fc0a06 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingNumberRuleResults.swift @@ -0,0 +1,67 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.GameCenterMatchmakingRules.WithID.Metrics { + public var matchmakingNumberRuleResults: MatchmakingNumberRuleResults { + MatchmakingNumberRuleResults(path: path + "/matchmakingNumberRuleResults") + } + + public struct MatchmakingNumberRuleResults { + /// Path: `/v1/gameCenterMatchmakingRules/{id}/metrics/matchmakingNumberRuleResults` + public let path: String + + public func get(parameters: GetParameters) -> Request { + Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterMatchmakingRules-matchmakingNumberRuleResults-get_metrics") + } + + public struct GetParameters { + public var limit: Int? + public var granularity: [Granularity] + public var groupBy: [GroupBy]? + public var filterGameCenterMatchmakingQueue: String? + public var sort: [Sort]? + + public enum Granularity: String, Codable, CaseIterable { + case p1d = "P1D" + case pt1h = "PT1H" + case pt15m = "PT15M" + } + + public enum GroupBy: String, Codable, CaseIterable { + case gameCenterMatchmakingQueue + } + + public enum Sort: String, Codable, CaseIterable { + case averageResult + case minusaverageResult = "-averageResult" + case count + case minuscount = "-count" + case p50Result + case minusp50Result = "-p50Result" + case p95Result + case minusp95Result = "-p95Result" + } + + public init(limit: Int? = nil, granularity: [Granularity], groupBy: [GroupBy]? = nil, filterGameCenterMatchmakingQueue: String? = nil, sort: [Sort]? = nil) { + self.limit = limit + self.granularity = granularity + self.groupBy = groupBy + self.filterGameCenterMatchmakingQueue = filterGameCenterMatchmakingQueue + self.sort = sort + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(limit, forKey: "limit") + encoder.encode(granularity, forKey: "granularity") + encoder.encode(groupBy, forKey: "groupBy") + encoder.encode(filterGameCenterMatchmakingQueue, forKey: "filter[gameCenterMatchmakingQueue]") + encoder.encode(sort, forKey: "sort") + return encoder.items + } + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingRuleErrors.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingRuleErrors.swift new file mode 100644 index 00000000..07dd30f8 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingRuleErrors.swift @@ -0,0 +1,61 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.GameCenterMatchmakingRules.WithID.Metrics { + public var matchmakingRuleErrors: MatchmakingRuleErrors { + MatchmakingRuleErrors(path: path + "/matchmakingRuleErrors") + } + + public struct MatchmakingRuleErrors { + /// Path: `/v1/gameCenterMatchmakingRules/{id}/metrics/matchmakingRuleErrors` + public let path: String + + public func get(parameters: GetParameters) -> Request { + Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterMatchmakingRules-matchmakingRuleErrors-get_metrics") + } + + public struct GetParameters { + public var limit: Int? + public var granularity: [Granularity] + public var groupBy: [GroupBy]? + public var filterGameCenterMatchmakingQueue: String? + public var sort: [Sort]? + + public enum Granularity: String, Codable, CaseIterable { + case p1d = "P1D" + case pt1h = "PT1H" + case pt15m = "PT15M" + } + + public enum GroupBy: String, Codable, CaseIterable { + case gameCenterMatchmakingQueue + } + + public enum Sort: String, Codable, CaseIterable { + case count + case minuscount = "-count" + } + + public init(limit: Int? = nil, granularity: [Granularity], groupBy: [GroupBy]? = nil, filterGameCenterMatchmakingQueue: String? = nil, sort: [Sort]? = nil) { + self.limit = limit + self.granularity = granularity + self.groupBy = groupBy + self.filterGameCenterMatchmakingQueue = filterGameCenterMatchmakingQueue + self.sort = sort + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(limit, forKey: "limit") + encoder.encode(granularity, forKey: "granularity") + encoder.encode(groupBy, forKey: "groupBy") + encoder.encode(filterGameCenterMatchmakingQueue, forKey: "filter[gameCenterMatchmakingQueue]") + encoder.encode(sort, forKey: "sort") + return encoder.items + } + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingTeams.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingTeams.swift new file mode 100644 index 00000000..f7a18aed --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingTeams.swift @@ -0,0 +1,20 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1 { + public var gameCenterMatchmakingTeams: GameCenterMatchmakingTeams { + GameCenterMatchmakingTeams(path: path + "/gameCenterMatchmakingTeams") + } + + public struct GameCenterMatchmakingTeams { + /// Path: `/v1/gameCenterMatchmakingTeams` + public let path: String + + public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterMatchmakingTeamCreateRequest) -> Request { + Request(path: path, method: "POST", body: body, id: "gameCenterMatchmakingTeams-create_instance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingTeamsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingTeamsWithID.swift new file mode 100644 index 00000000..d0678bdb --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingTeamsWithID.swift @@ -0,0 +1,24 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.GameCenterMatchmakingTeams { + public func id(_ id: String) -> WithID { + WithID(path: "\(path)/\(id)") + } + + public struct WithID { + /// Path: `/v1/gameCenterMatchmakingTeams/{id}` + public let path: String + + public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterMatchmakingTeamUpdateRequest) -> Request { + Request(path: path, method: "PATCH", body: body, id: "gameCenterMatchmakingTeams-update_instance") + } + + public var delete: Request { + Request(path: path, method: "DELETE", id: "gameCenterMatchmakingTeams-delete_instance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAppStoreReviewScreenshots.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAppStoreReviewScreenshots.swift index 76fd66cc..d8711b3a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAppStoreReviewScreenshots.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAppStoreReviewScreenshots.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.InAppPurchaseAppStoreReviewScreenshotCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "inAppPurchaseAppStoreReviewScreenshots-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAppStoreReviewScreenshotsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAppStoreReviewScreenshotsWithID.swift index 9f0f60d9..b9515814 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAppStoreReviewScreenshotsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAppStoreReviewScreenshotsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.InAppPurchaseAppStoreReviewScreenshots { public let path: String public func get(fieldsInAppPurchaseAppStoreReviewScreenshots: [FieldsInAppPurchaseAppStoreReviewScreenshots]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsInAppPurchaseAppStoreReviewScreenshots, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsInAppPurchaseAppStoreReviewScreenshots, include), id: "inAppPurchaseAppStoreReviewScreenshots-get_instance") } private func makeGetQuery(_ fieldsInAppPurchaseAppStoreReviewScreenshots: [FieldsInAppPurchaseAppStoreReviewScreenshots]?, _ include: [Include]?) -> [(String, String?)] { @@ -44,11 +42,11 @@ extension APIEndpoint.V1.InAppPurchaseAppStoreReviewScreenshots { } public func patch(_ body: AppStoreConnect_Swift_SDK.InAppPurchaseAppStoreReviewScreenshotUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "inAppPurchaseAppStoreReviewScreenshots-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "inAppPurchaseAppStoreReviewScreenshots-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilities.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilities.swift index cb57b79b..f11c9e57 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilities.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilities.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.InAppPurchaseAvailabilityCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "inAppPurchaseAvailabilities-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithID.swift index 18d6b494..4b1c36d9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.InAppPurchaseAvailabilities { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchaseAvailabilities-get_instance") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithIDAvailableTerritories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithIDAvailableTerritories.swift index 66bd9b09..9b2280ca 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithIDAvailableTerritories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithIDAvailableTerritories.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.InAppPurchaseAvailabilities.WithID { public let path: String public func get(fieldsTerritories: [FieldsTerritories]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsTerritories, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsTerritories, limit), id: "inAppPurchaseAvailabilities-availableTerritories-get_to_many_related") } private func makeGetQuery(_ fieldsTerritories: [FieldsTerritories]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithIDRelationships.swift index 23621c2a..11d6ce70 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithIDRelationshipsAvailableTerritories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithIDRelationshipsAvailableTerritories.swift index 671e79ae..be81ebb1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithIDRelationshipsAvailableTerritories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithIDRelationshipsAvailableTerritories.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseContents.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseContents.swift index 0e744ce0..9bac149e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseContents.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseContents.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseContentsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseContentsWithID.swift index 7c7c4f96..9f87cedd 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseContentsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseContentsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.InAppPurchaseContents { public let path: String public func get(fieldsInAppPurchaseContents: [FieldsInAppPurchaseContents]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsInAppPurchaseContents, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsInAppPurchaseContents, include), id: "inAppPurchaseContents-get_instance") } private func makeGetQuery(_ fieldsInAppPurchaseContents: [FieldsInAppPurchaseContents]?, _ include: [Include]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseLocalizations.swift index 3e2229c8..8edef487 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.InAppPurchaseLocalizationCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "inAppPurchaseLocalizations-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseLocalizationsWithID.swift index 92c68463..3539c692 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseLocalizationsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.InAppPurchaseLocalizations { public let path: String public func get(fieldsInAppPurchaseLocalizations: [FieldsInAppPurchaseLocalizations]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsInAppPurchaseLocalizations, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsInAppPurchaseLocalizations, include), id: "inAppPurchaseLocalizations-get_instance") } private func makeGetQuery(_ fieldsInAppPurchaseLocalizations: [FieldsInAppPurchaseLocalizations]?, _ include: [Include]?) -> [(String, String?)] { @@ -39,11 +37,11 @@ extension APIEndpoint.V1.InAppPurchaseLocalizations { } public func patch(_ body: AppStoreConnect_Swift_SDK.InAppPurchaseLocalizationUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "inAppPurchaseLocalizations-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "inAppPurchaseLocalizations-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedules.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedules.swift index f9cb744d..203f0c18 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedules.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedules.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.InAppPurchasePriceScheduleCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "inAppPurchasePriceSchedules-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithID.swift index 01c4a044..56dd55ac 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.InAppPurchasePriceSchedules { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasePriceSchedules-get_instance") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDAutomaticPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDAutomaticPrices.swift index eb0196a1..57387b18 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDAutomaticPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDAutomaticPrices.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.InAppPurchasePriceSchedules.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasePriceSchedules-automaticPrices-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDBaseTerritory.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDBaseTerritory.swift index cde21022..a9777df0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDBaseTerritory.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDBaseTerritory.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.InAppPurchasePriceSchedules.WithID { public let path: String public func get(fieldsTerritories: [FieldsTerritories]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsTerritories)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsTerritories), id: "inAppPurchasePriceSchedules-baseTerritory-get_to_one_related") } private func makeGetQuery(_ fieldsTerritories: [FieldsTerritories]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDManualPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDManualPrices.swift index 99589f56..fb1a0466 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDManualPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDManualPrices.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.InAppPurchasePriceSchedules.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasePriceSchedules-manualPrices-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDRelationships.swift index ef978e67..de1eac82 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDRelationshipsAutomaticPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDRelationshipsAutomaticPrices.swift index b27f3c30..e8d57345 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDRelationshipsAutomaticPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDRelationshipsAutomaticPrices.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDRelationshipsBaseTerritory.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDRelationshipsBaseTerritory.swift index dfe878a1..535fc37e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDRelationshipsBaseTerritory.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDRelationshipsBaseTerritory.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDRelationshipsManualPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDRelationshipsManualPrices.swift index 84fd5878..61c32613 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDRelationshipsManualPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDRelationshipsManualPrices.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseSubmissions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseSubmissions.swift index d0c50bc8..5c819863 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseSubmissions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseSubmissions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.InAppPurchaseSubmissionCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "inAppPurchaseSubmissions-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchases.swift index 92613b66..ea4a5349 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchases.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasesWithID.swift index aee88731..43326dfc 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -17,7 +15,7 @@ extension APIEndpoint.V1.InAppPurchases { @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchases-get_instance") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersions.swift index 5f92301d..211af22e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "preReleaseVersions-get_collection") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithID.swift index 20af2949..d9772e72 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.PreReleaseVersions { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "preReleaseVersions-get_instance") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDApp.swift index 925fc08b..e148c093 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDApp.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.PreReleaseVersions.WithID { public let path: String public func get(fieldsApps: [FieldsApps]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsApps)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsApps), id: "preReleaseVersions-app-get_to_one_related") } private func makeGetQuery(_ fieldsApps: [FieldsApps]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDBuilds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDBuilds.swift index a5f6e519..47c96d4e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDBuilds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDBuilds.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.PreReleaseVersions.WithID { public let path: String public func get(fieldsBuilds: [FieldsBuilds]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsBuilds, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsBuilds, limit), id: "preReleaseVersions-builds-get_to_many_related") } private func makeGetQuery(_ fieldsBuilds: [FieldsBuilds]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDRelationships.swift index 74a9ba1a..6ba6419e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDRelationshipsApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDRelationshipsApp.swift index 8fa0d4a3..5b41d9ba 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDRelationshipsApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDRelationshipsApp.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDRelationshipsBuilds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDRelationshipsBuilds.swift index 8f378c67..e769050d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDRelationshipsBuilds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDRelationshipsBuilds.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Profiles.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Profiles.swift index 385c5289..e0226341 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Profiles.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Profiles.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "profiles-get_collection") } public struct GetParameters { @@ -154,7 +152,7 @@ extension APIEndpoint.V1 { } public func post(_ body: AppStoreConnect_Swift_SDK.ProfileCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "profiles-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithID.swift index f77c1aa0..75ac5e4c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Profiles { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "profiles-get_instance") } public struct GetParameters { @@ -103,7 +101,7 @@ extension APIEndpoint.V1.Profiles { } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "profiles-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDBundleID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDBundleID.swift index 3f1e8574..e9d7696d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDBundleID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDBundleID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Profiles.WithID { public let path: String public func get(fieldsBundleIDs: [FieldsBundleIDs]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsBundleIDs)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsBundleIDs), id: "profiles-bundleId-get_to_one_related") } private func makeGetQuery(_ fieldsBundleIDs: [FieldsBundleIDs]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDCertificates.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDCertificates.swift index ae994697..13bea3d4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDCertificates.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDCertificates.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Profiles.WithID { public let path: String public func get(fieldsCertificates: [FieldsCertificates]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsCertificates, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsCertificates, limit), id: "profiles-certificates-get_to_many_related") } private func makeGetQuery(_ fieldsCertificates: [FieldsCertificates]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDDevices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDDevices.swift index 22ead73a..d022bf68 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDDevices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDDevices.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Profiles.WithID { public let path: String public func get(fieldsDevices: [FieldsDevices]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsDevices, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsDevices, limit), id: "profiles-devices-get_to_many_related") } private func makeGetQuery(_ fieldsDevices: [FieldsDevices]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDRelationships.swift index 9ddc86a0..ca23f076 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDRelationshipsBundleID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDRelationshipsBundleID.swift index 38188705..58dd9fe1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDRelationshipsBundleID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDRelationshipsBundleID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDRelationshipsCertificates.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDRelationshipsCertificates.swift index 08ce4c11..7f424f1b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDRelationshipsCertificates.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDRelationshipsCertificates.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDRelationshipsDevices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDRelationshipsDevices.swift index cd60f550..571d5b97 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDRelationshipsDevices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDRelationshipsDevices.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchaseImages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchaseImages.swift index 616d01e6..448ea598 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchaseImages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchaseImages.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.PromotedPurchaseImageCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "promotedPurchaseImages-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchaseImagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchaseImagesWithID.swift index ece2e9c2..521160fb 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchaseImagesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchaseImagesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.PromotedPurchaseImages { public let path: String public func get(fieldsPromotedPurchaseImages: [FieldsPromotedPurchaseImages]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsPromotedPurchaseImages, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsPromotedPurchaseImages, include), id: "promotedPurchaseImages-get_instance") } private func makeGetQuery(_ fieldsPromotedPurchaseImages: [FieldsPromotedPurchaseImages]?, _ include: [Include]?) -> [(String, String?)] { @@ -44,11 +42,11 @@ extension APIEndpoint.V1.PromotedPurchaseImages { } public func patch(_ body: AppStoreConnect_Swift_SDK.PromotedPurchaseImageUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "promotedPurchaseImages-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "promotedPurchaseImages-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchases.swift index 1214af8a..94987123 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchases.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.PromotedPurchaseCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "promotedPurchases-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithID.swift index e60d70ce..04989840 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.PromotedPurchases { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "promotedPurchases-get_instance") } public struct GetParameters { @@ -72,11 +70,11 @@ extension APIEndpoint.V1.PromotedPurchases { } public func patch(_ body: AppStoreConnect_Swift_SDK.PromotedPurchaseUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "promotedPurchases-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "promotedPurchases-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithIDPromotionImages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithIDPromotionImages.swift index fb3534d6..085a2fc3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithIDPromotionImages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithIDPromotionImages.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.PromotedPurchases.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "promotedPurchases-promotionImages-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithIDRelationships.swift index b36a4dea..d1bbc90b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithIDRelationshipsPromotionImages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithIDRelationshipsPromotionImages.swift index 75ca54ab..88e4fc33 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithIDRelationshipsPromotionImages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithIDRelationshipsPromotionImages.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionItems.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionItems.swift index 5f7594b3..3f4c7b00 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionItems.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionItems.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.ReviewSubmissionItemCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "reviewSubmissionItems-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionItemsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionItemsWithID.swift index 0d7fc700..2528a7f9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionItemsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionItemsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,11 +14,11 @@ extension APIEndpoint.V1.ReviewSubmissionItems { public let path: String public func patch(_ body: AppStoreConnect_Swift_SDK.ReviewSubmissionItemUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "reviewSubmissionItems-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "reviewSubmissionItems-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissions.swift index b01873cc..e716ab80 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters) -> Request { - .get(path, query: parameters.asQuery) + Request(path: path, method: "GET", query: parameters.asQuery, id: "reviewSubmissions-get_collection") } public struct GetParameters { @@ -104,7 +102,7 @@ extension APIEndpoint.V1 { } public func post(_ body: AppStoreConnect_Swift_SDK.ReviewSubmissionCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "reviewSubmissions-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithID.swift index 1e140388..d32330a8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.ReviewSubmissions { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "reviewSubmissions-get_instance") } public struct GetParameters { @@ -76,7 +74,7 @@ extension APIEndpoint.V1.ReviewSubmissions { } public func patch(_ body: AppStoreConnect_Swift_SDK.ReviewSubmissionUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "reviewSubmissions-update_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithIDItems.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithIDItems.swift index ace113d2..edac0d40 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithIDItems.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithIDItems.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.ReviewSubmissions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "reviewSubmissions-items-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithIDRelationships.swift index bde74312..4557f77b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithIDRelationshipsItems.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithIDRelationshipsItems.swift index 8a70f807..54fd6b62 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithIDRelationshipsItems.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithIDRelationshipsItems.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1RoutingAppCoverages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1RoutingAppCoverages.swift index 35a3f008..927fa1f7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1RoutingAppCoverages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1RoutingAppCoverages.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.RoutingAppCoverageCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "routingAppCoverages-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1RoutingAppCoveragesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1RoutingAppCoveragesWithID.swift index 1878b92d..02fbd453 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1RoutingAppCoveragesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1RoutingAppCoveragesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.RoutingAppCoverages { public let path: String public func get(fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsRoutingAppCoverages, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsRoutingAppCoverages, include), id: "routingAppCoverages-get_instance") } private func makeGetQuery(_ fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]?, _ include: [Include]?) -> [(String, String?)] { @@ -41,11 +39,11 @@ extension APIEndpoint.V1.RoutingAppCoverages { } public func patch(_ body: AppStoreConnect_Swift_SDK.RoutingAppCoverageUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "routingAppCoverages-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "routingAppCoverages-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SalesReports.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SalesReports.swift index 942c3767..49e75ffb 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SalesReports.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SalesReports.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters) -> Request { - .get(path, query: parameters.asQuery) + Request(path: path, method: "GET", query: parameters.asQuery, id: "salesReports-get_collection") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ScmGitReferences.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ScmGitReferences.swift index d53be69d..fc39ac35 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ScmGitReferences.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ScmGitReferences.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ScmGitReferencesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ScmGitReferencesWithID.swift index 4f7b4df0..8c99c85c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ScmGitReferencesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ScmGitReferencesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.ScmGitReferences { public let path: String public func get(fieldsScmGitReferences: [FieldsScmGitReferences]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsScmGitReferences, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsScmGitReferences, include), id: "scmGitReferences-get_instance") } private func makeGetQuery(_ fieldsScmGitReferences: [FieldsScmGitReferences]?, _ include: [Include]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ScmProviders.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ScmProviders.swift index 059a174f..1e2a3f9f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ScmProviders.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ScmProviders.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "scmProviders-get_collection") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ScmProvidersWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ScmProvidersWithID.swift index cd35d1d2..d0594673 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ScmProvidersWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ScmProvidersWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.ScmProviders { public let path: String public func get(fieldsScmProviders: [FieldsScmProviders]? = nil, fieldsScmRepositories: [FieldsScmRepositories]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsScmProviders, fieldsScmRepositories)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsScmProviders, fieldsScmRepositories), id: "scmProviders-get_instance") } private func makeGetQuery(_ fieldsScmProviders: [FieldsScmProviders]?, _ fieldsScmRepositories: [FieldsScmRepositories]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ScmProvidersWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ScmProvidersWithIDRelationships.swift index 2fba68e1..4778a2e5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ScmProvidersWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ScmProvidersWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ScmProvidersWithIDRelationshipsRepositories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ScmProvidersWithIDRelationshipsRepositories.swift index 64ab0c46..59bc1bb8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ScmProvidersWithIDRelationshipsRepositories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ScmProvidersWithIDRelationshipsRepositories.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ScmProvidersWithIDRepositories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ScmProvidersWithIDRepositories.swift index ea27dd57..cde2430d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ScmProvidersWithIDRepositories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ScmProvidersWithIDRepositories.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.ScmProviders.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "scmProviders-repositories-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ScmPullRequests.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ScmPullRequests.swift index 302f706f..993c7319 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ScmPullRequests.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ScmPullRequests.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ScmPullRequestsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ScmPullRequestsWithID.swift index 8692c05a..78289bd8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ScmPullRequestsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ScmPullRequestsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.ScmPullRequests { public let path: String public func get(fieldsScmPullRequests: [FieldsScmPullRequests]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsScmPullRequests, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsScmPullRequests, include), id: "scmPullRequests-get_instance") } private func makeGetQuery(_ fieldsScmPullRequests: [FieldsScmPullRequests]?, _ include: [Include]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositories.swift index 1be2cb72..20584087 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositories.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "scmRepositories-get_collection") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithID.swift index c1caf981..e6b05c7a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.ScmRepositories { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "scmRepositories-get_instance") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDGitReferences.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDGitReferences.swift index d211a42d..411d5ec0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDGitReferences.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDGitReferences.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.ScmRepositories.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "scmRepositories-gitReferences-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDPullRequests.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDPullRequests.swift index 24c6f5ef..a0165b0a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDPullRequests.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDPullRequests.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.ScmRepositories.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "scmRepositories-pullRequests-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDRelationships.swift index fa6f2402..4adf697b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDRelationshipsGitReferences.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDRelationshipsGitReferences.swift index 5e9f148d..0969e5da 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDRelationshipsGitReferences.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDRelationshipsGitReferences.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDRelationshipsPullRequests.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDRelationshipsPullRequests.swift index 8cf815f5..524d06a6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDRelationshipsPullRequests.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDRelationshipsPullRequests.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAppStoreReviewScreenshots.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAppStoreReviewScreenshots.swift index 7b22dc3b..544038a1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAppStoreReviewScreenshots.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAppStoreReviewScreenshots.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionAppStoreReviewScreenshotCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "subscriptionAppStoreReviewScreenshots-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAppStoreReviewScreenshotsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAppStoreReviewScreenshotsWithID.swift index 0c540e6a..dc6e0122 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAppStoreReviewScreenshotsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAppStoreReviewScreenshotsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionAppStoreReviewScreenshots { public let path: String public func get(fieldsSubscriptionAppStoreReviewScreenshots: [FieldsSubscriptionAppStoreReviewScreenshots]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsSubscriptionAppStoreReviewScreenshots, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsSubscriptionAppStoreReviewScreenshots, include), id: "subscriptionAppStoreReviewScreenshots-get_instance") } private func makeGetQuery(_ fieldsSubscriptionAppStoreReviewScreenshots: [FieldsSubscriptionAppStoreReviewScreenshots]?, _ include: [Include]?) -> [(String, String?)] { @@ -44,11 +42,11 @@ extension APIEndpoint.V1.SubscriptionAppStoreReviewScreenshots { } public func patch(_ body: AppStoreConnect_Swift_SDK.SubscriptionAppStoreReviewScreenshotUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "subscriptionAppStoreReviewScreenshots-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "subscriptionAppStoreReviewScreenshots-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilities.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilities.swift index 0e038a23..b98ee4af 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilities.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilities.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionAvailabilityCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "subscriptionAvailabilities-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithID.swift index 04a1f6b2..a2aab996 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionAvailabilities { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionAvailabilities-get_instance") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithIDAvailableTerritories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithIDAvailableTerritories.swift index b6c5d690..2abddd75 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithIDAvailableTerritories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithIDAvailableTerritories.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionAvailabilities.WithID { public let path: String public func get(fieldsTerritories: [FieldsTerritories]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsTerritories, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsTerritories, limit), id: "subscriptionAvailabilities-availableTerritories-get_to_many_related") } private func makeGetQuery(_ fieldsTerritories: [FieldsTerritories]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithIDRelationships.swift index a45eee4b..9639ad62 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithIDRelationshipsAvailableTerritories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithIDRelationshipsAvailableTerritories.swift index 1c822de4..a71946ec 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithIDRelationshipsAvailableTerritories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithIDRelationshipsAvailableTerritories.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGracePeriods.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGracePeriods.swift index ddc1029e..d0b21110 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGracePeriods.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGracePeriods.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGracePeriodsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGracePeriodsWithID.swift index ae699e77..d5e663dc 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGracePeriodsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGracePeriodsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionGracePeriods { public let path: String public func get(fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsSubscriptionGracePeriods)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsSubscriptionGracePeriods), id: "subscriptionGracePeriods-get_instance") } private func makeGetQuery(_ fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]?) -> [(String, String?)] { @@ -33,7 +31,7 @@ extension APIEndpoint.V1.SubscriptionGracePeriods { } public func patch(_ body: AppStoreConnect_Swift_SDK.SubscriptionGracePeriodUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "subscriptionGracePeriods-update_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupLocalizations.swift index bdee038e..95c759d0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionGroupLocalizationCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "subscriptionGroupLocalizations-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupLocalizationsWithID.swift index 173234fd..cd2476af 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupLocalizationsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionGroupLocalizations { public let path: String public func get(fieldsSubscriptionGroupLocalizations: [FieldsSubscriptionGroupLocalizations]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsSubscriptionGroupLocalizations, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsSubscriptionGroupLocalizations, include), id: "subscriptionGroupLocalizations-get_instance") } private func makeGetQuery(_ fieldsSubscriptionGroupLocalizations: [FieldsSubscriptionGroupLocalizations]?, _ include: [Include]?) -> [(String, String?)] { @@ -39,11 +37,11 @@ extension APIEndpoint.V1.SubscriptionGroupLocalizations { } public func patch(_ body: AppStoreConnect_Swift_SDK.SubscriptionGroupLocalizationUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "subscriptionGroupLocalizations-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "subscriptionGroupLocalizations-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupSubmissions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupSubmissions.swift index feae1c08..2089e85f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupSubmissions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupSubmissions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionGroupSubmissionCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "subscriptionGroupSubmissions-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroups.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroups.swift index a55c3d1f..607451a0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroups.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroups.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionGroupCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "subscriptionGroups-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithID.swift index b1367432..c4f928f8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionGroups { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionGroups-get_instance") } public struct GetParameters { @@ -90,11 +88,11 @@ extension APIEndpoint.V1.SubscriptionGroups { } public func patch(_ body: AppStoreConnect_Swift_SDK.SubscriptionGroupUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "subscriptionGroups-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "subscriptionGroups-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDRelationships.swift index da4767c3..8facc757 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDRelationshipsSubscriptionGroupLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDRelationshipsSubscriptionGroupLocalizations.swift index 9a6d5f65..c7511646 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDRelationshipsSubscriptionGroupLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDRelationshipsSubscriptionGroupLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDRelationshipsSubscriptions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDRelationshipsSubscriptions.swift index b38d7b68..f12b256e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDRelationshipsSubscriptions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDRelationshipsSubscriptions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptionGroupLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptionGroupLocalizations.swift index 86a99147..7d36d4db 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptionGroupLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptionGroupLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionGroups.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionGroups-subscriptionGroupLocalizations-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptions.swift index 1dfb0245..d760c560 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionGroups.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionGroups-subscriptions-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionIntroductoryOffers.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionIntroductoryOffers.swift index b85aa69c..6ef0c0ba 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionIntroductoryOffers.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionIntroductoryOffers.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionIntroductoryOfferCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "subscriptionIntroductoryOffers-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionIntroductoryOffersWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionIntroductoryOffersWithID.swift index 65261dc8..7af71912 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionIntroductoryOffersWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionIntroductoryOffersWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,11 +14,11 @@ extension APIEndpoint.V1.SubscriptionIntroductoryOffers { public let path: String public func patch(_ body: AppStoreConnect_Swift_SDK.SubscriptionIntroductoryOfferUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "subscriptionIntroductoryOffers-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "subscriptionIntroductoryOffers-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionLocalizations.swift index f0f7840e..4ec7618f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionLocalizationCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "subscriptionLocalizations-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionLocalizationsWithID.swift index 15a4774f..8125da2d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionLocalizationsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionLocalizations { public let path: String public func get(fieldsSubscriptionLocalizations: [FieldsSubscriptionLocalizations]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsSubscriptionLocalizations, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsSubscriptionLocalizations, include), id: "subscriptionLocalizations-get_instance") } private func makeGetQuery(_ fieldsSubscriptionLocalizations: [FieldsSubscriptionLocalizations]?, _ include: [Include]?) -> [(String, String?)] { @@ -39,11 +37,11 @@ extension APIEndpoint.V1.SubscriptionLocalizations { } public func patch(_ body: AppStoreConnect_Swift_SDK.SubscriptionLocalizationUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "subscriptionLocalizations-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "subscriptionLocalizations-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeCustomCodes.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeCustomCodes.swift index 32628d4f..dacce979 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeCustomCodes.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeCustomCodes.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionOfferCodeCustomCodeCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "subscriptionOfferCodeCustomCodes-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeCustomCodesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeCustomCodesWithID.swift index b480c2e2..717ada5b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeCustomCodesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeCustomCodesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionOfferCodeCustomCodes { public let path: String public func get(fieldsSubscriptionOfferCodeCustomCodes: [FieldsSubscriptionOfferCodeCustomCodes]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsSubscriptionOfferCodeCustomCodes, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsSubscriptionOfferCodeCustomCodes, include), id: "subscriptionOfferCodeCustomCodes-get_instance") } private func makeGetQuery(_ fieldsSubscriptionOfferCodeCustomCodes: [FieldsSubscriptionOfferCodeCustomCodes]?, _ include: [Include]?) -> [(String, String?)] { @@ -40,7 +38,7 @@ extension APIEndpoint.V1.SubscriptionOfferCodeCustomCodes { } public func patch(_ body: AppStoreConnect_Swift_SDK.SubscriptionOfferCodeCustomCodeUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "subscriptionOfferCodeCustomCodes-update_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeOneTimeUseCodes.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeOneTimeUseCodes.swift index f8623e75..89a6e975 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeOneTimeUseCodes.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeOneTimeUseCodes.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionOfferCodeOneTimeUseCodeCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "subscriptionOfferCodeOneTimeUseCodes-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeOneTimeUseCodesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeOneTimeUseCodesWithID.swift index d618de61..f0e3f314 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeOneTimeUseCodesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeOneTimeUseCodesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionOfferCodeOneTimeUseCodes { public let path: String public func get(fieldsSubscriptionOfferCodeOneTimeUseCodes: [FieldsSubscriptionOfferCodeOneTimeUseCodes]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsSubscriptionOfferCodeOneTimeUseCodes, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsSubscriptionOfferCodeOneTimeUseCodes, include), id: "subscriptionOfferCodeOneTimeUseCodes-get_instance") } private func makeGetQuery(_ fieldsSubscriptionOfferCodeOneTimeUseCodes: [FieldsSubscriptionOfferCodeOneTimeUseCodes]?, _ include: [Include]?) -> [(String, String?)] { @@ -40,7 +38,7 @@ extension APIEndpoint.V1.SubscriptionOfferCodeOneTimeUseCodes { } public func patch(_ body: AppStoreConnect_Swift_SDK.SubscriptionOfferCodeOneTimeUseCodeUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "subscriptionOfferCodeOneTimeUseCodes-update_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeOneTimeUseCodesWithIDValues.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeOneTimeUseCodesWithIDValues.swift index ade902aa..74b72501 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeOneTimeUseCodesWithIDValues.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeOneTimeUseCodesWithIDValues.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionOfferCodeOneTimeUseCodes.WithID { public let path: String public var get: Request { - .get(path) + Request(path: path, method: "GET", id: "subscriptionOfferCodeOneTimeUseCodes-values-get_to_one_related") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodes.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodes.swift index f7158c8a..e71bf37c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodes.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodes.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionOfferCodeCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "subscriptionOfferCodes-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithID.swift index b4c2e8f0..59284b3b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionOfferCodes { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionOfferCodes-get_instance") } public struct GetParameters { @@ -100,7 +98,7 @@ extension APIEndpoint.V1.SubscriptionOfferCodes { } public func patch(_ body: AppStoreConnect_Swift_SDK.SubscriptionOfferCodeUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "subscriptionOfferCodes-update_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDCustomCodes.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDCustomCodes.swift index d74b703e..5141c9c0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDCustomCodes.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDCustomCodes.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionOfferCodes.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionOfferCodes-customCodes-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDOneTimeUseCodes.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDOneTimeUseCodes.swift index 7b9cb41a..2d511ac9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDOneTimeUseCodes.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDOneTimeUseCodes.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionOfferCodes.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionOfferCodes-oneTimeUseCodes-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDPrices.swift index fbaf2251..81b93bdf 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDPrices.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionOfferCodes.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionOfferCodes-prices-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDRelationships.swift index 6f013080..5abd15b0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDRelationshipsCustomCodes.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDRelationshipsCustomCodes.swift index fbafc1e1..28f17d08 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDRelationshipsCustomCodes.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDRelationshipsCustomCodes.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDRelationshipsOneTimeUseCodes.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDRelationshipsOneTimeUseCodes.swift index 6a7b064f..9fa58b2d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDRelationshipsOneTimeUseCodes.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDRelationshipsOneTimeUseCodes.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDRelationshipsPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDRelationshipsPrices.swift index d705a627..35896f9a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDRelationshipsPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDRelationshipsPrices.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePoints.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePoints.swift index d5c25296..55112aff 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePoints.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePoints.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithID.swift index e476768f..33da8db0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionPricePoints { public let path: String public func get(fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsSubscriptionPricePoints, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsSubscriptionPricePoints, include), id: "subscriptionPricePoints-get_instance") } private func makeGetQuery(_ fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]?, _ include: [Include]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithIDEqualizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithIDEqualizations.swift index 1c600ba9..690c9265 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithIDEqualizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithIDEqualizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionPricePoints.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionPricePoints-equalizations-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithIDRelationships.swift index ab19ef5c..40185aa0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithIDRelationshipsEqualizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithIDRelationshipsEqualizations.swift index f6d99177..cf16d8d2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithIDRelationshipsEqualizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithIDRelationshipsEqualizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPrices.swift index d59eee6c..efafa10b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPrices.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionPriceCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "subscriptionPrices-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricesWithID.swift index 90f70deb..2403a1e8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionPrices { public let path: String public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "subscriptionPrices-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffers.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffers.swift index 59d846da..f53cad7c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffers.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffers.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionPromotionalOfferCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "subscriptionPromotionalOffers-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithID.swift index 206d186f..af3cbf92 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionPromotionalOffers { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionPromotionalOffers-get_instance") } public struct GetParameters { @@ -63,11 +61,11 @@ extension APIEndpoint.V1.SubscriptionPromotionalOffers { } public func patch(_ body: AppStoreConnect_Swift_SDK.SubscriptionPromotionalOfferUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "subscriptionPromotionalOffers-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "subscriptionPromotionalOffers-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithIDPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithIDPrices.swift index 57efcd1c..b8a3babf 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithIDPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithIDPrices.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionPromotionalOffers.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionPromotionalOffers-prices-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithIDRelationships.swift index 633b60b0..70c1d773 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithIDRelationshipsPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithIDRelationshipsPrices.swift index 55aa947a..efa07b79 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithIDRelationshipsPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithIDRelationshipsPrices.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionSubmissions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionSubmissions.swift index b98552f0..4acdf100 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionSubmissions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionSubmissions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionSubmissionCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "subscriptionSubmissions-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Subscriptions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Subscriptions.swift index 7ec0cbfb..e2b893c3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Subscriptions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Subscriptions.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "subscriptions-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithID.swift index b32adcb6..101bc7dd 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Subscriptions { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions-get_instance") } public struct GetParameters { @@ -203,11 +201,11 @@ extension APIEndpoint.V1.Subscriptions { } public func patch(_ body: AppStoreConnect_Swift_SDK.SubscriptionUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "subscriptions-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "subscriptions-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDAppStoreReviewScreenshot.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDAppStoreReviewScreenshot.swift index b36eee2e..babfe0ba 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDAppStoreReviewScreenshot.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDAppStoreReviewScreenshot.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Subscriptions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions-appStoreReviewScreenshot-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDIntroductoryOffers.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDIntroductoryOffers.swift index 77f9e043..de17e4a1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDIntroductoryOffers.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDIntroductoryOffers.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Subscriptions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions-introductoryOffers-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDOfferCodes.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDOfferCodes.swift index 021c5e3e..c2408e8d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDOfferCodes.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDOfferCodes.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Subscriptions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions-offerCodes-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPricePoints.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPricePoints.swift index 20634e61..93091ab0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPricePoints.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPricePoints.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Subscriptions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions-pricePoints-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPrices.swift index 43c88a5c..ae0dfc51 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPrices.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Subscriptions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions-prices-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotedPurchase.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotedPurchase.swift index 4f2f2da4..25c9c3b6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotedPurchase.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotedPurchase.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Subscriptions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions-promotedPurchase-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotionalOffers.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotionalOffers.swift index b3f118ae..eb6da416 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotionalOffers.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotionalOffers.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Subscriptions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions-promotionalOffers-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationships.swift index 3e0beae6..9ec61b0b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsAppStoreReviewScreenshot.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsAppStoreReviewScreenshot.swift index e02d8c5b..bac1be74 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsAppStoreReviewScreenshot.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsAppStoreReviewScreenshot.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsIntroductoryOffers.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsIntroductoryOffers.swift index 7935c0b9..c10750ed 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsIntroductoryOffers.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsIntroductoryOffers.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Subscriptions.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(limit)) + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "subscriptions-introductoryOffers-get_to_many_relationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -26,7 +24,7 @@ extension APIEndpoint.V1.Subscriptions.WithID.Relationships { } public func delete(_ body: AppStoreConnect_Swift_SDK.SubscriptionIntroductoryOffersLinkagesRequest) -> Request { - .delete(path, body: body) + Request(path: path, method: "DELETE", body: body, id: "subscriptions-introductoryOffers-delete_to_many_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsOfferCodes.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsOfferCodes.swift index 2678eb58..89befacc 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsOfferCodes.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsOfferCodes.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsPricePoints.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsPricePoints.swift index 4b7569bd..20474ed1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsPricePoints.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsPricePoints.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsPrices.swift index e20927d8..ee7c6c25 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsPrices.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Subscriptions.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(limit)) + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "subscriptions-prices-get_to_many_relationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -26,7 +24,7 @@ extension APIEndpoint.V1.Subscriptions.WithID.Relationships { } public func delete(_ body: AppStoreConnect_Swift_SDK.SubscriptionPricesLinkagesRequest) -> Request { - .delete(path, body: body) + Request(path: path, method: "DELETE", body: body, id: "subscriptions-prices-delete_to_many_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsPromotedPurchase.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsPromotedPurchase.swift index 0fa8a0d3..24b3f055 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsPromotedPurchase.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsPromotedPurchase.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsPromotionalOffers.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsPromotionalOffers.swift index 31e3cc51..b680746a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsPromotionalOffers.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsPromotionalOffers.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsSubscriptionAvailability.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsSubscriptionAvailability.swift index 690371bd..215b6135 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsSubscriptionAvailability.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsSubscriptionAvailability.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsSubscriptionLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsSubscriptionLocalizations.swift index df8cb830..035e779d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsSubscriptionLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsSubscriptionLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionAvailability.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionAvailability.swift index 28452238..105e1c6a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionAvailability.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionAvailability.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Subscriptions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions-subscriptionAvailability-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionLocalizations.swift index 5f1f3dbc..f65bae53 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Subscriptions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions-subscriptionLocalizations-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Territories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Territories.swift index 5dad8653..a6bb6431 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Territories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Territories.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(fieldsTerritories: [FieldsTerritories]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsTerritories, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsTerritories, limit), id: "territories-get_collection") } private func makeGetQuery(_ fieldsTerritories: [FieldsTerritories]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1TerritoryAvailabilities.swift b/Sources/OpenAPI/Generated/Paths/PathsV1TerritoryAvailabilities.swift index e3905045..a73ff132 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1TerritoryAvailabilities.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1TerritoryAvailabilities.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1TerritoryAvailabilitiesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1TerritoryAvailabilitiesWithID.swift index 51e60208..8dba9da9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1TerritoryAvailabilitiesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1TerritoryAvailabilitiesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.TerritoryAvailabilities { public let path: String public func patch(_ body: AppStoreConnect_Swift_SDK.TerritoryAvailabilityUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "territoryAvailabilities-update_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitations.swift index 61017306..09449faf 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "userInvitations-get_collection") } public struct GetParameters { @@ -143,7 +141,7 @@ extension APIEndpoint.V1 { } public func post(_ body: AppStoreConnect_Swift_SDK.UserInvitationCreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "userInvitations-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithID.swift index 1305c6ed..b8253422 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.UserInvitations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "userInvitations-get_instance") } public struct GetParameters { @@ -105,7 +103,7 @@ extension APIEndpoint.V1.UserInvitations { } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "userInvitations-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithIDRelationships.swift index 22435d32..ed19a248 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithIDRelationshipsVisibleApps.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithIDRelationshipsVisibleApps.swift index ac8062e3..e405f5f8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithIDRelationshipsVisibleApps.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithIDRelationshipsVisibleApps.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithIDVisibleApps.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithIDVisibleApps.swift index d088cee7..4b8066d7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithIDVisibleApps.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithIDVisibleApps.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.UserInvitations.WithID { public let path: String public func get(fieldsApps: [FieldsApps]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsApps, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsApps, limit), id: "userInvitations-visibleApps-get_to_many_related") } private func makeGetQuery(_ fieldsApps: [FieldsApps]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Users.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Users.swift index 8ac4d63c..f1b4ed90 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Users.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Users.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "users-get_collection") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithID.swift index ca8c7293..da56420a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Users { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "users-get_instance") } public struct GetParameters { @@ -104,11 +102,11 @@ extension APIEndpoint.V1.Users { } public func patch(_ body: AppStoreConnect_Swift_SDK.UserUpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "users-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "users-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDRelationships.swift index 5e3eceaa..f990c23b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDRelationshipsVisibleApps.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDRelationshipsVisibleApps.swift index 675e4a77..18ccb40a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDRelationshipsVisibleApps.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDRelationshipsVisibleApps.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Users.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(limit)) + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "users-visibleApps-get_to_many_relationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -26,15 +24,15 @@ extension APIEndpoint.V1.Users.WithID.Relationships { } public func post(_ body: AppStoreConnect_Swift_SDK.UserVisibleAppsLinkagesRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "users-visibleApps-create_to_many_relationship") } public func patch(_ body: AppStoreConnect_Swift_SDK.UserVisibleAppsLinkagesRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "users-visibleApps-replace_to_many_relationship") } public func delete(_ body: AppStoreConnect_Swift_SDK.UserVisibleAppsLinkagesRequest) -> Request { - .delete(path, body: body) + Request(path: path, method: "DELETE", body: body, id: "users-visibleApps-delete_to_many_relationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDVisibleApps.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDVisibleApps.swift index 3248c0ee..06e741d3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDVisibleApps.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDVisibleApps.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V1.Users.WithID { public let path: String public func get(fieldsApps: [FieldsApps]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsApps, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsApps, limit), id: "users-visibleApps-get_to_many_related") } private func makeGetQuery(_ fieldsApps: [FieldsApps]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2.swift b/Sources/OpenAPI/Generated/Paths/PathsV2.swift index 04d2177f..d7253733 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilities.swift b/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilities.swift index 0afa70c7..0b30775a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilities.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilities.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V2 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppAvailabilityV2CreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appAvailabilitiesV2-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithID.swift index 6ac07f74..0da18181 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V2.AppAvailabilities { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appAvailabilitiesV2-get_instance") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithIDRelationships.swift index 858993da..a788527f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithIDRelationshipsTerritoryAvailabilities.swift b/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithIDRelationshipsTerritoryAvailabilities.swift index 932ea952..37764de0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithIDRelationshipsTerritoryAvailabilities.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithIDRelationshipsTerritoryAvailabilities.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithIDTerritoryAvailabilities.swift b/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithIDTerritoryAvailabilities.swift index f6c4ee08..e62e2a2f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithIDTerritoryAvailabilities.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithIDTerritoryAvailabilities.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V2.AppAvailabilities.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appAvailabilitiesV2-territoryAvailabilities-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperiments.swift b/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperiments.swift index a8ed7163..ad68bfc4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperiments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperiments.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V2 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionExperimentV2CreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "appStoreVersionExperimentsV2-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithID.swift index cf1bdb59..eb929212 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V2.AppStoreVersionExperiments { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperimentsV2-get_instance") } public struct GetParameters { @@ -78,11 +76,11 @@ extension APIEndpoint.V2.AppStoreVersionExperiments { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionExperimentV2UpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "appStoreVersionExperimentsV2-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "appStoreVersionExperimentsV2-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithIDAppStoreVersionExperimentTreatments.swift b/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithIDAppStoreVersionExperimentTreatments.swift index 74df6047..74c4cc02 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithIDAppStoreVersionExperimentTreatments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithIDAppStoreVersionExperimentTreatments.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V2.AppStoreVersionExperiments.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperimentsV2-appStoreVersionExperimentTreatments-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithIDRelationships.swift index 1f141ea7..445d7bb5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithIDRelationshipsAppStoreVersionExperimentTreatments.swift b/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithIDRelationshipsAppStoreVersionExperimentTreatments.swift index e340bdd4..1d42abaa 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithIDRelationshipsAppStoreVersionExperimentTreatments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithIDRelationshipsAppStoreVersionExperimentTreatments.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchases.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchases.swift index f6926b09..70a90f20 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchases.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V2 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.InAppPurchaseV2CreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "inAppPurchasesV2-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithID.swift index ae753f47..4acc4264 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V2.InAppPurchases { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasesV2-get_instance") } public struct GetParameters { @@ -153,11 +151,11 @@ extension APIEndpoint.V2.InAppPurchases { } public func patch(_ body: AppStoreConnect_Swift_SDK.InAppPurchaseV2UpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "inAppPurchasesV2-update_instance") } public var delete: Request { - .delete(path) + Request(path: path, method: "DELETE", id: "inAppPurchasesV2-delete_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDAppStoreReviewScreenshot.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDAppStoreReviewScreenshot.swift index 1cd31a4a..1479c709 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDAppStoreReviewScreenshot.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDAppStoreReviewScreenshot.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasesV2-appStoreReviewScreenshot-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDContent.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDContent.swift index 5b96f4ef..d613f3a3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDContent.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDContent.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasesV2-content-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDIapPriceSchedule.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDIapPriceSchedule.swift index 7509d1d9..9ef86aba 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDIapPriceSchedule.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDIapPriceSchedule.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasesV2-iapPriceSchedule-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseAvailability.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseAvailability.swift index b8d0b8b8..309d0cb6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseAvailability.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseAvailability.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasesV2-inAppPurchaseAvailability-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseLocalizations.swift index 7653244b..a8aac3fd 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasesV2-inAppPurchaseLocalizations-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPricePoints.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPricePoints.swift index e6c5dfa0..7cefcb15 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPricePoints.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPricePoints.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasesV2-pricePoints-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPromotedPurchase.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPromotedPurchase.swift index 75db555a..8328040e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPromotedPurchase.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPromotedPurchase.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasesV2-promotedPurchase-get_to_one_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationships.swift index e44acf9e..37cebb67 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsAppStoreReviewScreenshot.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsAppStoreReviewScreenshot.swift index 7ef694f2..01cfa384 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsAppStoreReviewScreenshot.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsAppStoreReviewScreenshot.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsContent.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsContent.swift index f7551ed6..8a31d6f9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsContent.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsContent.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsIapPriceSchedule.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsIapPriceSchedule.swift index d19d6335..5444a500 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsIapPriceSchedule.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsIapPriceSchedule.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsInAppPurchaseAvailability.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsInAppPurchaseAvailability.swift index ea44191c..3dd6d204 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsInAppPurchaseAvailability.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsInAppPurchaseAvailability.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsInAppPurchaseLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsInAppPurchaseLocalizations.swift index 70743bad..ec3c54b2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsInAppPurchaseLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsInAppPurchaseLocalizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsPricePoints.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsPricePoints.swift index a5326bdf..78581104 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsPricePoints.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsPricePoints.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsPromotedPurchase.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsPromotedPurchase.swift index f4e6be1d..93722917 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsPromotedPurchase.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsPromotedPurchase.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2SandboxTesters.swift b/Sources/OpenAPI/Generated/Paths/PathsV2SandboxTesters.swift index b90b9b14..b3e34821 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2SandboxTesters.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2SandboxTesters.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V2 { public let path: String public func get(fieldsSandboxTesters: [FieldsSandboxTesters]? = nil, limit: Int? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsSandboxTesters, limit)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsSandboxTesters, limit), id: "sandboxTestersV2-get_collection") } private func makeGetQuery(_ fieldsSandboxTesters: [FieldsSandboxTesters]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2SandboxTestersClearPurchaseHistoryRequest.swift b/Sources/OpenAPI/Generated/Paths/PathsV2SandboxTestersClearPurchaseHistoryRequest.swift index 1f678ca6..e381660b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2SandboxTestersClearPurchaseHistoryRequest.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2SandboxTestersClearPurchaseHistoryRequest.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V2 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SandboxTestersClearPurchaseHistoryRequestV2CreateRequest) -> Request { - .post(path, body: body) + Request(path: path, method: "POST", body: body, id: "sandboxTestersClearPurchaseHistoryRequestV2-create_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2SandboxTestersWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV2SandboxTestersWithID.swift index 34bfdcd6..eeeb88fc 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2SandboxTestersWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2SandboxTestersWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V2.SandboxTesters { public let path: String public func patch(_ body: AppStoreConnect_Swift_SDK.SandboxTesterV2UpdateRequest) -> Request { - .patch(path, body: body) + Request(path: path, method: "PATCH", body: body, id: "sandboxTestersV2-update_instance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV3.swift b/Sources/OpenAPI/Generated/Paths/PathsV3.swift index bd5bce1c..b2ab3bed 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV3.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV3.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePoints.swift b/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePoints.swift index 3ed54415..92201d56 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePoints.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePoints.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithID.swift index 88f72f89..8d9e1bc5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithID.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V3.AppPricePoints { public let path: String public func get(fieldsAppPricePoints: [FieldsAppPricePoints]? = nil, include: [Include]? = nil) -> Request { - .get(path, query: makeGetQuery(fieldsAppPricePoints, include)) + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppPricePoints, include), id: "appPricePointsV3-get_instance") } private func makeGetQuery(_ fieldsAppPricePoints: [FieldsAppPricePoints]?, _ include: [Include]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithIDEqualizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithIDEqualizations.swift index 7d0c0292..9a55e9d2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithIDEqualizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithIDEqualizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder @@ -16,7 +14,7 @@ extension APIEndpoint.V3.AppPricePoints.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - .get(path, query: parameters?.asQuery) + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appPricePointsV3-equalizations-get_to_many_related") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithIDRelationships.swift index ce8a8412..f08ca0f5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithIDRelationships.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithIDRelationships.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithIDRelationshipsEqualizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithIDRelationshipsEqualizations.swift index ee5d3531..c22b4e14 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithIDRelationshipsEqualizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithIDRelationshipsEqualizations.swift @@ -1,7 +1,5 @@ // Generated by Create API // https://github.com/CreateAPI/CreateAPI -// -// swiftlint:disable all import Foundation import URLQueryEncoder diff --git a/Sources/OpenAPI/app_store_connect_api_2.3_openapi.json b/Sources/OpenAPI/app_store_connect_api.json similarity index 95% rename from Sources/OpenAPI/app_store_connect_api_2.3_openapi.json rename to Sources/OpenAPI/app_store_connect_api.json index 9b978adb..effdf942 100644 --- a/Sources/OpenAPI/app_store_connect_api_2.3_openapi.json +++ b/Sources/OpenAPI/app_store_connect_api.json @@ -2,7 +2,7 @@ "openapi": "3.0.1", "info": { "title": "App Store Connect API", - "version": "3.0", + "version": "3.1", "x-platform": "app_store_connect_api" }, "servers": [ @@ -466,6 +466,7 @@ "AppAvailabilities" ], "operationId": "appAvailabilities-create_instance", + "deprecated": true, "requestBody": { "description": "AppAvailability representation", "content": { @@ -527,6 +528,7 @@ "AppAvailabilities" ], "operationId": "appAvailabilities-get_instance", + "deprecated": true, "parameters": [ { "name": "fields[appAvailabilities]", @@ -6083,6 +6085,7 @@ "AppPreOrders" ], "operationId": "appPreOrders-create_instance", + "deprecated": true, "requestBody": { "description": "AppPreOrder representation", "content": { @@ -6144,6 +6147,7 @@ "AppPreOrders" ], "operationId": "appPreOrders-get_instance", + "deprecated": true, "parameters": [ { "name": "fields[appPreOrders]", @@ -6230,6 +6234,7 @@ "AppPreOrders" ], "operationId": "appPreOrders-update_instance", + "deprecated": true, "requestBody": { "description": "AppPreOrder representation", "content": { @@ -6299,6 +6304,7 @@ "AppPreOrders" ], "operationId": "appPreOrders-delete_instance", + "deprecated": true, "responses": { "400": { "description": "Parameter error(s)", @@ -12089,7 +12095,8 @@ }, "style": "form", "explode": false, - "required": false + "required": false, + "deprecated": true }, { "name": "fields[customerReviews]", @@ -12405,7 +12412,8 @@ }, "style": "form", "explode": false, - "required": false + "required": false, + "deprecated": true }, { "name": "fields[appStoreVersionExperiments]", @@ -13176,7 +13184,8 @@ }, "style": "form", "explode": false, - "required": false + "required": false, + "deprecated": true }, { "name": "fields[customerReviews]", @@ -13492,7 +13501,8 @@ }, "style": "form", "explode": false, - "required": false + "required": false, + "deprecated": true }, { "name": "fields[appStoreVersionExperiments]", @@ -30140,18 +30150,105 @@ } ] }, - "/v1/inAppPurchaseAppStoreReviewScreenshots": { + "/v1/gameCenterMatchmakingQueues": { + "get": { + "tags": [ + "GameCenterMatchmakingQueues" + ], + "operationId": "gameCenterMatchmakingQueues-get_collection", + "parameters": [ + { + "name": "fields[gameCenterMatchmakingQueues]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterMatchmakingQueues", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "experimentRuleSet", + "referenceName", + "ruleSet" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "experimentRuleSet", + "ruleSet" + ] + } + }, + "style": "form", + "explode": false, + "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of GameCenterMatchmakingQueues", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterMatchmakingQueuesResponse" + } + } + } + } + } + }, "post": { "tags": [ - "InAppPurchaseAppStoreReviewScreenshots" + "GameCenterMatchmakingQueues" ], - "operationId": "inAppPurchaseAppStoreReviewScreenshots-create_instance", + "operationId": "gameCenterMatchmakingQueues-create_instance", "requestBody": { - "description": "InAppPurchaseAppStoreReviewScreenshot representation", + "description": "GameCenterMatchmakingQueue representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseAppStoreReviewScreenshotCreateRequest" + "$ref": "#/components/schemas/GameCenterMatchmakingQueueCreateRequest" } } }, @@ -30179,11 +30276,11 @@ } }, "201": { - "description": "Single InAppPurchaseAppStoreReviewScreenshot", + "description": "Single GameCenterMatchmakingQueue", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseAppStoreReviewScreenshotResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingQueueResponse" } } } @@ -30201,32 +30298,25 @@ } } }, - "/v1/inAppPurchaseAppStoreReviewScreenshots/{id}": { + "/v1/gameCenterMatchmakingQueues/{id}": { "get": { "tags": [ - "InAppPurchaseAppStoreReviewScreenshots" + "GameCenterMatchmakingQueues" ], - "operationId": "inAppPurchaseAppStoreReviewScreenshots-get_instance", + "operationId": "gameCenterMatchmakingQueues-get_instance", "parameters": [ { - "name": "fields[inAppPurchaseAppStoreReviewScreenshots]", + "name": "fields[gameCenterMatchmakingQueues]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseAppStoreReviewScreenshots", + "description": "the fields to include for returned resources of type gameCenterMatchmakingQueues", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", - "fileSize", - "imageAsset", - "inAppPurchaseV2", - "sourceFileChecksum", - "uploadOperations", - "uploaded" + "experimentRuleSet", + "referenceName", + "ruleSet" ] } }, @@ -30243,7 +30333,8 @@ "items": { "type": "string", "enum": [ - "inAppPurchaseV2" + "experimentRuleSet", + "ruleSet" ] } }, @@ -30284,11 +30375,11 @@ } }, "200": { - "description": "Single InAppPurchaseAppStoreReviewScreenshot", + "description": "Single GameCenterMatchmakingQueue", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseAppStoreReviewScreenshotResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingQueueResponse" } } } @@ -30297,15 +30388,15 @@ }, "patch": { "tags": [ - "InAppPurchaseAppStoreReviewScreenshots" + "GameCenterMatchmakingQueues" ], - "operationId": "inAppPurchaseAppStoreReviewScreenshots-update_instance", + "operationId": "gameCenterMatchmakingQueues-update_instance", "requestBody": { - "description": "InAppPurchaseAppStoreReviewScreenshot representation", + "description": "GameCenterMatchmakingQueue representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseAppStoreReviewScreenshotUpdateRequest" + "$ref": "#/components/schemas/GameCenterMatchmakingQueueUpdateRequest" } } }, @@ -30343,11 +30434,11 @@ } }, "200": { - "description": "Single InAppPurchaseAppStoreReviewScreenshot", + "description": "Single GameCenterMatchmakingQueue", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseAppStoreReviewScreenshotResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingQueueResponse" } } } @@ -30366,9 +30457,9 @@ }, "delete": { "tags": [ - "InAppPurchaseAppStoreReviewScreenshots" + "GameCenterMatchmakingQueues" ], - "operationId": "inAppPurchaseAppStoreReviewScreenshots-delete_instance", + "operationId": "gameCenterMatchmakingQueues-delete_instance", "responses": { "400": { "description": "Parameter error(s)", @@ -30428,18 +30519,18 @@ } ] }, - "/v1/inAppPurchaseAvailabilities": { + "/v1/gameCenterMatchmakingRuleSetTests": { "post": { "tags": [ - "InAppPurchaseAvailabilities" + "GameCenterMatchmakingRuleSetTests" ], - "operationId": "inAppPurchaseAvailabilities-create_instance", + "operationId": "gameCenterMatchmakingRuleSetTests-create_instance", "requestBody": { - "description": "InAppPurchaseAvailability representation", + "description": "GameCenterMatchmakingRuleSetTest representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseAvailabilityCreateRequest" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetTestCreateRequest" } } }, @@ -30467,11 +30558,11 @@ } }, "201": { - "description": "Single InAppPurchaseAvailability", + "description": "Single GameCenterMatchmakingRuleSetTest", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseAvailabilityResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetTestResponse" } } } @@ -30489,25 +30580,29 @@ } } }, - "/v1/inAppPurchaseAvailabilities/{id}": { + "/v1/gameCenterMatchmakingRuleSets": { "get": { "tags": [ - "InAppPurchaseAvailabilities" + "GameCenterMatchmakingRuleSets" ], - "operationId": "inAppPurchaseAvailabilities-get_instance", + "operationId": "gameCenterMatchmakingRuleSets-get_collection", "parameters": [ { - "name": "fields[inAppPurchaseAvailabilities]", + "name": "fields[gameCenterMatchmakingRuleSets]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseAvailabilities", + "description": "the fields to include for returned resources of type gameCenterMatchmakingRuleSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "availableInNewTerritories", - "availableTerritories", - "inAppPurchase" + "matchmakingQueues", + "maxPlayers", + "minPlayers", + "referenceName", + "ruleLanguageVersion", + "rules", + "teams" ] } }, @@ -30515,6 +30610,16 @@ "explode": false, "required": false }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -30524,7 +30629,9 @@ "items": { "type": "string", "enum": [ - "availableTerritories" + "matchmakingQueues", + "rules", + "teams" ] } }, @@ -30533,15 +30640,17 @@ "required": false }, { - "name": "fields[territories]", + "name": "fields[gameCenterMatchmakingQueues]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type gameCenterMatchmakingQueues", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "experimentRuleSet", + "referenceName", + "ruleSet" ] } }, @@ -30550,94 +30659,18 @@ "required": false }, { - "name": "limit[availableTerritories]", - "in": "query", - "description": "maximum number of related availableTerritories returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single InAppPurchaseAvailability", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InAppPurchaseAvailabilityResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/inAppPurchaseContents/{id}": { - "get": { - "tags": [ - "InAppPurchaseContents" - ], - "operationId": "inAppPurchaseContents-get_instance", - "parameters": [ - { - "name": "fields[inAppPurchaseContents]", + "name": "fields[gameCenterMatchmakingTeams]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseContents", + "description": "the fields to include for returned resources of type gameCenterMatchmakingTeams", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileName", - "fileSize", - "inAppPurchaseV2", - "lastModifiedDate", - "url" + "maxPlayers", + "minPlayers", + "referenceName", + "ruleSet" ] } }, @@ -30646,21 +30679,59 @@ "required": false }, { - "name": "include", + "name": "fields[gameCenterMatchmakingRules]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type gameCenterMatchmakingRules", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "inAppPurchaseV2" + "description", + "expression", + "referenceName", + "ruleSet", + "type", + "weight" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[matchmakingQueues]", + "in": "query", + "description": "maximum number of related matchmakingQueues returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[rules]", + "in": "query", + "description": "maximum number of related rules returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[teams]", + "in": "query", + "description": "maximum number of related teams returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -30684,53 +30755,29 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single InAppPurchaseContent", + "description": "List of GameCenterMatchmakingRuleSets", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseContentResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetsResponse" } } } } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/inAppPurchaseLocalizations": { "post": { "tags": [ - "InAppPurchaseLocalizations" + "GameCenterMatchmakingRuleSets" ], - "operationId": "inAppPurchaseLocalizations-create_instance", + "operationId": "gameCenterMatchmakingRuleSets-create_instance", "requestBody": { - "description": "InAppPurchaseLocalization representation", + "description": "GameCenterMatchmakingRuleSet representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseLocalizationCreateRequest" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetCreateRequest" } } }, @@ -30758,11 +30805,11 @@ } }, "201": { - "description": "Single InAppPurchaseLocalization", + "description": "Single GameCenterMatchmakingRuleSet", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseLocalizationResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetResponse" } } } @@ -30780,27 +30827,29 @@ } } }, - "/v1/inAppPurchaseLocalizations/{id}": { + "/v1/gameCenterMatchmakingRuleSets/{id}": { "get": { "tags": [ - "InAppPurchaseLocalizations" + "GameCenterMatchmakingRuleSets" ], - "operationId": "inAppPurchaseLocalizations-get_instance", + "operationId": "gameCenterMatchmakingRuleSets-get_instance", "parameters": [ { - "name": "fields[inAppPurchaseLocalizations]", + "name": "fields[gameCenterMatchmakingRuleSets]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", + "description": "the fields to include for returned resources of type gameCenterMatchmakingRuleSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "description", - "inAppPurchaseV2", - "locale", - "name", - "state" + "matchmakingQueues", + "maxPlayers", + "minPlayers", + "referenceName", + "ruleLanguageVersion", + "rules", + "teams" ] } }, @@ -30817,13 +30866,109 @@ "items": { "type": "string", "enum": [ - "inAppPurchaseV2" + "matchmakingQueues", + "rules", + "teams" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterMatchmakingQueues]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterMatchmakingQueues", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "experimentRuleSet", + "referenceName", + "ruleSet" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterMatchmakingTeams]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterMatchmakingTeams", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "maxPlayers", + "minPlayers", + "referenceName", + "ruleSet" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterMatchmakingRules]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterMatchmakingRules", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "description", + "expression", + "referenceName", + "ruleSet", + "type", + "weight" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[matchmakingQueues]", + "in": "query", + "description": "maximum number of related matchmakingQueues returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[rules]", + "in": "query", + "description": "maximum number of related rules returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[teams]", + "in": "query", + "description": "maximum number of related teams returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -30858,11 +31003,11 @@ } }, "200": { - "description": "Single InAppPurchaseLocalization", + "description": "Single GameCenterMatchmakingRuleSet", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseLocalizationResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetResponse" } } } @@ -30871,15 +31016,15 @@ }, "patch": { "tags": [ - "InAppPurchaseLocalizations" + "GameCenterMatchmakingRuleSets" ], - "operationId": "inAppPurchaseLocalizations-update_instance", + "operationId": "gameCenterMatchmakingRuleSets-update_instance", "requestBody": { - "description": "InAppPurchaseLocalization representation", + "description": "GameCenterMatchmakingRuleSet representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseLocalizationUpdateRequest" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetUpdateRequest" } } }, @@ -30917,11 +31062,11 @@ } }, "200": { - "description": "Single InAppPurchaseLocalization", + "description": "Single GameCenterMatchmakingRuleSet", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseLocalizationResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetResponse" } } } @@ -30940,9 +31085,9 @@ }, "delete": { "tags": [ - "InAppPurchaseLocalizations" + "GameCenterMatchmakingRuleSets" ], - "operationId": "inAppPurchaseLocalizations-delete_instance", + "operationId": "gameCenterMatchmakingRuleSets-delete_instance", "responses": { "400": { "description": "Parameter error(s)", @@ -31002,18 +31147,18 @@ } ] }, - "/v1/inAppPurchasePriceSchedules": { + "/v1/gameCenterMatchmakingRules": { "post": { "tags": [ - "InAppPurchasePriceSchedules" + "GameCenterMatchmakingRules" ], - "operationId": "inAppPurchasePriceSchedules-create_instance", + "operationId": "gameCenterMatchmakingRules-create_instance", "requestBody": { - "description": "InAppPurchasePriceSchedule representation", + "description": "GameCenterMatchmakingRule representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchasePriceScheduleCreateRequest" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleCreateRequest" } } }, @@ -31041,11 +31186,11 @@ } }, "201": { - "description": "Single InAppPurchasePriceSchedule", + "description": "Single GameCenterMatchmakingRule", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchasePriceScheduleResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleResponse" } } } @@ -31063,115 +31208,81 @@ } } }, - "/v1/inAppPurchasePriceSchedules/{id}": { - "get": { + "/v1/gameCenterMatchmakingRules/{id}": { + "patch": { "tags": [ - "InAppPurchasePriceSchedules" + "GameCenterMatchmakingRules" ], - "operationId": "inAppPurchasePriceSchedules-get_instance", - "parameters": [ - { - "name": "fields[inAppPurchasePriceSchedules]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePriceSchedules", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "automaticPrices", - "baseTerritory", - "inAppPurchase", - "manualPrices" - ] + "operationId": "gameCenterMatchmakingRules-update_instance", + "requestBody": { + "description": "GameCenterMatchmakingRule representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterMatchmakingRuleUpdateRequest" } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "automaticPrices", - "baseTerritory", - "inAppPurchase", - "manualPrices" - ] + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[inAppPurchasePrices]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePrices", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "endDate", - "inAppPurchasePricePoint", - "inAppPurchaseV2", - "manual", - "startDate", - "territory" - ] + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[territories]", - "in": "query", - "description": "the fields to include for returned resources of type territories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" - ] + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "limit[automaticPrices]", - "in": "query", - "description": "maximum number of related automaticPrices returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false + "200": { + "description": "Single GameCenterMatchmakingRule", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterMatchmakingRuleResponse" + } + } + } }, - { - "name": "limit[manualPrices]", - "in": "query", - "description": "maximum number of related manualPrices returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } + } + }, + "delete": { + "tags": [ + "GameCenterMatchmakingRules" ], + "operationId": "gameCenterMatchmakingRules-delete_instance", "responses": { "400": { "description": "Parameter error(s)", @@ -31203,15 +31314,18 @@ } } }, - "200": { - "description": "Single InAppPurchasePriceSchedule", + "409": { + "description": "Request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchasePriceScheduleResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } + }, + "204": { + "description": "Success (no content)" } } }, @@ -31228,18 +31342,18 @@ } ] }, - "/v1/inAppPurchaseSubmissions": { + "/v1/gameCenterMatchmakingTeams": { "post": { "tags": [ - "InAppPurchaseSubmissions" + "GameCenterMatchmakingTeams" ], - "operationId": "inAppPurchaseSubmissions-create_instance", + "operationId": "gameCenterMatchmakingTeams-create_instance", "requestBody": { - "description": "InAppPurchaseSubmission representation", + "description": "GameCenterMatchmakingTeam representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseSubmissionCreateRequest" + "$ref": "#/components/schemas/GameCenterMatchmakingTeamCreateRequest" } } }, @@ -31267,11 +31381,11 @@ } }, "201": { - "description": "Single InAppPurchaseSubmission", + "description": "Single GameCenterMatchmakingTeam", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseSubmissionResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingTeamResponse" } } } @@ -31289,64 +31403,81 @@ } } }, - "/v1/inAppPurchases/{id}": { - "get": { + "/v1/gameCenterMatchmakingTeams/{id}": { + "patch": { "tags": [ - "InAppPurchases" + "GameCenterMatchmakingTeams" ], - "operationId": "inAppPurchases-get_instance", - "deprecated": true, - "parameters": [ - { - "name": "fields[inAppPurchases]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "apps", - "inAppPurchaseType", - "productId", - "referenceName", - "state" - ] + "operationId": "gameCenterMatchmakingTeams-update_instance", + "requestBody": { + "description": "GameCenterMatchmakingTeam representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterMatchmakingTeamUpdateRequest" } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "apps" - ] + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "limit[apps]", - "in": "query", - "description": "maximum number of related apps returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single GameCenterMatchmakingTeam", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterMatchmakingTeamResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } + } + }, + "delete": { + "tags": [ + "GameCenterMatchmakingTeams" ], + "operationId": "gameCenterMatchmakingTeams-delete_instance", "responses": { "400": { "description": "Parameter error(s)", @@ -31378,15 +31509,18 @@ } } }, - "200": { - "description": "Single InAppPurchase", + "409": { + "description": "Request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } + }, + "204": { + "description": "Success (no content)" } } }, @@ -31403,18 +31537,18 @@ } ] }, - "/v2/inAppPurchases": { + "/v1/inAppPurchaseAppStoreReviewScreenshots": { "post": { "tags": [ - "InAppPurchases" + "InAppPurchaseAppStoreReviewScreenshots" ], - "operationId": "inAppPurchasesV2-create_instance", + "operationId": "inAppPurchaseAppStoreReviewScreenshots-create_instance", "requestBody": { - "description": "InAppPurchase representation", + "description": "InAppPurchaseAppStoreReviewScreenshot representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseV2CreateRequest" + "$ref": "#/components/schemas/InAppPurchaseAppStoreReviewScreenshotCreateRequest" } } }, @@ -31442,11 +31576,11 @@ } }, "201": { - "description": "Single InAppPurchase", + "description": "Single InAppPurchaseAppStoreReviewScreenshot", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseV2Response" + "$ref": "#/components/schemas/InAppPurchaseAppStoreReviewScreenshotResponse" } } } @@ -31464,38 +31598,32 @@ } } }, - "/v2/inAppPurchases/{id}": { + "/v1/inAppPurchaseAppStoreReviewScreenshots/{id}": { "get": { "tags": [ - "InAppPurchases" + "InAppPurchaseAppStoreReviewScreenshots" ], - "operationId": "inAppPurchasesV2-get_instance", + "operationId": "inAppPurchaseAppStoreReviewScreenshots-get_instance", "parameters": [ { - "name": "fields[inAppPurchases]", + "name": "fields[inAppPurchaseAppStoreReviewScreenshots]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "the fields to include for returned resources of type inAppPurchaseAppStoreReviewScreenshots", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appStoreReviewScreenshot", - "availableInAllTerritories", - "content", - "contentHosting", - "familySharable", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "inAppPurchaseLocalizations", - "inAppPurchaseType", - "name", - "pricePoints", - "productId", - "promotedPurchase", - "reviewNote", - "state" + "assetDeliveryState", + "assetToken", + "assetType", + "fileName", + "fileSize", + "imageAsset", + "inAppPurchaseV2", + "sourceFileChecksum", + "uploadOperations", + "uploaded" ] } }, @@ -31512,214 +31640,35 @@ "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", - "content", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "inAppPurchaseLocalizations", - "pricePoints", - "promotedPurchase" + "inAppPurchaseV2" ] } }, "style": "form", "explode": false, "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "fields[inAppPurchaseAvailabilities]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseAvailabilities", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "availableInNewTerritories", - "availableTerritories", - "inAppPurchase" - ] + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[inAppPurchaseAppStoreReviewScreenshots]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseAppStoreReviewScreenshots", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", - "fileSize", - "imageAsset", - "inAppPurchaseV2", - "sourceFileChecksum", - "uploadOperations", - "uploaded" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[promotedPurchases]", - "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "enabled", - "inAppPurchaseV2", - "promotionImages", - "state", - "subscription", - "visibleForAllUsers" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[inAppPurchasePricePoints]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePricePoints", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "customerPrice", - "inAppPurchaseV2", - "priceTier", - "proceeds", - "territory" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[inAppPurchaseLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "inAppPurchaseV2", - "locale", - "name", - "state" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[inAppPurchasePriceSchedules]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePriceSchedules", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "automaticPrices", - "baseTerritory", - "inAppPurchase", - "manualPrices" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[inAppPurchaseContents]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseContents", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileName", - "fileSize", - "inAppPurchaseV2", - "lastModifiedDate", - "url" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit[inAppPurchaseLocalizations]", - "in": "query", - "description": "maximum number of related inAppPurchaseLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[pricePoints]", - "in": "query", - "description": "maximum number of related pricePoints returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 8000 - }, - "style": "form", - "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + } }, "404": { "description": "Not found error", @@ -31732,11 +31681,11 @@ } }, "200": { - "description": "Single InAppPurchase", + "description": "Single InAppPurchaseAppStoreReviewScreenshot", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseV2Response" + "$ref": "#/components/schemas/InAppPurchaseAppStoreReviewScreenshotResponse" } } } @@ -31745,15 +31694,15 @@ }, "patch": { "tags": [ - "InAppPurchases" + "InAppPurchaseAppStoreReviewScreenshots" ], - "operationId": "inAppPurchasesV2-update_instance", + "operationId": "inAppPurchaseAppStoreReviewScreenshots-update_instance", "requestBody": { - "description": "InAppPurchase representation", + "description": "InAppPurchaseAppStoreReviewScreenshot representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseV2UpdateRequest" + "$ref": "#/components/schemas/InAppPurchaseAppStoreReviewScreenshotUpdateRequest" } } }, @@ -31791,11 +31740,11 @@ } }, "200": { - "description": "Single InAppPurchase", + "description": "Single InAppPurchaseAppStoreReviewScreenshot", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseV2Response" + "$ref": "#/components/schemas/InAppPurchaseAppStoreReviewScreenshotResponse" } } } @@ -31814,9 +31763,9 @@ }, "delete": { "tags": [ - "InAppPurchases" + "InAppPurchaseAppStoreReviewScreenshots" ], - "operationId": "inAppPurchasesV2-delete_instance", + "operationId": "inAppPurchaseAppStoreReviewScreenshots-delete_instance", "responses": { "400": { "description": "Parameter error(s)", @@ -31876,153 +31825,86 @@ } ] }, - "/v1/preReleaseVersions": { - "get": { + "/v1/inAppPurchaseAvailabilities": { + "post": { "tags": [ - "PreReleaseVersions" + "InAppPurchaseAvailabilities" ], - "operationId": "preReleaseVersions-get_collection", - "parameters": [ - { - "name": "filter[builds.expired]", - "in": "query", - "description": "filter by attribute 'builds.expired'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[builds.processingState]", - "in": "query", - "description": "filter by attribute 'builds.processingState'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "PROCESSING", - "FAILED", - "INVALID", - "VALID" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[builds.version]", - "in": "query", - "description": "filter by attribute 'builds.version'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[platform]", - "in": "query", - "description": "filter by attribute 'platform'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IOS", - "MAC_OS", - "TV_OS" - ] + "operationId": "inAppPurchaseAvailabilities-create_instance", + "requestBody": { + "description": "InAppPurchaseAvailability representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InAppPurchaseAvailabilityCreateRequest" } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "filter[version]", - "in": "query", - "description": "filter by attribute 'version'", - "schema": { - "type": "array", - "items": { - "type": "string" + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "filter[app]", - "in": "query", - "description": "filter by id(s) of related 'app'", - "schema": { - "type": "array", - "items": { - "type": "string" + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "filter[builds]", - "in": "query", - "description": "filter by id(s) of related 'builds'", - "schema": { - "type": "array", - "items": { - "type": "string" + "201": { + "description": "Single InAppPurchaseAvailability", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InAppPurchaseAvailabilityResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "sort", - "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "version", - "-version" - ] + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false - }, + } + } + } + } + }, + "/v1/inAppPurchaseAvailabilities/{id}": { + "get": { + "tags": [ + "InAppPurchaseAvailabilities" + ], + "operationId": "inAppPurchaseAvailabilities-get_instance", + "parameters": [ { - "name": "fields[preReleaseVersions]", + "name": "fields[inAppPurchaseAvailabilities]", "in": "query", - "description": "the fields to include for returned resources of type preReleaseVersions", + "description": "the fields to include for returned resources of type inAppPurchaseAvailabilities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "builds", - "platform", - "version" + "availableInNewTerritories", + "availableTerritories", + "inAppPurchase" ] } }, @@ -32030,16 +31912,6 @@ "explode": false, "required": false }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -32049,68 +31921,7 @@ "items": { "type": "string", "enum": [ - "app", - "builds" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "availableInNewTerritories", - "availableTerritories", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "pricePoints", - "prices", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "availableTerritories" ] } }, @@ -32119,38 +31930,15 @@ "required": false }, { - "name": "fields[builds]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "currency" ] } }, @@ -32159,9 +31947,9 @@ "required": false }, { - "name": "limit[builds]", + "name": "limit[availableTerritories]", "in": "query", - "description": "maximum number of related builds returned (when they are included)", + "description": "maximum number of related availableTerritories returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -32191,39 +31979,62 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "List of PreReleaseVersions", + "description": "Single InAppPurchaseAvailability", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PreReleaseVersionsResponse" + "$ref": "#/components/schemas/InAppPurchaseAvailabilityResponse" } } } } } - } - }, - "/v1/preReleaseVersions/{id}": { - "get": { - "tags": [ - "PreReleaseVersions" + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/inAppPurchaseContents/{id}": { + "get": { + "tags": [ + "InAppPurchaseContents" ], - "operationId": "preReleaseVersions-get_instance", + "operationId": "inAppPurchaseContents-get_instance", "parameters": [ { - "name": "fields[preReleaseVersions]", + "name": "fields[inAppPurchaseContents]", "in": "query", - "description": "the fields to include for returned resources of type preReleaseVersions", + "description": "the fields to include for returned resources of type inAppPurchaseContents", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "builds", - "platform", - "version" + "fileName", + "fileSize", + "inAppPurchaseV2", + "lastModifiedDate", + "url" ] } }, @@ -32240,125 +32051,13 @@ "items": { "type": "string", "enum": [ - "app", - "builds" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "availableInNewTerritories", - "availableTerritories", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "pricePoints", - "prices", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[builds]", - "in": "query", - "description": "the fields to include for returned resources of type builds", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "inAppPurchaseV2" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[builds]", - "in": "query", - "description": "maximum number of related builds returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -32393,11 +32092,11 @@ } }, "200": { - "description": "Single PrereleaseVersion", + "description": "Single InAppPurchaseContent", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PrereleaseVersionResponse" + "$ref": "#/components/schemas/InAppPurchaseContentResponse" } } } @@ -32417,133 +32116,88 @@ } ] }, - "/v1/profiles": { - "get": { + "/v1/inAppPurchaseLocalizations": { + "post": { "tags": [ - "Profiles" + "InAppPurchaseLocalizations" ], - "operationId": "profiles-get_collection", - "parameters": [ - { - "name": "filter[name]", - "in": "query", - "description": "filter by attribute 'name'", - "schema": { - "type": "array", - "items": { - "type": "string" + "operationId": "inAppPurchaseLocalizations-create_instance", + "requestBody": { + "description": "InAppPurchaseLocalization representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InAppPurchaseLocalizationCreateRequest" } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "filter[profileState]", - "in": "query", - "description": "filter by attribute 'profileState'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ACTIVE", - "INVALID" - ] + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "filter[profileType]", - "in": "query", - "description": "filter by attribute 'profileType'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IOS_APP_DEVELOPMENT", - "IOS_APP_STORE", - "IOS_APP_ADHOC", - "IOS_APP_INHOUSE", - "MAC_APP_DEVELOPMENT", - "MAC_APP_STORE", - "MAC_APP_DIRECT", - "TVOS_APP_DEVELOPMENT", - "TVOS_APP_STORE", - "TVOS_APP_ADHOC", - "TVOS_APP_INHOUSE", - "MAC_CATALYST_APP_DEVELOPMENT", - "MAC_CATALYST_APP_STORE", - "MAC_CATALYST_APP_DIRECT" - ] + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "filter[id]", - "in": "query", - "description": "filter by id(s)", - "schema": { - "type": "array", - "items": { - "type": "string" + "201": { + "description": "Single InAppPurchaseLocalization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InAppPurchaseLocalizationResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "sort", - "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "id", - "-id", - "name", - "-name", - "profileState", - "-profileState", - "profileType", - "-profileType" - ] + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false - }, + } + } + } + } + }, + "/v1/inAppPurchaseLocalizations/{id}": { + "get": { + "tags": [ + "InAppPurchaseLocalizations" + ], + "operationId": "inAppPurchaseLocalizations-get_instance", + "parameters": [ { - "name": "fields[profiles]", + "name": "fields[inAppPurchaseLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type profiles", + "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "bundleId", - "certificates", - "createdDate", - "devices", - "expirationDate", + "description", + "inAppPurchaseV2", + "locale", "name", - "platform", - "profileContent", - "profileState", - "profileType", - "uuid" + "state" ] } }, @@ -32551,16 +32205,6 @@ "explode": false, "required": false }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -32570,107 +32214,13 @@ "items": { "type": "string", "enum": [ - "bundleId", - "certificates", - "devices" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[certificates]", - "in": "query", - "description": "the fields to include for returned resources of type certificates", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "certificateContent", - "certificateType", - "csrContent", - "displayName", - "expirationDate", - "name", - "platform", - "serialNumber" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[devices]", - "in": "query", - "description": "the fields to include for returned resources of type devices", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "addedDate", - "deviceClass", - "model", - "name", - "platform", - "status", - "udid" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[bundleIds]", - "in": "query", - "description": "the fields to include for returned resources of type bundleIds", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "bundleIdCapabilities", - "identifier", - "name", - "platform", - "profiles", - "seedId" + "inAppPurchaseV2" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[certificates]", - "in": "query", - "description": "maximum number of related certificates returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[devices]", - "in": "query", - "description": "maximum number of related devices returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -32694,29 +32244,39 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "List of Profiles", + "description": "Single InAppPurchaseLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProfilesResponse" + "$ref": "#/components/schemas/InAppPurchaseLocalizationResponse" } } } } } }, - "post": { + "patch": { "tags": [ - "Profiles" + "InAppPurchaseLocalizations" ], - "operationId": "profiles-create_instance", + "operationId": "inAppPurchaseLocalizations-update_instance", "requestBody": { - "description": "Profile representation", + "description": "InAppPurchaseLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProfileCreateRequest" + "$ref": "#/components/schemas/InAppPurchaseLocalizationUpdateRequest" } } }, @@ -32743,12 +32303,22 @@ } } }, - "201": { - "description": "Single Profile", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProfileResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single InAppPurchaseLocalization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InAppPurchaseLocalizationResponse" } } } @@ -32764,210 +32334,20 @@ } } } - } - }, - "/v1/profiles/{id}": { - "get": { + }, + "delete": { "tags": [ - "Profiles" + "InAppPurchaseLocalizations" ], - "operationId": "profiles-get_instance", - "parameters": [ - { - "name": "fields[profiles]", - "in": "query", - "description": "the fields to include for returned resources of type profiles", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "bundleId", - "certificates", - "createdDate", - "devices", - "expirationDate", - "name", - "platform", - "profileContent", - "profileState", - "profileType", - "uuid" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "bundleId", - "certificates", - "devices" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[certificates]", - "in": "query", - "description": "the fields to include for returned resources of type certificates", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "certificateContent", - "certificateType", - "csrContent", - "displayName", - "expirationDate", - "name", - "platform", - "serialNumber" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[devices]", - "in": "query", - "description": "the fields to include for returned resources of type devices", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "addedDate", - "deviceClass", - "model", - "name", - "platform", - "status", - "udid" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[bundleIds]", - "in": "query", - "description": "the fields to include for returned resources of type bundleIds", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "bundleIdCapabilities", - "identifier", - "name", - "platform", - "profiles", - "seedId" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit[certificates]", - "in": "query", - "description": "maximum number of related certificates returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[devices]", - "in": "query", - "description": "maximum number of related devices returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single Profile", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProfileResponse" - } - } - } - } - } - }, - "delete": { - "tags": [ - "Profiles" - ], - "operationId": "profiles-delete_instance", - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + "operationId": "inAppPurchaseLocalizations-delete_instance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } } }, @@ -33019,18 +32399,18 @@ } ] }, - "/v1/promotedPurchaseImages": { + "/v1/inAppPurchasePriceSchedules": { "post": { "tags": [ - "PromotedPurchaseImages" + "InAppPurchasePriceSchedules" ], - "operationId": "promotedPurchaseImages-create_instance", + "operationId": "inAppPurchasePriceSchedules-create_instance", "requestBody": { - "description": "PromotedPurchaseImage representation", + "description": "InAppPurchasePriceSchedule representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PromotedPurchaseImageCreateRequest" + "$ref": "#/components/schemas/InAppPurchasePriceScheduleCreateRequest" } } }, @@ -33058,11 +32438,11 @@ } }, "201": { - "description": "Single PromotedPurchaseImage", + "description": "Single InAppPurchasePriceSchedule", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PromotedPurchaseImageResponse" + "$ref": "#/components/schemas/InAppPurchasePriceScheduleResponse" } } } @@ -33080,32 +32460,26 @@ } } }, - "/v1/promotedPurchaseImages/{id}": { + "/v1/inAppPurchasePriceSchedules/{id}": { "get": { "tags": [ - "PromotedPurchaseImages" + "InAppPurchasePriceSchedules" ], - "operationId": "promotedPurchaseImages-get_instance", + "operationId": "inAppPurchasePriceSchedules-get_instance", "parameters": [ { - "name": "fields[promotedPurchaseImages]", + "name": "fields[inAppPurchasePriceSchedules]", "in": "query", - "description": "the fields to include for returned resources of type promotedPurchaseImages", + "description": "the fields to include for returned resources of type inAppPurchasePriceSchedules", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetToken", - "assetType", - "fileName", - "fileSize", - "imageAsset", - "promotedPurchase", - "sourceFileChecksum", - "state", - "uploadOperations", - "uploaded" + "automaticPrices", + "baseTerritory", + "inAppPurchase", + "manualPrices" ] } }, @@ -33122,13 +32496,77 @@ "items": { "type": "string", "enum": [ - "promotedPurchase" + "automaticPrices", + "baseTerritory", + "inAppPurchase", + "manualPrices" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[inAppPurchasePrices]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchasePrices", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "endDate", + "inAppPurchasePricePoint", + "inAppPurchaseV2", + "manual", + "startDate", + "territory" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[territories]", + "in": "query", + "description": "the fields to include for returned resources of type territories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "currency" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[automaticPrices]", + "in": "query", + "description": "maximum number of related automaticPrices returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[manualPrices]", + "in": "query", + "description": "maximum number of related manualPrices returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -33163,28 +32601,42 @@ } }, "200": { - "description": "Single PromotedPurchaseImage", + "description": "Single InAppPurchasePriceSchedule", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PromotedPurchaseImageResponse" + "$ref": "#/components/schemas/InAppPurchasePriceScheduleResponse" } } } } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/inAppPurchaseSubmissions": { + "post": { "tags": [ - "PromotedPurchaseImages" + "InAppPurchaseSubmissions" ], - "operationId": "promotedPurchaseImages-update_instance", + "operationId": "inAppPurchaseSubmissions-create_instance", "requestBody": { - "description": "PromotedPurchaseImage representation", + "description": "InAppPurchaseSubmission representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PromotedPurchaseImageUpdateRequest" + "$ref": "#/components/schemas/InAppPurchaseSubmissionCreateRequest" } } }, @@ -33211,22 +32663,12 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single PromotedPurchaseImage", + "201": { + "description": "Single InAppPurchaseSubmission", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PromotedPurchaseImageResponse" + "$ref": "#/components/schemas/InAppPurchaseSubmissionResponse" } } } @@ -33242,12 +32684,66 @@ } } } - }, - "delete": { + } + }, + "/v1/inAppPurchases/{id}": { + "get": { "tags": [ - "PromotedPurchaseImages" + "InAppPurchases" + ], + "operationId": "inAppPurchases-get_instance", + "deprecated": true, + "parameters": [ + { + "name": "fields[inAppPurchases]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "apps", + "inAppPurchaseType", + "productId", + "referenceName", + "state" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "apps" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[apps]", + "in": "query", + "description": "maximum number of related apps returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } ], - "operationId": "promotedPurchaseImages-delete_instance", "responses": { "400": { "description": "Parameter error(s)", @@ -33279,18 +32775,15 @@ } } }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Single InAppPurchase", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/InAppPurchaseResponse" } } } - }, - "204": { - "description": "Success (no content)" } } }, @@ -33307,18 +32800,18 @@ } ] }, - "/v1/promotedPurchases": { + "/v2/inAppPurchases": { "post": { "tags": [ - "PromotedPurchases" + "InAppPurchases" ], - "operationId": "promotedPurchases-create_instance", + "operationId": "inAppPurchasesV2-create_instance", "requestBody": { - "description": "PromotedPurchase representation", + "description": "InAppPurchase representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PromotedPurchaseCreateRequest" + "$ref": "#/components/schemas/InAppPurchaseV2CreateRequest" } } }, @@ -33346,11 +32839,11 @@ } }, "201": { - "description": "Single PromotedPurchase", + "description": "Single InAppPurchase", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PromotedPurchaseResponse" + "$ref": "#/components/schemas/InAppPurchaseV2Response" } } } @@ -33368,29 +32861,38 @@ } } }, - "/v1/promotedPurchases/{id}": { + "/v2/inAppPurchases/{id}": { "get": { "tags": [ - "PromotedPurchases" + "InAppPurchases" ], - "operationId": "promotedPurchases-get_instance", + "operationId": "inAppPurchasesV2-get_instance", "parameters": [ { - "name": "fields[promotedPurchases]", + "name": "fields[inAppPurchases]", "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ "app", - "enabled", - "inAppPurchaseV2", - "promotionImages", - "state", - "subscription", - "visibleForAllUsers" + "appStoreReviewScreenshot", + "availableInAllTerritories", + "content", + "contentHosting", + "familySharable", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "inAppPurchaseLocalizations", + "inAppPurchaseType", + "name", + "pricePoints", + "productId", + "promotedPurchase", + "reviewNote", + "state" ] } }, @@ -33407,9 +32909,13 @@ "items": { "type": "string", "enum": [ - "inAppPurchaseV2", - "promotionImages", - "subscription" + "appStoreReviewScreenshot", + "content", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "inAppPurchaseLocalizations", + "pricePoints", + "promotedPurchase" ] } }, @@ -33418,22 +32924,41 @@ "required": false }, { - "name": "fields[promotedPurchaseImages]", + "name": "fields[inAppPurchaseAvailabilities]", "in": "query", - "description": "the fields to include for returned resources of type promotedPurchaseImages", + "description": "the fields to include for returned resources of type inAppPurchaseAvailabilities", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "availableInNewTerritories", + "availableTerritories", + "inAppPurchase" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[inAppPurchaseAppStoreReviewScreenshots]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseAppStoreReviewScreenshots", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "assetDeliveryState", "assetToken", "assetType", "fileName", "fileSize", "imageAsset", - "promotedPurchase", + "inAppPurchaseV2", "sourceFileChecksum", - "state", "uploadOperations", "uploaded" ] @@ -33444,134 +32969,134 @@ "required": false }, { - "name": "limit[promotionImages]", + "name": "fields[promotedPurchases]", "in": "query", - "description": "maximum number of related promotionImages returned (when they are included)", + "description": "the fields to include for returned resources of type promotedPurchases", "schema": { - "type": "integer", - "maximum": 50 + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "enabled", + "inAppPurchaseV2", + "promotionImages", + "state", + "subscription", + "visibleForAllUsers" + ] + } }, "style": "form", + "explode": false, "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single PromotedPurchase", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PromotedPurchaseResponse" - } - } - } - } - } - }, - "patch": { - "tags": [ - "PromotedPurchases" - ], - "operationId": "promotedPurchases-update_instance", - "requestBody": { - "description": "PromotedPurchase representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PromotedPurchaseUpdateRequest" + { + "name": "fields[inAppPurchasePricePoints]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchasePricePoints", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "customerPrice", + "inAppPurchaseV2", + "priceTier", + "proceeds", + "territory" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[inAppPurchaseLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "description", + "inAppPurchaseV2", + "locale", + "name", + "state" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[inAppPurchasePriceSchedules]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchasePriceSchedules", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "automaticPrices", + "baseTerritory", + "inAppPurchase", + "manualPrices" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[inAppPurchaseContents]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseContents", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileName", + "fileSize", + "inAppPurchaseV2", + "lastModifiedDate", + "url" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "200": { - "description": "Single PromotedPurchase", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PromotedPurchaseResponse" - } - } - } + { + "name": "limit[inAppPurchaseLocalizations]", + "in": "query", + "description": "maximum number of related inAppPurchaseLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + { + "name": "limit[pricePoints]", + "in": "query", + "description": "maximum number of related pricePoints returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 8000 + }, + "style": "form", + "required": false } - } - }, - "delete": { - "tags": [ - "PromotedPurchases" ], - "operationId": "promotedPurchases-delete_instance", "responses": { "400": { "description": "Parameter error(s)", @@ -33603,107 +33128,29 @@ } } }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Single InAppPurchase", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/InAppPurchaseV2Response" } } } - }, - "204": { - "description": "Success (no content)" } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/reviewSubmissionItems": { - "post": { - "tags": [ - "ReviewSubmissionItems" - ], - "operationId": "reviewSubmissionItems-create_instance", - "requestBody": { - "description": "ReviewSubmissionItem representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReviewSubmissionItemCreateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "201": { - "description": "Single ReviewSubmissionItem", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReviewSubmissionItemResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - } - }, - "/v1/reviewSubmissionItems/{id}": { "patch": { "tags": [ - "ReviewSubmissionItems" + "InAppPurchases" ], - "operationId": "reviewSubmissionItems-update_instance", + "operationId": "inAppPurchasesV2-update_instance", "requestBody": { - "description": "ReviewSubmissionItem representation", + "description": "InAppPurchase representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReviewSubmissionItemUpdateRequest" + "$ref": "#/components/schemas/InAppPurchaseV2UpdateRequest" } } }, @@ -33741,11 +33188,11 @@ } }, "200": { - "description": "Single ReviewSubmissionItem", + "description": "Single InAppPurchase", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReviewSubmissionItemResponse" + "$ref": "#/components/schemas/InAppPurchaseV2Response" } } } @@ -33764,9 +33211,9 @@ }, "delete": { "tags": [ - "ReviewSubmissionItems" + "InAppPurchases" ], - "operationId": "reviewSubmissionItems-delete_instance", + "operationId": "inAppPurchasesV2-delete_instance", "responses": { "400": { "description": "Parameter error(s)", @@ -33826,13 +33273,61 @@ } ] }, - "/v1/reviewSubmissions": { + "/v1/preReleaseVersions": { "get": { "tags": [ - "ReviewSubmissions" + "PreReleaseVersions" ], - "operationId": "reviewSubmissions-get_collection", + "operationId": "preReleaseVersions-get_collection", "parameters": [ + { + "name": "filter[builds.expired]", + "in": "query", + "description": "filter by attribute 'builds.expired'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[builds.processingState]", + "in": "query", + "description": "filter by attribute 'builds.processingState'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "PROCESSING", + "FAILED", + "INVALID", + "VALID" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[builds.version]", + "in": "query", + "description": "filter by attribute 'builds.version'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, { "name": "filter[platform]", "in": "query", @@ -33853,22 +33348,13 @@ "required": false }, { - "name": "filter[state]", + "name": "filter[version]", "in": "query", - "description": "filter by attribute 'state'", + "description": "filter by attribute 'version'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "READY_FOR_REVIEW", - "WAITING_FOR_REVIEW", - "IN_REVIEW", - "UNRESOLVED_ISSUES", - "CANCELING", - "COMPLETING", - "COMPLETE" - ] + "type": "string" } }, "style": "form", @@ -33887,27 +33373,53 @@ }, "style": "form", "explode": false, - "required": true + "required": false }, { - "name": "fields[reviewSubmissions]", + "name": "filter[builds]", "in": "query", - "description": "the fields to include for returned resources of type reviewSubmissions", + "description": "filter by id(s) of related 'builds'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "-version" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[preReleaseVersions]", + "in": "query", + "description": "the fields to include for returned resources of type preReleaseVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ "app", - "appStoreVersionForReview", - "canceled", - "items", - "lastUpdatedByActor", + "builds", "platform", - "state", - "submitted", - "submittedByActor", - "submittedDate" + "version" ] } }, @@ -33935,10 +33447,7 @@ "type": "string", "enum": [ "app", - "appStoreVersionForReview", - "items", - "lastUpdatedByActor", - "submittedByActor" + "builds" ] } }, @@ -33947,23 +33456,98 @@ "required": false }, { - "name": "fields[reviewSubmissionItems]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type reviewSubmissionItems", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageVersion", - "appEvent", + "appAvailability", + "appClips", + "appCustomProductPages", + "appEncryptionDeclarations", + "appEvents", + "appInfos", + "appPricePoints", + "appPriceSchedule", + "appStoreVersionExperimentsV2", + "appStoreVersions", + "availableInNewTerritories", + "availableTerritories", + "betaAppLocalizations", + "betaAppReviewDetail", + "betaGroups", + "betaLicenseAgreement", + "betaTesters", + "builds", + "bundleId", + "ciProduct", + "contentRightsDeclaration", + "customerReviews", + "endUserLicenseAgreement", + "gameCenterDetail", + "gameCenterEnabledVersions", + "inAppPurchases", + "inAppPurchasesV2", + "isOrEverWasMadeForKids", + "name", + "perfPowerMetrics", + "preOrder", + "preReleaseVersions", + "pricePoints", + "prices", + "primaryLocale", + "promotedPurchases", + "reviewSubmissions", + "sku", + "subscriptionGracePeriod", + "subscriptionGroups", + "subscriptionStatusUrl", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlVersionForSandbox" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[builds]", + "in": "query", + "description": "the fields to include for returned resources of type builds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "appEncryptionDeclaration", "appStoreVersion", - "appStoreVersionExperiment", - "appStoreVersionExperimentV2", - "removed", - "resolved", - "reviewSubmission", - "state" + "betaAppReviewSubmission", + "betaBuildLocalizations", + "betaGroups", + "buildAudienceType", + "buildBetaDetail", + "buildBundles", + "computedMinMacOsVersion", + "diagnosticSignatures", + "expirationDate", + "expired", + "iconAssetToken", + "icons", + "individualTesters", + "lsMinimumSystemVersion", + "minOsVersion", + "perfPowerMetrics", + "preReleaseVersion", + "processingState", + "uploadedDate", + "usesNonExemptEncryption", + "version" ] } }, @@ -33972,9 +33556,9 @@ "required": false }, { - "name": "limit[items]", + "name": "limit[builds]", "in": "query", - "description": "maximum number of related items returned (when they are included)", + "description": "maximum number of related builds returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -34005,70 +33589,11 @@ } }, "200": { - "description": "List of ReviewSubmissions", + "description": "List of PreReleaseVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReviewSubmissionsResponse" - } - } - } - } - } - }, - "post": { - "tags": [ - "ReviewSubmissions" - ], - "operationId": "reviewSubmissions-create_instance", - "requestBody": { - "description": "ReviewSubmission representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReviewSubmissionCreateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "201": { - "description": "Single ReviewSubmission", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReviewSubmissionResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/PreReleaseVersionsResponse" } } } @@ -34076,32 +33601,26 @@ } } }, - "/v1/reviewSubmissions/{id}": { + "/v1/preReleaseVersions/{id}": { "get": { "tags": [ - "ReviewSubmissions" + "PreReleaseVersions" ], - "operationId": "reviewSubmissions-get_instance", + "operationId": "preReleaseVersions-get_instance", "parameters": [ { - "name": "fields[reviewSubmissions]", + "name": "fields[preReleaseVersions]", "in": "query", - "description": "the fields to include for returned resources of type reviewSubmissions", + "description": "the fields to include for returned resources of type preReleaseVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ "app", - "appStoreVersionForReview", - "canceled", - "items", - "lastUpdatedByActor", + "builds", "platform", - "state", - "submitted", - "submittedByActor", - "submittedDate" + "version" ] } }, @@ -34119,10 +33638,7 @@ "type": "string", "enum": [ "app", - "appStoreVersionForReview", - "items", - "lastUpdatedByActor", - "submittedByActor" + "builds" ] } }, @@ -34131,23 +33647,98 @@ "required": false }, { - "name": "fields[reviewSubmissionItems]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type reviewSubmissionItems", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageVersion", - "appEvent", + "appAvailability", + "appClips", + "appCustomProductPages", + "appEncryptionDeclarations", + "appEvents", + "appInfos", + "appPricePoints", + "appPriceSchedule", + "appStoreVersionExperimentsV2", + "appStoreVersions", + "availableInNewTerritories", + "availableTerritories", + "betaAppLocalizations", + "betaAppReviewDetail", + "betaGroups", + "betaLicenseAgreement", + "betaTesters", + "builds", + "bundleId", + "ciProduct", + "contentRightsDeclaration", + "customerReviews", + "endUserLicenseAgreement", + "gameCenterDetail", + "gameCenterEnabledVersions", + "inAppPurchases", + "inAppPurchasesV2", + "isOrEverWasMadeForKids", + "name", + "perfPowerMetrics", + "preOrder", + "preReleaseVersions", + "pricePoints", + "prices", + "primaryLocale", + "promotedPurchases", + "reviewSubmissions", + "sku", + "subscriptionGracePeriod", + "subscriptionGroups", + "subscriptionStatusUrl", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlVersionForSandbox" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[builds]", + "in": "query", + "description": "the fields to include for returned resources of type builds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "appEncryptionDeclaration", "appStoreVersion", - "appStoreVersionExperiment", - "appStoreVersionExperimentV2", - "removed", - "resolved", - "reviewSubmission", - "state" + "betaAppReviewSubmission", + "betaBuildLocalizations", + "betaGroups", + "buildAudienceType", + "buildBetaDetail", + "buildBundles", + "computedMinMacOsVersion", + "diagnosticSignatures", + "expirationDate", + "expired", + "iconAssetToken", + "icons", + "individualTesters", + "lsMinimumSystemVersion", + "minOsVersion", + "perfPowerMetrics", + "preReleaseVersion", + "processingState", + "uploadedDate", + "usesNonExemptEncryption", + "version" ] } }, @@ -34156,9 +33747,9 @@ "required": false }, { - "name": "limit[items]", + "name": "limit[builds]", "in": "query", - "description": "maximum number of related items returned (when they are included)", + "description": "maximum number of related builds returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -34199,33 +33790,286 @@ } }, "200": { - "description": "Single ReviewSubmission", + "description": "Single PrereleaseVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReviewSubmissionResponse" + "$ref": "#/components/schemas/PrereleaseVersionResponse" } } } } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/profiles": { + "get": { "tags": [ - "ReviewSubmissions" + "Profiles" ], - "operationId": "reviewSubmissions-update_instance", - "requestBody": { - "description": "ReviewSubmission representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReviewSubmissionUpdateRequest" + "operationId": "profiles-get_collection", + "parameters": [ + { + "name": "filter[name]", + "in": "query", + "description": "filter by attribute 'name'", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, + { + "name": "filter[profileState]", + "in": "query", + "description": "filter by attribute 'profileState'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ACTIVE", + "INVALID" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[profileType]", + "in": "query", + "description": "filter by attribute 'profileType'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "IOS_APP_DEVELOPMENT", + "IOS_APP_STORE", + "IOS_APP_ADHOC", + "IOS_APP_INHOUSE", + "MAC_APP_DEVELOPMENT", + "MAC_APP_STORE", + "MAC_APP_DIRECT", + "TVOS_APP_DEVELOPMENT", + "TVOS_APP_STORE", + "TVOS_APP_ADHOC", + "TVOS_APP_INHOUSE", + "MAC_CATALYST_APP_DEVELOPMENT", + "MAC_CATALYST_APP_STORE", + "MAC_CATALYST_APP_DIRECT" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[id]", + "in": "query", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "id", + "-id", + "name", + "-name", + "profileState", + "-profileState", + "profileType", + "-profileType" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[profiles]", + "in": "query", + "description": "the fields to include for returned resources of type profiles", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "bundleId", + "certificates", + "createdDate", + "devices", + "expirationDate", + "name", + "platform", + "profileContent", + "profileState", + "profileType", + "uuid" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "bundleId", + "certificates", + "devices" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[certificates]", + "in": "query", + "description": "the fields to include for returned resources of type certificates", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "certificateContent", + "certificateType", + "csrContent", + "displayName", + "expirationDate", + "name", + "platform", + "serialNumber" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[devices]", + "in": "query", + "description": "the fields to include for returned resources of type devices", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "addedDate", + "deviceClass", + "model", + "name", + "platform", + "status", + "udid" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[bundleIds]", + "in": "query", + "description": "the fields to include for returned resources of type bundleIds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "bundleIdCapabilities", + "identifier", + "name", + "platform", + "profiles", + "seedId" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[certificates]", + "in": "query", + "description": "maximum number of related certificates returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[devices]", + "in": "query", + "description": "maximum number of related devices returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -34247,63 +34091,29 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single ReviewSubmission", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReviewSubmissionResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "description": "List of Profiles", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ProfilesResponse" } } } } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/routingAppCoverages": { "post": { "tags": [ - "RoutingAppCoverages" + "Profiles" ], - "operationId": "routingAppCoverages-create_instance", + "operationId": "profiles-create_instance", "requestBody": { - "description": "RoutingAppCoverage representation", + "description": "Profile representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RoutingAppCoverageCreateRequest" + "$ref": "#/components/schemas/ProfileCreateRequest" } } }, @@ -34331,11 +34141,11 @@ } }, "201": { - "description": "Single RoutingAppCoverage", + "description": "Single Profile", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RoutingAppCoverageResponse" + "$ref": "#/components/schemas/ProfileResponse" } } } @@ -34353,29 +34163,33 @@ } } }, - "/v1/routingAppCoverages/{id}": { + "/v1/profiles/{id}": { "get": { "tags": [ - "RoutingAppCoverages" + "Profiles" ], - "operationId": "routingAppCoverages-get_instance", + "operationId": "profiles-get_instance", "parameters": [ { - "name": "fields[routingAppCoverages]", + "name": "fields[profiles]", "in": "query", - "description": "the fields to include for returned resources of type routingAppCoverages", + "description": "the fields to include for returned resources of type profiles", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreVersion", - "assetDeliveryState", - "fileName", - "fileSize", - "sourceFileChecksum", - "uploadOperations", - "uploaded" + "bundleId", + "certificates", + "createdDate", + "devices", + "expirationDate", + "name", + "platform", + "profileContent", + "profileState", + "profileType", + "uuid" ] } }, @@ -34392,13 +34206,107 @@ "items": { "type": "string", "enum": [ - "appStoreVersion" + "bundleId", + "certificates", + "devices" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[certificates]", + "in": "query", + "description": "the fields to include for returned resources of type certificates", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "certificateContent", + "certificateType", + "csrContent", + "displayName", + "expirationDate", + "name", + "platform", + "serialNumber" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[devices]", + "in": "query", + "description": "the fields to include for returned resources of type devices", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "addedDate", + "deviceClass", + "model", + "name", + "platform", + "status", + "udid" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[bundleIds]", + "in": "query", + "description": "the fields to include for returned resources of type bundleIds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "bundleIdCapabilities", + "identifier", + "name", + "platform", + "profiles", + "seedId" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[certificates]", + "in": "query", + "description": "maximum number of related certificates returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[devices]", + "in": "query", + "description": "maximum number of related devices returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -34433,33 +34341,22 @@ } }, "200": { - "description": "Single RoutingAppCoverage", + "description": "Single Profile", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RoutingAppCoverageResponse" + "$ref": "#/components/schemas/ProfileResponse" } } } } } }, - "patch": { + "delete": { "tags": [ - "RoutingAppCoverages" + "Profiles" ], - "operationId": "routingAppCoverages-update_instance", - "requestBody": { - "description": "RoutingAppCoverage representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RoutingAppCoverageUpdateRequest" - } - } - }, - "required": true - }, + "operationId": "profiles-delete_instance", "responses": { "400": { "description": "Parameter error(s)", @@ -34491,16 +34388,6 @@ } } }, - "200": { - "description": "Single RoutingAppCoverage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RoutingAppCoverageResponse" - } - } - } - }, "409": { "description": "Request entity error(s)", "content": { @@ -34510,14 +34397,42 @@ } } } + }, + "204": { + "description": "Success (no content)" } } }, - "delete": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/promotedPurchaseImages": { + "post": { "tags": [ - "RoutingAppCoverages" + "PromotedPurchaseImages" ], - "operationId": "routingAppCoverages-delete_instance", + "operationId": "promotedPurchaseImages-create_instance", + "requestBody": { + "description": "PromotedPurchaseImage representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PromotedPurchaseImageCreateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -34539,12 +34454,12 @@ } } }, - "404": { - "description": "Not found error", + "201": { + "description": "Single PromotedPurchaseImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/PromotedPurchaseImageResponse" } } } @@ -34558,133 +34473,58 @@ } } } - }, - "204": { - "description": "Success (no content)" } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/salesReports": { + "/v1/promotedPurchaseImages/{id}": { "get": { "tags": [ - "SalesReports" + "PromotedPurchaseImages" ], - "operationId": "salesReports-get_collection", + "operationId": "promotedPurchaseImages-get_instance", "parameters": [ { - "name": "filter[frequency]", + "name": "fields[promotedPurchaseImages]", "in": "query", - "description": "filter by attribute 'frequency'", + "description": "the fields to include for returned resources of type promotedPurchaseImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "DAILY", - "WEEKLY", - "MONTHLY", - "YEARLY" + "assetToken", + "assetType", + "fileName", + "fileSize", + "imageAsset", + "promotedPurchase", + "sourceFileChecksum", + "state", + "uploadOperations", + "uploaded" ] } }, "style": "form", "explode": false, - "required": true - }, - { - "name": "filter[reportDate]", - "in": "query", - "description": "filter by attribute 'reportDate'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, "required": false }, { - "name": "filter[reportSubType]", - "in": "query", - "description": "filter by attribute 'reportSubType'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "SUMMARY", - "DETAILED" - ] - } - }, - "style": "form", - "explode": false, - "required": true - }, - { - "name": "filter[reportType]", + "name": "include", "in": "query", - "description": "filter by attribute 'reportType'", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "SALES", - "PRE_ORDER", - "NEWSSTAND", - "SUBSCRIPTION", - "SUBSCRIPTION_EVENT", - "SUBSCRIBER", - "SUBSCRIPTION_OFFER_CODE_REDEMPTION" + "promotedPurchase" ] } }, "style": "form", "explode": false, - "required": true - }, - { - "name": "filter[vendorNumber]", - "in": "query", - "description": "filter by attribute 'vendorNumber'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": true - }, - { - "name": "filter[version]", - "in": "query", - "description": "filter by attribute 'version'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, "required": false } ], @@ -34709,60 +34549,44 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "List of SalesReports", + "description": "Single PromotedPurchaseImage", "content": { - "application/a-gzip": { + "application/json": { "schema": { - "$ref": "#/components/schemas/gzip" + "$ref": "#/components/schemas/PromotedPurchaseImageResponse" } } } } } - } - }, - "/v2/sandboxTesters": { - "get": { + }, + "patch": { "tags": [ - "SandboxTesters" + "PromotedPurchaseImages" ], - "operationId": "sandboxTestersV2-get_collection", - "parameters": [ - { - "name": "fields[sandboxTesters]", - "in": "query", - "description": "the fields to include for returned resources of type sandboxTesters", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "acAccountName", - "applePayCompatible", - "firstName", - "interruptPurchases", - "lastName", - "subscriptionRenewalRate", - "territory" - ] + "operationId": "promotedPurchaseImages-update_instance", + "requestBody": { + "description": "PromotedPurchaseImage representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PromotedPurchaseImageUpdateRequest" } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -34784,36 +34608,43 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "List of SandboxTesters", + "description": "Single PromotedPurchaseImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SandboxTestersV2Response" + "$ref": "#/components/schemas/PromotedPurchaseImageResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } } - } - }, - "/v2/sandboxTesters/{id}": { - "patch": { + }, + "delete": { "tags": [ - "SandboxTesters" + "PromotedPurchaseImages" ], - "operationId": "sandboxTestersV2-update_instance", - "requestBody": { - "description": "SandboxTester representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SandboxTesterV2UpdateRequest" - } - } - }, - "required": true - }, + "operationId": "promotedPurchaseImages-delete_instance", "responses": { "400": { "description": "Parameter error(s)", @@ -34845,16 +34676,6 @@ } } }, - "200": { - "description": "Single SandboxTester", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SandboxTesterV2Response" - } - } - } - }, "409": { "description": "Request entity error(s)", "content": { @@ -34864,6 +34685,9 @@ } } } + }, + "204": { + "description": "Success (no content)" } } }, @@ -34880,18 +34704,18 @@ } ] }, - "/v2/sandboxTestersClearPurchaseHistoryRequest": { + "/v1/promotedPurchases": { "post": { "tags": [ - "SandboxTestersClearPurchaseHistoryRequest" + "PromotedPurchases" ], - "operationId": "sandboxTestersClearPurchaseHistoryRequestV2-create_instance", + "operationId": "promotedPurchases-create_instance", "requestBody": { - "description": "SandboxTestersClearPurchaseHistoryRequest representation", + "description": "PromotedPurchase representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SandboxTestersClearPurchaseHistoryRequestV2CreateRequest" + "$ref": "#/components/schemas/PromotedPurchaseCreateRequest" } } }, @@ -34919,11 +34743,11 @@ } }, "201": { - "description": "Single SandboxTestersClearPurchaseHistoryRequest", + "description": "Single PromotedPurchase", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SandboxTestersClearPurchaseHistoryRequestV2Response" + "$ref": "#/components/schemas/PromotedPurchaseResponse" } } } @@ -34941,27 +34765,29 @@ } } }, - "/v1/scmGitReferences/{id}": { + "/v1/promotedPurchases/{id}": { "get": { "tags": [ - "ScmGitReferences" + "PromotedPurchases" ], - "operationId": "scmGitReferences-get_instance", + "operationId": "promotedPurchases-get_instance", "parameters": [ { - "name": "fields[scmGitReferences]", + "name": "fields[promotedPurchases]", "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", + "description": "the fields to include for returned resources of type promotedPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "canonicalName", - "isDeleted", - "kind", - "name", - "repository" + "app", + "enabled", + "inAppPurchaseV2", + "promotionImages", + "state", + "subscription", + "visibleForAllUsers" ] } }, @@ -34978,13 +34804,52 @@ "items": { "type": "string", "enum": [ - "repository" + "inAppPurchaseV2", + "promotionImages", + "subscription" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[promotedPurchaseImages]", + "in": "query", + "description": "the fields to include for returned resources of type promotedPurchaseImages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "assetToken", + "assetType", + "fileName", + "fileSize", + "imageAsset", + "promotedPurchase", + "sourceFileChecksum", + "state", + "uploadOperations", + "uploaded" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[promotionImages]", + "in": "query", + "description": "maximum number of related promotionImages returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -35019,92 +34884,33 @@ } }, "200": { - "description": "Single ScmGitReference", + "description": "Single PromotedPurchase", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ScmGitReferenceResponse" + "$ref": "#/components/schemas/PromotedPurchaseResponse" } } } } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/scmProviders": { - "get": { + "patch": { "tags": [ - "ScmProviders" + "PromotedPurchases" ], - "operationId": "scmProviders-get_collection", - "parameters": [ - { - "name": "fields[scmProviders]", - "in": "query", - "description": "the fields to include for returned resources of type scmProviders", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "repositories", - "scmProviderType", - "url" - ] + "operationId": "promotedPurchases-update_instance", + "requestBody": { + "description": "PromotedPurchase representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PromotedPurchaseUpdateRequest" } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" + } }, - { - "name": "fields[scmRepositories]", - "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "defaultBranch", - "gitReferences", - "httpCloneUrl", - "lastAccessedDate", - "ownerName", - "pullRequests", - "repositoryName", - "scmProvider", - "sshCloneUrl" - ] - } - }, - "style": "form", - "explode": false, - "required": false - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -35126,71 +34932,43 @@ } } }, - "200": { - "description": "List of ScmProviders", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ScmProvidersResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } - } - } - } - }, - "/v1/scmProviders/{id}": { - "get": { - "tags": [ - "ScmProviders" - ], - "operationId": "scmProviders-get_instance", - "parameters": [ - { - "name": "fields[scmProviders]", - "in": "query", - "description": "the fields to include for returned resources of type scmProviders", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "repositories", - "scmProviderType", - "url" - ] + }, + "200": { + "description": "Single PromotedPurchase", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PromotedPurchaseResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "fields[scmRepositories]", - "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "defaultBranch", - "gitReferences", - "httpCloneUrl", - "lastAccessedDate", - "ownerName", - "pullRequests", - "repositoryName", - "scmProvider", - "sshCloneUrl" - ] + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } } + } + }, + "delete": { + "tags": [ + "PromotedPurchases" ], + "operationId": "promotedPurchases-delete_instance", "responses": { "400": { "description": "Parameter error(s)", @@ -35222,15 +35000,18 @@ } } }, - "200": { - "description": "Single ScmProvider", + "409": { + "description": "Request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ScmProviderResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } + }, + "204": { + "description": "Success (no content)" } } }, @@ -35247,59 +35028,84 @@ } ] }, - "/v1/scmPullRequests/{id}": { - "get": { + "/v1/reviewSubmissionItems": { + "post": { "tags": [ - "ScmPullRequests" + "ReviewSubmissionItems" ], - "operationId": "scmPullRequests-get_instance", - "parameters": [ - { - "name": "fields[scmPullRequests]", - "in": "query", - "description": "the fields to include for returned resources of type scmPullRequests", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "destinationBranchName", - "destinationRepositoryName", - "destinationRepositoryOwner", - "isClosed", - "isCrossRepository", - "number", - "repository", - "sourceBranchName", - "sourceRepositoryName", - "sourceRepositoryOwner", - "title", - "webUrl" - ] + "operationId": "reviewSubmissionItems-create_instance", + "requestBody": { + "description": "ReviewSubmissionItem representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReviewSubmissionItemCreateRequest" } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "repository" - ] + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single ReviewSubmissionItem", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReviewSubmissionItemResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } + } + } + }, + "/v1/reviewSubmissionItems/{id}": { + "patch": { + "tags": [ + "ReviewSubmissionItems" ], + "operationId": "reviewSubmissionItems-update_instance", + "requestBody": { + "description": "ReviewSubmissionItem representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReviewSubmissionItemUpdateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -35332,14 +35138,75 @@ } }, "200": { - "description": "Single ScmPullRequest", + "description": "Single ReviewSubmissionItem", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ScmPullRequestResponse" + "$ref": "#/components/schemas/ReviewSubmissionItemResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "ReviewSubmissionItems" + ], + "operationId": "reviewSubmissionItems-delete_instance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } + }, + "204": { + "description": "Success (no content)" } } }, @@ -35356,21 +35223,26 @@ } ] }, - "/v1/scmRepositories": { + "/v1/reviewSubmissions": { "get": { "tags": [ - "ScmRepositories" + "ReviewSubmissions" ], - "operationId": "scmRepositories-get_collection", + "operationId": "reviewSubmissions-get_collection", "parameters": [ { - "name": "filter[id]", + "name": "filter[platform]", "in": "query", - "description": "filter by id(s)", + "description": "filter by attribute 'platform'", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "IOS", + "MAC_OS", + "TV_OS" + ] } }, "style": "form", @@ -35378,23 +35250,21 @@ "required": false }, { - "name": "fields[scmRepositories]", + "name": "filter[state]", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "filter by attribute 'state'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultBranch", - "gitReferences", - "httpCloneUrl", - "lastAccessedDate", - "ownerName", - "pullRequests", - "repositoryName", - "scmProvider", - "sshCloneUrl" + "READY_FOR_REVIEW", + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "UNRESOLVED_ISSUES", + "CANCELING", + "COMPLETING", + "COMPLETE" ] } }, @@ -35403,26 +35273,38 @@ "required": false }, { - "name": "limit", + "name": "filter[app]", "in": "query", - "description": "maximum resources per page", + "description": "filter by id(s) of related 'app'", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string" + } }, - "style": "form" + "style": "form", + "explode": false, + "required": true }, { - "name": "include", + "name": "fields[reviewSubmissions]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type reviewSubmissions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultBranch", - "scmProvider" + "app", + "appStoreVersionForReview", + "canceled", + "items", + "lastUpdatedByActor", + "platform", + "state", + "submitted", + "submittedByActor", + "submittedDate" ] } }, @@ -35431,19 +35313,29 @@ "required": false }, { - "name": "fields[scmGitReferences]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "canonicalName", - "isDeleted", - "kind", - "name", - "repository" + "app", + "appStoreVersionForReview", + "items", + "lastUpdatedByActor", + "submittedByActor" ] } }, @@ -35452,32 +35344,40 @@ "required": false }, { - "name": "fields[scmPullRequests]", + "name": "fields[reviewSubmissionItems]", "in": "query", - "description": "the fields to include for returned resources of type scmPullRequests", + "description": "the fields to include for returned resources of type reviewSubmissionItems", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "destinationBranchName", - "destinationRepositoryName", - "destinationRepositoryOwner", - "isClosed", - "isCrossRepository", - "number", - "repository", - "sourceBranchName", - "sourceRepositoryName", - "sourceRepositoryOwner", - "title", - "webUrl" + "appCustomProductPageVersion", + "appEvent", + "appStoreVersion", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "removed", + "resolved", + "reviewSubmission", + "state" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[items]", + "in": "query", + "description": "maximum number of related items returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -35502,61 +35402,103 @@ } }, "200": { - "description": "List of ScmRepositories", + "description": "List of ReviewSubmissions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ScmRepositoriesResponse" + "$ref": "#/components/schemas/ReviewSubmissionsResponse" } } } } } - } - }, - "/v1/scmRepositories/{id}": { - "get": { + }, + "post": { "tags": [ - "ScmRepositories" + "ReviewSubmissions" ], - "operationId": "scmRepositories-get_instance", - "parameters": [ - { - "name": "fields[scmRepositories]", - "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "defaultBranch", - "gitReferences", - "httpCloneUrl", - "lastAccessedDate", - "ownerName", - "pullRequests", - "repositoryName", - "scmProvider", - "sshCloneUrl" - ] + "operationId": "reviewSubmissions-create_instance", + "requestBody": { + "description": "ReviewSubmission representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReviewSubmissionCreateRequest" } - }, - "style": "form", - "explode": false, - "required": false + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single ReviewSubmission", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReviewSubmissionResponse" + } + } + } }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/reviewSubmissions/{id}": { + "get": { + "tags": [ + "ReviewSubmissions" + ], + "operationId": "reviewSubmissions-get_instance", + "parameters": [ { - "name": "include", + "name": "fields[reviewSubmissions]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type reviewSubmissions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultBranch", - "scmProvider" + "app", + "appStoreVersionForReview", + "canceled", + "items", + "lastUpdatedByActor", + "platform", + "state", + "submitted", + "submittedByActor", + "submittedDate" ] } }, @@ -35565,19 +35507,19 @@ "required": false }, { - "name": "fields[scmGitReferences]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "canonicalName", - "isDeleted", - "kind", - "name", - "repository" + "app", + "appStoreVersionForReview", + "items", + "lastUpdatedByActor", + "submittedByActor" ] } }, @@ -35586,32 +35528,40 @@ "required": false }, { - "name": "fields[scmPullRequests]", + "name": "fields[reviewSubmissionItems]", "in": "query", - "description": "the fields to include for returned resources of type scmPullRequests", + "description": "the fields to include for returned resources of type reviewSubmissionItems", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "destinationBranchName", - "destinationRepositoryName", - "destinationRepositoryOwner", - "isClosed", - "isCrossRepository", - "number", - "repository", - "sourceBranchName", - "sourceRepositoryName", - "sourceRepositoryOwner", - "title", - "webUrl" + "appCustomProductPageVersion", + "appEvent", + "appStoreVersion", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "removed", + "resolved", + "reviewSubmission", + "state" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit[items]", + "in": "query", + "description": "maximum number of related items returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -35646,11 +35596,80 @@ } }, "200": { - "description": "Single ScmRepository", + "description": "Single ReviewSubmission", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ScmRepositoryResponse" + "$ref": "#/components/schemas/ReviewSubmissionResponse" + } + } + } + } + } + }, + "patch": { + "tags": [ + "ReviewSubmissions" + ], + "operationId": "reviewSubmissions-update_instance", + "requestBody": { + "description": "ReviewSubmission representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReviewSubmissionUpdateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single ReviewSubmission", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReviewSubmissionResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -35670,18 +35689,18 @@ } ] }, - "/v1/subscriptionAppStoreReviewScreenshots": { + "/v1/routingAppCoverages": { "post": { "tags": [ - "SubscriptionAppStoreReviewScreenshots" + "RoutingAppCoverages" ], - "operationId": "subscriptionAppStoreReviewScreenshots-create_instance", + "operationId": "routingAppCoverages-create_instance", "requestBody": { - "description": "SubscriptionAppStoreReviewScreenshot representation", + "description": "RoutingAppCoverage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotCreateRequest" + "$ref": "#/components/schemas/RoutingAppCoverageCreateRequest" } } }, @@ -35709,11 +35728,11 @@ } }, "201": { - "description": "Single SubscriptionAppStoreReviewScreenshot", + "description": "Single RoutingAppCoverage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotResponse" + "$ref": "#/components/schemas/RoutingAppCoverageResponse" } } } @@ -35731,30 +35750,27 @@ } } }, - "/v1/subscriptionAppStoreReviewScreenshots/{id}": { + "/v1/routingAppCoverages/{id}": { "get": { "tags": [ - "SubscriptionAppStoreReviewScreenshots" + "RoutingAppCoverages" ], - "operationId": "subscriptionAppStoreReviewScreenshots-get_instance", + "operationId": "routingAppCoverages-get_instance", "parameters": [ { - "name": "fields[subscriptionAppStoreReviewScreenshots]", + "name": "fields[routingAppCoverages]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionAppStoreReviewScreenshots", + "description": "the fields to include for returned resources of type routingAppCoverages", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "appStoreVersion", "assetDeliveryState", - "assetToken", - "assetType", "fileName", "fileSize", - "imageAsset", "sourceFileChecksum", - "subscription", "uploadOperations", "uploaded" ] @@ -35773,7 +35789,7 @@ "items": { "type": "string", "enum": [ - "subscription" + "appStoreVersion" ] } }, @@ -35814,11 +35830,11 @@ } }, "200": { - "description": "Single SubscriptionAppStoreReviewScreenshot", + "description": "Single RoutingAppCoverage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotResponse" + "$ref": "#/components/schemas/RoutingAppCoverageResponse" } } } @@ -35827,15 +35843,15 @@ }, "patch": { "tags": [ - "SubscriptionAppStoreReviewScreenshots" + "RoutingAppCoverages" ], - "operationId": "subscriptionAppStoreReviewScreenshots-update_instance", + "operationId": "routingAppCoverages-update_instance", "requestBody": { - "description": "SubscriptionAppStoreReviewScreenshot representation", + "description": "RoutingAppCoverage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotUpdateRequest" + "$ref": "#/components/schemas/RoutingAppCoverageUpdateRequest" } } }, @@ -35873,11 +35889,11 @@ } }, "200": { - "description": "Single SubscriptionAppStoreReviewScreenshot", + "description": "Single RoutingAppCoverage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotResponse" + "$ref": "#/components/schemas/RoutingAppCoverageResponse" } } } @@ -35896,9 +35912,9 @@ }, "delete": { "tags": [ - "SubscriptionAppStoreReviewScreenshots" + "RoutingAppCoverages" ], - "operationId": "subscriptionAppStoreReviewScreenshots-delete_instance", + "operationId": "routingAppCoverages-delete_instance", "responses": { "400": { "description": "Parameter error(s)", @@ -35958,137 +35974,114 @@ } ] }, - "/v1/subscriptionAvailabilities": { - "post": { - "tags": [ - "SubscriptionAvailabilities" - ], - "operationId": "subscriptionAvailabilities-create_instance", - "requestBody": { - "description": "SubscriptionAvailability representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionAvailabilityCreateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "201": { - "description": "Single SubscriptionAvailability", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionAvailabilityResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - } - }, - "/v1/subscriptionAvailabilities/{id}": { + "/v1/salesReports": { "get": { "tags": [ - "SubscriptionAvailabilities" + "SalesReports" ], - "operationId": "subscriptionAvailabilities-get_instance", + "operationId": "salesReports-get_collection", "parameters": [ { - "name": "fields[subscriptionAvailabilities]", + "name": "filter[frequency]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionAvailabilities", + "description": "filter by attribute 'frequency'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "availableInNewTerritories", - "availableTerritories", - "subscription" + "DAILY", + "WEEKLY", + "MONTHLY", + "YEARLY" ] } }, "style": "form", "explode": false, + "required": true + }, + { + "name": "filter[reportDate]", + "in": "query", + "description": "filter by attribute 'reportDate'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, "required": false }, { - "name": "include", + "name": "filter[reportSubType]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "filter by attribute 'reportSubType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "availableTerritories", - "subscription" + "SUMMARY", + "DETAILED" ] } }, "style": "form", "explode": false, - "required": false + "required": true }, { - "name": "fields[territories]", + "name": "filter[reportType]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "filter by attribute 'reportType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "SALES", + "PRE_ORDER", + "NEWSSTAND", + "SUBSCRIPTION", + "SUBSCRIPTION_EVENT", + "SUBSCRIBER", + "SUBSCRIPTION_OFFER_CODE_REDEMPTION" ] } }, "style": "form", "explode": false, - "required": false + "required": true }, { - "name": "limit[availableTerritories]", + "name": "filter[vendorNumber]", "in": "query", - "description": "maximum number of related availableTerritories returned (when they are included)", + "description": "filter by attribute 'vendorNumber'", "schema": { - "type": "integer", - "maximum": 50 + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": true + }, + { + "name": "filter[version]", + "in": "query", + "description": "filter by attribute 'version'", + "schema": { + "type": "array", + "items": { + "type": "string" + } }, "style": "form", + "explode": false, "required": false } ], @@ -36113,67 +36106,58 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single SubscriptionAvailability", + "description": "List of SalesReports", "content": { - "application/json": { + "application/a-gzip": { "schema": { - "$ref": "#/components/schemas/SubscriptionAvailabilityResponse" + "$ref": "#/components/schemas/gzip" } } } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/subscriptionGracePeriods/{id}": { + "/v2/sandboxTesters": { "get": { "tags": [ - "SubscriptionGracePeriods" + "SandboxTesters" ], - "operationId": "subscriptionGracePeriods-get_instance", + "operationId": "sandboxTestersV2-get_collection", "parameters": [ { - "name": "fields[subscriptionGracePeriods]", + "name": "fields[sandboxTesters]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGracePeriods", + "description": "the fields to include for returned resources of type sandboxTesters", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "duration", - "optIn", - "renewalType", - "sandboxOptIn" + "acAccountName", + "applePayCompatible", + "firstName", + "interruptPurchases", + "lastName", + "subscriptionRenewalRate", + "territory" ] } }, "style": "form", "explode": false, "required": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" } ], "responses": { @@ -36197,39 +36181,31 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single SubscriptionGracePeriod", + "description": "List of SandboxTesters", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGracePeriodResponse" + "$ref": "#/components/schemas/SandboxTestersV2Response" } } } } } - }, + } + }, + "/v2/sandboxTesters/{id}": { "patch": { "tags": [ - "SubscriptionGracePeriods" + "SandboxTesters" ], - "operationId": "subscriptionGracePeriods-update_instance", + "operationId": "sandboxTestersV2-update_instance", "requestBody": { - "description": "SubscriptionGracePeriod representation", + "description": "SandboxTester representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGracePeriodUpdateRequest" + "$ref": "#/components/schemas/SandboxTesterV2UpdateRequest" } } }, @@ -36267,11 +36243,11 @@ } }, "200": { - "description": "Single SubscriptionGracePeriod", + "description": "Single SandboxTester", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGracePeriodResponse" + "$ref": "#/components/schemas/SandboxTesterV2Response" } } } @@ -36301,18 +36277,18 @@ } ] }, - "/v1/subscriptionGroupLocalizations": { + "/v2/sandboxTestersClearPurchaseHistoryRequest": { "post": { "tags": [ - "SubscriptionGroupLocalizations" + "SandboxTestersClearPurchaseHistoryRequest" ], - "operationId": "subscriptionGroupLocalizations-create_instance", + "operationId": "sandboxTestersClearPurchaseHistoryRequestV2-create_instance", "requestBody": { - "description": "SubscriptionGroupLocalization representation", + "description": "SandboxTestersClearPurchaseHistoryRequest representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGroupLocalizationCreateRequest" + "$ref": "#/components/schemas/SandboxTestersClearPurchaseHistoryRequestV2CreateRequest" } } }, @@ -36340,11 +36316,11 @@ } }, "201": { - "description": "Single SubscriptionGroupLocalization", + "description": "Single SandboxTestersClearPurchaseHistoryRequest", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGroupLocalizationResponse" + "$ref": "#/components/schemas/SandboxTestersClearPurchaseHistoryRequestV2Response" } } } @@ -36362,27 +36338,27 @@ } } }, - "/v1/subscriptionGroupLocalizations/{id}": { + "/v1/scmGitReferences/{id}": { "get": { "tags": [ - "SubscriptionGroupLocalizations" + "ScmGitReferences" ], - "operationId": "subscriptionGroupLocalizations-get_instance", + "operationId": "scmGitReferences-get_instance", "parameters": [ { - "name": "fields[subscriptionGroupLocalizations]", + "name": "fields[scmGitReferences]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", + "description": "the fields to include for returned resources of type scmGitReferences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customAppName", - "locale", + "canonicalName", + "isDeleted", + "kind", "name", - "state", - "subscriptionGroup" + "repository" ] } }, @@ -36399,7 +36375,7 @@ "items": { "type": "string", "enum": [ - "subscriptionGroup" + "repository" ] } }, @@ -36440,33 +36416,92 @@ } }, "200": { - "description": "Single SubscriptionGroupLocalization", + "description": "Single ScmGitReference", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGroupLocalizationResponse" + "$ref": "#/components/schemas/ScmGitReferenceResponse" } } } } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/scmProviders": { + "get": { "tags": [ - "SubscriptionGroupLocalizations" + "ScmProviders" ], - "operationId": "subscriptionGroupLocalizations-update_instance", - "requestBody": { - "description": "SubscriptionGroupLocalization representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionGroupLocalizationUpdateRequest" + "operationId": "scmProviders-get_collection", + "parameters": [ + { + "name": "fields[scmProviders]", + "in": "query", + "description": "the fields to include for returned resources of type scmProviders", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "repositories", + "scmProviderType", + "url" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "fields[scmRepositories]", + "in": "query", + "description": "the fields to include for returned resources of type scmRepositories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "defaultBranch", + "gitReferences", + "httpCloneUrl", + "lastAccessedDate", + "ownerName", + "pullRequests", + "repositoryName", + "scmProvider", + "sshCloneUrl" + ] + } + }, + "style": "form", + "explode": false, + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -36488,43 +36523,71 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single SubscriptionGroupLocalization", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionGroupLocalizationResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "description": "List of ScmProviders", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ScmProvidersResponse" } } } } } - }, - "delete": { + } + }, + "/v1/scmProviders/{id}": { + "get": { "tags": [ - "SubscriptionGroupLocalizations" + "ScmProviders" + ], + "operationId": "scmProviders-get_instance", + "parameters": [ + { + "name": "fields[scmProviders]", + "in": "query", + "description": "the fields to include for returned resources of type scmProviders", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "repositories", + "scmProviderType", + "url" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[scmRepositories]", + "in": "query", + "description": "the fields to include for returned resources of type scmRepositories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "defaultBranch", + "gitReferences", + "httpCloneUrl", + "lastAccessedDate", + "ownerName", + "pullRequests", + "repositoryName", + "scmProvider", + "sshCloneUrl" + ] + } + }, + "style": "form", + "explode": false, + "required": false + } ], - "operationId": "subscriptionGroupLocalizations-delete_instance", "responses": { "400": { "description": "Parameter error(s)", @@ -36556,18 +36619,15 @@ } } }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Single ScmProvider", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ScmProviderResponse" } } } - }, - "204": { - "description": "Success (no content)" } } }, @@ -36584,84 +36644,59 @@ } ] }, - "/v1/subscriptionGroupSubmissions": { - "post": { + "/v1/scmPullRequests/{id}": { + "get": { "tags": [ - "SubscriptionGroupSubmissions" + "ScmPullRequests" ], - "operationId": "subscriptionGroupSubmissions-create_instance", - "requestBody": { - "description": "SubscriptionGroupSubmission representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionGroupSubmissionCreateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "201": { - "description": "Single SubscriptionGroupSubmission", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionGroupSubmissionResponse" - } + "operationId": "scmPullRequests-get_instance", + "parameters": [ + { + "name": "fields[scmPullRequests]", + "in": "query", + "description": "the fields to include for returned resources of type scmPullRequests", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "destinationBranchName", + "destinationRepositoryName", + "destinationRepositoryOwner", + "isClosed", + "isCrossRepository", + "number", + "repository", + "sourceBranchName", + "sourceRepositoryName", + "sourceRepositoryOwner", + "title", + "webUrl" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "repository" + ] } - } + }, + "style": "form", + "explode": false, + "required": false } - } - } - }, - "/v1/subscriptionGroups": { - "post": { - "tags": [ - "SubscriptionGroups" ], - "operationId": "subscriptionGroups-create_instance", - "requestBody": { - "description": "SubscriptionGroup representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionGroupCreateRequest" - } - } - }, - "required": true - }, "responses": { "400": { "description": "Parameter error(s)", @@ -36683,50 +36718,56 @@ } } }, - "201": { - "description": "Single SubscriptionGroup", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGroupResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Single ScmPullRequest", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ScmPullRequestResponse" } } } } } - } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] }, - "/v1/subscriptionGroups/{id}": { + "/v1/scmRepositories": { "get": { "tags": [ - "SubscriptionGroups" + "ScmRepositories" ], - "operationId": "subscriptionGroups-get_instance", + "operationId": "scmRepositories-get_collection", "parameters": [ { - "name": "fields[subscriptionGroups]", + "name": "filter[id]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroups", + "description": "filter by id(s)", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "app", - "referenceName", - "subscriptionGroupLocalizations", - "subscriptions" - ] + "type": "string" } }, "style": "form", @@ -36734,16 +36775,23 @@ "required": false }, { - "name": "include", + "name": "fields[scmRepositories]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type scmRepositories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "subscriptionGroupLocalizations", - "subscriptions" + "defaultBranch", + "gitReferences", + "httpCloneUrl", + "lastAccessedDate", + "ownerName", + "pullRequests", + "repositoryName", + "scmProvider", + "sshCloneUrl" ] } }, @@ -36752,32 +36800,26 @@ "required": false }, { - "name": "fields[subscriptions]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", - "availableInAllTerritories", - "familySharable", - "group", - "groupLevel", - "introductoryOffers", - "name", - "offerCodes", - "pricePoints", - "prices", - "productId", - "promotedPurchase", - "promotionalOffers", - "reviewNote", - "state", - "subscriptionAvailability", - "subscriptionLocalizations", - "subscriptionPeriod" + "defaultBranch", + "scmProvider" ] } }, @@ -36786,19 +36828,19 @@ "required": false }, { - "name": "fields[subscriptionGroupLocalizations]", + "name": "fields[scmGitReferences]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", + "description": "the fields to include for returned resources of type scmGitReferences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customAppName", - "locale", + "canonicalName", + "isDeleted", + "kind", "name", - "state", - "subscriptionGroup" + "repository" ] } }, @@ -36807,25 +36849,31 @@ "required": false }, { - "name": "limit[subscriptionGroupLocalizations]", - "in": "query", - "description": "maximum number of related subscriptionGroupLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[subscriptions]", + "name": "fields[scmPullRequests]", "in": "query", - "description": "maximum number of related subscriptions returned (when they are included)", + "description": "the fields to include for returned resources of type scmPullRequests", "schema": { - "type": "integer", - "maximum": 50 + "type": "array", + "items": { + "type": "string", + "enum": [ + "destinationBranchName", + "destinationRepositoryName", + "destinationRepositoryOwner", + "isClosed", + "isCrossRepository", + "number", + "repository", + "sourceBranchName", + "sourceRepositoryName", + "sourceRepositoryOwner", + "title", + "webUrl" + ] + } }, "style": "form", + "explode": false, "required": false } ], @@ -36850,57 +36898,122 @@ } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { - "description": "Single SubscriptionGroup", + "description": "List of ScmRepositories", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGroupResponse" + "$ref": "#/components/schemas/ScmRepositoriesResponse" } } } } } - }, - "patch": { + } + }, + "/v1/scmRepositories/{id}": { + "get": { "tags": [ - "SubscriptionGroups" + "ScmRepositories" ], - "operationId": "subscriptionGroups-update_instance", - "requestBody": { - "description": "SubscriptionGroup representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionGroupUpdateRequest" + "operationId": "scmRepositories-get_instance", + "parameters": [ + { + "name": "fields[scmRepositories]", + "in": "query", + "description": "the fields to include for returned resources of type scmRepositories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "defaultBranch", + "gitReferences", + "httpCloneUrl", + "lastAccessedDate", + "ownerName", + "pullRequests", + "repositoryName", + "scmProvider", + "sshCloneUrl" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "defaultBranch", + "scmProvider" + ] + } + }, + "style": "form", + "explode": false, + "required": false }, - "403": { - "description": "Forbidden error", + { + "name": "fields[scmGitReferences]", + "in": "query", + "description": "the fields to include for returned resources of type scmGitReferences", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "canonicalName", + "isDeleted", + "kind", + "name", + "repository" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[scmPullRequests]", + "in": "query", + "description": "the fields to include for returned resources of type scmPullRequests", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "destinationBranchName", + "destinationRepositoryName", + "destinationRepositoryOwner", + "isClosed", + "isCrossRepository", + "number", + "repository", + "sourceBranchName", + "sourceRepositoryName", + "sourceRepositoryOwner", + "title", + "webUrl" + ] + } + }, + "style": "form", + "explode": false, + "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", "content": { "application/json": { "schema": { @@ -36909,8 +37022,8 @@ } } }, - "404": { - "description": "Not found error", + "403": { + "description": "Forbidden error", "content": { "application/json": { "schema": { @@ -36919,33 +37032,58 @@ } } }, - "200": { - "description": "Single SubscriptionGroup", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGroupResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Single ScmRepository", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ScmRepositoryResponse" } } } } } }, - "delete": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/subscriptionAppStoreReviewScreenshots": { + "post": { "tags": [ - "SubscriptionGroups" + "SubscriptionAppStoreReviewScreenshots" ], - "operationId": "subscriptionGroups-delete_instance", + "operationId": "subscriptionAppStoreReviewScreenshots-create_instance", + "requestBody": { + "description": "SubscriptionAppStoreReviewScreenshot representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotCreateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -36967,12 +37105,12 @@ } } }, - "404": { - "description": "Not found error", + "201": { + "description": "Single SubscriptionAppStoreReviewScreenshot", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotResponse" } } } @@ -36986,42 +37124,61 @@ } } } - }, - "204": { - "description": "Success (no content)" } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/subscriptionIntroductoryOffers": { - "post": { + "/v1/subscriptionAppStoreReviewScreenshots/{id}": { + "get": { "tags": [ - "SubscriptionIntroductoryOffers" + "SubscriptionAppStoreReviewScreenshots" ], - "operationId": "subscriptionIntroductoryOffers-create_instance", - "requestBody": { - "description": "SubscriptionIntroductoryOffer representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionIntroductoryOfferCreateRequest" + "operationId": "subscriptionAppStoreReviewScreenshots-get_instance", + "parameters": [ + { + "name": "fields[subscriptionAppStoreReviewScreenshots]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionAppStoreReviewScreenshots", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "assetDeliveryState", + "assetToken", + "assetType", + "fileName", + "fileSize", + "imageAsset", + "sourceFileChecksum", + "subscription", + "uploadOperations", + "uploaded" + ] } - } + }, + "style": "form", + "explode": false, + "required": false }, - "required": true - }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "subscription" + ] + } + }, + "style": "form", + "explode": false, + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -37043,41 +37200,39 @@ } } }, - "201": { - "description": "Single SubscriptionIntroductoryOffer", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionIntroductoryOfferResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Single SubscriptionAppStoreReviewScreenshot", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotResponse" } } } } } - } - }, - "/v1/subscriptionIntroductoryOffers/{id}": { + }, "patch": { "tags": [ - "SubscriptionIntroductoryOffers" + "SubscriptionAppStoreReviewScreenshots" ], - "operationId": "subscriptionIntroductoryOffers-update_instance", + "operationId": "subscriptionAppStoreReviewScreenshots-update_instance", "requestBody": { - "description": "SubscriptionIntroductoryOffer representation", + "description": "SubscriptionAppStoreReviewScreenshot representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionIntroductoryOfferUpdateRequest" + "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotUpdateRequest" } } }, @@ -37115,11 +37270,11 @@ } }, "200": { - "description": "Single SubscriptionIntroductoryOffer", + "description": "Single SubscriptionAppStoreReviewScreenshot", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionIntroductoryOfferResponse" + "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotResponse" } } } @@ -37138,9 +37293,9 @@ }, "delete": { "tags": [ - "SubscriptionIntroductoryOffers" + "SubscriptionAppStoreReviewScreenshots" ], - "operationId": "subscriptionIntroductoryOffers-delete_instance", + "operationId": "subscriptionAppStoreReviewScreenshots-delete_instance", "responses": { "400": { "description": "Parameter error(s)", @@ -37200,18 +37355,18 @@ } ] }, - "/v1/subscriptionLocalizations": { + "/v1/subscriptionAvailabilities": { "post": { "tags": [ - "SubscriptionLocalizations" + "SubscriptionAvailabilities" ], - "operationId": "subscriptionLocalizations-create_instance", + "operationId": "subscriptionAvailabilities-create_instance", "requestBody": { - "description": "SubscriptionLocalization representation", + "description": "SubscriptionAvailability representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionLocalizationCreateRequest" + "$ref": "#/components/schemas/SubscriptionAvailabilityCreateRequest" } } }, @@ -37239,11 +37394,11 @@ } }, "201": { - "description": "Single SubscriptionLocalization", + "description": "Single SubscriptionAvailability", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionLocalizationResponse" + "$ref": "#/components/schemas/SubscriptionAvailabilityResponse" } } } @@ -37261,26 +37416,24 @@ } } }, - "/v1/subscriptionLocalizations/{id}": { + "/v1/subscriptionAvailabilities/{id}": { "get": { "tags": [ - "SubscriptionLocalizations" + "SubscriptionAvailabilities" ], - "operationId": "subscriptionLocalizations-get_instance", + "operationId": "subscriptionAvailabilities-get_instance", "parameters": [ { - "name": "fields[subscriptionLocalizations]", + "name": "fields[subscriptionAvailabilities]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionLocalizations", + "description": "the fields to include for returned resources of type subscriptionAvailabilities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "description", - "locale", - "name", - "state", + "availableInNewTerritories", + "availableTerritories", "subscription" ] } @@ -37298,6 +37451,7 @@ "items": { "type": "string", "enum": [ + "availableTerritories", "subscription" ] } @@ -37305,6 +37459,34 @@ "style": "form", "explode": false, "required": false + }, + { + "name": "fields[territories]", + "in": "query", + "description": "the fields to include for returned resources of type territories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "currency" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[availableTerritories]", + "in": "query", + "description": "maximum number of related availableTerritories returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -37339,33 +37521,58 @@ } }, "200": { - "description": "Single SubscriptionLocalization", + "description": "Single SubscriptionAvailability", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionLocalizationResponse" + "$ref": "#/components/schemas/SubscriptionAvailabilityResponse" } } } } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/subscriptionGracePeriods/{id}": { + "get": { "tags": [ - "SubscriptionLocalizations" + "SubscriptionGracePeriods" ], - "operationId": "subscriptionLocalizations-update_instance", - "requestBody": { - "description": "SubscriptionLocalization representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionLocalizationUpdateRequest" + "operationId": "subscriptionGracePeriods-get_instance", + "parameters": [ + { + "name": "fields[subscriptionGracePeriods]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionGracePeriods", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "duration", + "optIn", + "renewalType", + "sandboxOptIn" + ] } - } - }, - "required": true - }, + }, + "style": "form", + "explode": false, + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -37398,32 +37605,33 @@ } }, "200": { - "description": "Single SubscriptionLocalization", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionLocalizationResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "description": "Single SubscriptionGracePeriod", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/SubscriptionGracePeriodResponse" } } } } } }, - "delete": { + "patch": { "tags": [ - "SubscriptionLocalizations" + "SubscriptionGracePeriods" ], - "operationId": "subscriptionLocalizations-delete_instance", + "operationId": "subscriptionGracePeriods-update_instance", + "requestBody": { + "description": "SubscriptionGracePeriod representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionGracePeriodUpdateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -37455,6 +37663,16 @@ } } }, + "200": { + "description": "Single SubscriptionGracePeriod", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionGracePeriodResponse" + } + } + } + }, "409": { "description": "Request entity error(s)", "content": { @@ -37464,9 +37682,6 @@ } } } - }, - "204": { - "description": "Success (no content)" } } }, @@ -37483,18 +37698,18 @@ } ] }, - "/v1/subscriptionOfferCodeCustomCodes": { + "/v1/subscriptionGroupLocalizations": { "post": { "tags": [ - "SubscriptionOfferCodeCustomCodes" + "SubscriptionGroupLocalizations" ], - "operationId": "subscriptionOfferCodeCustomCodes-create_instance", + "operationId": "subscriptionGroupLocalizations-create_instance", "requestBody": { - "description": "SubscriptionOfferCodeCustomCode representation", + "description": "SubscriptionGroupLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodeCreateRequest" + "$ref": "#/components/schemas/SubscriptionGroupLocalizationCreateRequest" } } }, @@ -37522,11 +37737,11 @@ } }, "201": { - "description": "Single SubscriptionOfferCodeCustomCode", + "description": "Single SubscriptionGroupLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodeResponse" + "$ref": "#/components/schemas/SubscriptionGroupLocalizationResponse" } } } @@ -37544,28 +37759,27 @@ } } }, - "/v1/subscriptionOfferCodeCustomCodes/{id}": { + "/v1/subscriptionGroupLocalizations/{id}": { "get": { "tags": [ - "SubscriptionOfferCodeCustomCodes" + "SubscriptionGroupLocalizations" ], - "operationId": "subscriptionOfferCodeCustomCodes-get_instance", + "operationId": "subscriptionGroupLocalizations-get_instance", "parameters": [ { - "name": "fields[subscriptionOfferCodeCustomCodes]", + "name": "fields[subscriptionGroupLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodeCustomCodes", + "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "active", - "createdDate", - "customCode", - "expirationDate", - "numberOfCodes", - "offerCode" + "customAppName", + "locale", + "name", + "state", + "subscriptionGroup" ] } }, @@ -37582,7 +37796,7 @@ "items": { "type": "string", "enum": [ - "offerCode" + "subscriptionGroup" ] } }, @@ -37623,11 +37837,11 @@ } }, "200": { - "description": "Single SubscriptionOfferCodeCustomCode", + "description": "Single SubscriptionGroupLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodeResponse" + "$ref": "#/components/schemas/SubscriptionGroupLocalizationResponse" } } } @@ -37636,15 +37850,15 @@ }, "patch": { "tags": [ - "SubscriptionOfferCodeCustomCodes" + "SubscriptionGroupLocalizations" ], - "operationId": "subscriptionOfferCodeCustomCodes-update_instance", + "operationId": "subscriptionGroupLocalizations-update_instance", "requestBody": { - "description": "SubscriptionOfferCodeCustomCode representation", + "description": "SubscriptionGroupLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodeUpdateRequest" + "$ref": "#/components/schemas/SubscriptionGroupLocalizationUpdateRequest" } } }, @@ -37682,11 +37896,59 @@ } }, "200": { - "description": "Single SubscriptionOfferCodeCustomCode", + "description": "Single SubscriptionGroupLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodeResponse" + "$ref": "#/components/schemas/SubscriptionGroupLocalizationResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "SubscriptionGroupLocalizations" + ], + "operationId": "subscriptionGroupLocalizations-delete_instance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -37700,6 +37962,9 @@ } } } + }, + "204": { + "description": "Success (no content)" } } }, @@ -37716,18 +37981,18 @@ } ] }, - "/v1/subscriptionOfferCodeOneTimeUseCodes": { + "/v1/subscriptionGroupSubmissions": { "post": { "tags": [ - "SubscriptionOfferCodeOneTimeUseCodes" + "SubscriptionGroupSubmissions" ], - "operationId": "subscriptionOfferCodeOneTimeUseCodes-create_instance", + "operationId": "subscriptionGroupSubmissions-create_instance", "requestBody": { - "description": "SubscriptionOfferCodeOneTimeUseCode representation", + "description": "SubscriptionGroupSubmission representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodeCreateRequest" + "$ref": "#/components/schemas/SubscriptionGroupSubmissionCreateRequest" } } }, @@ -37755,11 +38020,11 @@ } }, "201": { - "description": "Single SubscriptionOfferCodeOneTimeUseCode", + "description": "Single SubscriptionGroupSubmission", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodeResponse" + "$ref": "#/components/schemas/SubscriptionGroupSubmissionResponse" } } } @@ -37777,190 +38042,18 @@ } } }, - "/v1/subscriptionOfferCodeOneTimeUseCodes/{id}": { - "get": { - "tags": [ - "SubscriptionOfferCodeOneTimeUseCodes" - ], - "operationId": "subscriptionOfferCodeOneTimeUseCodes-get_instance", - "parameters": [ - { - "name": "fields[subscriptionOfferCodeOneTimeUseCodes]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodeOneTimeUseCodes", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "active", - "createdDate", - "expirationDate", - "numberOfCodes", - "offerCode", - "values" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "offerCode" - ] - } - }, - "style": "form", - "explode": false, - "required": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single SubscriptionOfferCodeOneTimeUseCode", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodeResponse" - } - } - } - } - } - }, - "patch": { - "tags": [ - "SubscriptionOfferCodeOneTimeUseCodes" - ], - "operationId": "subscriptionOfferCodeOneTimeUseCodes-update_instance", - "requestBody": { - "description": "SubscriptionOfferCodeOneTimeUseCode representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodeUpdateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single SubscriptionOfferCodeOneTimeUseCode", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodeResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/subscriptionOfferCodes": { + "/v1/subscriptionGroups": { "post": { "tags": [ - "SubscriptionOfferCodes" + "SubscriptionGroups" ], - "operationId": "subscriptionOfferCodes-create_instance", + "operationId": "subscriptionGroups-create_instance", "requestBody": { - "description": "SubscriptionOfferCode representation", + "description": "SubscriptionGroup representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeCreateRequest" + "$ref": "#/components/schemas/SubscriptionGroupCreateRequest" } } }, @@ -37988,11 +38081,11 @@ } }, "201": { - "description": "Single SubscriptionOfferCode", + "description": "Single SubscriptionGroup", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeResponse" + "$ref": "#/components/schemas/SubscriptionGroupResponse" } } } @@ -38010,34 +38103,26 @@ } } }, - "/v1/subscriptionOfferCodes/{id}": { + "/v1/subscriptionGroups/{id}": { "get": { "tags": [ - "SubscriptionOfferCodes" + "SubscriptionGroups" ], - "operationId": "subscriptionOfferCodes-get_instance", + "operationId": "subscriptionGroups-get_instance", "parameters": [ { - "name": "fields[subscriptionOfferCodes]", + "name": "fields[subscriptionGroups]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodes", + "description": "the fields to include for returned resources of type subscriptionGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "active", - "customCodes", - "customerEligibilities", - "duration", - "name", - "numberOfPeriods", - "offerEligibility", - "offerMode", - "oneTimeUseCodes", - "prices", - "subscription", - "totalNumberOfCodes" + "app", + "referenceName", + "subscriptionGroupLocalizations", + "subscriptions" ] } }, @@ -38054,32 +38139,8 @@ "items": { "type": "string", "enum": [ - "customCodes", - "oneTimeUseCodes", - "prices", - "subscription" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[subscriptionOfferCodeCustomCodes]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodeCustomCodes", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "active", - "createdDate", - "customCode", - "expirationDate", - "numberOfCodes", - "offerCode" + "subscriptionGroupLocalizations", + "subscriptions" ] } }, @@ -38088,20 +38149,32 @@ "required": false }, { - "name": "fields[subscriptionOfferCodeOneTimeUseCodes]", + "name": "fields[subscriptions]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodeOneTimeUseCodes", + "description": "the fields to include for returned resources of type subscriptions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "active", - "createdDate", - "expirationDate", - "numberOfCodes", - "offerCode", - "values" + "appStoreReviewScreenshot", + "availableInAllTerritories", + "familySharable", + "group", + "groupLevel", + "introductoryOffers", + "name", + "offerCodes", + "pricePoints", + "prices", + "productId", + "promotedPurchase", + "promotionalOffers", + "reviewNote", + "state", + "subscriptionAvailability", + "subscriptionLocalizations", + "subscriptionPeriod" ] } }, @@ -38110,16 +38183,19 @@ "required": false }, { - "name": "fields[subscriptionOfferCodePrices]", + "name": "fields[subscriptionGroupLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodePrices", + "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "subscriptionPricePoint", - "territory" + "customAppName", + "locale", + "name", + "state", + "subscriptionGroup" ] } }, @@ -38128,20 +38204,9 @@ "required": false }, { - "name": "limit[customCodes]", - "in": "query", - "description": "maximum number of related customCodes returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[oneTimeUseCodes]", + "name": "limit[subscriptionGroupLocalizations]", "in": "query", - "description": "maximum number of related oneTimeUseCodes returned (when they are included)", + "description": "maximum number of related subscriptionGroupLocalizations returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -38150,9 +38215,9 @@ "required": false }, { - "name": "limit[prices]", + "name": "limit[subscriptions]", "in": "query", - "description": "maximum number of related prices returned (when they are included)", + "description": "maximum number of related subscriptions returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -38193,11 +38258,11 @@ } }, "200": { - "description": "Single SubscriptionOfferCode", + "description": "Single SubscriptionGroup", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeResponse" + "$ref": "#/components/schemas/SubscriptionGroupResponse" } } } @@ -38206,15 +38271,15 @@ }, "patch": { "tags": [ - "SubscriptionOfferCodes" + "SubscriptionGroups" ], - "operationId": "subscriptionOfferCodes-update_instance", + "operationId": "subscriptionGroups-update_instance", "requestBody": { - "description": "SubscriptionOfferCode representation", + "description": "SubscriptionGroup representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeUpdateRequest" + "$ref": "#/components/schemas/SubscriptionGroupUpdateRequest" } } }, @@ -38252,11 +38317,11 @@ } }, "200": { - "description": "Single SubscriptionOfferCode", + "description": "Single SubscriptionGroup", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeResponse" + "$ref": "#/components/schemas/SubscriptionGroupResponse" } } } @@ -38273,66 +38338,11 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/subscriptionPricePoints/{id}": { - "get": { + "delete": { "tags": [ - "SubscriptionPricePoints" - ], - "operationId": "subscriptionPricePoints-get_instance", - "parameters": [ - { - "name": "fields[subscriptionPricePoints]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionPricePoints", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "customerPrice", - "equalizations", - "proceeds", - "proceedsYear2", - "subscription", - "territory" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "territory" - ] - } - }, - "style": "form", - "explode": false, - "required": false - } + "SubscriptionGroups" ], + "operationId": "subscriptionGroups-delete_instance", "responses": { "400": { "description": "Parameter error(s)", @@ -38364,15 +38374,18 @@ } } }, - "200": { - "description": "Single SubscriptionPricePoint", + "409": { + "description": "Request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPricePointResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } + }, + "204": { + "description": "Success (no content)" } } }, @@ -38389,18 +38402,18 @@ } ] }, - "/v1/subscriptionPrices": { + "/v1/subscriptionIntroductoryOffers": { "post": { "tags": [ - "SubscriptionPrices" + "SubscriptionIntroductoryOffers" ], - "operationId": "subscriptionPrices-create_instance", + "operationId": "subscriptionIntroductoryOffers-create_instance", "requestBody": { - "description": "SubscriptionPrice representation", + "description": "SubscriptionIntroductoryOffer representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPriceCreateRequest" + "$ref": "#/components/schemas/SubscriptionIntroductoryOfferCreateRequest" } } }, @@ -38428,11 +38441,11 @@ } }, "201": { - "description": "Single SubscriptionPrice", + "description": "Single SubscriptionIntroductoryOffer", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPriceResponse" + "$ref": "#/components/schemas/SubscriptionIntroductoryOfferResponse" } } } @@ -38450,12 +38463,81 @@ } } }, - "/v1/subscriptionPrices/{id}": { + "/v1/subscriptionIntroductoryOffers/{id}": { + "patch": { + "tags": [ + "SubscriptionIntroductoryOffers" + ], + "operationId": "subscriptionIntroductoryOffers-update_instance", + "requestBody": { + "description": "SubscriptionIntroductoryOffer representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionIntroductoryOfferUpdateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single SubscriptionIntroductoryOffer", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionIntroductoryOfferResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, "delete": { "tags": [ - "SubscriptionPrices" + "SubscriptionIntroductoryOffers" ], - "operationId": "subscriptionPrices-delete_instance", + "operationId": "subscriptionIntroductoryOffers-delete_instance", "responses": { "400": { "description": "Parameter error(s)", @@ -38515,18 +38597,18 @@ } ] }, - "/v1/subscriptionPromotionalOffers": { + "/v1/subscriptionLocalizations": { "post": { "tags": [ - "SubscriptionPromotionalOffers" + "SubscriptionLocalizations" ], - "operationId": "subscriptionPromotionalOffers-create_instance", + "operationId": "subscriptionLocalizations-create_instance", "requestBody": { - "description": "SubscriptionPromotionalOffer representation", + "description": "SubscriptionLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPromotionalOfferCreateRequest" + "$ref": "#/components/schemas/SubscriptionLocalizationCreateRequest" } } }, @@ -38554,11 +38636,11 @@ } }, "201": { - "description": "Single SubscriptionPromotionalOffer", + "description": "Single SubscriptionLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPromotionalOfferResponse" + "$ref": "#/components/schemas/SubscriptionLocalizationResponse" } } } @@ -38576,28 +38658,26 @@ } } }, - "/v1/subscriptionPromotionalOffers/{id}": { + "/v1/subscriptionLocalizations/{id}": { "get": { "tags": [ - "SubscriptionPromotionalOffers" + "SubscriptionLocalizations" ], - "operationId": "subscriptionPromotionalOffers-get_instance", + "operationId": "subscriptionLocalizations-get_instance", "parameters": [ { - "name": "fields[subscriptionPromotionalOffers]", + "name": "fields[subscriptionLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPromotionalOffers", + "description": "the fields to include for returned resources of type subscriptionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "duration", + "description", + "locale", "name", - "numberOfPeriods", - "offerCode", - "offerMode", - "prices", + "state", "subscription" ] } @@ -38615,7 +38695,6 @@ "items": { "type": "string", "enum": [ - "prices", "subscription" ] } @@ -38623,35 +38702,6 @@ "style": "form", "explode": false, "required": false - }, - { - "name": "fields[subscriptionPromotionalOfferPrices]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionPromotionalOfferPrices", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "subscriptionPricePoint", - "territory" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit[prices]", - "in": "query", - "description": "maximum number of related prices returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -38686,11 +38736,11 @@ } }, "200": { - "description": "Single SubscriptionPromotionalOffer", + "description": "Single SubscriptionLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPromotionalOfferResponse" + "$ref": "#/components/schemas/SubscriptionLocalizationResponse" } } } @@ -38699,15 +38749,15 @@ }, "patch": { "tags": [ - "SubscriptionPromotionalOffers" + "SubscriptionLocalizations" ], - "operationId": "subscriptionPromotionalOffers-update_instance", + "operationId": "subscriptionLocalizations-update_instance", "requestBody": { - "description": "SubscriptionPromotionalOffer representation", + "description": "SubscriptionLocalization representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPromotionalOfferUpdateRequest" + "$ref": "#/components/schemas/SubscriptionLocalizationUpdateRequest" } } }, @@ -38745,11 +38795,11 @@ } }, "200": { - "description": "Single SubscriptionPromotionalOffer", + "description": "Single SubscriptionLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPromotionalOfferResponse" + "$ref": "#/components/schemas/SubscriptionLocalizationResponse" } } } @@ -38768,9 +38818,9 @@ }, "delete": { "tags": [ - "SubscriptionPromotionalOffers" + "SubscriptionLocalizations" ], - "operationId": "subscriptionPromotionalOffers-delete_instance", + "operationId": "subscriptionLocalizations-delete_instance", "responses": { "400": { "description": "Parameter error(s)", @@ -38830,79 +38880,18 @@ } ] }, - "/v1/subscriptionSubmissions": { - "post": { - "tags": [ - "SubscriptionSubmissions" - ], - "operationId": "subscriptionSubmissions-create_instance", - "requestBody": { - "description": "SubscriptionSubmission representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionSubmissionCreateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "201": { - "description": "Single SubscriptionSubmission", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionSubmissionResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - } - }, - "/v1/subscriptions": { + "/v1/subscriptionOfferCodeCustomCodes": { "post": { "tags": [ - "Subscriptions" + "SubscriptionOfferCodeCustomCodes" ], - "operationId": "subscriptions-create_instance", + "operationId": "subscriptionOfferCodeCustomCodes-create_instance", "requestBody": { - "description": "Subscription representation", + "description": "SubscriptionOfferCodeCustomCode representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionCreateRequest" + "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodeCreateRequest" } } }, @@ -38930,11 +38919,11 @@ } }, "201": { - "description": "Single Subscription", + "description": "Single SubscriptionOfferCodeCustomCode", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionResponse" + "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodeResponse" } } } @@ -38952,40 +38941,28 @@ } } }, - "/v1/subscriptions/{id}": { + "/v1/subscriptionOfferCodeCustomCodes/{id}": { "get": { "tags": [ - "Subscriptions" + "SubscriptionOfferCodeCustomCodes" ], - "operationId": "subscriptions-get_instance", + "operationId": "subscriptionOfferCodeCustomCodes-get_instance", "parameters": [ { - "name": "fields[subscriptions]", + "name": "fields[subscriptionOfferCodeCustomCodes]", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "the fields to include for returned resources of type subscriptionOfferCodeCustomCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", - "availableInAllTerritories", - "familySharable", - "group", - "groupLevel", - "introductoryOffers", - "name", - "offerCodes", - "pricePoints", - "prices", - "productId", - "promotedPurchase", - "promotionalOffers", - "reviewNote", - "state", - "subscriptionAvailability", - "subscriptionLocalizations", - "subscriptionPeriod" + "active", + "createdDate", + "customCode", + "expirationDate", + "numberOfCodes", + "offerCode" ] } }, @@ -39002,284 +38979,13 @@ "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", - "group", - "introductoryOffers", - "offerCodes", - "prices", - "promotedPurchase", - "promotionalOffers", - "subscriptionAvailability", - "subscriptionLocalizations" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[promotedPurchases]", - "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "enabled", - "inAppPurchaseV2", - "promotionImages", - "state", - "subscription", - "visibleForAllUsers" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[subscriptionPricePoints]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionPricePoints", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "customerPrice", - "equalizations", - "proceeds", - "proceedsYear2", - "subscription", - "territory" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[subscriptionPromotionalOffers]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionPromotionalOffers", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "duration", - "name", - "numberOfPeriods", - "offerCode", - "offerMode", - "prices", - "subscription" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[subscriptionOfferCodes]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodes", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "active", - "customCodes", - "customerEligibilities", - "duration", - "name", - "numberOfPeriods", - "offerEligibility", - "offerMode", - "oneTimeUseCodes", - "prices", - "subscription", - "totalNumberOfCodes" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[subscriptionAppStoreReviewScreenshots]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionAppStoreReviewScreenshots", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", - "fileSize", - "imageAsset", - "sourceFileChecksum", - "subscription", - "uploadOperations", - "uploaded" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[subscriptionAvailabilities]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionAvailabilities", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "availableInNewTerritories", - "availableTerritories", - "subscription" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[subscriptionPrices]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionPrices", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "preserveCurrentPrice", - "preserved", - "startDate", - "subscription", - "subscriptionPricePoint", - "territory" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[subscriptionIntroductoryOffers]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionIntroductoryOffers", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "duration", - "endDate", - "numberOfPeriods", - "offerMode", - "startDate", - "subscription", - "subscriptionPricePoint", - "territory" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[subscriptionLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "locale", - "name", - "state", - "subscription" + "offerCode" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[introductoryOffers]", - "in": "query", - "description": "maximum number of related introductoryOffers returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[offerCodes]", - "in": "query", - "description": "maximum number of related offerCodes returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[prices]", - "in": "query", - "description": "maximum number of related prices returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[promotionalOffers]", - "in": "query", - "description": "maximum number of related promotionalOffers returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[subscriptionLocalizations]", - "in": "query", - "description": "maximum number of related subscriptionLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -39314,11 +39020,11 @@ } }, "200": { - "description": "Single Subscription", + "description": "Single SubscriptionOfferCodeCustomCode", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionResponse" + "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodeResponse" } } } @@ -39327,15 +39033,15 @@ }, "patch": { "tags": [ - "Subscriptions" + "SubscriptionOfferCodeCustomCodes" ], - "operationId": "subscriptions-update_instance", + "operationId": "subscriptionOfferCodeCustomCodes-update_instance", "requestBody": { - "description": "Subscription representation", + "description": "SubscriptionOfferCodeCustomCode representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionUpdateRequest" + "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodeUpdateRequest" } } }, @@ -39373,11 +39079,11 @@ } }, "200": { - "description": "Single Subscription", + "description": "Single SubscriptionOfferCodeCustomCode", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionResponse" + "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodeResponse" } } } @@ -39394,11 +39100,36 @@ } } }, - "delete": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/subscriptionOfferCodeOneTimeUseCodes": { + "post": { "tags": [ - "Subscriptions" + "SubscriptionOfferCodeOneTimeUseCodes" ], - "operationId": "subscriptions-delete_instance", + "operationId": "subscriptionOfferCodeOneTimeUseCodes-create_instance", + "requestBody": { + "description": "SubscriptionOfferCodeOneTimeUseCode representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodeCreateRequest" + } + } + }, + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -39420,12 +39151,12 @@ } } }, - "404": { - "description": "Not found error", + "201": { + "description": "Single SubscriptionOfferCodeOneTimeUseCode", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodeResponse" } } } @@ -39439,42 +39170,32 @@ } } } - }, - "204": { - "description": "Success (no content)" } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/territories": { + "/v1/subscriptionOfferCodeOneTimeUseCodes/{id}": { "get": { "tags": [ - "Territories" + "SubscriptionOfferCodeOneTimeUseCodes" ], - "operationId": "territories-get_collection", + "operationId": "subscriptionOfferCodeOneTimeUseCodes-get_instance", "parameters": [ { - "name": "fields[territories]", + "name": "fields[subscriptionOfferCodeOneTimeUseCodes]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type subscriptionOfferCodeOneTimeUseCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "active", + "createdDate", + "expirationDate", + "numberOfCodes", + "offerCode", + "values" ] } }, @@ -39483,14 +39204,21 @@ "required": false }, { - "name": "limit", + "name": "include", "in": "query", - "description": "maximum resources per page", + "description": "comma-separated list of relationships to include", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "offerCode" + ] + } }, - "style": "form" + "style": "form", + "explode": false, + "required": false } ], "responses": { @@ -39514,31 +39242,39 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "List of Territories", + "description": "Single SubscriptionOfferCodeOneTimeUseCode", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TerritoriesResponse" + "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodeResponse" } } } } } - } - }, - "/v1/territoryAvailabilities/{id}": { + }, "patch": { "tags": [ - "TerritoryAvailabilities" + "SubscriptionOfferCodeOneTimeUseCodes" ], - "operationId": "territoryAvailabilities-update_instance", + "operationId": "subscriptionOfferCodeOneTimeUseCodes-update_instance", "requestBody": { - "description": "TerritoryAvailability representation", + "description": "SubscriptionOfferCodeOneTimeUseCode representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TerritoryAvailabilityUpdateRequest" + "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodeUpdateRequest" } } }, @@ -39576,11 +39312,11 @@ } }, "200": { - "description": "Single TerritoryAvailability", + "description": "Single SubscriptionOfferCodeOneTimeUseCode", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TerritoryAvailabilityResponse" + "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodeResponse" } } } @@ -39610,21 +39346,96 @@ } ] }, - "/v1/userInvitations": { + "/v1/subscriptionOfferCodes": { + "post": { + "tags": [ + "SubscriptionOfferCodes" + ], + "operationId": "subscriptionOfferCodes-create_instance", + "requestBody": { + "description": "SubscriptionOfferCode representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionOfferCodeCreateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single SubscriptionOfferCode", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionOfferCodeResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/subscriptionOfferCodes/{id}": { "get": { "tags": [ - "UserInvitations" + "SubscriptionOfferCodes" ], - "operationId": "userInvitations-get_collection", + "operationId": "subscriptionOfferCodes-get_instance", "parameters": [ { - "name": "filter[email]", + "name": "fields[subscriptionOfferCodes]", "in": "query", - "description": "filter by attribute 'email'", + "description": "the fields to include for returned resources of type subscriptionOfferCodes", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "active", + "customCodes", + "customerEligibilities", + "duration", + "name", + "numberOfPeriods", + "offerEligibility", + "offerMode", + "oneTimeUseCodes", + "prices", + "subscription", + "totalNumberOfCodes" + ] } }, "style": "form", @@ -39632,27 +39443,18 @@ "required": false }, { - "name": "filter[roles]", + "name": "include", "in": "query", - "description": "filter by attribute 'roles'", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ADMIN", - "FINANCE", - "ACCOUNT_HOLDER", - "SALES", - "MARKETING", - "APP_MANAGER", - "DEVELOPER", - "ACCESS_TO_REPORTS", - "CUSTOMER_SUPPORT", - "IMAGE_MANAGER", - "CREATE_APPS", - "CLOUD_MANAGED_DEVELOPER_ID", - "CLOUD_MANAGED_APP_DISTRIBUTION" + "customCodes", + "oneTimeUseCodes", + "prices", + "subscription" ] } }, @@ -39661,13 +39463,21 @@ "required": false }, { - "name": "filter[visibleApps]", + "name": "fields[subscriptionOfferCodeCustomCodes]", "in": "query", - "description": "filter by id(s) of related 'visibleApps'", + "description": "the fields to include for returned resources of type subscriptionOfferCodeCustomCodes", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "active", + "createdDate", + "customCode", + "expirationDate", + "numberOfCodes", + "offerCode" + ] } }, "style": "form", @@ -39675,18 +39485,20 @@ "required": false }, { - "name": "sort", + "name": "fields[subscriptionOfferCodeOneTimeUseCodes]", "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "description": "the fields to include for returned resources of type subscriptionOfferCodeOneTimeUseCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "email", - "-email", - "lastName", - "-lastName" + "active", + "createdDate", + "expirationDate", + "numberOfCodes", + "offerCode", + "values" ] } }, @@ -39695,22 +39507,16 @@ "required": false }, { - "name": "fields[userInvitations]", + "name": "fields[subscriptionOfferCodePrices]", "in": "query", - "description": "the fields to include for returned resources of type userInvitations", + "description": "the fields to include for returned resources of type subscriptionOfferCodePrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "allAppsVisible", - "email", - "expirationDate", - "firstName", - "lastName", - "provisioningAllowed", - "roles", - "visibleApps" + "subscriptionPricePoint", + "territory" ] } }, @@ -39719,96 +39525,31 @@ "required": false }, { - "name": "limit", + "name": "limit[customCodes]", "in": "query", - "description": "maximum resources per page", + "description": "maximum number of related customCodes returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "visibleApps" - ] - } + "maximum": 50 }, "style": "form", - "explode": false, "required": false }, { - "name": "fields[apps]", + "name": "limit[oneTimeUseCodes]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "maximum number of related oneTimeUseCodes returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "availableInNewTerritories", - "availableTerritories", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "pricePoints", - "prices", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" - ] - } + "type": "integer", + "maximum": 50 }, "style": "form", - "explode": false, "required": false }, { - "name": "limit[visibleApps]", + "name": "limit[prices]", "in": "query", - "description": "maximum number of related visibleApps returned (when they are included)", + "description": "maximum number of related prices returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -39838,29 +39579,39 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "List of UserInvitations", + "description": "Single SubscriptionOfferCode", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserInvitationsResponse" + "$ref": "#/components/schemas/SubscriptionOfferCodeResponse" } } } } } }, - "post": { + "patch": { "tags": [ - "UserInvitations" + "SubscriptionOfferCodes" ], - "operationId": "userInvitations-create_instance", + "operationId": "subscriptionOfferCodes-update_instance", "requestBody": { - "description": "UserInvitation representation", + "description": "SubscriptionOfferCode representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserInvitationCreateRequest" + "$ref": "#/components/schemas/SubscriptionOfferCodeUpdateRequest" } } }, @@ -39887,12 +39638,22 @@ } } }, - "201": { - "description": "Single UserInvitation", + "404": { + "description": "Not found error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserInvitationResponse" + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single SubscriptionOfferCode", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionOfferCodeResponse" } } } @@ -39908,32 +39669,42 @@ } } } - } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] }, - "/v1/userInvitations/{id}": { + "/v1/subscriptionPricePoints/{id}": { "get": { "tags": [ - "UserInvitations" + "SubscriptionPricePoints" ], - "operationId": "userInvitations-get_instance", + "operationId": "subscriptionPricePoints-get_instance", "parameters": [ { - "name": "fields[userInvitations]", + "name": "fields[subscriptionPricePoints]", "in": "query", - "description": "the fields to include for returned resources of type userInvitations", + "description": "the fields to include for returned resources of type subscriptionPricePoints", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "allAppsVisible", - "email", - "expirationDate", - "firstName", - "lastName", - "provisioningAllowed", - "roles", - "visibleApps" + "customerPrice", + "equalizations", + "proceeds", + "proceedsYear2", + "subscription", + "territory" ] } }, @@ -39950,84 +39721,13 @@ "items": { "type": "string", "enum": [ - "visibleApps" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "availableInNewTerritories", - "availableTerritories", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "pricePoints", - "prices", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "territory" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[visibleApps]", - "in": "query", - "description": "maximum number of related visibleApps returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -40062,22 +39762,97 @@ } }, "200": { - "description": "Single UserInvitation", + "description": "Single SubscriptionPricePoint", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserInvitationResponse" + "$ref": "#/components/schemas/SubscriptionPricePointResponse" } } } } } }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/subscriptionPrices": { + "post": { + "tags": [ + "SubscriptionPrices" + ], + "operationId": "subscriptionPrices-create_instance", + "requestBody": { + "description": "SubscriptionPrice representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionPriceCreateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single SubscriptionPrice", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionPriceResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/subscriptionPrices/{id}": { "delete": { "tags": [ - "UserInvitations" + "SubscriptionPrices" ], - "operationId": "userInvitations-delete_instance", + "operationId": "subscriptionPrices-delete_instance", "responses": { "400": { "description": "Parameter error(s)", @@ -40137,212 +39912,23 @@ } ] }, - "/v1/users": { - "get": { + "/v1/subscriptionPromotionalOffers": { + "post": { "tags": [ - "Users" + "SubscriptionPromotionalOffers" ], - "operationId": "users-get_collection", - "parameters": [ - { - "name": "filter[roles]", - "in": "query", - "description": "filter by attribute 'roles'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ADMIN", - "FINANCE", - "ACCOUNT_HOLDER", - "SALES", - "MARKETING", - "APP_MANAGER", - "DEVELOPER", - "ACCESS_TO_REPORTS", - "CUSTOMER_SUPPORT", - "IMAGE_MANAGER", - "CREATE_APPS", - "CLOUD_MANAGED_DEVELOPER_ID", - "CLOUD_MANAGED_APP_DISTRIBUTION" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[username]", - "in": "query", - "description": "filter by attribute 'username'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[visibleApps]", - "in": "query", - "description": "filter by id(s) of related 'visibleApps'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "sort", - "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "lastName", - "-lastName", - "username", - "-username" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[users]", - "in": "query", - "description": "the fields to include for returned resources of type users", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "allAppsVisible", - "firstName", - "lastName", - "provisioningAllowed", - "roles", - "username", - "visibleApps" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "visibleApps" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "availableInNewTerritories", - "availableTerritories", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "pricePoints", - "prices", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" - ] + "operationId": "subscriptionPromotionalOffers-create_instance", + "requestBody": { + "description": "SubscriptionPromotionalOffer representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionPromotionalOfferCreateRequest" } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "limit[visibleApps]", - "in": "query", - "description": "maximum number of related visibleApps returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -40364,12 +39950,22 @@ } } }, - "200": { - "description": "List of Users", + "201": { + "description": "Single SubscriptionPromotionalOffer", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UsersResponse" + "$ref": "#/components/schemas/SubscriptionPromotionalOfferResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -40377,29 +39973,29 @@ } } }, - "/v1/users/{id}": { + "/v1/subscriptionPromotionalOffers/{id}": { "get": { "tags": [ - "Users" + "SubscriptionPromotionalOffers" ], - "operationId": "users-get_instance", + "operationId": "subscriptionPromotionalOffers-get_instance", "parameters": [ { - "name": "fields[users]", + "name": "fields[subscriptionPromotionalOffers]", "in": "query", - "description": "the fields to include for returned resources of type users", + "description": "the fields to include for returned resources of type subscriptionPromotionalOffers", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "allAppsVisible", - "firstName", - "lastName", - "provisioningAllowed", - "roles", - "username", - "visibleApps" + "duration", + "name", + "numberOfPeriods", + "offerCode", + "offerMode", + "prices", + "subscription" ] } }, @@ -40416,7 +40012,8 @@ "items": { "type": "string", "enum": [ - "visibleApps" + "prices", + "subscription" ] } }, @@ -40425,58 +40022,16 @@ "required": false }, { - "name": "fields[apps]", + "name": "fields[subscriptionPromotionalOfferPrices]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type subscriptionPromotionalOfferPrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "availableInNewTerritories", - "availableTerritories", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "pricePoints", - "prices", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "subscriptionPricePoint", + "territory" ] } }, @@ -40485,9 +40040,9 @@ "required": false }, { - "name": "limit[visibleApps]", + "name": "limit[prices]", "in": "query", - "description": "maximum number of related visibleApps returned (when they are included)", + "description": "maximum number of related prices returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -40528,11 +40083,11 @@ } }, "200": { - "description": "Single User", + "description": "Single SubscriptionPromotionalOffer", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserResponse" + "$ref": "#/components/schemas/SubscriptionPromotionalOfferResponse" } } } @@ -40541,15 +40096,15 @@ }, "patch": { "tags": [ - "Users" + "SubscriptionPromotionalOffers" ], - "operationId": "users-update_instance", + "operationId": "subscriptionPromotionalOffers-update_instance", "requestBody": { - "description": "User representation", + "description": "SubscriptionPromotionalOffer representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserUpdateRequest" + "$ref": "#/components/schemas/SubscriptionPromotionalOfferUpdateRequest" } } }, @@ -40587,11 +40142,11 @@ } }, "200": { - "description": "Single User", + "description": "Single SubscriptionPromotionalOffer", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserResponse" + "$ref": "#/components/schemas/SubscriptionPromotionalOfferResponse" } } } @@ -40610,9 +40165,9 @@ }, "delete": { "tags": [ - "Users" + "SubscriptionPromotionalOffers" ], - "operationId": "users-delete_instance", + "operationId": "subscriptionPromotionalOffers-delete_instance", "responses": { "400": { "description": "Parameter error(s)", @@ -40672,91 +40227,23 @@ } ] }, - "/v2/appAvailabilities/{id}/relationships/territoryAvailabilities": { - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v2/appAvailabilities/{id}/territoryAvailabilities": { - "get": { + "/v1/subscriptionSubmissions": { + "post": { "tags": [ - "AppAvailabilities" + "SubscriptionSubmissions" ], - "operationId": "appAvailabilitiesV2-territoryAvailabilities-get_to_many_related", - "parameters": [ - { - "name": "fields[territoryAvailabilities]", - "in": "query", - "description": "the fields to include for returned resources of type territoryAvailabilities", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "available", - "contentStatuses", - "preOrderEnabled", - "preOrderPublishDate", - "releaseDate", - "territory" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[territories]", - "in": "query", - "description": "the fields to include for returned resources of type territories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" - ] + "operationId": "subscriptionSubmissions-create_instance", + "requestBody": { + "description": "SubscriptionSubmission representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionSubmissionCreateRequest" } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" + } }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "territory" - ] - } - }, - "style": "form", - "explode": false - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -40778,89 +40265,46 @@ } } }, - "404": { - "description": "Not found error", + "201": { + "description": "Single SubscriptionSubmission", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/SubscriptionSubmissionResponse" } } } }, - "200": { - "description": "List of TerritoryAvailabilities", + "409": { + "description": "Request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TerritoryAvailabilitiesResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } } } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/appAvailabilities/{id}/relationships/availableTerritories": { - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] + } }, - "/v1/appAvailabilities/{id}/availableTerritories": { - "get": { + "/v1/subscriptions": { + "post": { "tags": [ - "AppAvailabilities" + "Subscriptions" ], - "operationId": "appAvailabilities-availableTerritories-get_to_many_related", - "parameters": [ - { - "name": "fields[territories]", - "in": "query", - "description": "the fields to include for returned resources of type territories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" - ] + "operationId": "subscriptions-create_instance", + "requestBody": { + "description": "Subscription representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionCreateRequest" } - }, - "style": "form", - "explode": false + } }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], + "required": true + }, "responses": { "400": { "description": "Parameter error(s)", @@ -40882,9 +40326,1963 @@ } } }, - "404": { - "description": "Not found error", - "content": { + "201": { + "description": "Single Subscription", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/subscriptions/{id}": { + "get": { + "tags": [ + "Subscriptions" + ], + "operationId": "subscriptions-get_instance", + "parameters": [ + { + "name": "fields[subscriptions]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreReviewScreenshot", + "availableInAllTerritories", + "familySharable", + "group", + "groupLevel", + "introductoryOffers", + "name", + "offerCodes", + "pricePoints", + "prices", + "productId", + "promotedPurchase", + "promotionalOffers", + "reviewNote", + "state", + "subscriptionAvailability", + "subscriptionLocalizations", + "subscriptionPeriod" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "offerCodes", + "prices", + "promotedPurchase", + "promotionalOffers", + "subscriptionAvailability", + "subscriptionLocalizations" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[promotedPurchases]", + "in": "query", + "description": "the fields to include for returned resources of type promotedPurchases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "enabled", + "inAppPurchaseV2", + "promotionImages", + "state", + "subscription", + "visibleForAllUsers" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[subscriptionPricePoints]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionPricePoints", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "customerPrice", + "equalizations", + "proceeds", + "proceedsYear2", + "subscription", + "territory" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[subscriptionPromotionalOffers]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionPromotionalOffers", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "duration", + "name", + "numberOfPeriods", + "offerCode", + "offerMode", + "prices", + "subscription" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[subscriptionOfferCodes]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionOfferCodes", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "active", + "customCodes", + "customerEligibilities", + "duration", + "name", + "numberOfPeriods", + "offerEligibility", + "offerMode", + "oneTimeUseCodes", + "prices", + "subscription", + "totalNumberOfCodes" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[subscriptionAppStoreReviewScreenshots]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionAppStoreReviewScreenshots", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "assetDeliveryState", + "assetToken", + "assetType", + "fileName", + "fileSize", + "imageAsset", + "sourceFileChecksum", + "subscription", + "uploadOperations", + "uploaded" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[subscriptionAvailabilities]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionAvailabilities", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "availableInNewTerritories", + "availableTerritories", + "subscription" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[subscriptionPrices]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionPrices", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "preserveCurrentPrice", + "preserved", + "startDate", + "subscription", + "subscriptionPricePoint", + "territory" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[subscriptionIntroductoryOffers]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionIntroductoryOffers", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "duration", + "endDate", + "numberOfPeriods", + "offerMode", + "startDate", + "subscription", + "subscriptionPricePoint", + "territory" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[subscriptionLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "description", + "locale", + "name", + "state", + "subscription" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[introductoryOffers]", + "in": "query", + "description": "maximum number of related introductoryOffers returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[offerCodes]", + "in": "query", + "description": "maximum number of related offerCodes returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[prices]", + "in": "query", + "description": "maximum number of related prices returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[promotionalOffers]", + "in": "query", + "description": "maximum number of related promotionalOffers returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[subscriptionLocalizations]", + "in": "query", + "description": "maximum number of related subscriptionLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single Subscription", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionResponse" + } + } + } + } + } + }, + "patch": { + "tags": [ + "Subscriptions" + ], + "operationId": "subscriptions-update_instance", + "requestBody": { + "description": "Subscription representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionUpdateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single Subscription", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "Subscriptions" + ], + "operationId": "subscriptions-delete_instance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/territories": { + "get": { + "tags": [ + "Territories" + ], + "operationId": "territories-get_collection", + "parameters": [ + { + "name": "fields[territories]", + "in": "query", + "description": "the fields to include for returned resources of type territories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "currency" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of Territories", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TerritoriesResponse" + } + } + } + } + } + } + }, + "/v1/territoryAvailabilities/{id}": { + "patch": { + "tags": [ + "TerritoryAvailabilities" + ], + "operationId": "territoryAvailabilities-update_instance", + "requestBody": { + "description": "TerritoryAvailability representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TerritoryAvailabilityUpdateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single TerritoryAvailability", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TerritoryAvailabilityResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/userInvitations": { + "get": { + "tags": [ + "UserInvitations" + ], + "operationId": "userInvitations-get_collection", + "parameters": [ + { + "name": "filter[email]", + "in": "query", + "description": "filter by attribute 'email'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[roles]", + "in": "query", + "description": "filter by attribute 'roles'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ADMIN", + "FINANCE", + "ACCOUNT_HOLDER", + "SALES", + "MARKETING", + "APP_MANAGER", + "DEVELOPER", + "ACCESS_TO_REPORTS", + "CUSTOMER_SUPPORT", + "IMAGE_MANAGER", + "CREATE_APPS", + "CLOUD_MANAGED_DEVELOPER_ID", + "CLOUD_MANAGED_APP_DISTRIBUTION" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[visibleApps]", + "in": "query", + "description": "filter by id(s) of related 'visibleApps'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "email", + "-email", + "lastName", + "-lastName" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[userInvitations]", + "in": "query", + "description": "the fields to include for returned resources of type userInvitations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "allAppsVisible", + "email", + "expirationDate", + "firstName", + "lastName", + "provisioningAllowed", + "roles", + "visibleApps" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "visibleApps" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appAvailability", + "appClips", + "appCustomProductPages", + "appEncryptionDeclarations", + "appEvents", + "appInfos", + "appPricePoints", + "appPriceSchedule", + "appStoreVersionExperimentsV2", + "appStoreVersions", + "availableInNewTerritories", + "availableTerritories", + "betaAppLocalizations", + "betaAppReviewDetail", + "betaGroups", + "betaLicenseAgreement", + "betaTesters", + "builds", + "bundleId", + "ciProduct", + "contentRightsDeclaration", + "customerReviews", + "endUserLicenseAgreement", + "gameCenterDetail", + "gameCenterEnabledVersions", + "inAppPurchases", + "inAppPurchasesV2", + "isOrEverWasMadeForKids", + "name", + "perfPowerMetrics", + "preOrder", + "preReleaseVersions", + "pricePoints", + "prices", + "primaryLocale", + "promotedPurchases", + "reviewSubmissions", + "sku", + "subscriptionGracePeriod", + "subscriptionGroups", + "subscriptionStatusUrl", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlVersionForSandbox" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[visibleApps]", + "in": "query", + "description": "maximum number of related visibleApps returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of UserInvitations", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserInvitationsResponse" + } + } + } + } + } + }, + "post": { + "tags": [ + "UserInvitations" + ], + "operationId": "userInvitations-create_instance", + "requestBody": { + "description": "UserInvitation representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserInvitationCreateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single UserInvitation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserInvitationResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/userInvitations/{id}": { + "get": { + "tags": [ + "UserInvitations" + ], + "operationId": "userInvitations-get_instance", + "parameters": [ + { + "name": "fields[userInvitations]", + "in": "query", + "description": "the fields to include for returned resources of type userInvitations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "allAppsVisible", + "email", + "expirationDate", + "firstName", + "lastName", + "provisioningAllowed", + "roles", + "visibleApps" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "visibleApps" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appAvailability", + "appClips", + "appCustomProductPages", + "appEncryptionDeclarations", + "appEvents", + "appInfos", + "appPricePoints", + "appPriceSchedule", + "appStoreVersionExperimentsV2", + "appStoreVersions", + "availableInNewTerritories", + "availableTerritories", + "betaAppLocalizations", + "betaAppReviewDetail", + "betaGroups", + "betaLicenseAgreement", + "betaTesters", + "builds", + "bundleId", + "ciProduct", + "contentRightsDeclaration", + "customerReviews", + "endUserLicenseAgreement", + "gameCenterDetail", + "gameCenterEnabledVersions", + "inAppPurchases", + "inAppPurchasesV2", + "isOrEverWasMadeForKids", + "name", + "perfPowerMetrics", + "preOrder", + "preReleaseVersions", + "pricePoints", + "prices", + "primaryLocale", + "promotedPurchases", + "reviewSubmissions", + "sku", + "subscriptionGracePeriod", + "subscriptionGroups", + "subscriptionStatusUrl", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlVersionForSandbox" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[visibleApps]", + "in": "query", + "description": "maximum number of related visibleApps returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single UserInvitation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserInvitationResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "UserInvitations" + ], + "operationId": "userInvitations-delete_instance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/users": { + "get": { + "tags": [ + "Users" + ], + "operationId": "users-get_collection", + "parameters": [ + { + "name": "filter[roles]", + "in": "query", + "description": "filter by attribute 'roles'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ADMIN", + "FINANCE", + "ACCOUNT_HOLDER", + "SALES", + "MARKETING", + "APP_MANAGER", + "DEVELOPER", + "ACCESS_TO_REPORTS", + "CUSTOMER_SUPPORT", + "IMAGE_MANAGER", + "CREATE_APPS", + "CLOUD_MANAGED_DEVELOPER_ID", + "CLOUD_MANAGED_APP_DISTRIBUTION" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[username]", + "in": "query", + "description": "filter by attribute 'username'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[visibleApps]", + "in": "query", + "description": "filter by id(s) of related 'visibleApps'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "lastName", + "-lastName", + "username", + "-username" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[users]", + "in": "query", + "description": "the fields to include for returned resources of type users", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "allAppsVisible", + "firstName", + "lastName", + "provisioningAllowed", + "roles", + "username", + "visibleApps" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "visibleApps" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appAvailability", + "appClips", + "appCustomProductPages", + "appEncryptionDeclarations", + "appEvents", + "appInfos", + "appPricePoints", + "appPriceSchedule", + "appStoreVersionExperimentsV2", + "appStoreVersions", + "availableInNewTerritories", + "availableTerritories", + "betaAppLocalizations", + "betaAppReviewDetail", + "betaGroups", + "betaLicenseAgreement", + "betaTesters", + "builds", + "bundleId", + "ciProduct", + "contentRightsDeclaration", + "customerReviews", + "endUserLicenseAgreement", + "gameCenterDetail", + "gameCenterEnabledVersions", + "inAppPurchases", + "inAppPurchasesV2", + "isOrEverWasMadeForKids", + "name", + "perfPowerMetrics", + "preOrder", + "preReleaseVersions", + "pricePoints", + "prices", + "primaryLocale", + "promotedPurchases", + "reviewSubmissions", + "sku", + "subscriptionGracePeriod", + "subscriptionGroups", + "subscriptionStatusUrl", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlVersionForSandbox" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[visibleApps]", + "in": "query", + "description": "maximum number of related visibleApps returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of Users", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UsersResponse" + } + } + } + } + } + } + }, + "/v1/users/{id}": { + "get": { + "tags": [ + "Users" + ], + "operationId": "users-get_instance", + "parameters": [ + { + "name": "fields[users]", + "in": "query", + "description": "the fields to include for returned resources of type users", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "allAppsVisible", + "firstName", + "lastName", + "provisioningAllowed", + "roles", + "username", + "visibleApps" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "visibleApps" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appAvailability", + "appClips", + "appCustomProductPages", + "appEncryptionDeclarations", + "appEvents", + "appInfos", + "appPricePoints", + "appPriceSchedule", + "appStoreVersionExperimentsV2", + "appStoreVersions", + "availableInNewTerritories", + "availableTerritories", + "betaAppLocalizations", + "betaAppReviewDetail", + "betaGroups", + "betaLicenseAgreement", + "betaTesters", + "builds", + "bundleId", + "ciProduct", + "contentRightsDeclaration", + "customerReviews", + "endUserLicenseAgreement", + "gameCenterDetail", + "gameCenterEnabledVersions", + "inAppPurchases", + "inAppPurchasesV2", + "isOrEverWasMadeForKids", + "name", + "perfPowerMetrics", + "preOrder", + "preReleaseVersions", + "pricePoints", + "prices", + "primaryLocale", + "promotedPurchases", + "reviewSubmissions", + "sku", + "subscriptionGracePeriod", + "subscriptionGroups", + "subscriptionStatusUrl", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlVersionForSandbox" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[visibleApps]", + "in": "query", + "description": "maximum number of related visibleApps returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single User", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserResponse" + } + } + } + } + } + }, + "patch": { + "tags": [ + "Users" + ], + "operationId": "users-update_instance", + "requestBody": { + "description": "User representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserUpdateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single User", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "Users" + ], + "operationId": "users-delete_instance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v2/appAvailabilities/{id}/relationships/territoryAvailabilities": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v2/appAvailabilities/{id}/territoryAvailabilities": { + "get": { + "tags": [ + "AppAvailabilities" + ], + "operationId": "appAvailabilitiesV2-territoryAvailabilities-get_to_many_related", + "parameters": [ + { + "name": "fields[territoryAvailabilities]", + "in": "query", + "description": "the fields to include for returned resources of type territoryAvailabilities", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "available", + "contentStatuses", + "preOrderEnabled", + "preOrderPublishDate", + "releaseDate", + "territory" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[territories]", + "in": "query", + "description": "the fields to include for returned resources of type territories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "currency" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "territory" + ] + } + }, + "style": "form", + "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of TerritoryAvailabilities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TerritoryAvailabilitiesResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appAvailabilities/{id}/relationships/availableTerritories": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appAvailabilities/{id}/availableTerritories": { + "get": { + "tags": [ + "AppAvailabilities" + ], + "operationId": "appAvailabilities-availableTerritories-get_to_many_related", + "deprecated": true, + "parameters": [ + { + "name": "fields[territories]", + "in": "query", + "description": "the fields to include for returned resources of type territories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "currency" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" @@ -51131,6 +52529,7 @@ "Apps" ], "operationId": "apps-appAvailability-get_to_one_related", + "deprecated": true, "parameters": [ { "name": "fields[appAvailabilities]", @@ -56763,6 +58162,7 @@ "Apps" ], "operationId": "apps-preOrder-get_to_one_related", + "deprecated": true, "parameters": [ { "name": "fields[appPreOrders]", @@ -61868,23 +63268,440 @@ { "name": "include", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ageRatingDeclaration", + "app", + "appClipDefaultExperience", + "appStoreReviewDetail", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "appStoreVersionLocalizations", + "appStoreVersionPhasedRelease", + "appStoreVersionSubmission", + "build", + "routingAppCoverage" + ] + } + }, + "style": "form", + "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single AppStoreVersion", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppStoreVersionResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/builds/{id}/relationships/betaAppReviewSubmission": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/builds/{id}/betaAppReviewSubmission": { + "get": { + "tags": [ + "Builds" + ], + "operationId": "builds-betaAppReviewSubmission-get_to_one_related", + "parameters": [ + { + "name": "fields[betaAppReviewSubmissions]", + "in": "query", + "description": "the fields to include for returned resources of type betaAppReviewSubmissions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "betaReviewState", + "build", + "submittedDate" + ] + } + }, + "style": "form", + "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single BetaAppReviewSubmission with get", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaAppReviewSubmissionWithoutIncludesResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/builds/{id}/relationships/betaBuildLocalizations": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/builds/{id}/betaBuildLocalizations": { + "get": { + "tags": [ + "Builds" + ], + "operationId": "builds-betaBuildLocalizations-get_to_many_related", + "parameters": [ + { + "name": "fields[betaBuildLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type betaBuildLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "build", + "locale", + "whatsNew" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of BetaBuildLocalizations with get", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaBuildLocalizationsWithoutIncludesResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/builds/{id}/relationships/betaGroups": { + "post": { + "tags": [ + "Builds" + ], + "operationId": "builds-betaGroups-create_to_many_relationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildBetaGroupsLinkagesRequest" + } + } + }, + "required": true + }, + "responses": { + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + } + } + }, + "delete": { + "tags": [ + "Builds" + ], + "operationId": "builds-betaGroups-delete_to_many_relationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildBetaGroupsLinkagesRequest" + } + } + }, + "required": true + }, + "responses": { + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/builds/{id}/relationships/buildBetaDetail": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/builds/{id}/buildBetaDetail": { + "get": { + "tags": [ + "Builds" + ], + "operationId": "builds-buildBetaDetail-get_to_one_related", + "parameters": [ + { + "name": "fields[buildBetaDetails]", + "in": "query", + "description": "the fields to include for returned resources of type buildBetaDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", + "autoNotifyEnabled", "build", - "routingAppCoverage" + "externalBuildState", + "internalBuildState" ] } }, @@ -61924,11 +63741,11 @@ } }, "200": { - "description": "Single AppStoreVersion", + "description": "Single BuildBetaDetail with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionResponse" + "$ref": "#/components/schemas/BuildBetaDetailWithoutIncludesResponse" } } } @@ -61948,7 +63765,7 @@ } ] }, - "/v1/builds/{id}/relationships/betaAppReviewSubmission": { + "/v1/builds/{id}/relationships/diagnosticSignatures": { "parameters": [ { "name": "id", @@ -61962,30 +63779,58 @@ } ] }, - "/v1/builds/{id}/betaAppReviewSubmission": { + "/v1/builds/{id}/diagnosticSignatures": { "get": { "tags": [ "Builds" ], - "operationId": "builds-betaAppReviewSubmission-get_to_one_related", + "operationId": "builds-diagnosticSignatures-get_to_many_related", "parameters": [ { - "name": "fields[betaAppReviewSubmissions]", + "name": "filter[diagnosticType]", "in": "query", - "description": "the fields to include for returned resources of type betaAppReviewSubmissions", + "description": "filter by attribute 'diagnosticType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "betaReviewState", - "build", - "submittedDate" + "DISK_WRITES", + "HANGS" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[diagnosticSignatures]", + "in": "query", + "description": "the fields to include for returned resources of type diagnosticSignatures", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "diagnosticType", + "logs", + "signature", + "weight" ] } }, "style": "form", "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" } ], "responses": { @@ -62020,11 +63865,11 @@ } }, "200": { - "description": "Single BetaAppReviewSubmission with get", + "description": "List of DiagnosticSignatures", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaAppReviewSubmissionWithoutIncludesResponse" + "$ref": "#/components/schemas/DiagnosticSignaturesResponse" } } } @@ -62044,7 +63889,7 @@ } ] }, - "/v1/builds/{id}/relationships/betaBuildLocalizations": { + "/v1/builds/{id}/relationships/icons": { "parameters": [ { "name": "id", @@ -62058,25 +63903,25 @@ } ] }, - "/v1/builds/{id}/betaBuildLocalizations": { + "/v1/builds/{id}/icons": { "get": { "tags": [ "Builds" ], - "operationId": "builds-betaBuildLocalizations-get_to_many_related", + "operationId": "builds-icons-get_to_many_related", "parameters": [ { - "name": "fields[betaBuildLocalizations]", + "name": "fields[buildIcons]", "in": "query", - "description": "the fields to include for returned resources of type betaBuildLocalizations", + "description": "the fields to include for returned resources of type buildIcons", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "build", - "locale", - "whatsNew" + "iconAsset", + "iconType", + "name" ] } }, @@ -62126,11 +63971,11 @@ } }, "200": { - "description": "List of BetaBuildLocalizations with get", + "description": "List of BuildIcons with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaBuildLocalizationsWithoutIncludesResponse" + "$ref": "#/components/schemas/BuildIconsWithoutIncludesResponse" } } } @@ -62150,18 +63995,78 @@ } ] }, - "/v1/builds/{id}/relationships/betaGroups": { + "/v1/builds/{id}/relationships/individualTesters": { + "get": { + "tags": [ + "Builds" + ], + "operationId": "builds-individualTesters-get_to_many_relationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildIndividualTestersLinkagesResponse" + } + } + } + } + } + }, "post": { "tags": [ "Builds" ], - "operationId": "builds-betaGroups-create_to_many_relationship", + "operationId": "builds-individualTesters-create_to_many_relationship", "requestBody": { "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildBetaGroupsLinkagesRequest" + "$ref": "#/components/schemas/BuildIndividualTestersLinkagesRequest" } } }, @@ -62207,13 +64112,13 @@ "tags": [ "Builds" ], - "operationId": "builds-betaGroups-delete_to_many_relationship", + "operationId": "builds-individualTesters-delete_to_many_relationship", "requestBody": { "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildBetaGroupsLinkagesRequest" + "$ref": "#/components/schemas/BuildIndividualTestersLinkagesRequest" } } }, @@ -62268,7 +64173,89 @@ } ] }, - "/v1/builds/{id}/relationships/buildBetaDetail": { + "/v1/builds/{id}/individualTesters": { + "get": { + "tags": [ + "Builds" + ], + "operationId": "builds-individualTesters-get_to_many_related", + "parameters": [ + { + "name": "fields[betaTesters]", + "in": "query", + "description": "the fields to include for returned resources of type betaTesters", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "apps", + "betaGroups", + "builds", + "email", + "firstName", + "inviteType", + "lastName" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of BetaTesters with get", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaTestersWithoutIncludesResponse" + } + } + } + } + } + }, "parameters": [ { "name": "id", @@ -62282,26 +64269,292 @@ } ] }, - "/v1/builds/{id}/buildBetaDetail": { + "/v1/builds/{id}/perfPowerMetrics": { "get": { "tags": [ "Builds" ], - "operationId": "builds-buildBetaDetail-get_to_one_related", + "operationId": "builds-perfPowerMetrics-get_to_many_related", "parameters": [ { - "name": "fields[buildBetaDetails]", + "name": "filter[deviceType]", "in": "query", - "description": "the fields to include for returned resources of type buildBetaDetails", + "description": "filter by attribute 'deviceType'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[metricType]", + "in": "query", + "description": "filter by attribute 'metricType'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "autoNotifyEnabled", - "build", - "externalBuildState", - "internalBuildState" + "DISK", + "HANG", + "BATTERY", + "LAUNCH", + "MEMORY", + "ANIMATION", + "TERMINATION" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[platform]", + "in": "query", + "description": "filter by attribute 'platform'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "IOS" + ] + } + }, + "style": "form", + "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of PerfPowerMetrics", + "content": { + "application/vnd.apple.xcode-metrics+json": { + "schema": { + "$ref": "#/components/schemas/xcodeMetrics" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/builds/{id}/relationships/preReleaseVersion": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/builds/{id}/preReleaseVersion": { + "get": { + "tags": [ + "Builds" + ], + "operationId": "builds-preReleaseVersion-get_to_one_related", + "parameters": [ + { + "name": "fields[preReleaseVersions]", + "in": "query", + "description": "the fields to include for returned resources of type preReleaseVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "builds", + "platform", + "version" + ] + } + }, + "style": "form", + "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single PrereleaseVersion with get", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PrereleaseVersionWithoutIncludesResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/bundleIds/{id}/relationships/app": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/bundleIds/{id}/app": { + "get": { + "tags": [ + "BundleIds" + ], + "operationId": "bundleIds-app-get_to_one_related", + "parameters": [ + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appAvailability", + "appClips", + "appCustomProductPages", + "appEncryptionDeclarations", + "appEvents", + "appInfos", + "appPricePoints", + "appPriceSchedule", + "appStoreVersionExperimentsV2", + "appStoreVersions", + "availableInNewTerritories", + "availableTerritories", + "betaAppLocalizations", + "betaAppReviewDetail", + "betaGroups", + "betaLicenseAgreement", + "betaTesters", + "builds", + "bundleId", + "ciProduct", + "contentRightsDeclaration", + "customerReviews", + "endUserLicenseAgreement", + "gameCenterDetail", + "gameCenterEnabledVersions", + "inAppPurchases", + "inAppPurchasesV2", + "isOrEverWasMadeForKids", + "name", + "perfPowerMetrics", + "preOrder", + "preReleaseVersions", + "pricePoints", + "prices", + "primaryLocale", + "promotedPurchases", + "reviewSubmissions", + "sku", + "subscriptionGracePeriod", + "subscriptionGroups", + "subscriptionStatusUrl", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlVersionForSandbox" ] } }, @@ -62341,11 +64594,11 @@ } }, "200": { - "description": "Single BuildBetaDetail with get", + "description": "Single App with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildBetaDetailWithoutIncludesResponse" + "$ref": "#/components/schemas/AppWithoutIncludesResponse" } } } @@ -62365,7 +64618,7 @@ } ] }, - "/v1/builds/{id}/relationships/diagnosticSignatures": { + "/v1/bundleIds/{id}/relationships/bundleIdCapabilities": { "parameters": [ { "name": "id", @@ -62379,43 +64632,25 @@ } ] }, - "/v1/builds/{id}/diagnosticSignatures": { + "/v1/bundleIds/{id}/bundleIdCapabilities": { "get": { "tags": [ - "Builds" + "BundleIds" ], - "operationId": "builds-diagnosticSignatures-get_to_many_related", + "operationId": "bundleIds-bundleIdCapabilities-get_to_many_related", "parameters": [ { - "name": "filter[diagnosticType]", - "in": "query", - "description": "filter by attribute 'diagnosticType'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "DISK_WRITES", - "HANGS" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[diagnosticSignatures]", + "name": "fields[bundleIdCapabilities]", "in": "query", - "description": "the fields to include for returned resources of type diagnosticSignatures", + "description": "the fields to include for returned resources of type bundleIdCapabilities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "diagnosticType", - "logs", - "signature", - "weight" + "bundleId", + "capabilityType", + "settings" ] } }, @@ -62465,11 +64700,11 @@ } }, "200": { - "description": "List of DiagnosticSignatures", + "description": "List of BundleIdCapabilities with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DiagnosticSignaturesResponse" + "$ref": "#/components/schemas/BundleIdCapabilitiesWithoutIncludesResponse" } } } @@ -62489,7 +64724,7 @@ } ] }, - "/v1/builds/{id}/relationships/icons": { + "/v1/bundleIds/{id}/relationships/profiles": { "parameters": [ { "name": "id", @@ -62503,25 +64738,33 @@ } ] }, - "/v1/builds/{id}/icons": { + "/v1/bundleIds/{id}/profiles": { "get": { "tags": [ - "Builds" + "BundleIds" ], - "operationId": "builds-icons-get_to_many_related", + "operationId": "bundleIds-profiles-get_to_many_related", "parameters": [ { - "name": "fields[buildIcons]", + "name": "fields[profiles]", "in": "query", - "description": "the fields to include for returned resources of type buildIcons", + "description": "the fields to include for returned resources of type profiles", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "iconAsset", - "iconType", - "name" + "bundleId", + "certificates", + "createdDate", + "devices", + "expirationDate", + "name", + "platform", + "profileContent", + "profileState", + "profileType", + "uuid" ] } }, @@ -62571,11 +64814,11 @@ } }, "200": { - "description": "List of BuildIcons with get", + "description": "List of Profiles with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildIconsWithoutIncludesResponse" + "$ref": "#/components/schemas/ProfilesWithoutIncludesResponse" } } } @@ -62595,171 +64838,7 @@ } ] }, - "/v1/builds/{id}/relationships/individualTesters": { - "get": { - "tags": [ - "Builds" - ], - "operationId": "builds-individualTesters-get_to_many_relationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BuildIndividualTestersLinkagesResponse" - } - } - } - } - } - }, - "post": { - "tags": [ - "Builds" - ], - "operationId": "builds-individualTesters-create_to_many_relationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BuildIndividualTestersLinkagesRequest" - } - } - }, - "required": true - }, - "responses": { - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - } - } - }, - "delete": { - "tags": [ - "Builds" - ], - "operationId": "builds-individualTesters-delete_to_many_relationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BuildIndividualTestersLinkagesRequest" - } - } - }, - "required": true - }, - "responses": { - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - } - } - }, + "/v1/ciBuildActions/{id}/relationships/artifacts": { "parameters": [ { "name": "id", @@ -62773,29 +64852,26 @@ } ] }, - "/v1/builds/{id}/individualTesters": { + "/v1/ciBuildActions/{id}/artifacts": { "get": { "tags": [ - "Builds" + "CiBuildActions" ], - "operationId": "builds-individualTesters-get_to_many_related", + "operationId": "ciBuildActions-artifacts-get_to_many_related", "parameters": [ { - "name": "fields[betaTesters]", + "name": "fields[ciArtifacts]", "in": "query", - "description": "the fields to include for returned resources of type betaTesters", + "description": "the fields to include for returned resources of type ciArtifacts", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "apps", - "betaGroups", - "builds", - "email", - "firstName", - "inviteType", - "lastName" + "downloadUrl", + "fileName", + "fileSize", + "fileType" ] } }, @@ -62845,11 +64921,11 @@ } }, "200": { - "description": "List of BetaTesters with get", + "description": "List of CiArtifacts", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaTestersWithoutIncludesResponse" + "$ref": "#/components/schemas/CiArtifactsResponse" } } } @@ -62869,42 +64945,77 @@ } ] }, - "/v1/builds/{id}/perfPowerMetrics": { + "/v1/ciBuildActions/{id}/relationships/buildRun": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/ciBuildActions/{id}/buildRun": { "get": { "tags": [ - "Builds" + "CiBuildActions" ], - "operationId": "builds-perfPowerMetrics-get_to_many_related", + "operationId": "ciBuildActions-buildRun-get_to_one_related", "parameters": [ { - "name": "filter[deviceType]", + "name": "fields[scmGitReferences]", "in": "query", - "description": "filter by attribute 'deviceType'", + "description": "the fields to include for returned resources of type scmGitReferences", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "canonicalName", + "isDeleted", + "kind", + "name", + "repository" + ] } }, "style": "form", "explode": false }, { - "name": "filter[metricType]", + "name": "fields[ciBuildRuns]", "in": "query", - "description": "filter by attribute 'metricType'", + "description": "the fields to include for returned resources of type ciBuildRuns", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "DISK", - "HANG", - "BATTERY", - "LAUNCH", - "MEMORY", - "ANIMATION", - "TERMINATION" + "actions", + "buildRun", + "builds", + "cancelReason", + "clean", + "completionStatus", + "createdDate", + "destinationBranch", + "destinationCommit", + "executionProgress", + "finishedDate", + "isPullRequestBuild", + "issueCounts", + "number", + "product", + "pullRequest", + "sourceBranchOrTag", + "sourceCommit", + "startReason", + "startedDate", + "workflow" ] } }, @@ -62912,112 +65023,152 @@ "explode": false }, { - "name": "filter[platform]", + "name": "fields[ciWorkflows]", "in": "query", - "description": "filter by attribute 'platform'", + "description": "the fields to include for returned resources of type ciWorkflows", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "IOS" + "actions", + "branchStartCondition", + "buildRuns", + "clean", + "containerFilePath", + "description", + "isEnabled", + "isLockedForEditing", + "lastModifiedDate", + "macOsVersion", + "name", + "product", + "pullRequestStartCondition", + "repository", + "scheduledStartCondition", + "tagStartCondition", + "xcodeVersion" ] } }, "style": "form", "explode": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[scmPullRequests]", + "in": "query", + "description": "the fields to include for returned resources of type scmPullRequests", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "destinationBranchName", + "destinationRepositoryName", + "destinationRepositoryOwner", + "isClosed", + "isCrossRepository", + "number", + "repository", + "sourceBranchName", + "sourceRepositoryName", + "sourceRepositoryOwner", + "title", + "webUrl" + ] } - } + }, + "style": "form", + "explode": false }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[ciProducts]", + "in": "query", + "description": "the fields to include for returned resources of type ciProducts", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "additionalRepositories", + "app", + "buildRuns", + "bundleId", + "createdDate", + "name", + "primaryRepositories", + "productType", + "workflows" + ] } - } + }, + "style": "form", + "explode": false }, - "200": { - "description": "List of PerfPowerMetrics", - "content": { - "application/vnd.apple.xcode-metrics+json": { - "schema": { - "$ref": "#/components/schemas/xcodeMetrics" - } + { + "name": "fields[builds]", + "in": "query", + "description": "the fields to include for returned resources of type builds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "appEncryptionDeclaration", + "appStoreVersion", + "betaAppReviewSubmission", + "betaBuildLocalizations", + "betaGroups", + "buildAudienceType", + "buildBetaDetail", + "buildBundles", + "computedMinMacOsVersion", + "diagnosticSignatures", + "expirationDate", + "expired", + "iconAssetToken", + "icons", + "individualTesters", + "lsMinimumSystemVersion", + "minOsVersion", + "perfPowerMetrics", + "preReleaseVersion", + "processingState", + "uploadedDate", + "usesNonExemptEncryption", + "version" + ] } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + }, + "style": "form", + "explode": false }, - "style": "simple", - "required": true - } - ] - }, - "/v1/builds/{id}/relationships/preReleaseVersion": { - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + { + "name": "limit[builds]", + "in": "query", + "description": "maximum number of related builds returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" }, - "style": "simple", - "required": true - } - ] - }, - "/v1/builds/{id}/preReleaseVersion": { - "get": { - "tags": [ - "Builds" - ], - "operationId": "builds-preReleaseVersion-get_to_one_related", - "parameters": [ { - "name": "fields[preReleaseVersions]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type preReleaseVersions", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", "builds", - "platform", - "version" + "destinationBranch", + "product", + "pullRequest", + "sourceBranchOrTag", + "workflow" ] } }, @@ -63057,11 +65208,11 @@ } }, "200": { - "description": "Single PrereleaseVersion with get", + "description": "Single CiBuildRun", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PrereleaseVersionWithoutIncludesResponse" + "$ref": "#/components/schemas/CiBuildRunResponse" } } } @@ -63081,7 +65232,7 @@ } ] }, - "/v1/bundleIds/{id}/relationships/app": { + "/v1/ciBuildActions/{id}/relationships/issues": { "parameters": [ { "name": "id", @@ -63095,71 +65246,41 @@ } ] }, - "/v1/bundleIds/{id}/app": { + "/v1/ciBuildActions/{id}/issues": { "get": { "tags": [ - "BundleIds" + "CiBuildActions" ], - "operationId": "bundleIds-app-get_to_one_related", + "operationId": "ciBuildActions-issues-get_to_many_related", "parameters": [ { - "name": "fields[apps]", + "name": "fields[ciIssues]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type ciIssues", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "availableInNewTerritories", - "availableTerritories", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "pricePoints", - "prices", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "category", + "fileSource", + "issueType", + "message" ] } }, "style": "form", "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" } ], "responses": { @@ -63194,11 +65315,11 @@ } }, "200": { - "description": "Single App with get", + "description": "List of CiIssues", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppWithoutIncludesResponse" + "$ref": "#/components/schemas/CiIssuesResponse" } } } @@ -63218,7 +65339,7 @@ } ] }, - "/v1/bundleIds/{id}/relationships/bundleIdCapabilities": { + "/v1/ciBuildActions/{id}/relationships/testResults": { "parameters": [ { "name": "id", @@ -63232,25 +65353,28 @@ } ] }, - "/v1/bundleIds/{id}/bundleIdCapabilities": { + "/v1/ciBuildActions/{id}/testResults": { "get": { "tags": [ - "BundleIds" + "CiBuildActions" ], - "operationId": "bundleIds-bundleIdCapabilities-get_to_many_related", + "operationId": "ciBuildActions-testResults-get_to_many_related", "parameters": [ { - "name": "fields[bundleIdCapabilities]", + "name": "fields[ciTestResults]", "in": "query", - "description": "the fields to include for returned resources of type bundleIdCapabilities", + "description": "the fields to include for returned resources of type ciTestResults", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "bundleId", - "capabilityType", - "settings" + "className", + "destinationTestResults", + "fileSource", + "message", + "name", + "status" ] } }, @@ -63300,11 +65424,11 @@ } }, "200": { - "description": "List of BundleIdCapabilities with get", + "description": "List of CiTestResults", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BundleIdCapabilitiesWithoutIncludesResponse" + "$ref": "#/components/schemas/CiTestResultsResponse" } } } @@ -63324,7 +65448,7 @@ } ] }, - "/v1/bundleIds/{id}/relationships/profiles": { + "/v1/ciBuildRuns/{id}/relationships/actions": { "parameters": [ { "name": "id", @@ -63338,33 +65462,70 @@ } ] }, - "/v1/bundleIds/{id}/profiles": { + "/v1/ciBuildRuns/{id}/actions": { "get": { "tags": [ - "BundleIds" + "CiBuildRuns" ], - "operationId": "bundleIds-profiles-get_to_many_related", + "operationId": "ciBuildRuns-actions-get_to_many_related", "parameters": [ { - "name": "fields[profiles]", + "name": "fields[ciBuildRuns]", "in": "query", - "description": "the fields to include for returned resources of type profiles", + "description": "the fields to include for returned resources of type ciBuildRuns", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "bundleId", - "certificates", + "actions", + "buildRun", + "builds", + "cancelReason", + "clean", + "completionStatus", "createdDate", - "devices", - "expirationDate", + "destinationBranch", + "destinationCommit", + "executionProgress", + "finishedDate", + "isPullRequestBuild", + "issueCounts", + "number", + "product", + "pullRequest", + "sourceBranchOrTag", + "sourceCommit", + "startReason", + "startedDate", + "workflow" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[ciBuildActions]", + "in": "query", + "description": "the fields to include for returned resources of type ciBuildActions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "actionType", + "artifacts", + "buildRun", + "completionStatus", + "executionProgress", + "finishedDate", + "isRequiredToPass", + "issueCounts", + "issues", "name", - "platform", - "profileContent", - "profileState", - "profileType", - "uuid" + "startedDate", + "testResults" ] } }, @@ -63380,6 +65541,22 @@ "maximum": 200 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "buildRun" + ] + } + }, + "style": "form", + "explode": false } ], "responses": { @@ -63414,11 +65591,11 @@ } }, "200": { - "description": "List of Profiles with get", + "description": "List of CiBuildActions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProfilesWithoutIncludesResponse" + "$ref": "#/components/schemas/CiBuildActionsResponse" } } } @@ -63438,7 +65615,7 @@ } ] }, - "/v1/ciBuildActions/{id}/relationships/artifacts": { + "/v1/ciBuildRuns/{id}/relationships/builds": { "parameters": [ { "name": "id", @@ -63452,26 +65629,26 @@ } ] }, - "/v1/ciBuildActions/{id}/artifacts": { + "/v1/ciBuildRuns/{id}/builds": { "get": { "tags": [ - "CiBuildActions" + "CiBuildRuns" ], - "operationId": "ciBuildActions-artifacts-get_to_many_related", + "operationId": "ciBuildRuns-builds-get_to_many_related", "parameters": [ { - "name": "fields[ciArtifacts]", + "name": "filter[betaAppReviewSubmission.betaReviewState]", "in": "query", - "description": "the fields to include for returned resources of type ciArtifacts", + "description": "filter by attribute 'betaAppReviewSubmission.betaReviewState'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "downloadUrl", - "fileName", - "fileSize", - "fileType" + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "REJECTED", + "APPROVED" ] } }, @@ -63479,107 +65656,304 @@ "explode": false }, { - "name": "limit", + "name": "filter[buildAudienceType]", "in": "query", - "description": "maximum resources per page", + "description": "filter by attribute 'buildAudienceType'", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "INTERNAL_ONLY", + "APP_STORE_ELIGIBLE" + ] + } }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + "style": "form", + "explode": false + }, + { + "name": "filter[expired]", + "in": "query", + "description": "filter by attribute 'expired'", + "schema": { + "type": "array", + "items": { + "type": "string" } - } + }, + "style": "form", + "explode": false }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "filter[preReleaseVersion.platform]", + "in": "query", + "description": "filter by attribute 'preReleaseVersion.platform'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "IOS", + "MAC_OS", + "TV_OS" + ] } - } + }, + "style": "form", + "explode": false }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "filter[preReleaseVersion.version]", + "in": "query", + "description": "filter by attribute 'preReleaseVersion.version'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[processingState]", + "in": "query", + "description": "filter by attribute 'processingState'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "PROCESSING", + "FAILED", + "INVALID", + "VALID" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[usesNonExemptEncryption]", + "in": "query", + "description": "filter by attribute 'usesNonExemptEncryption'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[version]", + "in": "query", + "description": "filter by attribute 'version'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[app]", + "in": "query", + "description": "filter by id(s) of related 'app'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[appStoreVersion]", + "in": "query", + "description": "filter by id(s) of related 'appStoreVersion'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[betaGroups]", + "in": "query", + "description": "filter by id(s) of related 'betaGroups'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[preReleaseVersion]", + "in": "query", + "description": "filter by id(s) of related 'preReleaseVersion'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[id]", + "in": "query", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "preReleaseVersion", + "-preReleaseVersion", + "uploadedDate", + "-uploadedDate", + "version", + "-version" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[buildBundles]", + "in": "query", + "description": "the fields to include for returned resources of type buildBundles", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appClipDomainCacheStatus", + "appClipDomainDebugStatus", + "betaAppClipInvocations", + "buildBundleFileSizes", + "bundleId", + "bundleType", + "dSYMUrl", + "deviceProtocols", + "entitlements", + "fileName", + "hasOnDemandResources", + "hasPrerenderedIcon", + "hasSirikit", + "includesSymbols", + "isIosBuildMacAppStoreCompatible", + "locales", + "platformBuild", + "requiredCapabilities", + "sdkBuild", + "supportedArchitectures", + "usesLocationServices" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[buildIcons]", + "in": "query", + "description": "the fields to include for returned resources of type buildIcons", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "iconAsset", + "iconType", + "name" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[betaAppReviewSubmissions]", + "in": "query", + "description": "the fields to include for returned resources of type betaAppReviewSubmissions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "betaReviewState", + "build", + "submittedDate" + ] } - } + }, + "style": "form", + "explode": false }, - "200": { - "description": "List of CiArtifacts", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CiArtifactsResponse" - } + { + "name": "fields[buildBetaDetails]", + "in": "query", + "description": "the fields to include for returned resources of type buildBetaDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "autoNotifyEnabled", + "build", + "externalBuildState", + "internalBuildState" + ] } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/ciBuildActions/{id}/relationships/buildRun": { - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + }, + "style": "form", + "explode": false }, - "style": "simple", - "required": true - } - ] - }, - "/v1/ciBuildActions/{id}/buildRun": { - "get": { - "tags": [ - "CiBuildActions" - ], - "operationId": "ciBuildActions-buildRun-get_to_one_related", - "parameters": [ { - "name": "fields[scmGitReferences]", + "name": "fields[betaTesters]", "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", + "description": "the fields to include for returned resources of type betaTesters", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "canonicalName", - "isDeleted", - "kind", - "name", - "repository" + "apps", + "betaGroups", + "builds", + "email", + "firstName", + "inviteType", + "lastName" ] } }, @@ -63587,35 +65961,18 @@ "explode": false }, { - "name": "fields[ciBuildRuns]", + "name": "fields[preReleaseVersions]", "in": "query", - "description": "the fields to include for returned resources of type ciBuildRuns", + "description": "the fields to include for returned resources of type preReleaseVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "actions", - "buildRun", + "app", "builds", - "cancelReason", - "clean", - "completionStatus", - "createdDate", - "destinationBranch", - "destinationCommit", - "executionProgress", - "finishedDate", - "isPullRequestBuild", - "issueCounts", - "number", - "product", - "pullRequest", - "sourceBranchOrTag", - "sourceCommit", - "startReason", - "startedDate", - "workflow" + "platform", + "version" ] } }, @@ -63623,31 +65980,17 @@ "explode": false }, { - "name": "fields[ciWorkflows]", + "name": "fields[betaBuildLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type ciWorkflows", + "description": "the fields to include for returned resources of type betaBuildLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "actions", - "branchStartCondition", - "buildRuns", - "clean", - "containerFilePath", - "description", - "isEnabled", - "isLockedForEditing", - "lastModifiedDate", - "macOsVersion", - "name", - "product", - "pullRequestStartCondition", - "repository", - "scheduledStartCondition", - "tagStartCondition", - "xcodeVersion" + "build", + "locale", + "whatsNew" ] } }, @@ -63655,26 +65998,34 @@ "explode": false }, { - "name": "fields[scmPullRequests]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type scmPullRequests", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "destinationBranchName", - "destinationRepositoryName", - "destinationRepositoryOwner", - "isClosed", - "isCrossRepository", - "number", - "repository", - "sourceBranchName", - "sourceRepositoryName", - "sourceRepositoryOwner", - "title", - "webUrl" + "ageRatingDeclaration", + "app", + "appClipDefaultExperience", + "appStoreReviewDetail", + "appStoreState", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "appStoreVersionLocalizations", + "appStoreVersionPhasedRelease", + "appStoreVersionSubmission", + "build", + "copyright", + "createdDate", + "customerReviews", + "downloadable", + "earliestReleaseDate", + "platform", + "releaseType", + "routingAppCoverage", + "versionString" ] } }, @@ -63682,23 +66033,90 @@ "explode": false }, { - "name": "fields[ciProducts]", + "name": "fields[appEncryptionDeclarations]", "in": "query", - "description": "the fields to include for returned resources of type ciProducts", + "description": "the fields to include for returned resources of type appEncryptionDeclarations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "additionalRepositories", "app", - "buildRuns", - "bundleId", + "appDescription", + "appEncryptionDeclarationDocument", + "appEncryptionDeclarationState", + "availableOnFrenchStore", + "builds", + "codeValue", + "containsProprietaryCryptography", + "containsThirdPartyCryptography", "createdDate", + "documentName", + "documentType", + "documentUrl", + "exempt", + "platform", + "uploadedDate", + "usesEncryption" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appAvailability", + "appClips", + "appCustomProductPages", + "appEncryptionDeclarations", + "appEvents", + "appInfos", + "appPricePoints", + "appPriceSchedule", + "appStoreVersionExperimentsV2", + "appStoreVersions", + "availableInNewTerritories", + "availableTerritories", + "betaAppLocalizations", + "betaAppReviewDetail", + "betaGroups", + "betaLicenseAgreement", + "betaTesters", + "builds", + "bundleId", + "ciProduct", + "contentRightsDeclaration", + "customerReviews", + "endUserLicenseAgreement", + "gameCenterDetail", + "gameCenterEnabledVersions", + "inAppPurchases", + "inAppPurchasesV2", + "isOrEverWasMadeForKids", "name", - "primaryRepositories", - "productType", - "workflows" + "perfPowerMetrics", + "preOrder", + "preReleaseVersions", + "pricePoints", + "prices", + "primaryLocale", + "promotedPurchases", + "reviewSubmissions", + "sku", + "subscriptionGracePeriod", + "subscriptionGroups", + "subscriptionStatusUrl", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlVersionForSandbox" ] } }, @@ -63745,9 +66163,88 @@ "explode": false }, { - "name": "limit[builds]", + "name": "fields[betaGroups]", "in": "query", - "description": "maximum number of related builds returned (when they are included)", + "description": "the fields to include for returned resources of type betaGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "betaTesters", + "builds", + "createdDate", + "feedbackEnabled", + "hasAccessToAllBuilds", + "iosBuildsAvailableForAppleSiliconMac", + "isInternalGroup", + "name", + "publicLink", + "publicLinkEnabled", + "publicLinkId", + "publicLinkLimit", + "publicLinkLimitEnabled" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "limit[individualTesters]", + "in": "query", + "description": "maximum number of related individualTesters returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[betaGroups]", + "in": "query", + "description": "maximum number of related betaGroups returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[betaBuildLocalizations]", + "in": "query", + "description": "maximum number of related betaBuildLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[icons]", + "in": "query", + "description": "maximum number of related icons returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[buildBundles]", + "in": "query", + "description": "maximum number of related buildBundles returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -63763,12 +66260,17 @@ "items": { "type": "string", "enum": [ - "builds", - "destinationBranch", - "product", - "pullRequest", - "sourceBranchOrTag", - "workflow" + "app", + "appEncryptionDeclaration", + "appStoreVersion", + "betaAppReviewSubmission", + "betaBuildLocalizations", + "betaGroups", + "buildBetaDetail", + "buildBundles", + "icons", + "individualTesters", + "preReleaseVersion" ] } }, @@ -63808,11 +66310,11 @@ } }, "200": { - "description": "Single CiBuildRun", + "description": "List of Builds", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiBuildRunResponse" + "$ref": "#/components/schemas/BuildsResponse" } } } @@ -63832,7 +66334,7 @@ } ] }, - "/v1/ciBuildActions/{id}/relationships/issues": { + "/v1/ciMacOsVersions/{id}/relationships/xcodeVersions": { "parameters": [ { "name": "id", @@ -63846,26 +66348,26 @@ } ] }, - "/v1/ciBuildActions/{id}/issues": { + "/v1/ciMacOsVersions/{id}/xcodeVersions": { "get": { "tags": [ - "CiBuildActions" + "CiMacOsVersions" ], - "operationId": "ciBuildActions-issues-get_to_many_related", + "operationId": "ciMacOsVersions-xcodeVersions-get_to_many_related", "parameters": [ { - "name": "fields[ciIssues]", + "name": "fields[ciXcodeVersions]", "in": "query", - "description": "the fields to include for returned resources of type ciIssues", + "description": "the fields to include for returned resources of type ciXcodeVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "category", - "fileSource", - "issueType", - "message" + "macOsVersions", + "name", + "testDestinations", + "version" ] } }, @@ -63873,108 +66375,17 @@ "explode": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "List of CiIssues", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CiIssuesResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/ciBuildActions/{id}/relationships/testResults": { - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/ciBuildActions/{id}/testResults": { - "get": { - "tags": [ - "CiBuildActions" - ], - "operationId": "ciBuildActions-testResults-get_to_many_related", - "parameters": [ - { - "name": "fields[ciTestResults]", + "name": "fields[ciMacOsVersions]", "in": "query", - "description": "the fields to include for returned resources of type ciTestResults", + "description": "the fields to include for returned resources of type ciMacOsVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "className", - "destinationTestResults", - "fileSource", - "message", "name", - "status" + "version", + "xcodeVersions" ] } }, @@ -63990,6 +66401,32 @@ "maximum": 200 }, "style": "form" + }, + { + "name": "limit[macOsVersions]", + "in": "query", + "description": "maximum number of related macOsVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "macOsVersions" + ] + } + }, + "style": "form", + "explode": false } ], "responses": { @@ -64024,11 +66461,11 @@ } }, "200": { - "description": "List of CiTestResults", + "description": "List of CiXcodeVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiTestResultsResponse" + "$ref": "#/components/schemas/CiXcodeVersionsResponse" } } } @@ -64048,7 +66485,7 @@ } ] }, - "/v1/ciBuildRuns/{id}/relationships/actions": { + "/v1/ciProducts/{id}/relationships/additionalRepositories": { "parameters": [ { "name": "id", @@ -64062,43 +66499,40 @@ } ] }, - "/v1/ciBuildRuns/{id}/actions": { + "/v1/ciProducts/{id}/additionalRepositories": { "get": { "tags": [ - "CiBuildRuns" + "CiProducts" ], - "operationId": "ciBuildRuns-actions-get_to_many_related", + "operationId": "ciProducts-additionalRepositories-get_to_many_related", "parameters": [ { - "name": "fields[ciBuildRuns]", + "name": "filter[id]", "in": "query", - "description": "the fields to include for returned resources of type ciBuildRuns", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[scmGitReferences]", + "in": "query", + "description": "the fields to include for returned resources of type scmGitReferences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "actions", - "buildRun", - "builds", - "cancelReason", - "clean", - "completionStatus", - "createdDate", - "destinationBranch", - "destinationCommit", - "executionProgress", - "finishedDate", - "isPullRequestBuild", - "issueCounts", - "number", - "product", - "pullRequest", - "sourceBranchOrTag", - "sourceCommit", - "startReason", - "startedDate", - "workflow" + "canonicalName", + "isDeleted", + "kind", + "name", + "repository" ] } }, @@ -64106,26 +66540,41 @@ "explode": false }, { - "name": "fields[ciBuildActions]", + "name": "fields[scmProviders]", "in": "query", - "description": "the fields to include for returned resources of type ciBuildActions", + "description": "the fields to include for returned resources of type scmProviders", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "actionType", - "artifacts", - "buildRun", - "completionStatus", - "executionProgress", - "finishedDate", - "isRequiredToPass", - "issueCounts", - "issues", - "name", - "startedDate", - "testResults" + "repositories", + "scmProviderType", + "url" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[scmRepositories]", + "in": "query", + "description": "the fields to include for returned resources of type scmRepositories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "defaultBranch", + "gitReferences", + "httpCloneUrl", + "lastAccessedDate", + "ownerName", + "pullRequests", + "repositoryName", + "scmProvider", + "sshCloneUrl" ] } }, @@ -64151,7 +66600,8 @@ "items": { "type": "string", "enum": [ - "buildRun" + "defaultBranch", + "scmProvider" ] } }, @@ -64191,11 +66641,11 @@ } }, "200": { - "description": "List of CiBuildActions", + "description": "List of ScmRepositories", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiBuildActionsResponse" + "$ref": "#/components/schemas/ScmRepositoriesResponse" } } } @@ -64215,7 +66665,7 @@ } ] }, - "/v1/ciBuildRuns/{id}/relationships/builds": { + "/v1/ciProducts/{id}/relationships/app": { "parameters": [ { "name": "id", @@ -64229,26 +66679,31 @@ } ] }, - "/v1/ciBuildRuns/{id}/builds": { + "/v1/ciProducts/{id}/app": { "get": { "tags": [ - "CiBuildRuns" + "CiProducts" ], - "operationId": "ciBuildRuns-builds-get_to_many_related", + "operationId": "ciProducts-app-get_to_one_related", "parameters": [ { - "name": "filter[betaAppReviewSubmission.betaReviewState]", + "name": "fields[betaAppReviewDetails]", "in": "query", - "description": "filter by attribute 'betaAppReviewSubmission.betaReviewState'", + "description": "the fields to include for returned resources of type betaAppReviewDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "WAITING_FOR_REVIEW", - "IN_REVIEW", - "REJECTED", - "APPROVED" + "app", + "contactEmail", + "contactFirstName", + "contactLastName", + "contactPhone", + "demoAccountName", + "demoAccountPassword", + "demoAccountRequired", + "notes" ] } }, @@ -64256,16 +66711,27 @@ "explode": false }, { - "name": "filter[buildAudienceType]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "filter by attribute 'buildAudienceType'", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "INTERNAL_ONLY", - "APP_STORE_ELIGIBLE" + "achievementReleases", + "app", + "arcadeEnabled", + "challengeEnabled", + "defaultGroupLeaderboard", + "defaultLeaderboard", + "gameCenterAchievements", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "gameCenterLeaderboards", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -64273,30 +66739,48 @@ "explode": false }, { - "name": "filter[expired]", + "name": "fields[ciProducts]", "in": "query", - "description": "filter by attribute 'expired'", + "description": "the fields to include for returned resources of type ciProducts", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "additionalRepositories", + "app", + "buildRuns", + "bundleId", + "createdDate", + "name", + "primaryRepositories", + "productType", + "workflows" + ] } }, "style": "form", "explode": false }, { - "name": "filter[preReleaseVersion.platform]", + "name": "fields[reviewSubmissions]", "in": "query", - "description": "filter by attribute 'preReleaseVersion.platform'", + "description": "the fields to include for returned resources of type reviewSubmissions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "IOS", - "MAC_OS", - "TV_OS" + "app", + "appStoreVersionForReview", + "canceled", + "items", + "lastUpdatedByActor", + "platform", + "state", + "submitted", + "submittedByActor", + "submittedDate" ] } }, @@ -64304,31 +66788,50 @@ "explode": false }, { - "name": "filter[preReleaseVersion.version]", + "name": "fields[betaGroups]", "in": "query", - "description": "filter by attribute 'preReleaseVersion.version'", + "description": "the fields to include for returned resources of type betaGroups", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "app", + "betaTesters", + "builds", + "createdDate", + "feedbackEnabled", + "hasAccessToAllBuilds", + "iosBuildsAvailableForAppleSiliconMac", + "isInternalGroup", + "name", + "publicLink", + "publicLinkEnabled", + "publicLinkId", + "publicLinkLimit", + "publicLinkLimitEnabled" + ] } }, "style": "form", "explode": false }, { - "name": "filter[processingState]", + "name": "fields[promotedPurchases]", "in": "query", - "description": "filter by attribute 'processingState'", + "description": "the fields to include for returned resources of type promotedPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "PROCESSING", - "FAILED", - "INVALID", - "VALID" + "app", + "enabled", + "inAppPurchaseV2", + "promotionImages", + "state", + "subscription", + "visibleForAllUsers" ] } }, @@ -64336,111 +66839,230 @@ "explode": false }, { - "name": "filter[usesNonExemptEncryption]", + "name": "fields[apps]", "in": "query", - "description": "filter by attribute 'usesNonExemptEncryption'", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "appAvailability", + "appClips", + "appCustomProductPages", + "appEncryptionDeclarations", + "appEvents", + "appInfos", + "appPricePoints", + "appPriceSchedule", + "appStoreVersionExperimentsV2", + "appStoreVersions", + "availableInNewTerritories", + "availableTerritories", + "betaAppLocalizations", + "betaAppReviewDetail", + "betaGroups", + "betaLicenseAgreement", + "betaTesters", + "builds", + "bundleId", + "ciProduct", + "contentRightsDeclaration", + "customerReviews", + "endUserLicenseAgreement", + "gameCenterDetail", + "gameCenterEnabledVersions", + "inAppPurchases", + "inAppPurchasesV2", + "isOrEverWasMadeForKids", + "name", + "perfPowerMetrics", + "preOrder", + "preReleaseVersions", + "pricePoints", + "prices", + "primaryLocale", + "promotedPurchases", + "reviewSubmissions", + "sku", + "subscriptionGracePeriod", + "subscriptionGroups", + "subscriptionStatusUrl", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlVersionForSandbox" + ] } }, "style": "form", "explode": false }, { - "name": "filter[version]", + "name": "fields[appEvents]", "in": "query", - "description": "filter by attribute 'version'", + "description": "the fields to include for returned resources of type appEvents", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "app", + "archivedTerritorySchedules", + "badge", + "deepLink", + "eventState", + "localizations", + "primaryLocale", + "priority", + "purchaseRequirement", + "purpose", + "referenceName", + "territorySchedules" + ] } }, "style": "form", "explode": false }, { - "name": "filter[app]", + "name": "fields[builds]", "in": "query", - "description": "filter by id(s) of related 'app'", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "app", + "appEncryptionDeclaration", + "appStoreVersion", + "betaAppReviewSubmission", + "betaBuildLocalizations", + "betaGroups", + "buildAudienceType", + "buildBetaDetail", + "buildBundles", + "computedMinMacOsVersion", + "diagnosticSignatures", + "expirationDate", + "expired", + "iconAssetToken", + "icons", + "individualTesters", + "lsMinimumSystemVersion", + "minOsVersion", + "perfPowerMetrics", + "preReleaseVersion", + "processingState", + "uploadedDate", + "usesNonExemptEncryption", + "version" + ] } }, "style": "form", "explode": false }, { - "name": "filter[appStoreVersion]", + "name": "fields[betaLicenseAgreements]", "in": "query", - "description": "filter by id(s) of related 'appStoreVersion'", + "description": "the fields to include for returned resources of type betaLicenseAgreements", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "agreementText", + "app" + ] } }, "style": "form", "explode": false }, { - "name": "filter[betaGroups]", + "name": "fields[appClips]", "in": "query", - "description": "filter by id(s) of related 'betaGroups'", + "description": "the fields to include for returned resources of type appClips", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "app", + "appClipAdvancedExperiences", + "appClipDefaultExperiences", + "bundleId" + ] } }, "style": "form", "explode": false }, { - "name": "filter[preReleaseVersion]", + "name": "fields[betaAppLocalizations]", "in": "query", - "description": "filter by id(s) of related 'preReleaseVersion'", + "description": "the fields to include for returned resources of type betaAppLocalizations", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "app", + "description", + "feedbackEmail", + "locale", + "marketingUrl", + "privacyPolicyUrl", + "tvOsPrivacyPolicy" + ] } }, "style": "form", "explode": false }, { - "name": "filter[id]", + "name": "fields[appInfos]", "in": "query", - "description": "filter by id(s)", + "description": "the fields to include for returned resources of type appInfos", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "ageRatingDeclaration", + "app", + "appInfoLocalizations", + "appStoreAgeRating", + "appStoreState", + "brazilAgeRating", + "brazilAgeRatingV2", + "kidsAgeBand", + "primaryCategory", + "primarySubcategoryOne", + "primarySubcategoryTwo", + "secondaryCategory", + "secondarySubcategoryOne", + "secondarySubcategoryTwo" + ] } }, "style": "form", "explode": false }, { - "name": "sort", + "name": "fields[preReleaseVersions]", "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "description": "the fields to include for returned resources of type preReleaseVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "preReleaseVersion", - "-preReleaseVersion", - "uploadedDate", - "-uploadedDate", - "version", - "-version" + "app", + "builds", + "platform", + "version" ] } }, @@ -64448,35 +67070,32 @@ "explode": false }, { - "name": "fields[buildBundles]", + "name": "fields[inAppPurchases]", "in": "query", - "description": "the fields to include for returned resources of type buildBundles", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appClipDomainCacheStatus", - "appClipDomainDebugStatus", - "betaAppClipInvocations", - "buildBundleFileSizes", - "bundleId", - "bundleType", - "dSYMUrl", - "deviceProtocols", - "entitlements", - "fileName", - "hasOnDemandResources", - "hasPrerenderedIcon", - "hasSirikit", - "includesSymbols", - "isIosBuildMacAppStoreCompatible", - "locales", - "platformBuild", - "requiredCapabilities", - "sdkBuild", - "supportedArchitectures", - "usesLocationServices" + "app", + "appStoreReviewScreenshot", + "apps", + "availableInAllTerritories", + "content", + "contentHosting", + "familySharable", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "inAppPurchaseLocalizations", + "inAppPurchaseType", + "name", + "pricePoints", + "productId", + "promotedPurchase", + "referenceName", + "reviewNote", + "state" ] } }, @@ -64484,17 +67103,18 @@ "explode": false }, { - "name": "fields[buildIcons]", + "name": "fields[subscriptionGroups]", "in": "query", - "description": "the fields to include for returned resources of type buildIcons", + "description": "the fields to include for returned resources of type subscriptionGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "iconAsset", - "iconType", - "name" + "app", + "referenceName", + "subscriptionGroupLocalizations", + "subscriptions" ] } }, @@ -64502,17 +67122,17 @@ "explode": false }, { - "name": "fields[betaAppReviewSubmissions]", + "name": "fields[appPreOrders]", "in": "query", - "description": "the fields to include for returned resources of type betaAppReviewSubmissions", + "description": "the fields to include for returned resources of type appPreOrders", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "betaReviewState", - "build", - "submittedDate" + "app", + "appReleaseDate", + "preOrderAvailableDate" ] } }, @@ -64520,18 +67140,16 @@ "explode": false }, { - "name": "fields[buildBetaDetails]", + "name": "fields[appPrices]", "in": "query", - "description": "the fields to include for returned resources of type buildBetaDetails", + "description": "the fields to include for returned resources of type appPrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "autoNotifyEnabled", - "build", - "externalBuildState", - "internalBuildState" + "app", + "priceTier" ] } }, @@ -64539,21 +67157,19 @@ "explode": false }, { - "name": "fields[betaTesters]", + "name": "fields[gameCenterEnabledVersions]", "in": "query", - "description": "the fields to include for returned resources of type betaTesters", + "description": "the fields to include for returned resources of type gameCenterEnabledVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "apps", - "betaGroups", - "builds", - "email", - "firstName", - "inviteType", - "lastName" + "app", + "compatibleVersions", + "iconAsset", + "platform", + "versionString" ] } }, @@ -64561,18 +67177,45 @@ "explode": false }, { - "name": "fields[preReleaseVersions]", + "name": "fields[appStoreVersionExperiments]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "appStoreVersionExperimentTreatments", + "controlVersions", + "endDate", + "latestControlVersion", + "name", + "platform", + "reviewRequired", + "startDate", + "started", + "state", + "trafficProportion" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionGracePeriods]", "in": "query", - "description": "the fields to include for returned resources of type preReleaseVersions", + "description": "the fields to include for returned resources of type subscriptionGracePeriods", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "builds", - "platform", - "version" + "duration", + "optIn", + "renewalType", + "sandboxOptIn" ] } }, @@ -64580,17 +67223,17 @@ "explode": false }, { - "name": "fields[betaBuildLocalizations]", + "name": "fields[endUserLicenseAgreements]", "in": "query", - "description": "the fields to include for returned resources of type betaBuildLocalizations", + "description": "the fields to include for returned resources of type endUserLicenseAgreements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "build", - "locale", - "whatsNew" + "agreementText", + "app", + "territories" ] } }, @@ -64665,58 +67308,21 @@ "explode": false }, { - "name": "fields[apps]", + "name": "fields[appCustomProductPages]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type appCustomProductPages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "availableInNewTerritories", - "availableTerritories", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", + "app", + "appCustomProductPageVersions", + "appStoreVersionTemplate", + "customProductPageTemplate", "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "pricePoints", - "prices", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "url", + "visible" ] } }, @@ -64724,38 +67330,15 @@ "explode": false }, { - "name": "fields[builds]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "currency" ] } }, @@ -64763,48 +67346,121 @@ "explode": false }, { - "name": "fields[betaGroups]", + "name": "limit[appEncryptionDeclarations]", "in": "query", - "description": "the fields to include for returned resources of type betaGroups", + "description": "maximum number of related appEncryptionDeclarations returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "betaTesters", - "builds", - "createdDate", - "feedbackEnabled", - "hasAccessToAllBuilds", - "iosBuildsAvailableForAppleSiliconMac", - "isInternalGroup", - "name", - "publicLink", - "publicLinkEnabled", - "publicLinkId", - "publicLinkLimit", - "publicLinkLimitEnabled" - ] - } + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[betaGroups]", + "in": "query", + "description": "maximum number of related betaGroups returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[appStoreVersions]", + "in": "query", + "description": "maximum number of related appStoreVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[preReleaseVersions]", + "in": "query", + "description": "maximum number of related preReleaseVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[betaAppLocalizations]", + "in": "query", + "description": "maximum number of related betaAppLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[builds]", + "in": "query", + "description": "maximum number of related builds returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[appInfos]", + "in": "query", + "description": "maximum number of related appInfos returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[appClips]", + "in": "query", + "description": "maximum number of related appClips returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[prices]", + "in": "query", + "description": "maximum number of related prices returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 }, "style": "form", - "explode": false + "deprecated": true }, { - "name": "limit", + "name": "limit[availableTerritories]", "in": "query", - "description": "maximum resources per page", + "description": "maximum number of related availableTerritories returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 + "maximum": 50 }, "style": "form" }, { - "name": "limit[individualTesters]", + "name": "limit[inAppPurchases]", "in": "query", - "description": "maximum number of related individualTesters returned (when they are included)", + "description": "maximum number of related inAppPurchases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[subscriptionGroups]", + "in": "query", + "description": "maximum number of related subscriptionGroups returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -64812,9 +67468,20 @@ "style": "form" }, { - "name": "limit[betaGroups]", + "name": "limit[gameCenterEnabledVersions]", "in": "query", - "description": "maximum number of related betaGroups returned (when they are included)", + "description": "maximum number of related gameCenterEnabledVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[appCustomProductPages]", + "in": "query", + "description": "maximum number of related appCustomProductPages returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -64822,9 +67489,9 @@ "style": "form" }, { - "name": "limit[betaBuildLocalizations]", + "name": "limit[inAppPurchasesV2]", "in": "query", - "description": "maximum number of related betaBuildLocalizations returned (when they are included)", + "description": "maximum number of related inAppPurchasesV2 returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -64832,9 +67499,9 @@ "style": "form" }, { - "name": "limit[icons]", + "name": "limit[promotedPurchases]", "in": "query", - "description": "maximum number of related icons returned (when they are included)", + "description": "maximum number of related promotedPurchases returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -64842,9 +67509,29 @@ "style": "form" }, { - "name": "limit[buildBundles]", + "name": "limit[appEvents]", "in": "query", - "description": "maximum number of related buildBundles returned (when they are included)", + "description": "maximum number of related appEvents returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[reviewSubmissions]", + "in": "query", + "description": "maximum number of related reviewSubmissions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[appStoreVersionExperimentsV2]", + "in": "query", + "description": "maximum number of related appStoreVersionExperimentsV2 returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -64860,17 +67547,32 @@ "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", + "appClips", + "appCustomProductPages", + "appEncryptionDeclarations", + "appEvents", + "appInfos", + "appStoreVersionExperimentsV2", + "appStoreVersions", + "availableTerritories", + "betaAppLocalizations", + "betaAppReviewDetail", "betaGroups", - "buildBetaDetail", - "buildBundles", - "icons", - "individualTesters", - "preReleaseVersion" + "betaLicenseAgreement", + "builds", + "ciProduct", + "endUserLicenseAgreement", + "gameCenterDetail", + "gameCenterEnabledVersions", + "inAppPurchases", + "inAppPurchasesV2", + "preOrder", + "preReleaseVersions", + "prices", + "promotedPurchases", + "reviewSubmissions", + "subscriptionGracePeriod", + "subscriptionGroups" ] } }, @@ -64910,11 +67612,11 @@ } }, "200": { - "description": "List of Builds", + "description": "Single App", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildsResponse" + "$ref": "#/components/schemas/AppResponse" } } } @@ -64934,7 +67636,7 @@ } ] }, - "/v1/ciMacOsVersions/{id}/relationships/xcodeVersions": { + "/v1/ciProducts/{id}/relationships/buildRuns": { "parameters": [ { "name": "id", @@ -64948,26 +67650,40 @@ } ] }, - "/v1/ciMacOsVersions/{id}/xcodeVersions": { + "/v1/ciProducts/{id}/buildRuns": { "get": { "tags": [ - "CiMacOsVersions" + "CiProducts" ], - "operationId": "ciMacOsVersions-xcodeVersions-get_to_many_related", + "operationId": "ciProducts-buildRuns-get_to_many_related", "parameters": [ { - "name": "fields[ciXcodeVersions]", + "name": "filter[builds]", "in": "query", - "description": "the fields to include for returned resources of type ciXcodeVersions", + "description": "filter by id(s) of related 'builds'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[scmGitReferences]", + "in": "query", + "description": "the fields to include for returned resources of type scmGitReferences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "macOsVersions", + "canonicalName", + "isDeleted", + "kind", "name", - "testDestinations", - "version" + "repository" ] } }, @@ -64975,17 +67691,157 @@ "explode": false }, { - "name": "fields[ciMacOsVersions]", + "name": "fields[ciBuildRuns]", "in": "query", - "description": "the fields to include for returned resources of type ciMacOsVersions", + "description": "the fields to include for returned resources of type ciBuildRuns", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "actions", + "buildRun", + "builds", + "cancelReason", + "clean", + "completionStatus", + "createdDate", + "destinationBranch", + "destinationCommit", + "executionProgress", + "finishedDate", + "isPullRequestBuild", + "issueCounts", + "number", + "product", + "pullRequest", + "sourceBranchOrTag", + "sourceCommit", + "startReason", + "startedDate", + "workflow" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[ciWorkflows]", + "in": "query", + "description": "the fields to include for returned resources of type ciWorkflows", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "actions", + "branchStartCondition", + "buildRuns", + "clean", + "containerFilePath", + "description", + "isEnabled", + "isLockedForEditing", + "lastModifiedDate", + "macOsVersion", "name", - "version", - "xcodeVersions" + "product", + "pullRequestStartCondition", + "repository", + "scheduledStartCondition", + "tagStartCondition", + "xcodeVersion" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[scmPullRequests]", + "in": "query", + "description": "the fields to include for returned resources of type scmPullRequests", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "destinationBranchName", + "destinationRepositoryName", + "destinationRepositoryOwner", + "isClosed", + "isCrossRepository", + "number", + "repository", + "sourceBranchName", + "sourceRepositoryName", + "sourceRepositoryOwner", + "title", + "webUrl" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[ciProducts]", + "in": "query", + "description": "the fields to include for returned resources of type ciProducts", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "additionalRepositories", + "app", + "buildRuns", + "bundleId", + "createdDate", + "name", + "primaryRepositories", + "productType", + "workflows" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[builds]", + "in": "query", + "description": "the fields to include for returned resources of type builds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "appEncryptionDeclaration", + "appStoreVersion", + "betaAppReviewSubmission", + "betaBuildLocalizations", + "betaGroups", + "buildAudienceType", + "buildBetaDetail", + "buildBundles", + "computedMinMacOsVersion", + "diagnosticSignatures", + "expirationDate", + "expired", + "iconAssetToken", + "icons", + "individualTesters", + "lsMinimumSystemVersion", + "minOsVersion", + "perfPowerMetrics", + "preReleaseVersion", + "processingState", + "uploadedDate", + "usesNonExemptEncryption", + "version" ] } }, @@ -65003,9 +67859,9 @@ "style": "form" }, { - "name": "limit[macOsVersions]", + "name": "limit[builds]", "in": "query", - "description": "maximum number of related macOsVersions returned (when they are included)", + "description": "maximum number of related builds returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -65021,7 +67877,12 @@ "items": { "type": "string", "enum": [ - "macOsVersions" + "builds", + "destinationBranch", + "product", + "pullRequest", + "sourceBranchOrTag", + "workflow" ] } }, @@ -65061,11 +67922,11 @@ } }, "200": { - "description": "List of CiXcodeVersions", + "description": "List of CiBuildRuns", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiXcodeVersionsResponse" + "$ref": "#/components/schemas/CiBuildRunsResponse" } } } @@ -65085,7 +67946,7 @@ } ] }, - "/v1/ciProducts/{id}/relationships/additionalRepositories": { + "/v1/ciProducts/{id}/relationships/primaryRepositories": { "parameters": [ { "name": "id", @@ -65099,12 +67960,12 @@ } ] }, - "/v1/ciProducts/{id}/additionalRepositories": { + "/v1/ciProducts/{id}/primaryRepositories": { "get": { "tags": [ "CiProducts" ], - "operationId": "ciProducts-additionalRepositories-get_to_many_related", + "operationId": "ciProducts-primaryRepositories-get_to_many_related", "parameters": [ { "name": "filter[id]", @@ -65265,7 +68126,7 @@ } ] }, - "/v1/ciProducts/{id}/relationships/app": { + "/v1/ciProducts/{id}/relationships/workflows": { "parameters": [ { "name": "id", @@ -65279,59 +68140,26 @@ } ] }, - "/v1/ciProducts/{id}/app": { + "/v1/ciProducts/{id}/workflows": { "get": { "tags": [ "CiProducts" ], - "operationId": "ciProducts-app-get_to_one_related", + "operationId": "ciProducts-workflows-get_to_many_related", "parameters": [ { - "name": "fields[betaAppReviewDetails]", - "in": "query", - "description": "the fields to include for returned resources of type betaAppReviewDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "contactEmail", - "contactFirstName", - "contactLastName", - "contactPhone", - "demoAccountName", - "demoAccountPassword", - "demoAccountRequired", - "notes" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterDetails]", + "name": "fields[ciXcodeVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type ciXcodeVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "macOsVersions", + "name", + "testDestinations", + "version" ] } }, @@ -65339,48 +68167,31 @@ "explode": false }, { - "name": "fields[ciProducts]", + "name": "fields[ciWorkflows]", "in": "query", - "description": "the fields to include for returned resources of type ciProducts", + "description": "the fields to include for returned resources of type ciWorkflows", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "additionalRepositories", - "app", + "actions", + "branchStartCondition", "buildRuns", - "bundleId", - "createdDate", + "clean", + "containerFilePath", + "description", + "isEnabled", + "isLockedForEditing", + "lastModifiedDate", + "macOsVersion", "name", - "primaryRepositories", - "productType", - "workflows" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[reviewSubmissions]", - "in": "query", - "description": "the fields to include for returned resources of type reviewSubmissions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appStoreVersionForReview", - "canceled", - "items", - "lastUpdatedByActor", - "platform", - "state", - "submitted", - "submittedByActor", - "submittedDate" + "product", + "pullRequestStartCondition", + "repository", + "scheduledStartCondition", + "tagStartCondition", + "xcodeVersion" ] } }, @@ -65388,28 +68199,17 @@ "explode": false }, { - "name": "fields[betaGroups]", + "name": "fields[ciMacOsVersions]", "in": "query", - "description": "the fields to include for returned resources of type betaGroups", + "description": "the fields to include for returned resources of type ciMacOsVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "betaTesters", - "builds", - "createdDate", - "feedbackEnabled", - "hasAccessToAllBuilds", - "iosBuildsAvailableForAppleSiliconMac", - "isInternalGroup", "name", - "publicLink", - "publicLinkEnabled", - "publicLinkId", - "publicLinkLimit", - "publicLinkLimitEnabled" + "version", + "xcodeVersions" ] } }, @@ -65417,163 +68217,23 @@ "explode": false }, { - "name": "fields[promotedPurchases]", + "name": "fields[ciProducts]", "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", + "description": "the fields to include for returned resources of type ciProducts", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "additionalRepositories", "app", - "enabled", - "inAppPurchaseV2", - "promotionImages", - "state", - "subscription", - "visibleForAllUsers" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "availableInNewTerritories", - "availableTerritories", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", + "buildRuns", "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", + "createdDate", "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "pricePoints", - "prices", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appEvents]", - "in": "query", - "description": "the fields to include for returned resources of type appEvents", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "archivedTerritorySchedules", - "badge", - "deepLink", - "eventState", - "localizations", - "primaryLocale", - "priority", - "purchaseRequirement", - "purpose", - "referenceName", - "territorySchedules" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[builds]", - "in": "query", - "description": "the fields to include for returned resources of type builds", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[betaLicenseAgreements]", - "in": "query", - "description": "the fields to include for returned resources of type betaLicenseAgreements", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "agreementText", - "app" + "primaryRepositories", + "productType", + "workflows" ] } }, @@ -65581,18 +68241,23 @@ "explode": false }, { - "name": "fields[appClips]", + "name": "fields[scmRepositories]", "in": "query", - "description": "the fields to include for returned resources of type appClips", + "description": "the fields to include for returned resources of type scmRepositories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appClipAdvancedExperiences", - "appClipDefaultExperiences", - "bundleId" + "defaultBranch", + "gitReferences", + "httpCloneUrl", + "lastAccessedDate", + "ownerName", + "pullRequests", + "repositoryName", + "scmProvider", + "sshCloneUrl" ] } }, @@ -65600,203 +68265,139 @@ "explode": false }, { - "name": "fields[betaAppLocalizations]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type betaAppLocalizations", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "description", - "feedbackEmail", - "locale", - "marketingUrl", - "privacyPolicyUrl", - "tvOsPrivacyPolicy" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false + "style": "form" }, { - "name": "fields[appInfos]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type appInfos", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "app", - "appInfoLocalizations", - "appStoreAgeRating", - "appStoreState", - "brazilAgeRating", - "brazilAgeRatingV2", - "kidsAgeBand", - "primaryCategory", - "primarySubcategoryOne", - "primarySubcategoryTwo", - "secondaryCategory", - "secondarySubcategoryOne", - "secondarySubcategoryTwo" + "macOsVersion", + "product", + "repository", + "xcodeVersion" ] } }, "style": "form", "explode": false - }, - { - "name": "fields[preReleaseVersions]", - "in": "query", - "description": "the fields to include for returned resources of type preReleaseVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "builds", - "platform", - "version" - ] + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[inAppPurchases]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appStoreReviewScreenshot", - "apps", - "availableInAllTerritories", - "content", - "contentHosting", - "familySharable", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "inAppPurchaseLocalizations", - "inAppPurchaseType", - "name", - "pricePoints", - "productId", - "promotedPurchase", - "referenceName", - "reviewNote", - "state" - ] + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[subscriptionGroups]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "referenceName", - "subscriptionGroupLocalizations", - "subscriptions" - ] + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[appPreOrders]", - "in": "query", - "description": "the fields to include for returned resources of type appPreOrders", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appReleaseDate", - "preOrderAvailableDate" - ] + "200": { + "description": "List of CiWorkflows", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CiWorkflowsResponse" + } } - }, - "style": "form", - "explode": false + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, - { - "name": "fields[appPrices]", - "in": "query", - "description": "the fields to include for returned resources of type appPrices", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "priceTier" - ] - } - }, - "style": "form", - "explode": false + "style": "simple", + "required": true + } + ] + }, + "/v1/ciWorkflows/{id}/relationships/buildRuns": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", + "required": true + } + ] + }, + "/v1/ciWorkflows/{id}/buildRuns": { + "get": { + "tags": [ + "CiWorkflows" + ], + "operationId": "ciWorkflows-buildRuns-get_to_many_related", + "parameters": [ { - "name": "fields[gameCenterEnabledVersions]", + "name": "filter[builds]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterEnabledVersions", + "description": "filter by id(s) of related 'builds'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "app", - "compatibleVersions", - "iconAsset", - "platform", - "versionString" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[appStoreVersionExperiments]", + "name": "fields[scmGitReferences]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "description": "the fields to include for returned resources of type scmGitReferences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appStoreVersionExperimentTreatments", - "controlVersions", - "endDate", - "latestControlVersion", + "canonicalName", + "isDeleted", + "kind", "name", - "platform", - "reviewRequired", - "startDate", - "started", - "state", - "trafficProportion" + "repository" ] } }, @@ -65804,18 +68405,35 @@ "explode": false }, { - "name": "fields[subscriptionGracePeriods]", + "name": "fields[ciBuildRuns]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGracePeriods", + "description": "the fields to include for returned resources of type ciBuildRuns", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "duration", - "optIn", - "renewalType", - "sandboxOptIn" + "actions", + "buildRun", + "builds", + "cancelReason", + "clean", + "completionStatus", + "createdDate", + "destinationBranch", + "destinationCommit", + "executionProgress", + "finishedDate", + "isPullRequestBuild", + "issueCounts", + "number", + "product", + "pullRequest", + "sourceBranchOrTag", + "sourceCommit", + "startReason", + "startedDate", + "workflow" ] } }, @@ -65823,17 +68441,31 @@ "explode": false }, { - "name": "fields[endUserLicenseAgreements]", + "name": "fields[ciWorkflows]", "in": "query", - "description": "the fields to include for returned resources of type endUserLicenseAgreements", + "description": "the fields to include for returned resources of type ciWorkflows", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "agreementText", - "app", - "territories" + "actions", + "branchStartCondition", + "buildRuns", + "clean", + "containerFilePath", + "description", + "isEnabled", + "isLockedForEditing", + "lastModifiedDate", + "macOsVersion", + "name", + "product", + "pullRequestStartCondition", + "repository", + "scheduledStartCondition", + "tagStartCondition", + "xcodeVersion" ] } }, @@ -65841,34 +68473,26 @@ "explode": false }, { - "name": "fields[appStoreVersions]", + "name": "fields[scmPullRequests]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type scmPullRequests", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "build", - "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", - "routingAppCoverage", - "versionString" + "destinationBranchName", + "destinationRepositoryName", + "destinationRepositoryOwner", + "isClosed", + "isCrossRepository", + "number", + "repository", + "sourceBranchName", + "sourceRepositoryName", + "sourceRepositoryOwner", + "title", + "webUrl" ] } }, @@ -65876,53 +68500,23 @@ "explode": false }, { - "name": "fields[appEncryptionDeclarations]", + "name": "fields[ciProducts]", "in": "query", - "description": "the fields to include for returned resources of type appEncryptionDeclarations", + "description": "the fields to include for returned resources of type ciProducts", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "additionalRepositories", "app", - "appDescription", - "appEncryptionDeclarationDocument", - "appEncryptionDeclarationState", - "availableOnFrenchStore", - "builds", - "codeValue", - "containsProprietaryCryptography", - "containsThirdPartyCryptography", + "buildRuns", + "bundleId", "createdDate", - "documentName", - "documentType", - "documentUrl", - "exempt", - "platform", - "uploadedDate", - "usesEncryption" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appCustomProductPages]", - "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appCustomProductPageVersions", - "appStoreVersionTemplate", - "customProductPageTemplate", "name", - "url", - "visible" + "primaryRepositories", + "productType", + "workflows" ] } }, @@ -65930,15 +68524,38 @@ "explode": false }, { - "name": "fields[territories]", + "name": "fields[builds]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "app", + "appEncryptionDeclaration", + "appStoreVersion", + "betaAppReviewSubmission", + "betaBuildLocalizations", + "betaGroups", + "buildAudienceType", + "buildBetaDetail", + "buildBundles", + "computedMinMacOsVersion", + "diagnosticSignatures", + "expirationDate", + "expired", + "iconAssetToken", + "icons", + "individualTesters", + "lsMinimumSystemVersion", + "minOsVersion", + "perfPowerMetrics", + "preReleaseVersion", + "processingState", + "uploadedDate", + "usesNonExemptEncryption", + "version" ] } }, @@ -65946,52 +68563,12 @@ "explode": false }, { - "name": "limit[appEncryptionDeclarations]", - "in": "query", - "description": "maximum number of related appEncryptionDeclarations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[betaGroups]", - "in": "query", - "description": "maximum number of related betaGroups returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[appStoreVersions]", - "in": "query", - "description": "maximum number of related appStoreVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[preReleaseVersions]", - "in": "query", - "description": "maximum number of related preReleaseVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[betaAppLocalizations]", + "name": "limit", "in": "query", - "description": "maximum number of related betaAppLocalizations returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" }, @@ -66006,137 +68583,165 @@ "style": "form" }, { - "name": "limit[appInfos]", - "in": "query", - "description": "maximum number of related appInfos returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[appClips]", - "in": "query", - "description": "maximum number of related appClips returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[prices]", - "in": "query", - "description": "maximum number of related prices returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, - { - "name": "limit[availableTerritories]", - "in": "query", - "description": "maximum number of related availableTerritories returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[inAppPurchases]", + "name": "include", "in": "query", - "description": "maximum number of related inAppPurchases returned (when they are included)", + "description": "comma-separated list of relationships to include", "schema": { - "type": "integer", - "maximum": 50 + "type": "array", + "items": { + "type": "string", + "enum": [ + "builds", + "destinationBranch", + "product", + "pullRequest", + "sourceBranchOrTag", + "workflow" + ] + } }, "style": "form", - "deprecated": true - }, - { - "name": "limit[subscriptionGroups]", - "in": "query", - "description": "maximum number of related subscriptionGroups returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" + "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "limit[gameCenterEnabledVersions]", - "in": "query", - "description": "maximum number of related gameCenterEnabledVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "limit[appCustomProductPages]", - "in": "query", - "description": "maximum number of related appCustomProductPages returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } }, - { - "name": "limit[inAppPurchasesV2]", - "in": "query", - "description": "maximum number of related inAppPurchasesV2 returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" + "200": { + "description": "List of CiBuildRuns", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CiBuildRunsResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, - { - "name": "limit[promotedPurchases]", - "in": "query", - "description": "maximum number of related promotedPurchases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" + "style": "simple", + "required": true + } + ] + }, + "/v1/ciWorkflows/{id}/relationships/repository": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", + "required": true + } + ] + }, + "/v1/ciWorkflows/{id}/repository": { + "get": { + "tags": [ + "CiWorkflows" + ], + "operationId": "ciWorkflows-repository-get_to_one_related", + "parameters": [ { - "name": "limit[appEvents]", + "name": "fields[scmGitReferences]", "in": "query", - "description": "maximum number of related appEvents returned (when they are included)", + "description": "the fields to include for returned resources of type scmGitReferences", "schema": { - "type": "integer", - "maximum": 50 + "type": "array", + "items": { + "type": "string", + "enum": [ + "canonicalName", + "isDeleted", + "kind", + "name", + "repository" + ] + } }, - "style": "form" + "style": "form", + "explode": false }, { - "name": "limit[reviewSubmissions]", + "name": "fields[scmProviders]", "in": "query", - "description": "maximum number of related reviewSubmissions returned (when they are included)", + "description": "the fields to include for returned resources of type scmProviders", "schema": { - "type": "integer", - "maximum": 50 + "type": "array", + "items": { + "type": "string", + "enum": [ + "repositories", + "scmProviderType", + "url" + ] + } }, - "style": "form" + "style": "form", + "explode": false }, { - "name": "limit[appStoreVersionExperimentsV2]", + "name": "fields[scmRepositories]", "in": "query", - "description": "maximum number of related appStoreVersionExperimentsV2 returned (when they are included)", + "description": "the fields to include for returned resources of type scmRepositories", "schema": { - "type": "integer", - "maximum": 50 + "type": "array", + "items": { + "type": "string", + "enum": [ + "defaultBranch", + "gitReferences", + "httpCloneUrl", + "lastAccessedDate", + "ownerName", + "pullRequests", + "repositoryName", + "scmProvider", + "sshCloneUrl" + ] + } }, - "style": "form" + "style": "form", + "explode": false }, { "name": "include", @@ -66147,32 +68752,8 @@ "items": { "type": "string", "enum": [ - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "availableTerritories", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "builds", - "ciProduct", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "preOrder", - "preReleaseVersions", - "prices", - "promotedPurchases", - "reviewSubmissions", - "subscriptionGracePeriod", - "subscriptionGroups" + "defaultBranch", + "scmProvider" ] } }, @@ -66212,11 +68793,11 @@ } }, "200": { - "description": "Single App", + "description": "Single ScmRepository", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppResponse" + "$ref": "#/components/schemas/ScmRepositoryResponse" } } } @@ -66236,7 +68817,7 @@ } ] }, - "/v1/ciProducts/{id}/relationships/buildRuns": { + "/v1/ciXcodeVersions/{id}/relationships/macOsVersions": { "parameters": [ { "name": "id", @@ -66250,135 +68831,26 @@ } ] }, - "/v1/ciProducts/{id}/buildRuns": { + "/v1/ciXcodeVersions/{id}/macOsVersions": { "get": { "tags": [ - "CiProducts" + "CiXcodeVersions" ], - "operationId": "ciProducts-buildRuns-get_to_many_related", + "operationId": "ciXcodeVersions-macOsVersions-get_to_many_related", "parameters": [ { - "name": "filter[builds]", - "in": "query", - "description": "filter by id(s) of related 'builds'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[scmGitReferences]", - "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "canonicalName", - "isDeleted", - "kind", - "name", - "repository" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[ciBuildRuns]", - "in": "query", - "description": "the fields to include for returned resources of type ciBuildRuns", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "actions", - "buildRun", - "builds", - "cancelReason", - "clean", - "completionStatus", - "createdDate", - "destinationBranch", - "destinationCommit", - "executionProgress", - "finishedDate", - "isPullRequestBuild", - "issueCounts", - "number", - "product", - "pullRequest", - "sourceBranchOrTag", - "sourceCommit", - "startReason", - "startedDate", - "workflow" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[ciWorkflows]", + "name": "fields[ciXcodeVersions]", "in": "query", - "description": "the fields to include for returned resources of type ciWorkflows", + "description": "the fields to include for returned resources of type ciXcodeVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "actions", - "branchStartCondition", - "buildRuns", - "clean", - "containerFilePath", - "description", - "isEnabled", - "isLockedForEditing", - "lastModifiedDate", - "macOsVersion", + "macOsVersions", "name", - "product", - "pullRequestStartCondition", - "repository", - "scheduledStartCondition", - "tagStartCondition", - "xcodeVersion" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[scmPullRequests]", - "in": "query", - "description": "the fields to include for returned resources of type scmPullRequests", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "destinationBranchName", - "destinationRepositoryName", - "destinationRepositoryOwner", - "isClosed", - "isCrossRepository", - "number", - "repository", - "sourceBranchName", - "sourceRepositoryName", - "sourceRepositoryOwner", - "title", - "webUrl" + "testDestinations", + "version" ] } }, @@ -66386,62 +68858,17 @@ "explode": false }, { - "name": "fields[ciProducts]", + "name": "fields[ciMacOsVersions]", "in": "query", - "description": "the fields to include for returned resources of type ciProducts", + "description": "the fields to include for returned resources of type ciMacOsVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "additionalRepositories", - "app", - "buildRuns", - "bundleId", - "createdDate", "name", - "primaryRepositories", - "productType", - "workflows" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[builds]", - "in": "query", - "description": "the fields to include for returned resources of type builds", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "version", + "xcodeVersions" ] } }, @@ -66459,9 +68886,9 @@ "style": "form" }, { - "name": "limit[builds]", + "name": "limit[xcodeVersions]", "in": "query", - "description": "maximum number of related builds returned (when they are included)", + "description": "maximum number of related xcodeVersions returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -66477,12 +68904,7 @@ "items": { "type": "string", "enum": [ - "builds", - "destinationBranch", - "product", - "pullRequest", - "sourceBranchOrTag", - "workflow" + "xcodeVersions" ] } }, @@ -66522,11 +68944,11 @@ } }, "200": { - "description": "List of CiBuildRuns", + "description": "List of CiMacOsVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiBuildRunsResponse" + "$ref": "#/components/schemas/CiMacOsVersionsResponse" } } } @@ -66546,7 +68968,7 @@ } ] }, - "/v1/ciProducts/{id}/relationships/primaryRepositories": { + "/v1/customerReviews/{id}/relationships/response": { "parameters": [ { "name": "id", @@ -66560,40 +68982,29 @@ } ] }, - "/v1/ciProducts/{id}/primaryRepositories": { + "/v1/customerReviews/{id}/response": { "get": { "tags": [ - "CiProducts" + "CustomerReviews" ], - "operationId": "ciProducts-primaryRepositories-get_to_many_related", + "operationId": "customerReviews-response-get_to_one_related", "parameters": [ { - "name": "filter[id]", - "in": "query", - "description": "filter by id(s)", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[scmGitReferences]", + "name": "fields[customerReviews]", "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", + "description": "the fields to include for returned resources of type customerReviews", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "canonicalName", - "isDeleted", - "kind", - "name", - "repository" + "body", + "createdDate", + "rating", + "response", + "reviewerNickname", + "territory", + "title" ] } }, @@ -66601,17 +69012,18 @@ "explode": false }, { - "name": "fields[scmProviders]", + "name": "fields[customerReviewResponses]", "in": "query", - "description": "the fields to include for returned resources of type scmProviders", + "description": "the fields to include for returned resources of type customerReviewResponses", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "repositories", - "scmProviderType", - "url" + "lastModifiedDate", + "responseBody", + "review", + "state" ] } }, @@ -66619,29 +69031,85 @@ "explode": false }, { - "name": "fields[scmRepositories]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultBranch", - "gitReferences", - "httpCloneUrl", - "lastAccessedDate", - "ownerName", - "pullRequests", - "repositoryName", - "scmProvider", - "sshCloneUrl" + "review" ] } }, "style": "form", "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single CustomerReviewResponse", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CustomerReviewResponseV1Response" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", + "required": true + } + ] + }, + "/v1/diagnosticSignatures/{id}/logs": { + "get": { + "tags": [ + "DiagnosticSignatures" + ], + "operationId": "diagnosticSignatures-logs-get_to_many_related", + "parameters": [ { "name": "limit", "in": "query", @@ -66651,23 +69119,110 @@ "maximum": 200 }, "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of DiagnosticLogs", + "content": { + "application/vnd.apple.diagnostic-logs+json": { + "schema": { + "$ref": "#/components/schemas/diagnosticLogs" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/endUserLicenseAgreements/{id}/relationships/territories": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", + "required": true + } + ] + }, + "/v1/endUserLicenseAgreements/{id}/territories": { + "get": { + "tags": [ + "EndUserLicenseAgreements" + ], + "operationId": "endUserLicenseAgreements-territories-get_to_many_related", + "parameters": [ { - "name": "include", + "name": "fields[territories]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultBranch", - "scmProvider" + "currency" ] } }, "style": "form", "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" } ], "responses": { @@ -66702,11 +69257,11 @@ } }, "200": { - "description": "List of ScmRepositories", + "description": "List of Territories with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ScmRepositoriesResponse" + "$ref": "#/components/schemas/TerritoriesWithoutIncludesResponse" } } } @@ -66726,7 +69281,7 @@ } ] }, - "/v1/ciProducts/{id}/relationships/workflows": { + "/v1/gameCenterAchievementLocalizations/{id}/relationships/gameCenterAchievement": { "parameters": [ { "name": "id", @@ -66740,26 +69295,25 @@ } ] }, - "/v1/ciProducts/{id}/workflows": { + "/v1/gameCenterAchievementLocalizations/{id}/gameCenterAchievement": { "get": { "tags": [ - "CiProducts" + "GameCenterAchievementLocalizations" ], - "operationId": "ciProducts-workflows-get_to_many_related", + "operationId": "gameCenterAchievementLocalizations-gameCenterAchievement-get_to_one_related", "parameters": [ { - "name": "fields[ciXcodeVersions]", + "name": "fields[gameCenterAchievementReleases]", "in": "query", - "description": "the fields to include for returned resources of type ciXcodeVersions", + "description": "the fields to include for returned resources of type gameCenterAchievementReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "macOsVersions", - "name", - "testDestinations", - "version" + "gameCenterAchievement", + "gameCenterDetail", + "live" ] } }, @@ -66767,31 +69321,19 @@ "explode": false }, { - "name": "fields[ciWorkflows]", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "the fields to include for returned resources of type ciWorkflows", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "actions", - "branchStartCondition", - "buildRuns", - "clean", - "containerFilePath", - "description", - "isEnabled", - "isLockedForEditing", - "lastModifiedDate", - "macOsVersion", - "name", - "product", - "pullRequestStartCondition", - "repository", - "scheduledStartCondition", - "tagStartCondition", - "xcodeVersion" + "gameCenterAchievements", + "gameCenterDetails", + "gameCenterLeaderboardSets", + "gameCenterLeaderboards", + "referenceName" ] } }, @@ -66799,17 +69341,48 @@ "explode": false }, { - "name": "fields[ciMacOsVersions]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type ciMacOsVersions", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "version", - "xcodeVersions" + "achievementReleases", + "app", + "arcadeEnabled", + "challengeEnabled", + "defaultGroupLeaderboard", + "defaultLeaderboard", + "gameCenterAchievements", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "gameCenterLeaderboards", + "leaderboardReleases", + "leaderboardSetReleases" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterAchievementLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "afterEarnedDescription", + "beforeEarnedDescription", + "gameCenterAchievement", + "gameCenterAchievementImage", + "locale", + "name" ] } }, @@ -66817,23 +69390,25 @@ "explode": false }, { - "name": "fields[ciProducts]", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "the fields to include for returned resources of type ciProducts", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "additionalRepositories", - "app", - "buildRuns", - "bundleId", - "createdDate", - "name", - "primaryRepositories", - "productType", - "workflows" + "archived", + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "points", + "referenceName", + "releases", + "repeatable", + "showBeforeEarned", + "vendorIdentifier" ] } }, @@ -66841,36 +69416,22 @@ "explode": false }, { - "name": "fields[scmRepositories]", + "name": "limit[localizations]", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "maximum number of related localizations returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "defaultBranch", - "gitReferences", - "httpCloneUrl", - "lastAccessedDate", - "ownerName", - "pullRequests", - "repositoryName", - "scmProvider", - "sshCloneUrl" - ] - } + "type": "integer", + "maximum": 50 }, - "style": "form", - "explode": false + "style": "form" }, { - "name": "limit", + "name": "limit[releases]", "in": "query", - "description": "maximum resources per page", + "description": "maximum number of related releases returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 + "maximum": 50 }, "style": "form" }, @@ -66883,10 +69444,11 @@ "items": { "type": "string", "enum": [ - "macOsVersion", - "product", - "repository", - "xcodeVersion" + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases" ] } }, @@ -66926,11 +69488,11 @@ } }, "200": { - "description": "List of CiWorkflows", + "description": "Single GameCenterAchievement", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiWorkflowsResponse" + "$ref": "#/components/schemas/GameCenterAchievementResponse" } } } @@ -66950,7 +69512,7 @@ } ] }, - "/v1/ciWorkflows/{id}/relationships/buildRuns": { + "/v1/gameCenterAchievementLocalizations/{id}/relationships/gameCenterAchievementImage": { "parameters": [ { "name": "id", @@ -66964,159 +69526,29 @@ } ] }, - "/v1/ciWorkflows/{id}/buildRuns": { + "/v1/gameCenterAchievementLocalizations/{id}/gameCenterAchievementImage": { "get": { "tags": [ - "CiWorkflows" + "GameCenterAchievementLocalizations" ], - "operationId": "ciWorkflows-buildRuns-get_to_many_related", + "operationId": "gameCenterAchievementLocalizations-gameCenterAchievementImage-get_to_one_related", "parameters": [ { - "name": "filter[builds]", - "in": "query", - "description": "filter by id(s) of related 'builds'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[scmGitReferences]", - "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "canonicalName", - "isDeleted", - "kind", - "name", - "repository" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[ciBuildRuns]", - "in": "query", - "description": "the fields to include for returned resources of type ciBuildRuns", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "actions", - "buildRun", - "builds", - "cancelReason", - "clean", - "completionStatus", - "createdDate", - "destinationBranch", - "destinationCommit", - "executionProgress", - "finishedDate", - "isPullRequestBuild", - "issueCounts", - "number", - "product", - "pullRequest", - "sourceBranchOrTag", - "sourceCommit", - "startReason", - "startedDate", - "workflow" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[ciWorkflows]", - "in": "query", - "description": "the fields to include for returned resources of type ciWorkflows", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "actions", - "branchStartCondition", - "buildRuns", - "clean", - "containerFilePath", - "description", - "isEnabled", - "isLockedForEditing", - "lastModifiedDate", - "macOsVersion", - "name", - "product", - "pullRequestStartCondition", - "repository", - "scheduledStartCondition", - "tagStartCondition", - "xcodeVersion" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[scmPullRequests]", - "in": "query", - "description": "the fields to include for returned resources of type scmPullRequests", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "destinationBranchName", - "destinationRepositoryName", - "destinationRepositoryOwner", - "isClosed", - "isCrossRepository", - "number", - "repository", - "sourceBranchName", - "sourceRepositoryName", - "sourceRepositoryOwner", - "title", - "webUrl" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[ciProducts]", + "name": "fields[gameCenterAchievementImages]", "in": "query", - "description": "the fields to include for returned resources of type ciProducts", + "description": "the fields to include for returned resources of type gameCenterAchievementImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "additionalRepositories", - "app", - "buildRuns", - "bundleId", - "createdDate", - "name", - "primaryRepositories", - "productType", - "workflows" + "assetDeliveryState", + "fileName", + "fileSize", + "gameCenterAchievementLocalization", + "imageAsset", + "uploadOperations", + "uploaded" ] } }, @@ -67124,64 +69556,26 @@ "explode": false }, { - "name": "fields[builds]", + "name": "fields[gameCenterAchievementLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "afterEarnedDescription", + "beforeEarnedDescription", + "gameCenterAchievement", + "gameCenterAchievementImage", + "locale", + "name" ] } }, "style": "form", "explode": false }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "limit[builds]", - "in": "query", - "description": "maximum number of related builds returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -67191,12 +69585,7 @@ "items": { "type": "string", "enum": [ - "builds", - "destinationBranch", - "product", - "pullRequest", - "sourceBranchOrTag", - "workflow" + "gameCenterAchievementLocalization" ] } }, @@ -67236,11 +69625,11 @@ } }, "200": { - "description": "List of CiBuildRuns", + "description": "Single GameCenterAchievementImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiBuildRunsResponse" + "$ref": "#/components/schemas/GameCenterAchievementImageResponse" } } } @@ -67260,7 +69649,108 @@ } ] }, - "/v1/ciWorkflows/{id}/relationships/repository": { + "/v1/gameCenterAchievements/{id}/relationships/groupAchievement": { + "get": { + "tags": [ + "GameCenterAchievements" + ], + "operationId": "gameCenterAchievements-groupAchievement-get_to_one_relationship", + "parameters": [], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterAchievementGroupAchievementLinkageResponse" + } + } + } + } + } + }, + "patch": { + "tags": [ + "GameCenterAchievements" + ], + "operationId": "gameCenterAchievements-groupAchievement-update_to_one_relationship", + "requestBody": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterAchievementGroupAchievementLinkageRequest" + } + } + }, + "required": true + }, + "responses": { + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + } + } + }, "parameters": [ { "name": "id", @@ -67274,27 +69764,25 @@ } ] }, - "/v1/ciWorkflows/{id}/repository": { + "/v1/gameCenterAchievements/{id}/groupAchievement": { "get": { "tags": [ - "CiWorkflows" + "GameCenterAchievements" ], - "operationId": "ciWorkflows-repository-get_to_one_related", + "operationId": "gameCenterAchievements-groupAchievement-get_to_one_related", "parameters": [ { - "name": "fields[scmGitReferences]", + "name": "fields[gameCenterAchievementReleases]", "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", + "description": "the fields to include for returned resources of type gameCenterAchievementReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "canonicalName", - "isDeleted", - "kind", - "name", - "repository" + "gameCenterAchievement", + "gameCenterDetail", + "live" ] } }, @@ -67302,17 +69790,19 @@ "explode": false }, { - "name": "fields[scmProviders]", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "the fields to include for returned resources of type scmProviders", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "repositories", - "scmProviderType", - "url" + "gameCenterAchievements", + "gameCenterDetails", + "gameCenterLeaderboardSets", + "gameCenterLeaderboards", + "referenceName" ] } }, @@ -67320,28 +69810,99 @@ "explode": false }, { - "name": "fields[scmRepositories]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultBranch", - "gitReferences", - "httpCloneUrl", - "lastAccessedDate", - "ownerName", - "pullRequests", - "repositoryName", - "scmProvider", - "sshCloneUrl" + "achievementReleases", + "app", + "arcadeEnabled", + "challengeEnabled", + "defaultGroupLeaderboard", + "defaultLeaderboard", + "gameCenterAchievements", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "gameCenterLeaderboards", + "leaderboardReleases", + "leaderboardSetReleases" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterAchievementLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "afterEarnedDescription", + "beforeEarnedDescription", + "gameCenterAchievement", + "gameCenterAchievementImage", + "locale", + "name" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterAchievements]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievements", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "archived", + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "points", + "referenceName", + "releases", + "repeatable", + "showBeforeEarned", + "vendorIdentifier" ] } }, - "style": "form", - "explode": false + "style": "form", + "explode": false + }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[releases]", + "in": "query", + "description": "maximum number of related releases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" }, { "name": "include", @@ -67352,8 +69913,11 @@ "items": { "type": "string", "enum": [ - "defaultBranch", - "scmProvider" + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases" ] } }, @@ -67393,11 +69957,11 @@ } }, "200": { - "description": "Single ScmRepository", + "description": "Single GameCenterAchievement", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ScmRepositoryResponse" + "$ref": "#/components/schemas/GameCenterAchievementResponse" } } } @@ -67417,7 +69981,7 @@ } ] }, - "/v1/ciXcodeVersions/{id}/relationships/macOsVersions": { + "/v1/gameCenterAchievements/{id}/relationships/localizations": { "parameters": [ { "name": "id", @@ -67431,26 +69995,29 @@ } ] }, - "/v1/ciXcodeVersions/{id}/macOsVersions": { + "/v1/gameCenterAchievements/{id}/localizations": { "get": { "tags": [ - "CiXcodeVersions" + "GameCenterAchievements" ], - "operationId": "ciXcodeVersions-macOsVersions-get_to_many_related", + "operationId": "gameCenterAchievements-localizations-get_to_many_related", "parameters": [ { - "name": "fields[ciXcodeVersions]", + "name": "fields[gameCenterAchievementImages]", "in": "query", - "description": "the fields to include for returned resources of type ciXcodeVersions", + "description": "the fields to include for returned resources of type gameCenterAchievementImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "macOsVersions", - "name", - "testDestinations", - "version" + "assetDeliveryState", + "fileName", + "fileSize", + "gameCenterAchievementLocalization", + "imageAsset", + "uploadOperations", + "uploaded" ] } }, @@ -67458,17 +70025,20 @@ "explode": false }, { - "name": "fields[ciMacOsVersions]", + "name": "fields[gameCenterAchievementLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type ciMacOsVersions", + "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "version", - "xcodeVersions" + "afterEarnedDescription", + "beforeEarnedDescription", + "gameCenterAchievement", + "gameCenterAchievementImage", + "locale", + "name" ] } }, @@ -67476,22 +70046,38 @@ "explode": false }, { - "name": "limit", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "archived", + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "points", + "referenceName", + "releases", + "repeatable", + "showBeforeEarned", + "vendorIdentifier" + ] + } }, - "style": "form" + "style": "form", + "explode": false }, { - "name": "limit[xcodeVersions]", + "name": "limit", "in": "query", - "description": "maximum number of related xcodeVersions returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" }, @@ -67504,7 +70090,8 @@ "items": { "type": "string", "enum": [ - "xcodeVersions" + "gameCenterAchievement", + "gameCenterAchievementImage" ] } }, @@ -67544,11 +70131,11 @@ } }, "200": { - "description": "List of CiMacOsVersions", + "description": "List of GameCenterAchievementLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CiMacOsVersionsResponse" + "$ref": "#/components/schemas/GameCenterAchievementLocalizationsResponse" } } } @@ -67568,7 +70155,7 @@ } ] }, - "/v1/customerReviews/{id}/relationships/response": { + "/v1/gameCenterAchievements/{id}/relationships/releases": { "parameters": [ { "name": "id", @@ -67582,29 +70169,51 @@ } ] }, - "/v1/customerReviews/{id}/response": { + "/v1/gameCenterAchievements/{id}/releases": { "get": { "tags": [ - "CustomerReviews" + "GameCenterAchievements" ], - "operationId": "customerReviews-response-get_to_one_related", + "operationId": "gameCenterAchievements-releases-get_to_many_related", "parameters": [ { - "name": "fields[customerReviews]", + "name": "filter[live]", "in": "query", - "description": "the fields to include for returned resources of type customerReviews", + "description": "filter by attribute 'live'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[gameCenterDetail]", + "in": "query", + "description": "filter by id(s) of related 'gameCenterDetail'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterAchievementReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievementReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "body", - "createdDate", - "rating", - "response", - "reviewerNickname", - "territory", - "title" + "gameCenterAchievement", + "gameCenterDetail", + "live" ] } }, @@ -67612,18 +70221,27 @@ "explode": false }, { - "name": "fields[customerReviewResponses]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type customerReviewResponses", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "lastModifiedDate", - "responseBody", - "review", - "state" + "achievementReleases", + "app", + "arcadeEnabled", + "challengeEnabled", + "defaultGroupLeaderboard", + "defaultLeaderboard", + "gameCenterAchievements", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "gameCenterLeaderboards", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -67631,85 +70249,31 @@ "explode": false }, { - "name": "include", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "review" + "archived", + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "points", + "referenceName", + "releases", + "repeatable", + "showBeforeEarned", + "vendorIdentifier" ] } }, "style": "form", "explode": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single CustomerReviewResponse", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CustomerReviewResponseV1Response" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" }, - "style": "simple", - "required": true - } - ] - }, - "/v1/diagnosticSignatures/{id}/logs": { - "get": { - "tags": [ - "DiagnosticSignatures" - ], - "operationId": "diagnosticSignatures-logs-get_to_many_related", - "parameters": [ { "name": "limit", "in": "query", @@ -67719,6 +70283,23 @@ "maximum": 200 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterAchievement", + "gameCenterDetail" + ] + } + }, + "style": "form", + "explode": false } ], "responses": { @@ -67753,11 +70334,11 @@ } }, "200": { - "description": "List of DiagnosticLogs", + "description": "List of GameCenterAchievementReleases", "content": { - "application/vnd.apple.diagnostic-logs+json": { + "application/json": { "schema": { - "$ref": "#/components/schemas/diagnosticLogs" + "$ref": "#/components/schemas/GameCenterAchievementReleasesResponse" } } } @@ -67777,7 +70358,7 @@ } ] }, - "/v1/endUserLicenseAgreements/{id}/relationships/territories": { + "/v1/gameCenterAppVersions/{id}/relationships/appStoreVersion": { "parameters": [ { "name": "id", @@ -67791,23 +70372,35 @@ } ] }, - "/v1/endUserLicenseAgreements/{id}/territories": { + "/v1/gameCenterAppVersions/{id}/appStoreVersion": { "get": { "tags": [ - "EndUserLicenseAgreements" + "GameCenterAppVersions" ], - "operationId": "endUserLicenseAgreements-territories-get_to_many_related", + "operationId": "gameCenterAppVersions-appStoreVersion-get_to_one_related", "parameters": [ { - "name": "fields[territories]", + "name": "fields[appStoreVersionExperiments]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "app", + "appStoreVersion", + "appStoreVersionExperimentTreatments", + "controlVersions", + "endDate", + "latestControlVersion", + "name", + "platform", + "reviewRequired", + "startDate", + "started", + "state", + "trafficProportion" ] } }, @@ -67815,105 +70408,188 @@ "explode": false }, { - "name": "limit", + "name": "fields[ageRatingDeclarations]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type ageRatingDeclarations", "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + "type": "array", + "items": { + "type": "string", + "enum": [ + "alcoholTobaccoOrDrugUseOrReferences", + "contests", + "gambling", + "gamblingAndContests", + "gamblingSimulated", + "horrorOrFearThemes", + "kidsAgeBand", + "matureOrSuggestiveThemes", + "medicalOrTreatmentInformation", + "profanityOrCrudeHumor", + "seventeenPlus", + "sexualContentGraphicAndNudity", + "sexualContentOrNudity", + "unrestrictedWebAccess", + "violenceCartoonOrFantasy", + "violenceRealistic", + "violenceRealisticProlongedGraphicOrSadistic" + ] } - } + }, + "style": "form", + "explode": false }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[appStoreVersionSubmissions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionSubmissions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreVersion" + ] } - } + }, + "style": "form", + "explode": false }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "fields[appStoreReviewDetails]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreReviewDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreReviewAttachments", + "appStoreVersion", + "contactEmail", + "contactFirstName", + "contactLastName", + "contactPhone", + "demoAccountName", + "demoAccountPassword", + "demoAccountRequired", + "notes" + ] } - } + }, + "style": "form", + "explode": false }, - "200": { - "description": "List of Territories with get", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TerritoriesWithoutIncludesResponse" - } + { + "name": "fields[appStoreVersions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ageRatingDeclaration", + "app", + "appClipDefaultExperience", + "appStoreReviewDetail", + "appStoreState", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "appStoreVersionLocalizations", + "appStoreVersionPhasedRelease", + "appStoreVersionSubmission", + "build", + "copyright", + "createdDate", + "customerReviews", + "downloadable", + "earliestReleaseDate", + "platform", + "releaseType", + "routingAppCoverage", + "versionString" + ] } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterAchievementLocalizations/{id}/relationships/gameCenterAchievement": { - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + }, + "style": "form", + "explode": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appAvailability", + "appClips", + "appCustomProductPages", + "appEncryptionDeclarations", + "appEvents", + "appInfos", + "appPricePoints", + "appPriceSchedule", + "appStoreVersionExperimentsV2", + "appStoreVersions", + "availableInNewTerritories", + "availableTerritories", + "betaAppLocalizations", + "betaAppReviewDetail", + "betaGroups", + "betaLicenseAgreement", + "betaTesters", + "builds", + "bundleId", + "ciProduct", + "contentRightsDeclaration", + "customerReviews", + "endUserLicenseAgreement", + "gameCenterDetail", + "gameCenterEnabledVersions", + "inAppPurchases", + "inAppPurchasesV2", + "isOrEverWasMadeForKids", + "name", + "perfPowerMetrics", + "preOrder", + "preReleaseVersions", + "pricePoints", + "prices", + "primaryLocale", + "promotedPurchases", + "reviewSubmissions", + "sku", + "subscriptionGracePeriod", + "subscriptionGroups", + "subscriptionStatusUrl", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlVersionForSandbox" + ] + } + }, + "style": "form", + "explode": false }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterAchievementLocalizations/{id}/gameCenterAchievement": { - "get": { - "tags": [ - "GameCenterAchievementLocalizations" - ], - "operationId": "gameCenterAchievementLocalizations-gameCenterAchievement-get_to_one_related", - "parameters": [ { - "name": "fields[gameCenterAchievementReleases]", + "name": "fields[routingAppCoverages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementReleases", + "description": "the fields to include for returned resources of type routingAppCoverages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterAchievement", - "gameCenterDetail", - "live" + "appStoreVersion", + "assetDeliveryState", + "fileName", + "fileSize", + "sourceFileChecksum", + "uploadOperations", + "uploaded" ] } }, @@ -67921,19 +70597,20 @@ "explode": false }, { - "name": "fields[gameCenterGroups]", + "name": "fields[appClipDefaultExperiences]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", + "description": "the fields to include for returned resources of type appClipDefaultExperiences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterAchievements", - "gameCenterDetails", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "referenceName" + "action", + "appClip", + "appClipAppStoreReviewDetail", + "appClipDefaultExperienceLocalizations", + "appClipDefaultExperienceTemplate", + "releaseWithAppStoreVersion" ] } }, @@ -67941,27 +70618,19 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[appStoreVersionPhasedReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type appStoreVersionPhasedReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "appStoreVersion", + "currentDayNumber", + "phasedReleaseState", + "startDate", + "totalPauseDuration" ] } }, @@ -67969,20 +70638,38 @@ "explode": false }, { - "name": "fields[gameCenterAchievementLocalizations]", + "name": "fields[builds]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "afterEarnedDescription", - "beforeEarnedDescription", - "gameCenterAchievement", - "gameCenterAchievementImage", - "locale", - "name" + "app", + "appEncryptionDeclaration", + "appStoreVersion", + "betaAppReviewSubmission", + "betaBuildLocalizations", + "betaGroups", + "buildAudienceType", + "buildBetaDetail", + "buildBundles", + "computedMinMacOsVersion", + "diagnosticSignatures", + "expirationDate", + "expired", + "iconAssetToken", + "icons", + "individualTesters", + "lsMinimumSystemVersion", + "minOsVersion", + "perfPowerMetrics", + "preReleaseVersion", + "processingState", + "uploadedDate", + "usesNonExemptEncryption", + "version" ] } }, @@ -67990,25 +70677,24 @@ "explode": false }, { - "name": "fields[gameCenterAchievements]", + "name": "fields[appStoreVersionLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "points", - "referenceName", - "releases", - "repeatable", - "showBeforeEarned", - "vendorIdentifier" + "appPreviewSets", + "appScreenshotSets", + "appStoreVersion", + "description", + "keywords", + "locale", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew" ] } }, @@ -68016,9 +70702,9 @@ "explode": false }, { - "name": "limit[localizations]", + "name": "limit[appStoreVersionLocalizations]", "in": "query", - "description": "maximum number of related localizations returned (when they are included)", + "description": "maximum number of related appStoreVersionLocalizations returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -68026,9 +70712,20 @@ "style": "form" }, { - "name": "limit[releases]", + "name": "limit[appStoreVersionExperiments]", "in": "query", - "description": "maximum number of related releases returned (when they are included)", + "description": "maximum number of related appStoreVersionExperiments returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true + }, + { + "name": "limit[appStoreVersionExperimentsV2]", + "in": "query", + "description": "maximum number of related appStoreVersionExperimentsV2 returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -68044,11 +70741,17 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "releases" + "ageRatingDeclaration", + "app", + "appClipDefaultExperience", + "appStoreReviewDetail", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "appStoreVersionLocalizations", + "appStoreVersionPhasedRelease", + "appStoreVersionSubmission", + "build", + "routingAppCoverage" ] } }, @@ -68088,11 +70791,11 @@ } }, "200": { - "description": "Single GameCenterAchievement", + "description": "Single AppStoreVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementResponse" + "$ref": "#/components/schemas/AppStoreVersionResponse" } } } @@ -68112,150 +70815,24 @@ } ] }, - "/v1/gameCenterAchievementLocalizations/{id}/relationships/gameCenterAchievementImage": { - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterAchievementLocalizations/{id}/gameCenterAchievementImage": { + "/v1/gameCenterAppVersions/{id}/relationships/compatibilityVersions": { "get": { "tags": [ - "GameCenterAchievementLocalizations" + "GameCenterAppVersions" ], - "operationId": "gameCenterAchievementLocalizations-gameCenterAchievementImage-get_to_one_related", + "operationId": "gameCenterAppVersions-compatibilityVersions-get_to_many_relationship", "parameters": [ { - "name": "fields[gameCenterAchievementImages]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementImages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "assetDeliveryState", - "fileName", - "fileSize", - "gameCenterAchievementLocalization", - "imageAsset", - "uploadOperations", - "uploaded" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterAchievementLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "afterEarnedDescription", - "beforeEarnedDescription", - "gameCenterAchievement", - "gameCenterAchievementImage", - "locale", - "name" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "include", + "name": "limit", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterAchievementLocalization" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single GameCenterAchievementImage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterAchievementImageResponse" - } - } - } + "style": "form" } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterAchievements/{id}/relationships/groupAchievement": { - "get": { - "tags": [ - "GameCenterAchievements" ], - "operationId": "gameCenterAchievements-groupAchievement-get_to_one_relationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -68288,28 +70865,28 @@ } }, "200": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementGroupAchievementLinkageResponse" + "$ref": "#/components/schemas/GameCenterAppVersionCompatibilityVersionsLinkagesResponse" } } } } } }, - "patch": { + "post": { "tags": [ - "GameCenterAchievements" + "GameCenterAppVersions" ], - "operationId": "gameCenterAchievements-groupAchievement-update_to_one_relationship", + "operationId": "gameCenterAppVersions-compatibilityVersions-create_to_many_relationship", "requestBody": { - "description": "Related linkage", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementGroupAchievementLinkageRequest" + "$ref": "#/components/schemas/GameCenterAppVersionCompatibilityVersionsLinkagesRequest" } } }, @@ -68351,191 +70928,23 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterAchievements/{id}/groupAchievement": { - "get": { + "delete": { "tags": [ - "GameCenterAchievements" - ], - "operationId": "gameCenterAchievements-groupAchievement-get_to_one_related", - "parameters": [ - { - "name": "fields[gameCenterAchievementReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterAchievement", - "gameCenterDetail", - "live" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterGroups]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterAchievements", - "gameCenterDetails", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "referenceName" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterDetails]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterAchievementLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "afterEarnedDescription", - "beforeEarnedDescription", - "gameCenterAchievement", - "gameCenterAchievementImage", - "locale", - "name" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterAchievements]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "archived", - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "points", - "referenceName", - "releases", - "repeatable", - "showBeforeEarned", - "vendorIdentifier" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[releases]", - "in": "query", - "description": "maximum number of related releases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "releases" - ] - } - }, - "style": "form", - "explode": false - } + "GameCenterAppVersions" ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + "operationId": "gameCenterAppVersions-compatibilityVersions-delete_to_many_relationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterAppVersionCompatibilityVersionsLinkagesRequest" } } }, + "required": true + }, + "responses": { "403": { "description": "Forbidden error", "content": { @@ -68556,15 +70965,18 @@ } } }, - "200": { - "description": "Single GameCenterAchievement", + "409": { + "description": "Request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } + }, + "204": { + "description": "Success (no content)" } } }, @@ -68581,64 +70993,55 @@ } ] }, - "/v1/gameCenterAchievements/{id}/relationships/localizations": { - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterAchievements/{id}/localizations": { + "/v1/gameCenterAppVersions/{id}/compatibilityVersions": { "get": { "tags": [ - "GameCenterAchievements" + "GameCenterAppVersions" ], - "operationId": "gameCenterAchievements-localizations-get_to_many_related", + "operationId": "gameCenterAppVersions-compatibilityVersions-get_to_many_related", "parameters": [ { - "name": "fields[gameCenterAchievementImages]", + "name": "filter[enabled]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementImages", + "description": "filter by attribute 'enabled'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "assetDeliveryState", - "fileName", - "fileSize", - "gameCenterAchievementLocalization", - "imageAsset", - "uploadOperations", - "uploaded" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[gameCenterAchievementLocalizations]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "afterEarnedDescription", - "beforeEarnedDescription", - "gameCenterAchievement", - "gameCenterAchievementImage", - "locale", - "name" + "ageRatingDeclaration", + "app", + "appClipDefaultExperience", + "appStoreReviewDetail", + "appStoreState", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "appStoreVersionLocalizations", + "appStoreVersionPhasedRelease", + "appStoreVersionSubmission", + "build", + "copyright", + "createdDate", + "customerReviews", + "downloadable", + "earliestReleaseDate", + "platform", + "releaseType", + "routingAppCoverage", + "versionString" ] } }, @@ -68646,25 +71049,17 @@ "explode": false }, { - "name": "fields[gameCenterAchievements]", + "name": "fields[gameCenterAppVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "description": "the fields to include for returned resources of type gameCenterAppVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "points", - "referenceName", - "releases", - "repeatable", - "showBeforeEarned", - "vendorIdentifier" + "appStoreVersion", + "compatibilityVersions", + "enabled" ] } }, @@ -68681,6 +71076,16 @@ }, "style": "form" }, + { + "name": "limit[compatibilityVersions]", + "in": "query", + "description": "maximum number of related compatibilityVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -68690,8 +71095,8 @@ "items": { "type": "string", "enum": [ - "gameCenterAchievement", - "gameCenterAchievementImage" + "appStoreVersion", + "compatibilityVersions" ] } }, @@ -68731,11 +71136,11 @@ } }, "200": { - "description": "List of GameCenterAchievementLocalizations", + "description": "List of GameCenterAppVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementLocalizationsResponse" + "$ref": "#/components/schemas/GameCenterAppVersionsResponse" } } } @@ -68755,7 +71160,7 @@ } ] }, - "/v1/gameCenterAchievements/{id}/relationships/releases": { + "/v1/gameCenterDetails/{id}/relationships/achievementReleases": { "parameters": [ { "name": "id", @@ -68769,12 +71174,12 @@ } ] }, - "/v1/gameCenterAchievements/{id}/releases": { + "/v1/gameCenterDetails/{id}/achievementReleases": { "get": { "tags": [ - "GameCenterAchievements" + "GameCenterDetails" ], - "operationId": "gameCenterAchievements-releases-get_to_many_related", + "operationId": "gameCenterDetails-achievementReleases-get_to_many_related", "parameters": [ { "name": "filter[live]", @@ -68790,9 +71195,9 @@ "explode": false }, { - "name": "filter[gameCenterDetail]", + "name": "filter[gameCenterAchievement]", "in": "query", - "description": "filter by id(s) of related 'gameCenterDetail'", + "description": "filter by id(s) of related 'gameCenterAchievement'", "schema": { "type": "array", "items": { @@ -68958,7 +71363,119 @@ } ] }, - "/v1/gameCenterAppVersions/{id}/relationships/appStoreVersion": { + "/v1/gameCenterDetails/{id}/relationships/gameCenterAchievements": { + "get": { + "tags": [ + "GameCenterDetails" + ], + "operationId": "gameCenterDetails-gameCenterAchievements-get_to_many_relationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterDetailGameCenterAchievementsLinkagesResponse" + } + } + } + } + } + }, + "patch": { + "tags": [ + "GameCenterDetails" + ], + "operationId": "gameCenterDetails-gameCenterAchievements-replace_to_many_relationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterDetailGameCenterAchievementsLinkagesRequest" + } + } + }, + "required": true + }, + "responses": { + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + } + } + }, "parameters": [ { "name": "id", @@ -68972,224 +71489,64 @@ } ] }, - "/v1/gameCenterAppVersions/{id}/appStoreVersion": { + "/v1/gameCenterDetails/{id}/gameCenterAchievements": { "get": { "tags": [ - "GameCenterAppVersions" + "GameCenterDetails" ], - "operationId": "gameCenterAppVersions-appStoreVersion-get_to_one_related", + "operationId": "gameCenterDetails-gameCenterAchievements-get_to_many_related", "parameters": [ { - "name": "fields[appStoreVersionExperiments]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appStoreVersion", - "appStoreVersionExperimentTreatments", - "controlVersions", - "endDate", - "latestControlVersion", - "name", - "platform", - "reviewRequired", - "startDate", - "started", - "state", - "trafficProportion" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[ageRatingDeclarations]", - "in": "query", - "description": "the fields to include for returned resources of type ageRatingDeclarations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "alcoholTobaccoOrDrugUseOrReferences", - "contests", - "gambling", - "gamblingAndContests", - "gamblingSimulated", - "horrorOrFearThemes", - "kidsAgeBand", - "matureOrSuggestiveThemes", - "medicalOrTreatmentInformation", - "profanityOrCrudeHumor", - "seventeenPlus", - "sexualContentGraphicAndNudity", - "sexualContentOrNudity", - "unrestrictedWebAccess", - "violenceCartoonOrFantasy", - "violenceRealistic", - "violenceRealisticProlongedGraphicOrSadistic" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionSubmissions]", + "name": "filter[archived]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionSubmissions", + "description": "filter by attribute 'archived'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "appStoreVersion" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[appStoreReviewDetails]", + "name": "filter[referenceName]", "in": "query", - "description": "the fields to include for returned resources of type appStoreReviewDetails", + "description": "filter by attribute 'referenceName'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "appStoreReviewAttachments", - "appStoreVersion", - "contactEmail", - "contactFirstName", - "contactLastName", - "contactPhone", - "demoAccountName", - "demoAccountPassword", - "demoAccountRequired", - "notes" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[appStoreVersions]", + "name": "filter[id]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "filter by id(s)", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "ageRatingDeclaration", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "build", - "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", - "routingAppCoverage", - "versionString" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[apps]", + "name": "fields[gameCenterAchievementReleases]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type gameCenterAchievementReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "availableInNewTerritories", - "availableTerritories", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", + "gameCenterAchievement", "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "pricePoints", - "prices", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[routingAppCoverages]", - "in": "query", - "description": "the fields to include for returned resources of type routingAppCoverages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appStoreVersion", - "assetDeliveryState", - "fileName", - "fileSize", - "sourceFileChecksum", - "uploadOperations", - "uploaded" + "live" ] } }, @@ -69197,20 +71554,19 @@ "explode": false }, { - "name": "fields[appClipDefaultExperiences]", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperiences", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "action", - "appClip", - "appClipAppStoreReviewDetail", - "appClipDefaultExperienceLocalizations", - "appClipDefaultExperienceTemplate", - "releaseWithAppStoreVersion" + "gameCenterAchievements", + "gameCenterDetails", + "gameCenterLeaderboardSets", + "gameCenterLeaderboards", + "referenceName" ] } }, @@ -69218,19 +71574,27 @@ "explode": false }, { - "name": "fields[appStoreVersionPhasedReleases]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionPhasedReleases", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreVersion", - "currentDayNumber", - "phasedReleaseState", - "startDate", - "totalPauseDuration" + "achievementReleases", + "app", + "arcadeEnabled", + "challengeEnabled", + "defaultGroupLeaderboard", + "defaultLeaderboard", + "gameCenterAchievements", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "gameCenterLeaderboards", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -69238,38 +71602,20 @@ "explode": false }, { - "name": "fields[builds]", + "name": "fields[gameCenterAchievementLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "afterEarnedDescription", + "beforeEarnedDescription", + "gameCenterAchievement", + "gameCenterAchievementImage", + "locale", + "name" ] } }, @@ -69277,24 +71623,25 @@ "explode": false }, { - "name": "fields[appStoreVersionLocalizations]", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSets", - "appScreenshotSets", - "appStoreVersion", - "description", - "keywords", - "locale", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew" + "archived", + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "points", + "referenceName", + "releases", + "repeatable", + "showBeforeEarned", + "vendorIdentifier" ] } }, @@ -69302,30 +71649,29 @@ "explode": false }, { - "name": "limit[appStoreVersionLocalizations]", + "name": "limit", "in": "query", - "description": "maximum number of related appStoreVersionLocalizations returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" }, { - "name": "limit[appStoreVersionExperiments]", + "name": "limit[localizations]", "in": "query", - "description": "maximum number of related appStoreVersionExperiments returned (when they are included)", + "description": "maximum number of related localizations returned (when they are included)", "schema": { "type": "integer", "maximum": 50 }, - "style": "form", - "deprecated": true + "style": "form" }, { - "name": "limit[appStoreVersionExperimentsV2]", + "name": "limit[releases]", "in": "query", - "description": "maximum number of related appStoreVersionExperimentsV2 returned (when they are included)", + "description": "maximum number of related releases returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -69341,17 +71687,11 @@ "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "build", - "routingAppCoverage" + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases" ] } }, @@ -69391,11 +71731,11 @@ } }, "200": { - "description": "Single AppStoreVersion", + "description": "List of GameCenterAchievements", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppStoreVersionResponse" + "$ref": "#/components/schemas/GameCenterAchievementsResponse" } } } @@ -69415,13 +71755,93 @@ } ] }, - "/v1/gameCenterAppVersions/{id}/relationships/compatibilityVersions": { + "/v1/gameCenterDetails/{id}/relationships/gameCenterAppVersions": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterDetails/{id}/gameCenterAppVersions": { "get": { "tags": [ - "GameCenterAppVersions" + "GameCenterDetails" ], - "operationId": "gameCenterAppVersions-compatibilityVersions-get_to_many_relationship", + "operationId": "gameCenterDetails-gameCenterAppVersions-get_to_many_related", "parameters": [ + { + "name": "filter[enabled]", + "in": "query", + "description": "filter by attribute 'enabled'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ageRatingDeclaration", + "app", + "appClipDefaultExperience", + "appStoreReviewDetail", + "appStoreState", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "appStoreVersionLocalizations", + "appStoreVersionPhasedRelease", + "appStoreVersionSubmission", + "build", + "copyright", + "createdDate", + "customerReviews", + "downloadable", + "earliestReleaseDate", + "platform", + "releaseType", + "routingAppCoverage", + "versionString" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterAppVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAppVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreVersion", + "compatibilityVersions", + "enabled" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit", "in": "query", @@ -69431,6 +71851,33 @@ "maximum": 200 }, "style": "form" + }, + { + "name": "limit[compatibilityVersions]", + "in": "query", + "description": "maximum number of related compatibilityVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreVersion", + "compatibilityVersions" + ] + } + }, + "style": "form", + "explode": false } ], "responses": { @@ -69465,121 +71912,31 @@ } }, "200": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterAppVersionCompatibilityVersionsLinkagesResponse" - } - } - } - } - } - }, - "post": { - "tags": [ - "GameCenterAppVersions" - ], - "operationId": "gameCenterAppVersions-compatibilityVersions-create_to_many_relationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterAppVersionCompatibilityVersionsLinkagesRequest" - } - } - }, - "required": true - }, - "responses": { - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "description": "List of GameCenterAppVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterAppVersionsResponse" } } } - }, - "204": { - "description": "Success (no content)" } } }, - "delete": { - "tags": [ - "GameCenterAppVersions" - ], - "operationId": "gameCenterAppVersions-compatibilityVersions-delete_to_many_relationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterAppVersionCompatibilityVersionsLinkagesRequest" - } - } + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", "required": true - }, - "responses": { - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - } } - }, + ] + }, + "/v1/gameCenterDetails/{id}/relationships/gameCenterGroup": { "parameters": [ { "name": "id", @@ -69593,55 +71950,78 @@ } ] }, - "/v1/gameCenterAppVersions/{id}/compatibilityVersions": { + "/v1/gameCenterDetails/{id}/gameCenterGroup": { "get": { "tags": [ - "GameCenterAppVersions" + "GameCenterDetails" ], - "operationId": "gameCenterAppVersions-compatibilityVersions-get_to_many_related", + "operationId": "gameCenterDetails-gameCenterGroup-get_to_one_related", "parameters": [ { - "name": "filter[enabled]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "filter by attribute 'enabled'", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboards", + "groupLeaderboardSet", + "localizations", + "referenceName", + "releases", + "vendorIdentifier" + ] } }, "style": "form", "explode": false }, { - "name": "fields[appStoreVersions]", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ageRatingDeclaration", + "gameCenterAchievements", + "gameCenterDetails", + "gameCenterLeaderboardSets", + "gameCenterLeaderboards", + "referenceName" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterDetails]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "achievementReleases", "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "build", - "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", - "routingAppCoverage", - "versionString" + "arcadeEnabled", + "challengeEnabled", + "defaultGroupLeaderboard", + "defaultLeaderboard", + "gameCenterAchievements", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "gameCenterLeaderboards", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -69649,17 +72029,31 @@ "explode": false }, { - "name": "fields[gameCenterAppVersions]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAppVersions", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreVersion", - "compatibilityVersions", - "enabled" + "archived", + "defaultFormatter", + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "groupLeaderboard", + "localizations", + "recurrenceDuration", + "recurrenceRule", + "recurrenceStartDate", + "referenceName", + "releases", + "scoreRangeEnd", + "scoreRangeStart", + "scoreSortType", + "submissionType", + "vendorIdentifier" ] } }, @@ -69667,19 +72061,65 @@ "explode": false }, { - "name": "limit", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type gameCenterAchievements", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "archived", + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "points", + "referenceName", + "releases", + "repeatable", + "showBeforeEarned", + "vendorIdentifier" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[gameCenterDetails]", + "in": "query", + "description": "maximum number of related gameCenterDetails returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 + "maximum": 50 }, "style": "form" }, { - "name": "limit[compatibilityVersions]", + "name": "limit[gameCenterLeaderboards]", "in": "query", - "description": "maximum number of related compatibilityVersions returned (when they are included)", + "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[gameCenterLeaderboardSets]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[gameCenterAchievements]", + "in": "query", + "description": "maximum number of related gameCenterAchievements returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -69687,21 +72127,97 @@ "style": "form" }, { - "name": "include", + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterAchievements", + "gameCenterDetails", + "gameCenterLeaderboardSets", + "gameCenterLeaderboards" + ] + } + }, + "style": "form", + "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single GameCenterGroup", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterGroupResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterDetails/{id}/relationships/gameCenterLeaderboardSets": { + "get": { + "tags": [ + "GameCenterDetails" + ], + "operationId": "gameCenterDetails-gameCenterLeaderboardSets-get_to_many_relationship", + "parameters": [ + { + "name": "limit", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appStoreVersion", - "compatibilityVersions" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false + "style": "form" } ], "responses": { @@ -69736,31 +72252,69 @@ } }, "200": { - "description": "List of GameCenterAppVersions", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAppVersionsResponse" + "$ref": "#/components/schemas/GameCenterDetailGameCenterLeaderboardSetsLinkagesResponse" } } } } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + "patch": { + "tags": [ + "GameCenterDetails" + ], + "operationId": "gameCenterDetails-gameCenterLeaderboardSets-replace_to_many_relationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterDetailGameCenterLeaderboardSetsLinkagesRequest" + } + } }, - "style": "simple", "required": true + }, + "responses": { + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + } } - ] - }, - "/v1/gameCenterDetails/{id}/relationships/achievementReleases": { + }, "parameters": [ { "name": "id", @@ -69774,17 +72328,17 @@ } ] }, - "/v1/gameCenterDetails/{id}/achievementReleases": { + "/v1/gameCenterDetails/{id}/gameCenterLeaderboardSets": { "get": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails-achievementReleases-get_to_many_related", + "operationId": "gameCenterDetails-gameCenterLeaderboardSets-get_to_many_related", "parameters": [ { - "name": "filter[live]", + "name": "filter[referenceName]", "in": "query", - "description": "filter by attribute 'live'", + "description": "filter by attribute 'referenceName'", "schema": { "type": "array", "items": { @@ -69795,9 +72349,9 @@ "explode": false }, { - "name": "filter[gameCenterAchievement]", + "name": "filter[id]", "in": "query", - "description": "filter by id(s) of related 'gameCenterAchievement'", + "description": "filter by id(s)", "schema": { "type": "array", "items": { @@ -69808,16 +72362,35 @@ "explode": false }, { - "name": "fields[gameCenterAchievementReleases]", + "name": "fields[gameCenterLeaderboardSetLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementReleases", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterLeaderboardSet", + "gameCenterLeaderboardSetImage", + "locale", + "name" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardSetReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterAchievement", "gameCenterDetail", + "gameCenterLeaderboardSet", "live" ] } @@ -69825,6 +72398,49 @@ "style": "form", "explode": false }, + { + "name": "fields[gameCenterLeaderboardSets]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboards", + "groupLeaderboardSet", + "localizations", + "referenceName", + "releases", + "vendorIdentifier" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterGroups]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterAchievements", + "gameCenterDetails", + "gameCenterLeaderboardSets", + "gameCenterLeaderboards", + "referenceName" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "fields[gameCenterDetails]", "in": "query", @@ -69854,24 +72470,30 @@ "explode": false }, { - "name": "fields[gameCenterAchievements]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ "archived", + "defaultFormatter", "gameCenterDetail", "gameCenterGroup", - "groupAchievement", + "gameCenterLeaderboardSets", + "groupLeaderboard", "localizations", - "points", + "recurrenceDuration", + "recurrenceRule", + "recurrenceStartDate", "referenceName", "releases", - "repeatable", - "showBeforeEarned", + "scoreRangeEnd", + "scoreRangeStart", + "scoreSortType", + "submissionType", "vendorIdentifier" ] } @@ -69889,6 +72511,36 @@ }, "style": "form" }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[gameCenterLeaderboards]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[releases]", + "in": "query", + "description": "maximum number of related releases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -69898,8 +72550,12 @@ "items": { "type": "string", "enum": [ - "gameCenterAchievement", - "gameCenterDetail" + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboards", + "groupLeaderboardSet", + "localizations", + "releases" ] } }, @@ -69939,11 +72595,11 @@ } }, "200": { - "description": "List of GameCenterAchievementReleases", + "description": "List of GameCenterLeaderboardSets", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementReleasesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetsResponse" } } } @@ -69963,12 +72619,12 @@ } ] }, - "/v1/gameCenterDetails/{id}/relationships/gameCenterAchievements": { + "/v1/gameCenterDetails/{id}/relationships/gameCenterLeaderboards": { "get": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails-gameCenterAchievements-get_to_many_relationship", + "operationId": "gameCenterDetails-gameCenterLeaderboards-get_to_many_relationship", "parameters": [ { "name": "limit", @@ -70017,7 +72673,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailGameCenterAchievementsLinkagesResponse" + "$ref": "#/components/schemas/GameCenterDetailGameCenterLeaderboardsLinkagesResponse" } } } @@ -70028,13 +72684,13 @@ "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails-gameCenterAchievements-replace_to_many_relationship", + "operationId": "gameCenterDetails-gameCenterLeaderboards-replace_to_many_relationship", "requestBody": { "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailGameCenterAchievementsLinkagesRequest" + "$ref": "#/components/schemas/GameCenterDetailGameCenterLeaderboardsLinkagesRequest" } } }, @@ -70089,12 +72745,12 @@ } ] }, - "/v1/gameCenterDetails/{id}/gameCenterAchievements": { + "/v1/gameCenterDetails/{id}/gameCenterLeaderboards": { "get": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails-gameCenterAchievements-get_to_many_related", + "operationId": "gameCenterDetails-gameCenterLeaderboards-get_to_many_related", "parameters": [ { "name": "filter[archived]", @@ -70136,17 +72792,44 @@ "explode": false }, { - "name": "fields[gameCenterAchievementReleases]", + "name": "fields[gameCenterLeaderboardLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementReleases", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "gameCenterLeaderboard", + "gameCenterLeaderboardImage", + "locale", + "name" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardSets]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterAchievement", "gameCenterDetail", - "live" + "gameCenterGroup", + "gameCenterLeaderboards", + "groupLeaderboardSet", + "localizations", + "referenceName", + "releases", + "vendorIdentifier" ] } }, @@ -70202,20 +72885,31 @@ "explode": false }, { - "name": "fields[gameCenterAchievementLocalizations]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "afterEarnedDescription", - "beforeEarnedDescription", - "gameCenterAchievement", - "gameCenterAchievementImage", - "locale", - "name" + "archived", + "defaultFormatter", + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "groupLeaderboard", + "localizations", + "recurrenceDuration", + "recurrenceRule", + "recurrenceStartDate", + "referenceName", + "releases", + "scoreRangeEnd", + "scoreRangeStart", + "scoreSortType", + "submissionType", + "vendorIdentifier" ] } }, @@ -70223,24 +72917,241 @@ "explode": false }, { - "name": "fields[gameCenterAchievements]", + "name": "fields[gameCenterLeaderboardReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterDetail", + "gameCenterLeaderboard", + "live" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "limit[gameCenterLeaderboardSets]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[releases]", + "in": "query", + "description": "maximum number of related releases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "groupLeaderboard", + "localizations", + "releases" + ] + } + }, + "style": "form", + "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of GameCenterLeaderboards", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardsResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterDetails/{id}/relationships/leaderboardReleases": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterDetails/{id}/leaderboardReleases": { + "get": { + "tags": [ + "GameCenterDetails" + ], + "operationId": "gameCenterDetails-leaderboardReleases-get_to_many_related", + "parameters": [ + { + "name": "filter[live]", + "in": "query", + "description": "filter by attribute 'live'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[gameCenterLeaderboard]", + "in": "query", + "description": "filter by id(s) of related 'gameCenterLeaderboard'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterDetails]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "achievementReleases", + "app", + "arcadeEnabled", + "challengeEnabled", + "defaultGroupLeaderboard", + "defaultLeaderboard", + "gameCenterAchievements", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "gameCenterLeaderboards", + "leaderboardReleases", + "leaderboardSetReleases" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ "archived", + "defaultFormatter", "gameCenterDetail", "gameCenterGroup", - "groupAchievement", + "gameCenterLeaderboardSets", + "groupLeaderboard", "localizations", - "points", + "recurrenceDuration", + "recurrenceRule", + "recurrenceStartDate", "referenceName", "releases", - "repeatable", - "showBeforeEarned", + "scoreRangeEnd", + "scoreRangeStart", + "scoreSortType", + "submissionType", "vendorIdentifier" ] } @@ -70249,32 +73160,30 @@ "explode": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "limit[localizations]", + "name": "fields[gameCenterLeaderboardReleases]", "in": "query", - "description": "maximum number of related localizations returned (when they are included)", + "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", "schema": { - "type": "integer", - "maximum": 50 + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterDetail", + "gameCenterLeaderboard", + "live" + ] + } }, - "style": "form" + "style": "form", + "explode": false }, { - "name": "limit[releases]", + "name": "limit", "in": "query", - "description": "maximum number of related releases returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" }, @@ -70288,10 +73197,7 @@ "type": "string", "enum": [ "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "releases" + "gameCenterLeaderboard" ] } }, @@ -70331,11 +73237,11 @@ } }, "200": { - "description": "List of GameCenterAchievements", + "description": "List of GameCenterLeaderboardReleases", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementsResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardReleasesResponse" } } } @@ -70355,7 +73261,7 @@ } ] }, - "/v1/gameCenterDetails/{id}/relationships/gameCenterAppVersions": { + "/v1/gameCenterDetails/{id}/relationships/leaderboardSetReleases": { "parameters": [ { "name": "id", @@ -70369,17 +73275,17 @@ } ] }, - "/v1/gameCenterDetails/{id}/gameCenterAppVersions": { + "/v1/gameCenterDetails/{id}/leaderboardSetReleases": { "get": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails-gameCenterAppVersions-get_to_many_related", + "operationId": "gameCenterDetails-leaderboardSetReleases-get_to_many_related", "parameters": [ { - "name": "filter[enabled]", + "name": "filter[live]", "in": "query", - "description": "filter by attribute 'enabled'", + "description": "filter by attribute 'live'", "schema": { "type": "array", "items": { @@ -70390,34 +73296,30 @@ "explode": false }, { - "name": "fields[appStoreVersions]", + "name": "filter[gameCenterLeaderboardSet]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "filter by id(s) of related 'gameCenterLeaderboardSet'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardSetReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "build", - "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", - "routingAppCoverage", - "versionString" + "gameCenterDetail", + "gameCenterLeaderboardSet", + "live" ] } }, @@ -70425,17 +73327,22 @@ "explode": false }, { - "name": "fields[gameCenterAppVersions]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAppVersions", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreVersion", - "compatibilityVersions", - "enabled" + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboards", + "groupLeaderboardSet", + "localizations", + "referenceName", + "releases", + "vendorIdentifier" ] } }, @@ -70443,22 +73350,40 @@ "explode": false }, { - "name": "limit", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "achievementReleases", + "app", + "arcadeEnabled", + "challengeEnabled", + "defaultGroupLeaderboard", + "defaultLeaderboard", + "gameCenterAchievements", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "gameCenterLeaderboards", + "leaderboardReleases", + "leaderboardSetReleases" + ] + } }, - "style": "form" + "style": "form", + "explode": false }, { - "name": "limit[compatibilityVersions]", + "name": "limit", "in": "query", - "description": "maximum number of related compatibilityVersions returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" }, @@ -70471,8 +73396,8 @@ "items": { "type": "string", "enum": [ - "appStoreVersion", - "compatibilityVersions" + "gameCenterDetail", + "gameCenterLeaderboardSet" ] } }, @@ -70512,11 +73437,11 @@ } }, "200": { - "description": "List of GameCenterAppVersions", + "description": "List of GameCenterLeaderboardSetReleases", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAppVersionsResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetReleasesResponse" } } } @@ -70536,7 +73461,227 @@ } ] }, - "/v1/gameCenterDetails/{id}/relationships/gameCenterGroup": { + "/v1/gameCenterEnabledVersions/{id}/relationships/compatibleVersions": { + "get": { + "tags": [ + "GameCenterEnabledVersions" + ], + "operationId": "gameCenterEnabledVersions-compatibleVersions-get_to_many_relationship", + "deprecated": true, + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterEnabledVersionCompatibleVersionsLinkagesResponse" + } + } + } + } + } + }, + "post": { + "tags": [ + "GameCenterEnabledVersions" + ], + "operationId": "gameCenterEnabledVersions-compatibleVersions-create_to_many_relationship", + "deprecated": true, + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterEnabledVersionCompatibleVersionsLinkagesRequest" + } + } + }, + "required": true + }, + "responses": { + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + } + } + }, + "patch": { + "tags": [ + "GameCenterEnabledVersions" + ], + "operationId": "gameCenterEnabledVersions-compatibleVersions-replace_to_many_relationship", + "deprecated": true, + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterEnabledVersionCompatibleVersionsLinkagesRequest" + } + } + }, + "required": true + }, + "responses": { + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + } + } + }, + "delete": { + "tags": [ + "GameCenterEnabledVersions" + ], + "operationId": "gameCenterEnabledVersions-compatibleVersions-delete_to_many_relationship", + "deprecated": true, + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterEnabledVersionCompatibleVersionsLinkagesRequest" + } + } + }, + "required": true + }, + "responses": { + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + } + } + }, "parameters": [ { "name": "id", @@ -70550,30 +73695,26 @@ } ] }, - "/v1/gameCenterDetails/{id}/gameCenterGroup": { + "/v1/gameCenterEnabledVersions/{id}/compatibleVersions": { "get": { "tags": [ - "GameCenterDetails" + "GameCenterEnabledVersions" ], - "operationId": "gameCenterDetails-gameCenterGroup-get_to_one_related", + "operationId": "gameCenterEnabledVersions-compatibleVersions-get_to_many_related", + "deprecated": true, "parameters": [ { - "name": "fields[gameCenterLeaderboardSets]", + "name": "filter[platform]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "filter by attribute 'platform'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "referenceName", - "releases", - "vendorIdentifier" + "IOS", + "MAC_OS", + "TV_OS" ] } }, @@ -70581,47 +73722,55 @@ "explode": false }, { - "name": "fields[gameCenterGroups]", + "name": "filter[versionString]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", + "description": "filter by attribute 'versionString'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "gameCenterAchievements", - "gameCenterDetails", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "referenceName" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "filter[app]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "filter by id(s) of related 'app'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[id]", + "in": "query", + "description": "filter by id(s)", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "versionString", + "-versionString" ] } }, @@ -70629,31 +73778,19 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterEnabledVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterEnabledVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "defaultFormatter", - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", - "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" + "app", + "compatibleVersions", + "iconAsset", + "platform", + "versionString" ] } }, @@ -70661,25 +73798,58 @@ "explode": false }, { - "name": "fields[gameCenterAchievements]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", + "appAvailability", + "appClips", + "appCustomProductPages", + "appEncryptionDeclarations", + "appEvents", + "appInfos", + "appPricePoints", + "appPriceSchedule", + "appStoreVersionExperimentsV2", + "appStoreVersions", + "availableInNewTerritories", + "availableTerritories", + "betaAppLocalizations", + "betaAppReviewDetail", + "betaGroups", + "betaLicenseAgreement", + "betaTesters", + "builds", + "bundleId", + "ciProduct", + "contentRightsDeclaration", + "customerReviews", + "endUserLicenseAgreement", "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "points", - "referenceName", - "releases", - "repeatable", - "showBeforeEarned", - "vendorIdentifier" + "gameCenterEnabledVersions", + "inAppPurchases", + "inAppPurchasesV2", + "isOrEverWasMadeForKids", + "name", + "perfPowerMetrics", + "preOrder", + "preReleaseVersions", + "pricePoints", + "prices", + "primaryLocale", + "promotedPurchases", + "reviewSubmissions", + "sku", + "subscriptionGracePeriod", + "subscriptionGroups", + "subscriptionStatusUrl", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlVersionForSandbox" ] } }, @@ -70687,44 +73857,25 @@ "explode": false }, { - "name": "limit[gameCenterDetails]", - "in": "query", - "description": "maximum number of related gameCenterDetails returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[gameCenterLeaderboards]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[gameCenterLeaderboardSets]", + "name": "limit", "in": "query", - "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" }, { - "name": "limit[gameCenterAchievements]", + "name": "limit[compatibleVersions]", "in": "query", - "description": "maximum number of related gameCenterAchievements returned (when they are included)", + "description": "maximum number of related compatibleVersions returned (when they are included)", "schema": { "type": "integer", "maximum": 50 }, - "style": "form" + "style": "form", + "deprecated": true }, { "name": "include", @@ -70735,10 +73886,8 @@ "items": { "type": "string", "enum": [ - "gameCenterAchievements", - "gameCenterDetails", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards" + "app", + "compatibleVersions" ] } }, @@ -70778,11 +73927,11 @@ } }, "200": { - "description": "Single GameCenterGroup", + "description": "List of GameCenterEnabledVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupResponse" + "$ref": "#/components/schemas/GameCenterEnabledVersionsResponse" } } } @@ -70802,12 +73951,12 @@ } ] }, - "/v1/gameCenterDetails/{id}/relationships/gameCenterLeaderboardSets": { + "/v1/gameCenterGroups/{id}/relationships/gameCenterAchievements": { "get": { "tags": [ - "GameCenterDetails" + "GameCenterGroups" ], - "operationId": "gameCenterDetails-gameCenterLeaderboardSets-get_to_many_relationship", + "operationId": "gameCenterGroups-gameCenterAchievements-get_to_many_relationship", "parameters": [ { "name": "limit", @@ -70856,7 +74005,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailGameCenterLeaderboardSetsLinkagesResponse" + "$ref": "#/components/schemas/GameCenterGroupGameCenterAchievementsLinkagesResponse" } } } @@ -70865,15 +74014,15 @@ }, "patch": { "tags": [ - "GameCenterDetails" + "GameCenterGroups" ], - "operationId": "gameCenterDetails-gameCenterLeaderboardSets-replace_to_many_relationship", + "operationId": "gameCenterGroups-gameCenterAchievements-replace_to_many_relationship", "requestBody": { "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailGameCenterLeaderboardSetsLinkagesRequest" + "$ref": "#/components/schemas/GameCenterGroupGameCenterAchievementsLinkagesRequest" } } }, @@ -70928,17 +74077,17 @@ } ] }, - "/v1/gameCenterDetails/{id}/gameCenterLeaderboardSets": { + "/v1/gameCenterGroups/{id}/gameCenterAchievements": { "get": { "tags": [ - "GameCenterDetails" + "GameCenterGroups" ], - "operationId": "gameCenterDetails-gameCenterLeaderboardSets-get_to_many_related", + "operationId": "gameCenterGroups-gameCenterAchievements-get_to_many_related", "parameters": [ { - "name": "filter[referenceName]", + "name": "filter[archived]", "in": "query", - "description": "filter by attribute 'referenceName'", + "description": "filter by attribute 'archived'", "schema": { "type": "array", "items": { @@ -70949,9 +74098,9 @@ "explode": false }, { - "name": "filter[id]", + "name": "filter[referenceName]", "in": "query", - "description": "filter by id(s)", + "description": "filter by attribute 'referenceName'", "schema": { "type": "array", "items": { @@ -70962,35 +74111,29 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetLocalizations]", + "name": "filter[id]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "description": "filter by id(s)", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "gameCenterLeaderboardSet", - "gameCenterLeaderboardSetImage", - "locale", - "name" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[gameCenterLeaderboardSetReleases]", + "name": "fields[gameCenterAchievementReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", + "description": "the fields to include for returned resources of type gameCenterAchievementReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "gameCenterAchievement", "gameCenterDetail", - "gameCenterLeaderboardSet", "live" ] } @@ -70998,29 +74141,6 @@ "style": "form", "explode": false }, - { - "name": "fields[gameCenterLeaderboardSets]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "referenceName", - "releases", - "vendorIdentifier" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "fields[gameCenterGroups]", "in": "query", @@ -71070,30 +74190,45 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterAchievementLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "afterEarnedDescription", + "beforeEarnedDescription", + "gameCenterAchievement", + "gameCenterAchievementImage", + "locale", + "name" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterAchievements]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { "type": "string", "enum": [ "archived", - "defaultFormatter", "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", + "groupAchievement", "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", + "points", "referenceName", "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", + "repeatable", + "showBeforeEarned", "vendorIdentifier" ] } @@ -71121,16 +74256,6 @@ }, "style": "form" }, - { - "name": "limit[gameCenterLeaderboards]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "limit[releases]", "in": "query", @@ -71152,8 +74277,7 @@ "enum": [ "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", + "groupAchievement", "localizations", "releases" ] @@ -71195,11 +74319,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboardSets", + "description": "List of GameCenterAchievements", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetsResponse" + "$ref": "#/components/schemas/GameCenterAchievementsResponse" } } } @@ -71219,119 +74343,7 @@ } ] }, - "/v1/gameCenterDetails/{id}/relationships/gameCenterLeaderboards": { - "get": { - "tags": [ - "GameCenterDetails" - ], - "operationId": "gameCenterDetails-gameCenterLeaderboards-get_to_many_relationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterDetailGameCenterLeaderboardsLinkagesResponse" - } - } - } - } - } - }, - "patch": { - "tags": [ - "GameCenterDetails" - ], - "operationId": "gameCenterDetails-gameCenterLeaderboards-replace_to_many_relationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterDetailGameCenterLeaderboardsLinkagesRequest" - } - } - }, - "required": true - }, - "responses": { - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - } - } - }, + "/v1/gameCenterGroups/{id}/relationships/gameCenterDetails": { "parameters": [ { "name": "id", @@ -71345,30 +74357,17 @@ } ] }, - "/v1/gameCenterDetails/{id}/gameCenterLeaderboards": { + "/v1/gameCenterGroups/{id}/gameCenterDetails": { "get": { "tags": [ - "GameCenterDetails" + "GameCenterGroups" ], - "operationId": "gameCenterDetails-gameCenterLeaderboards-get_to_many_related", + "operationId": "gameCenterGroups-gameCenterDetails-get_to_many_related", "parameters": [ { - "name": "filter[archived]", - "in": "query", - "description": "filter by attribute 'archived'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[referenceName]", + "name": "filter[gameCenterAppVersions.enabled]", "in": "query", - "description": "filter by attribute 'referenceName'", + "description": "filter by attribute 'gameCenterAppVersions.enabled'", "schema": { "type": "array", "items": { @@ -71379,34 +74378,35 @@ "explode": false }, { - "name": "filter[id]", + "name": "fields[gameCenterAchievementReleases]", "in": "query", - "description": "filter by id(s)", + "description": "the fields to include for returned resources of type gameCenterAchievementReleases", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "gameCenterAchievement", + "gameCenterDetail", + "live" + ] } }, "style": "form", "explode": false }, { - "name": "fields[gameCenterLeaderboardLocalizations]", + "name": "fields[gameCenterLeaderboardSetReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "gameCenterLeaderboard", - "gameCenterLeaderboardImage", - "locale", - "name" + "gameCenterDetail", + "gameCenterLeaderboardSet", + "live" ] } }, @@ -71516,6 +74516,109 @@ "style": "form", "explode": false }, + { + "name": "fields[gameCenterAppVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAppVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreVersion", + "compatibilityVersions", + "enabled" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterAchievements]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievements", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "archived", + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "points", + "referenceName", + "releases", + "repeatable", + "showBeforeEarned", + "vendorIdentifier" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appAvailability", + "appClips", + "appCustomProductPages", + "appEncryptionDeclarations", + "appEvents", + "appInfos", + "appPricePoints", + "appPriceSchedule", + "appStoreVersionExperimentsV2", + "appStoreVersions", + "availableInNewTerritories", + "availableTerritories", + "betaAppLocalizations", + "betaAppReviewDetail", + "betaGroups", + "betaLicenseAgreement", + "betaTesters", + "builds", + "bundleId", + "ciProduct", + "contentRightsDeclaration", + "customerReviews", + "endUserLicenseAgreement", + "gameCenterDetail", + "gameCenterEnabledVersions", + "inAppPurchases", + "inAppPurchasesV2", + "isOrEverWasMadeForKids", + "name", + "perfPowerMetrics", + "preOrder", + "preReleaseVersions", + "pricePoints", + "prices", + "primaryLocale", + "promotedPurchases", + "reviewSubmissions", + "sku", + "subscriptionGracePeriod", + "subscriptionGroups", + "subscriptionStatusUrl", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlVersionForSandbox" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "fields[gameCenterLeaderboardReleases]", "in": "query", @@ -71544,6 +74647,26 @@ }, "style": "form" }, + { + "name": "limit[gameCenterAppVersions]", + "in": "query", + "description": "maximum number of related gameCenterAppVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[gameCenterLeaderboards]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, { "name": "limit[gameCenterLeaderboardSets]", "in": "query", @@ -71555,9 +74678,29 @@ "style": "form" }, { - "name": "limit[localizations]", + "name": "limit[gameCenterAchievements]", + "in": "query", + "description": "maximum number of related gameCenterAchievements returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[achievementReleases]", + "in": "query", + "description": "maximum number of related achievementReleases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[leaderboardReleases]", "in": "query", - "description": "maximum number of related localizations returned (when they are included)", + "description": "maximum number of related leaderboardReleases returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -71565,9 +74708,9 @@ "style": "form" }, { - "name": "limit[releases]", + "name": "limit[leaderboardSetReleases]", "in": "query", - "description": "maximum number of related releases returned (when they are included)", + "description": "maximum number of related leaderboardSetReleases returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -71583,12 +74726,17 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", + "achievementReleases", + "app", + "defaultGroupLeaderboard", + "defaultLeaderboard", + "gameCenterAchievements", + "gameCenterAppVersions", "gameCenterGroup", "gameCenterLeaderboardSets", - "groupLeaderboard", - "localizations", - "releases" + "gameCenterLeaderboards", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -71628,11 +74776,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboards", + "description": "List of GameCenterDetails", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardsResponse" + "$ref": "#/components/schemas/GameCenterDetailsResponse" } } } @@ -71652,131 +74800,13 @@ } ] }, - "/v1/gameCenterDetails/{id}/relationships/leaderboardReleases": { - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterDetails/{id}/leaderboardReleases": { + "/v1/gameCenterGroups/{id}/relationships/gameCenterLeaderboardSets": { "get": { "tags": [ - "GameCenterDetails" + "GameCenterGroups" ], - "operationId": "gameCenterDetails-leaderboardReleases-get_to_many_related", + "operationId": "gameCenterGroups-gameCenterLeaderboardSets-get_to_many_relationship", "parameters": [ - { - "name": "filter[live]", - "in": "query", - "description": "filter by attribute 'live'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[gameCenterLeaderboard]", - "in": "query", - "description": "filter by id(s) of related 'gameCenterLeaderboard'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterDetails]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboards]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "archived", - "defaultFormatter", - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", - "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterLeaderboard", - "live" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "limit", "in": "query", @@ -71786,23 +74816,6 @@ "maximum": 200 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterLeaderboard" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -71837,31 +74850,69 @@ } }, "200": { - "description": "List of GameCenterLeaderboardReleases", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardReleasesResponse" + "$ref": "#/components/schemas/GameCenterGroupGameCenterLeaderboardSetsLinkagesResponse" } } } } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + "patch": { + "tags": [ + "GameCenterGroups" + ], + "operationId": "gameCenterGroups-gameCenterLeaderboardSets-replace_to_many_relationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterGroupGameCenterLeaderboardSetsLinkagesRequest" + } + } }, - "style": "simple", "required": true + }, + "responses": { + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + } } - ] - }, - "/v1/gameCenterDetails/{id}/relationships/leaderboardSetReleases": { + }, "parameters": [ { "name": "id", @@ -71875,17 +74926,17 @@ } ] }, - "/v1/gameCenterDetails/{id}/leaderboardSetReleases": { + "/v1/gameCenterGroups/{id}/gameCenterLeaderboardSets": { "get": { "tags": [ - "GameCenterDetails" + "GameCenterGroups" ], - "operationId": "gameCenterDetails-leaderboardSetReleases-get_to_many_related", + "operationId": "gameCenterGroups-gameCenterLeaderboardSets-get_to_many_related", "parameters": [ { - "name": "filter[live]", + "name": "filter[referenceName]", "in": "query", - "description": "filter by attribute 'live'", + "description": "filter by attribute 'referenceName'", "schema": { "type": "array", "items": { @@ -71896,9 +74947,9 @@ "explode": false }, { - "name": "filter[gameCenterLeaderboardSet]", + "name": "filter[id]", "in": "query", - "description": "filter by id(s) of related 'gameCenterLeaderboardSet'", + "description": "filter by id(s)", "schema": { "type": "array", "items": { @@ -71908,6 +74959,25 @@ "style": "form", "explode": false }, + { + "name": "fields[gameCenterLeaderboardSetLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterLeaderboardSet", + "gameCenterLeaderboardSetImage", + "locale", + "name" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "fields[gameCenterLeaderboardSetReleases]", "in": "query", @@ -71949,6 +75019,26 @@ "style": "form", "explode": false }, + { + "name": "fields[gameCenterGroups]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterAchievements", + "gameCenterDetails", + "gameCenterLeaderboardSets", + "gameCenterLeaderboards", + "referenceName" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "fields[gameCenterDetails]", "in": "query", @@ -71977,6 +75067,38 @@ "style": "form", "explode": false }, + { + "name": "fields[gameCenterLeaderboards]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "archived", + "defaultFormatter", + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "groupLeaderboard", + "localizations", + "recurrenceDuration", + "recurrenceRule", + "recurrenceStartDate", + "referenceName", + "releases", + "scoreRangeEnd", + "scoreRangeStart", + "scoreSortType", + "submissionType", + "vendorIdentifier" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit", "in": "query", @@ -71987,6 +75109,36 @@ }, "style": "form" }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[gameCenterLeaderboards]", + "in": "query", + "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[releases]", + "in": "query", + "description": "maximum number of related releases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -71997,7 +75149,11 @@ "type": "string", "enum": [ "gameCenterDetail", - "gameCenterLeaderboardSet" + "gameCenterGroup", + "gameCenterLeaderboards", + "groupLeaderboardSet", + "localizations", + "releases" ] } }, @@ -72037,11 +75193,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboardSetReleases", + "description": "List of GameCenterLeaderboardSets", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetReleasesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetsResponse" } } } @@ -72061,13 +75217,12 @@ } ] }, - "/v1/gameCenterEnabledVersions/{id}/relationships/compatibleVersions": { + "/v1/gameCenterGroups/{id}/relationships/gameCenterLeaderboards": { "get": { "tags": [ - "GameCenterEnabledVersions" + "GameCenterGroups" ], - "operationId": "gameCenterEnabledVersions-compatibleVersions-get_to_many_relationship", - "deprecated": true, + "operationId": "gameCenterGroups-gameCenterLeaderboards-get_to_many_relationship", "parameters": [ { "name": "limit", @@ -72116,131 +75271,24 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterEnabledVersionCompatibleVersionsLinkagesResponse" - } - } - } - } - } - }, - "post": { - "tags": [ - "GameCenterEnabledVersions" - ], - "operationId": "gameCenterEnabledVersions-compatibleVersions-create_to_many_relationship", - "deprecated": true, - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterEnabledVersionCompatibleVersionsLinkagesRequest" - } - } - }, - "required": true - }, - "responses": { - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterGroupGameCenterLeaderboardsLinkagesResponse" } } } - }, - "204": { - "description": "Success (no content)" } } }, "patch": { "tags": [ - "GameCenterEnabledVersions" - ], - "operationId": "gameCenterEnabledVersions-compatibleVersions-replace_to_many_relationship", - "deprecated": true, - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterEnabledVersionCompatibleVersionsLinkagesRequest" - } - } - }, - "required": true - }, - "responses": { - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - } - } - }, - "delete": { - "tags": [ - "GameCenterEnabledVersions" + "GameCenterGroups" ], - "operationId": "gameCenterEnabledVersions-compatibleVersions-delete_to_many_relationship", - "deprecated": true, + "operationId": "gameCenterGroups-gameCenterLeaderboards-replace_to_many_relationship", "requestBody": { "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterEnabledVersionCompatibleVersionsLinkagesRequest" + "$ref": "#/components/schemas/GameCenterGroupGameCenterLeaderboardsLinkagesRequest" } } }, @@ -72295,82 +75343,139 @@ } ] }, - "/v1/gameCenterEnabledVersions/{id}/compatibleVersions": { + "/v1/gameCenterGroups/{id}/gameCenterLeaderboards": { "get": { "tags": [ - "GameCenterEnabledVersions" + "GameCenterGroups" ], - "operationId": "gameCenterEnabledVersions-compatibleVersions-get_to_many_related", - "deprecated": true, + "operationId": "gameCenterGroups-gameCenterLeaderboards-get_to_many_related", "parameters": [ { - "name": "filter[platform]", + "name": "filter[archived]", + "in": "query", + "description": "filter by attribute 'archived'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[referenceName]", + "in": "query", + "description": "filter by attribute 'referenceName'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[id]", "in": "query", - "description": "filter by attribute 'platform'", + "description": "filter by id(s)", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "IOS", - "MAC_OS", - "TV_OS" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "filter[versionString]", + "name": "fields[gameCenterLeaderboardLocalizations]", "in": "query", - "description": "filter by attribute 'versionString'", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "gameCenterLeaderboard", + "gameCenterLeaderboardImage", + "locale", + "name" + ] } }, "style": "form", "explode": false }, { - "name": "filter[app]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "filter by id(s) of related 'app'", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboards", + "groupLeaderboardSet", + "localizations", + "referenceName", + "releases", + "vendorIdentifier" + ] } }, "style": "form", "explode": false }, { - "name": "filter[id]", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "filter by id(s)", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "gameCenterAchievements", + "gameCenterDetails", + "gameCenterLeaderboardSets", + "gameCenterLeaderboards", + "referenceName" + ] } }, "style": "form", "explode": false }, { - "name": "sort", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "versionString", - "-versionString" + "achievementReleases", + "app", + "arcadeEnabled", + "challengeEnabled", + "defaultGroupLeaderboard", + "defaultLeaderboard", + "gameCenterAchievements", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "gameCenterLeaderboards", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -72378,19 +75483,31 @@ "explode": false }, { - "name": "fields[gameCenterEnabledVersions]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterEnabledVersions", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "compatibleVersions", - "iconAsset", - "platform", - "versionString" + "archived", + "defaultFormatter", + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "groupLeaderboard", + "localizations", + "recurrenceDuration", + "recurrenceRule", + "recurrenceStartDate", + "referenceName", + "releases", + "scoreRangeEnd", + "scoreRangeStart", + "scoreSortType", + "submissionType", + "vendorIdentifier" ] } }, @@ -72398,58 +75515,17 @@ "explode": false }, { - "name": "fields[apps]", + "name": "fields[gameCenterLeaderboardReleases]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "availableInNewTerritories", - "availableTerritories", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "pricePoints", - "prices", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "gameCenterLeaderboard", + "live" ] } }, @@ -72467,15 +75543,34 @@ "style": "form" }, { - "name": "limit[compatibleVersions]", + "name": "limit[gameCenterLeaderboardSets]", "in": "query", - "description": "maximum number of related compatibleVersions returned (when they are included)", + "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", "schema": { "type": "integer", "maximum": 50 }, - "style": "form", - "deprecated": true + "style": "form" + }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[releases]", + "in": "query", + "description": "maximum number of related releases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" }, { "name": "include", @@ -72486,8 +75581,12 @@ "items": { "type": "string", "enum": [ - "app", - "compatibleVersions" + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "groupLeaderboard", + "localizations", + "releases" ] } }, @@ -72527,11 +75626,11 @@ } }, "200": { - "description": "List of GameCenterEnabledVersions", + "description": "List of GameCenterLeaderboards", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterEnabledVersionsResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardsResponse" } } } @@ -72551,22 +75650,86 @@ } ] }, - "/v1/gameCenterGroups/{id}/relationships/gameCenterAchievements": { + "/v1/gameCenterLeaderboardLocalizations/{id}/relationships/gameCenterLeaderboardImage": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterLeaderboardLocalizations/{id}/gameCenterLeaderboardImage": { "get": { "tags": [ - "GameCenterGroups" + "GameCenterLeaderboardLocalizations" ], - "operationId": "gameCenterGroups-gameCenterAchievements-get_to_many_relationship", + "operationId": "gameCenterLeaderboardLocalizations-gameCenterLeaderboardImage-get_to_one_related", "parameters": [ { - "name": "limit", + "name": "fields[gameCenterLeaderboardImages]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type gameCenterLeaderboardImages", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "assetDeliveryState", + "fileName", + "fileSize", + "gameCenterLeaderboardLocalization", + "imageAsset", + "uploadOperations", + "uploaded" + ] + } }, - "style": "form" + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "gameCenterLeaderboard", + "gameCenterLeaderboardImage", + "locale", + "name" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterLeaderboardLocalization" + ] + } + }, + "style": "form", + "explode": false } ], "responses": { @@ -72601,34 +75764,120 @@ } }, "200": { - "description": "List of related linkages", + "description": "Single GameCenterLeaderboardImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupGameCenterAchievementsLinkagesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardImageResponse" } } } } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterLeaderboardSetLocalizations/{id}/relationships/gameCenterLeaderboardSetImage": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterLeaderboardSetLocalizations/{id}/gameCenterLeaderboardSetImage": { + "get": { "tags": [ - "GameCenterGroups" + "GameCenterLeaderboardSetLocalizations" ], - "operationId": "gameCenterGroups-gameCenterAchievements-replace_to_many_relationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterGroupGameCenterAchievementsLinkagesRequest" + "operationId": "gameCenterLeaderboardSetLocalizations-gameCenterLeaderboardSetImage-get_to_one_related", + "parameters": [ + { + "name": "fields[gameCenterLeaderboardSetLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterLeaderboardSet", + "gameCenterLeaderboardSetImage", + "locale", + "name" + ] } - } + }, + "style": "form", + "explode": false }, - "required": true - }, + { + "name": "fields[gameCenterLeaderboardSetImages]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetImages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "assetDeliveryState", + "fileName", + "fileSize", + "gameCenterLeaderboardSetLocalization", + "imageAsset", + "uploadOperations", + "uploaded" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterLeaderboardSetLocalization" + ] + } + }, + "style": "form", + "explode": false + } + ], "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -72649,18 +75898,15 @@ } } }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Single GameCenterLeaderboardSetImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetImageResponse" } } } - }, - "204": { - "description": "Success (no content)" } } }, @@ -72677,64 +75923,66 @@ } ] }, - "/v1/gameCenterGroups/{id}/gameCenterAchievements": { + "/v1/gameCenterLeaderboardSetMemberLocalizations/{id}/relationships/gameCenterLeaderboard": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterLeaderboardSetMemberLocalizations/{id}/gameCenterLeaderboard": { "get": { "tags": [ - "GameCenterGroups" + "GameCenterLeaderboardSetMemberLocalizations" ], - "operationId": "gameCenterGroups-gameCenterAchievements-get_to_many_related", + "operationId": "gameCenterLeaderboardSetMemberLocalizations-gameCenterLeaderboard-get_to_one_related", "parameters": [ { - "name": "filter[archived]", - "in": "query", - "description": "filter by attribute 'archived'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[referenceName]", - "in": "query", - "description": "filter by attribute 'referenceName'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[id]", + "name": "fields[gameCenterLeaderboardLocalizations]", "in": "query", - "description": "filter by id(s)", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "gameCenterLeaderboard", + "gameCenterLeaderboardImage", + "locale", + "name" + ] } }, "style": "form", "explode": false }, { - "name": "fields[gameCenterAchievementReleases]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementReleases", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterAchievement", "gameCenterDetail", - "live" + "gameCenterGroup", + "gameCenterLeaderboards", + "groupLeaderboardSet", + "localizations", + "referenceName", + "releases", + "vendorIdentifier" ] } }, @@ -72790,20 +76038,31 @@ "explode": false }, { - "name": "fields[gameCenterAchievementLocalizations]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "afterEarnedDescription", - "beforeEarnedDescription", - "gameCenterAchievement", - "gameCenterAchievementImage", - "locale", - "name" + "archived", + "defaultFormatter", + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "groupLeaderboard", + "localizations", + "recurrenceDuration", + "recurrenceRule", + "recurrenceStartDate", + "referenceName", + "releases", + "scoreRangeEnd", + "scoreRangeStart", + "scoreSortType", + "submissionType", + "vendorIdentifier" ] } }, @@ -72811,25 +76070,17 @@ "explode": false }, { - "name": "fields[gameCenterAchievements]", + "name": "fields[gameCenterLeaderboardReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "points", - "referenceName", - "releases", - "repeatable", - "showBeforeEarned", - "vendorIdentifier" + "gameCenterLeaderboard", + "live" ] } }, @@ -72837,12 +76088,12 @@ "explode": false }, { - "name": "limit", + "name": "limit[gameCenterLeaderboardSets]", "in": "query", - "description": "maximum resources per page", + "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 + "maximum": 50 }, "style": "form" }, @@ -72877,7 +76128,8 @@ "enum": [ "gameCenterDetail", "gameCenterGroup", - "groupAchievement", + "gameCenterLeaderboardSets", + "groupLeaderboard", "localizations", "releases" ] @@ -72919,11 +76171,11 @@ } }, "200": { - "description": "List of GameCenterAchievements", + "description": "Single GameCenterLeaderboard", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterAchievementsResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardResponse" } } } @@ -72943,7 +76195,7 @@ } ] }, - "/v1/gameCenterGroups/{id}/relationships/gameCenterDetails": { + "/v1/gameCenterLeaderboardSetMemberLocalizations/{id}/relationships/gameCenterLeaderboardSet": { "parameters": [ { "name": "id", @@ -72957,38 +76209,26 @@ } ] }, - "/v1/gameCenterGroups/{id}/gameCenterDetails": { + "/v1/gameCenterLeaderboardSetMemberLocalizations/{id}/gameCenterLeaderboardSet": { "get": { "tags": [ - "GameCenterGroups" + "GameCenterLeaderboardSetMemberLocalizations" ], - "operationId": "gameCenterGroups-gameCenterDetails-get_to_many_related", + "operationId": "gameCenterLeaderboardSetMemberLocalizations-gameCenterLeaderboardSet-get_to_one_related", "parameters": [ { - "name": "filter[gameCenterAppVersions.enabled]", - "in": "query", - "description": "filter by attribute 'gameCenterAppVersions.enabled'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterAchievementReleases]", + "name": "fields[gameCenterLeaderboardSetLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementReleases", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterAchievement", - "gameCenterDetail", - "live" + "gameCenterLeaderboardSet", + "gameCenterLeaderboardSetImage", + "locale", + "name" ] } }, @@ -73117,140 +76357,9 @@ "explode": false }, { - "name": "fields[gameCenterAppVersions]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAppVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appStoreVersion", - "compatibilityVersions", - "enabled" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterAchievements]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "archived", - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "points", - "referenceName", - "releases", - "repeatable", - "showBeforeEarned", - "vendorIdentifier" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "availableInNewTerritories", - "availableTerritories", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "pricePoints", - "prices", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterLeaderboard", - "live" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "limit[gameCenterAppVersions]", + "name": "limit[localizations]", "in": "query", - "description": "maximum number of related gameCenterAppVersions returned (when they are included)", + "description": "maximum number of related localizations returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -73268,49 +76377,9 @@ "style": "form" }, { - "name": "limit[gameCenterLeaderboardSets]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[gameCenterAchievements]", - "in": "query", - "description": "maximum number of related gameCenterAchievements returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[achievementReleases]", - "in": "query", - "description": "maximum number of related achievementReleases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[leaderboardReleases]", - "in": "query", - "description": "maximum number of related leaderboardReleases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[leaderboardSetReleases]", + "name": "limit[releases]", "in": "query", - "description": "maximum number of related leaderboardSetReleases returned (when they are included)", + "description": "maximum number of related releases returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -73326,17 +76395,12 @@ "items": { "type": "string", "enum": [ - "achievementReleases", - "app", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", + "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboardSets", "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "groupLeaderboardSet", + "localizations", + "releases" ] } }, @@ -73376,11 +76440,11 @@ } }, "200": { - "description": "List of GameCenterDetails", + "description": "Single GameCenterLeaderboardSet", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterDetailsResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetResponse" } } } @@ -73400,12 +76464,12 @@ } ] }, - "/v1/gameCenterGroups/{id}/relationships/gameCenterLeaderboardSets": { + "/v1/gameCenterLeaderboardSets/{id}/relationships/gameCenterLeaderboards": { "get": { "tags": [ - "GameCenterGroups" + "GameCenterLeaderboardSets" ], - "operationId": "gameCenterGroups-gameCenterLeaderboardSets-get_to_many_relationship", + "operationId": "gameCenterLeaderboardSets-gameCenterLeaderboards-get_to_many_relationship", "parameters": [ { "name": "limit", @@ -73454,24 +76518,128 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupGameCenterLeaderboardSetsLinkagesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesResponse" + } + } + } + } + } + }, + "post": { + "tags": [ + "GameCenterLeaderboardSets" + ], + "operationId": "gameCenterLeaderboardSets-gameCenterLeaderboards-create_to_many_relationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest" + } + } + }, + "required": true + }, + "responses": { + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } + }, + "204": { + "description": "Success (no content)" } } }, "patch": { "tags": [ - "GameCenterGroups" + "GameCenterLeaderboardSets" ], - "operationId": "gameCenterGroups-gameCenterLeaderboardSets-replace_to_many_relationship", + "operationId": "gameCenterLeaderboardSets-gameCenterLeaderboards-replace_to_many_relationship", "requestBody": { "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupGameCenterLeaderboardSetsLinkagesRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest" + } + } + }, + "required": true + }, + "responses": { + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + } + } + }, + "delete": { + "tags": [ + "GameCenterLeaderboardSets" + ], + "operationId": "gameCenterLeaderboardSets-gameCenterLeaderboards-delete_to_many_relationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest" } } }, @@ -73526,17 +76694,17 @@ } ] }, - "/v1/gameCenterGroups/{id}/gameCenterLeaderboardSets": { + "/v1/gameCenterLeaderboardSets/{id}/gameCenterLeaderboards": { "get": { "tags": [ - "GameCenterGroups" + "GameCenterLeaderboardSets" ], - "operationId": "gameCenterGroups-gameCenterLeaderboardSets-get_to_many_related", + "operationId": "gameCenterLeaderboardSets-gameCenterLeaderboards-get_to_many_related", "parameters": [ { - "name": "filter[referenceName]", + "name": "filter[archived]", "in": "query", - "description": "filter by attribute 'referenceName'", + "description": "filter by attribute 'archived'", "schema": { "type": "array", "items": { @@ -73547,9 +76715,9 @@ "explode": false }, { - "name": "filter[id]", + "name": "filter[referenceName]", "in": "query", - "description": "filter by id(s)", + "description": "filter by attribute 'referenceName'", "schema": { "type": "array", "items": { @@ -73560,36 +76728,34 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetLocalizations]", + "name": "filter[id]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "description": "filter by id(s)", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "gameCenterLeaderboardSet", - "gameCenterLeaderboardSetImage", - "locale", - "name" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[gameCenterLeaderboardSetReleases]", + "name": "fields[gameCenterLeaderboardLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterLeaderboardSet", - "live" + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "gameCenterLeaderboard", + "gameCenterLeaderboardImage", + "locale", + "name" ] } }, @@ -73699,6 +76865,24 @@ "style": "form", "explode": false }, + { + "name": "fields[gameCenterLeaderboardReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterDetail", + "gameCenterLeaderboard", + "live" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit", "in": "query", @@ -73710,9 +76894,9 @@ "style": "form" }, { - "name": "limit[localizations]", + "name": "limit[gameCenterLeaderboardSets]", "in": "query", - "description": "maximum number of related localizations returned (when they are included)", + "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -73720,9 +76904,9 @@ "style": "form" }, { - "name": "limit[gameCenterLeaderboards]", + "name": "limit[localizations]", "in": "query", - "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", + "description": "maximum number of related localizations returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -73750,8 +76934,8 @@ "enum": [ "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", + "gameCenterLeaderboardSets", + "groupLeaderboard", "localizations", "releases" ] @@ -73793,11 +76977,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboardSets", + "description": "List of GameCenterLeaderboards", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetsResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardsResponse" } } } @@ -73817,24 +77001,13 @@ } ] }, - "/v1/gameCenterGroups/{id}/relationships/gameCenterLeaderboards": { + "/v1/gameCenterLeaderboardSets/{id}/relationships/groupLeaderboardSet": { "get": { "tags": [ - "GameCenterGroups" - ], - "operationId": "gameCenterGroups-gameCenterLeaderboards-get_to_many_relationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } + "GameCenterLeaderboardSets" ], + "operationId": "gameCenterLeaderboardSets-groupLeaderboardSet-get_to_one_relationship", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -73867,11 +77040,11 @@ } }, "200": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupGameCenterLeaderboardsLinkagesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponse" } } } @@ -73880,15 +77053,15 @@ }, "patch": { "tags": [ - "GameCenterGroups" + "GameCenterLeaderboardSets" ], - "operationId": "gameCenterGroups-gameCenterLeaderboards-replace_to_many_relationship", + "operationId": "gameCenterLeaderboardSets-groupLeaderboardSet-update_to_one_relationship", "requestBody": { - "description": "List of related linkages", + "description": "Related linkage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterGroupGameCenterLeaderboardsLinkagesRequest" + "$ref": "#/components/schemas/GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest" } } }, @@ -73943,68 +77116,44 @@ } ] }, - "/v1/gameCenterGroups/{id}/gameCenterLeaderboards": { + "/v1/gameCenterLeaderboardSets/{id}/groupLeaderboardSet": { "get": { "tags": [ - "GameCenterGroups" + "GameCenterLeaderboardSets" ], - "operationId": "gameCenterGroups-gameCenterLeaderboards-get_to_many_related", + "operationId": "gameCenterLeaderboardSets-groupLeaderboardSet-get_to_one_related", "parameters": [ { - "name": "filter[archived]", - "in": "query", - "description": "filter by attribute 'archived'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[referenceName]", - "in": "query", - "description": "filter by attribute 'referenceName'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[id]", + "name": "fields[gameCenterLeaderboardSetLocalizations]", "in": "query", - "description": "filter by id(s)", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "gameCenterLeaderboardSet", + "gameCenterLeaderboardSetImage", + "locale", + "name" + ] } }, "style": "form", "explode": false }, { - "name": "fields[gameCenterLeaderboardLocalizations]", + "name": "fields[gameCenterLeaderboardSetReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "gameCenterLeaderboard", - "gameCenterLeaderboardImage", - "locale", - "name" + "gameCenterDetail", + "gameCenterLeaderboardSet", + "live" ] } }, @@ -74115,37 +77264,9 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterLeaderboard", - "live" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "limit[gameCenterLeaderboardSets]", + "name": "limit[localizations]", "in": "query", - "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", + "description": "maximum number of related localizations returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -74153,9 +77274,9 @@ "style": "form" }, { - "name": "limit[localizations]", + "name": "limit[gameCenterLeaderboards]", "in": "query", - "description": "maximum number of related localizations returned (when they are included)", + "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -74183,8 +77304,8 @@ "enum": [ "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", + "gameCenterLeaderboards", + "groupLeaderboardSet", "localizations", "releases" ] @@ -74226,11 +77347,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboards", + "description": "Single GameCenterLeaderboardSet", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardsResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetResponse" } } } @@ -74250,7 +77371,7 @@ } ] }, - "/v1/gameCenterLeaderboardLocalizations/{id}/relationships/gameCenterLeaderboardImage": { + "/v1/gameCenterLeaderboardSets/{id}/relationships/localizations": { "parameters": [ { "name": "id", @@ -74264,29 +77385,26 @@ } ] }, - "/v1/gameCenterLeaderboardLocalizations/{id}/gameCenterLeaderboardImage": { + "/v1/gameCenterLeaderboardSets/{id}/localizations": { "get": { "tags": [ - "GameCenterLeaderboardLocalizations" + "GameCenterLeaderboardSets" ], - "operationId": "gameCenterLeaderboardLocalizations-gameCenterLeaderboardImage-get_to_one_related", + "operationId": "gameCenterLeaderboardSets-localizations-get_to_many_related", "parameters": [ { - "name": "fields[gameCenterLeaderboardImages]", + "name": "fields[gameCenterLeaderboardSetLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardImages", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetDeliveryState", - "fileName", - "fileSize", - "gameCenterLeaderboardLocalization", - "imageAsset", - "uploadOperations", - "uploaded" + "gameCenterLeaderboardSet", + "gameCenterLeaderboardSetImage", + "locale", + "name" ] } }, @@ -74294,27 +77412,60 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardLocalizations]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "gameCenterLeaderboard", - "gameCenterLeaderboardImage", - "locale", - "name" + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboards", + "groupLeaderboardSet", + "localizations", + "referenceName", + "releases", + "vendorIdentifier" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardSetImages]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetImages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "assetDeliveryState", + "fileName", + "fileSize", + "gameCenterLeaderboardSetLocalization", + "imageAsset", + "uploadOperations", + "uploaded" ] } }, "style": "form", "explode": false }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -74324,7 +77475,8 @@ "items": { "type": "string", "enum": [ - "gameCenterLeaderboardLocalization" + "gameCenterLeaderboardSet", + "gameCenterLeaderboardSetImage" ] } }, @@ -74364,11 +77516,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardImage", + "description": "List of GameCenterLeaderboardSetLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardImageResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationsResponse" } } } @@ -74388,7 +77540,7 @@ } ] }, - "/v1/gameCenterLeaderboardSetLocalizations/{id}/relationships/gameCenterLeaderboardSetImage": { + "/v1/gameCenterLeaderboardSets/{id}/relationships/releases": { "parameters": [ { "name": "id", @@ -74402,26 +77554,51 @@ } ] }, - "/v1/gameCenterLeaderboardSetLocalizations/{id}/gameCenterLeaderboardSetImage": { + "/v1/gameCenterLeaderboardSets/{id}/releases": { "get": { "tags": [ - "GameCenterLeaderboardSetLocalizations" + "GameCenterLeaderboardSets" ], - "operationId": "gameCenterLeaderboardSetLocalizations-gameCenterLeaderboardSetImage-get_to_one_related", + "operationId": "gameCenterLeaderboardSets-releases-get_to_many_related", "parameters": [ { - "name": "fields[gameCenterLeaderboardSetLocalizations]", + "name": "filter[live]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "description": "filter by attribute 'live'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[gameCenterDetail]", + "in": "query", + "description": "filter by id(s) of related 'gameCenterDetail'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardSetReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "gameCenterDetail", "gameCenterLeaderboardSet", - "gameCenterLeaderboardSetImage", - "locale", - "name" + "live" ] } }, @@ -74429,27 +77606,66 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetImages]", + "name": "fields[gameCenterLeaderboardSets]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterDetail", + "gameCenterGroup", + "gameCenterLeaderboards", + "groupLeaderboardSet", + "localizations", + "referenceName", + "releases", + "vendorIdentifier" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetImages", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetDeliveryState", - "fileName", - "fileSize", - "gameCenterLeaderboardSetLocalization", - "imageAsset", - "uploadOperations", - "uploaded" + "achievementReleases", + "app", + "arcadeEnabled", + "challengeEnabled", + "defaultGroupLeaderboard", + "defaultLeaderboard", + "gameCenterAchievements", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboardSets", + "gameCenterLeaderboards", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, "style": "form", "explode": false }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -74459,7 +77675,8 @@ "items": { "type": "string", "enum": [ - "gameCenterLeaderboardSetLocalization" + "gameCenterDetail", + "gameCenterLeaderboardSet" ] } }, @@ -74499,11 +77716,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardSetImage", + "description": "List of GameCenterLeaderboardSetReleases", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetImageResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetReleasesResponse" } } } @@ -74523,7 +77740,108 @@ } ] }, - "/v1/gameCenterLeaderboardSetMemberLocalizations/{id}/relationships/gameCenterLeaderboard": { + "/v1/gameCenterLeaderboards/{id}/relationships/groupLeaderboard": { + "get": { + "tags": [ + "GameCenterLeaderboards" + ], + "operationId": "gameCenterLeaderboards-groupLeaderboard-get_to_one_relationship", + "parameters": [], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardGroupLeaderboardLinkageResponse" + } + } + } + } + } + }, + "patch": { + "tags": [ + "GameCenterLeaderboards" + ], + "operationId": "gameCenterLeaderboards-groupLeaderboard-update_to_one_relationship", + "requestBody": { + "description": "Related linkage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardGroupLeaderboardLinkageRequest" + } + } + }, + "required": true + }, + "responses": { + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + } + } + }, "parameters": [ { "name": "id", @@ -74537,12 +77855,12 @@ } ] }, - "/v1/gameCenterLeaderboardSetMemberLocalizations/{id}/gameCenterLeaderboard": { + "/v1/gameCenterLeaderboards/{id}/groupLeaderboard": { "get": { "tags": [ - "GameCenterLeaderboardSetMemberLocalizations" + "GameCenterLeaderboards" ], - "operationId": "gameCenterLeaderboardSetMemberLocalizations-gameCenterLeaderboard-get_to_one_related", + "operationId": "gameCenterLeaderboards-groupLeaderboard-get_to_one_related", "parameters": [ { "name": "fields[gameCenterLeaderboardLocalizations]", @@ -74795,7 +78113,7 @@ } ] }, - "/v1/gameCenterLeaderboardSetMemberLocalizations/{id}/relationships/gameCenterLeaderboardSet": { + "/v1/gameCenterLeaderboards/{id}/relationships/localizations": { "parameters": [ { "name": "id", @@ -74809,24 +78127,27 @@ } ] }, - "/v1/gameCenterLeaderboardSetMemberLocalizations/{id}/gameCenterLeaderboardSet": { + "/v1/gameCenterLeaderboards/{id}/localizations": { "get": { "tags": [ - "GameCenterLeaderboardSetMemberLocalizations" + "GameCenterLeaderboards" ], - "operationId": "gameCenterLeaderboardSetMemberLocalizations-gameCenterLeaderboardSet-get_to_one_related", + "operationId": "gameCenterLeaderboards-localizations-get_to_many_related", "parameters": [ { - "name": "fields[gameCenterLeaderboardSetLocalizations]", + "name": "fields[gameCenterLeaderboardLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterLeaderboardSet", - "gameCenterLeaderboardSetImage", + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "gameCenterLeaderboard", + "gameCenterLeaderboardImage", "locale", "name" ] @@ -74836,88 +78157,21 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterLeaderboardSet", - "live" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardSets]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "referenceName", - "releases", - "vendorIdentifier" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterGroups]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterAchievements", - "gameCenterDetails", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "referenceName" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterDetails]", + "name": "fields[gameCenterLeaderboardImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type gameCenterLeaderboardImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "assetDeliveryState", + "fileName", + "fileSize", + "gameCenterLeaderboardLocalization", + "imageAsset", + "uploadOperations", + "uploaded" ] } }, @@ -74957,32 +78211,12 @@ "explode": false }, { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[gameCenterLeaderboards]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[releases]", + "name": "limit", "in": "query", - "description": "maximum number of related releases returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" }, @@ -74995,12 +78229,8 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "releases" + "gameCenterLeaderboard", + "gameCenterLeaderboardImage" ] } }, @@ -75040,11 +78270,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardSet", + "description": "List of GameCenterLeaderboardLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationsResponse" } } } @@ -75057,230 +78287,14 @@ "in": "path", "description": "the id of the requested resource", "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterLeaderboardSets/{id}/relationships/gameCenterLeaderboards": { - "get": { - "tags": [ - "GameCenterLeaderboardSets" - ], - "operationId": "gameCenterLeaderboardSets-gameCenterLeaderboards-get_to_many_relationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesResponse" - } - } - } - } - } - }, - "post": { - "tags": [ - "GameCenterLeaderboardSets" - ], - "operationId": "gameCenterLeaderboardSets-gameCenterLeaderboards-create_to_many_relationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest" - } - } - }, - "required": true - }, - "responses": { - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - } - } - }, - "patch": { - "tags": [ - "GameCenterLeaderboardSets" - ], - "operationId": "gameCenterLeaderboardSets-gameCenterLeaderboards-replace_to_many_relationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest" - } - } - }, - "required": true - }, - "responses": { - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - } - } - }, - "delete": { - "tags": [ - "GameCenterLeaderboardSets" - ], - "operationId": "gameCenterLeaderboardSets-gameCenterLeaderboards-delete_to_many_relationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest" - } - } - }, - "required": true - }, - "responses": { - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - } + "type": "string" + }, + "style": "simple", + "required": true } - }, + ] + }, + "/v1/gameCenterLeaderboards/{id}/relationships/releases": { "parameters": [ { "name": "id", @@ -75294,30 +78308,17 @@ } ] }, - "/v1/gameCenterLeaderboardSets/{id}/gameCenterLeaderboards": { + "/v1/gameCenterLeaderboards/{id}/releases": { "get": { "tags": [ - "GameCenterLeaderboardSets" + "GameCenterLeaderboards" ], - "operationId": "gameCenterLeaderboardSets-gameCenterLeaderboards-get_to_many_related", + "operationId": "gameCenterLeaderboards-releases-get_to_many_related", "parameters": [ { - "name": "filter[archived]", - "in": "query", - "description": "filter by attribute 'archived'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[referenceName]", + "name": "filter[live]", "in": "query", - "description": "filter by attribute 'referenceName'", + "description": "filter by attribute 'live'", "schema": { "type": "array", "items": { @@ -75328,9 +78329,9 @@ "explode": false }, { - "name": "filter[id]", + "name": "filter[gameCenterDetail]", "in": "query", - "description": "filter by id(s)", + "description": "filter by id(s) of related 'gameCenterDetail'", "schema": { "type": "array", "items": { @@ -75340,71 +78341,6 @@ "style": "form", "explode": false }, - { - "name": "fields[gameCenterLeaderboardLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "gameCenterLeaderboard", - "gameCenterLeaderboardImage", - "locale", - "name" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardSets]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "referenceName", - "releases", - "vendorIdentifier" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterGroups]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterAchievements", - "gameCenterDetails", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "referenceName" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "fields[gameCenterDetails]", "in": "query", @@ -75493,36 +78429,6 @@ }, "style": "form" }, - { - "name": "limit[gameCenterLeaderboardSets]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[releases]", - "in": "query", - "description": "maximum number of related releases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -75533,11 +78439,7 @@ "type": "string", "enum": [ "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", - "localizations", - "releases" + "gameCenterLeaderboard" ] } }, @@ -75577,11 +78479,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboards", + "description": "List of GameCenterLeaderboardReleases", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardsResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardReleasesResponse" } } } @@ -75601,13 +78503,95 @@ } ] }, - "/v1/gameCenterLeaderboardSets/{id}/relationships/groupLeaderboardSet": { + "/v1/gameCenterMatchmakingRuleSets/{id}/relationships/matchmakingQueues": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterMatchmakingRuleSets/{id}/matchmakingQueues": { "get": { "tags": [ - "GameCenterLeaderboardSets" + "GameCenterMatchmakingRuleSets" + ], + "operationId": "gameCenterMatchmakingRuleSets-matchmakingQueues-get_to_many_related", + "parameters": [ + { + "name": "fields[gameCenterMatchmakingQueues]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterMatchmakingQueues", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "experimentRuleSet", + "referenceName", + "ruleSet" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterMatchmakingRuleSets]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterMatchmakingRuleSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "matchmakingQueues", + "maxPlayers", + "minPlayers", + "referenceName", + "ruleLanguageVersion", + "rules", + "teams" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "experimentRuleSet", + "ruleSet" + ] + } + }, + "style": "form", + "explode": false + } ], - "operationId": "gameCenterLeaderboardSets-groupLeaderboardSet-get_to_one_relationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -75640,34 +78624,94 @@ } }, "200": { - "description": "Related linkage", + "description": "List of GameCenterMatchmakingQueues", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingQueuesResponse" } } } } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterMatchmakingRuleSets/{id}/relationships/rules": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterMatchmakingRuleSets/{id}/rules": { + "get": { "tags": [ - "GameCenterLeaderboardSets" + "GameCenterMatchmakingRuleSets" ], - "operationId": "gameCenterLeaderboardSets-groupLeaderboardSet-update_to_one_relationship", - "requestBody": { - "description": "Related linkage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest" + "operationId": "gameCenterMatchmakingRuleSets-rules-get_to_many_related", + "parameters": [ + { + "name": "fields[gameCenterMatchmakingRules]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterMatchmakingRules", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "description", + "expression", + "referenceName", + "ruleSet", + "type", + "weight" + ] } - } + }, + "style": "form", + "explode": false }, - "required": true - }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -75688,18 +78732,15 @@ } } }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of GameCenterMatchmakingRules", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingRulesResponse" } } } - }, - "204": { - "description": "Success (no content)" } } }, @@ -75716,26 +78757,40 @@ } ] }, - "/v1/gameCenterLeaderboardSets/{id}/groupLeaderboardSet": { + "/v1/gameCenterMatchmakingRuleSets/{id}/relationships/teams": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterMatchmakingRuleSets/{id}/teams": { "get": { "tags": [ - "GameCenterLeaderboardSets" + "GameCenterMatchmakingRuleSets" ], - "operationId": "gameCenterLeaderboardSets-groupLeaderboardSet-get_to_one_related", + "operationId": "gameCenterMatchmakingRuleSets-teams-get_to_many_related", "parameters": [ { - "name": "fields[gameCenterLeaderboardSetLocalizations]", + "name": "fields[gameCenterMatchmakingTeams]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "description": "the fields to include for returned resources of type gameCenterMatchmakingTeams", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterLeaderboardSet", - "gameCenterLeaderboardSetImage", - "locale", - "name" + "maxPlayers", + "minPlayers", + "referenceName", + "ruleSet" ] } }, @@ -75743,176 +78798,118 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetReleases]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterLeaderboardSet", - "live" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardSets]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "referenceName", - "releases", - "vendorIdentifier" - ] + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[gameCenterGroups]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterAchievements", - "gameCenterDetails", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "referenceName" - ] + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[gameCenterDetails]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" - ] + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[gameCenterLeaderboards]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "archived", - "defaultFormatter", - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", - "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" - ] + "200": { + "description": "List of GameCenterMatchmakingTeams", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterMatchmakingTeamsResponse" + } } - }, - "style": "form", - "explode": false - }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[gameCenterLeaderboards]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboards returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, - { - "name": "limit[releases]", - "in": "query", - "description": "maximum number of related releases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" + "style": "simple", + "required": true + } + ] + }, + "/v1/inAppPurchaseAvailabilities/{id}/relationships/availableTerritories": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", + "required": true + } + ] + }, + "/v1/inAppPurchaseAvailabilities/{id}/availableTerritories": { + "get": { + "tags": [ + "InAppPurchaseAvailabilities" + ], + "operationId": "inAppPurchaseAvailabilities-availableTerritories-get_to_many_related", + "parameters": [ { - "name": "include", + "name": "fields[territories]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "releases" + "currency" ] } }, "style": "form", "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" } ], "responses": { @@ -75947,11 +78944,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboardSet", + "description": "List of Territories", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetResponse" + "$ref": "#/components/schemas/TerritoriesResponse" } } } @@ -75971,7 +78968,7 @@ } ] }, - "/v1/gameCenterLeaderboardSets/{id}/relationships/localizations": { + "/v1/inAppPurchasePriceSchedules/{id}/relationships/automaticPrices": { "parameters": [ { "name": "id", @@ -75985,26 +78982,40 @@ } ] }, - "/v1/gameCenterLeaderboardSets/{id}/localizations": { + "/v1/inAppPurchasePriceSchedules/{id}/automaticPrices": { "get": { "tags": [ - "GameCenterLeaderboardSets" + "InAppPurchasePriceSchedules" ], - "operationId": "gameCenterLeaderboardSets-localizations-get_to_many_related", + "operationId": "inAppPurchasePriceSchedules-automaticPrices-get_to_many_related", "parameters": [ { - "name": "fields[gameCenterLeaderboardSetLocalizations]", + "name": "filter[territory]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "description": "filter by id(s) of related 'territory'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[inAppPurchasePricePoints]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchasePricePoints", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterLeaderboardSet", - "gameCenterLeaderboardSetImage", - "locale", - "name" + "customerPrice", + "inAppPurchaseV2", + "priceTier", + "proceeds", + "territory" ] } }, @@ -76012,22 +79023,20 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSets]", + "name": "fields[inAppPurchasePrices]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "the fields to include for returned resources of type inAppPurchasePrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "referenceName", - "releases", - "vendorIdentifier" + "endDate", + "inAppPurchasePricePoint", + "inAppPurchaseV2", + "manual", + "startDate", + "territory" ] } }, @@ -76035,21 +79044,15 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetImages]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetImages", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetDeliveryState", - "fileName", - "fileSize", - "gameCenterLeaderboardSetLocalization", - "imageAsset", - "uploadOperations", - "uploaded" + "currency" ] } }, @@ -76075,8 +79078,8 @@ "items": { "type": "string", "enum": [ - "gameCenterLeaderboardSet", - "gameCenterLeaderboardSetImage" + "inAppPurchasePricePoint", + "territory" ] } }, @@ -76116,11 +79119,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboardSetLocalizations", + "description": "List of InAppPurchasePrices", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalizationsResponse" + "$ref": "#/components/schemas/InAppPurchasePricesResponse" } } } @@ -76140,7 +79143,7 @@ } ] }, - "/v1/gameCenterLeaderboardSets/{id}/relationships/releases": { + "/v1/inAppPurchasePriceSchedules/{id}/relationships/baseTerritory": { "parameters": [ { "name": "id", @@ -76154,30 +79157,111 @@ } ] }, - "/v1/gameCenterLeaderboardSets/{id}/releases": { + "/v1/inAppPurchasePriceSchedules/{id}/baseTerritory": { "get": { "tags": [ - "GameCenterLeaderboardSets" + "InAppPurchasePriceSchedules" ], - "operationId": "gameCenterLeaderboardSets-releases-get_to_many_related", + "operationId": "inAppPurchasePriceSchedules-baseTerritory-get_to_one_related", "parameters": [ { - "name": "filter[live]", + "name": "fields[territories]", "in": "query", - "description": "filter by attribute 'live'", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "currency" + ] } }, "style": "form", "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single Territory", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TerritoryResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/inAppPurchasePriceSchedules/{id}/relationships/manualPrices": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", + "required": true + } + ] + }, + "/v1/inAppPurchasePriceSchedules/{id}/manualPrices": { + "get": { + "tags": [ + "InAppPurchasePriceSchedules" + ], + "operationId": "inAppPurchasePriceSchedules-manualPrices-get_to_many_related", + "parameters": [ { - "name": "filter[gameCenterDetail]", + "name": "filter[territory]", "in": "query", - "description": "filter by id(s) of related 'gameCenterDetail'", + "description": "filter by id(s) of related 'territory'", "schema": { "type": "array", "items": { @@ -76188,17 +79272,19 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetReleases]", + "name": "fields[inAppPurchasePricePoints]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", + "description": "the fields to include for returned resources of type inAppPurchasePricePoints", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterLeaderboardSet", - "live" + "customerPrice", + "inAppPurchaseV2", + "priceTier", + "proceeds", + "territory" ] } }, @@ -76206,22 +79292,20 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSets]", + "name": "fields[inAppPurchasePrices]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "the fields to include for returned resources of type inAppPurchasePrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "referenceName", - "releases", - "vendorIdentifier" + "endDate", + "inAppPurchasePricePoint", + "inAppPurchaseV2", + "manual", + "startDate", + "territory" ] } }, @@ -76229,27 +79313,15 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "currency" ] } }, @@ -76275,8 +79347,8 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterLeaderboardSet" + "inAppPurchasePricePoint", + "territory" ] } }, @@ -76316,11 +79388,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboardSetReleases", + "description": "List of InAppPurchasePrices", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetReleasesResponse" + "$ref": "#/components/schemas/InAppPurchasePricesResponse" } } } @@ -76340,13 +79412,100 @@ } ] }, - "/v1/gameCenterLeaderboards/{id}/relationships/groupLeaderboard": { + "/v2/inAppPurchases/{id}/relationships/appStoreReviewScreenshot": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v2/inAppPurchases/{id}/appStoreReviewScreenshot": { "get": { "tags": [ - "GameCenterLeaderboards" + "InAppPurchases" + ], + "operationId": "inAppPurchasesV2-appStoreReviewScreenshot-get_to_one_related", + "parameters": [ + { + "name": "fields[inAppPurchaseAppStoreReviewScreenshots]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseAppStoreReviewScreenshots", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "assetDeliveryState", + "assetToken", + "assetType", + "fileName", + "fileSize", + "imageAsset", + "inAppPurchaseV2", + "sourceFileChecksum", + "uploadOperations", + "uploaded" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[inAppPurchases]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "appStoreReviewScreenshot", + "availableInAllTerritories", + "content", + "contentHosting", + "familySharable", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "inAppPurchaseLocalizations", + "inAppPurchaseType", + "name", + "pricePoints", + "productId", + "promotedPurchase", + "reviewNote", + "state" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "inAppPurchaseV2" + ] + } + }, + "style": "form", + "explode": false + } ], - "operationId": "gameCenterLeaderboards-groupLeaderboard-get_to_one_relationship", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -76379,34 +79538,130 @@ } }, "200": { - "description": "Related linkage", + "description": "Single InAppPurchaseAppStoreReviewScreenshot", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardGroupLeaderboardLinkageResponse" + "$ref": "#/components/schemas/InAppPurchaseAppStoreReviewScreenshotResponse" } } } } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v2/inAppPurchases/{id}/relationships/content": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v2/inAppPurchases/{id}/content": { + "get": { "tags": [ - "GameCenterLeaderboards" + "InAppPurchases" ], - "operationId": "gameCenterLeaderboards-groupLeaderboard-update_to_one_relationship", - "requestBody": { - "description": "Related linkage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardGroupLeaderboardLinkageRequest" + "operationId": "inAppPurchasesV2-content-get_to_one_related", + "parameters": [ + { + "name": "fields[inAppPurchases]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "appStoreReviewScreenshot", + "availableInAllTerritories", + "content", + "contentHosting", + "familySharable", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "inAppPurchaseLocalizations", + "inAppPurchaseType", + "name", + "pricePoints", + "productId", + "promotedPurchase", + "reviewNote", + "state" + ] } - } + }, + "style": "form", + "explode": false }, - "required": true - }, + { + "name": "fields[inAppPurchaseContents]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseContents", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileName", + "fileSize", + "inAppPurchaseV2", + "lastModifiedDate", + "url" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "inAppPurchaseV2" + ] + } + }, + "style": "form", + "explode": false + } + ], "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -76427,18 +79682,15 @@ } } }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Single InAppPurchaseContent", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/InAppPurchaseContentResponse" } } } - }, - "204": { - "description": "Success (no content)" } } }, @@ -76455,72 +79707,42 @@ } ] }, - "/v1/gameCenterLeaderboards/{id}/groupLeaderboard": { + "/v2/inAppPurchases/{id}/relationships/iapPriceSchedule": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v2/inAppPurchases/{id}/iapPriceSchedule": { "get": { "tags": [ - "GameCenterLeaderboards" + "InAppPurchases" ], - "operationId": "gameCenterLeaderboards-groupLeaderboard-get_to_one_related", + "operationId": "inAppPurchasesV2-iapPriceSchedule-get_to_one_related", "parameters": [ { - "name": "fields[gameCenterLeaderboardLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "gameCenterLeaderboard", - "gameCenterLeaderboardImage", - "locale", - "name" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardSets]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "referenceName", - "releases", - "vendorIdentifier" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterGroups]", + "name": "fields[inAppPurchasePrices]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", + "description": "the fields to include for returned resources of type inAppPurchasePrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterAchievements", - "gameCenterDetails", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "referenceName" + "endDate", + "inAppPurchasePricePoint", + "inAppPurchaseV2", + "manual", + "startDate", + "territory" ] } }, @@ -76528,27 +79750,30 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[inAppPurchases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "achievementReleases", "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "appStoreReviewScreenshot", + "availableInAllTerritories", + "content", + "contentHosting", + "familySharable", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "inAppPurchaseLocalizations", + "inAppPurchaseType", + "name", + "pricePoints", + "productId", + "promotedPurchase", + "reviewNote", + "state" ] } }, @@ -76556,31 +79781,18 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[inAppPurchasePriceSchedules]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type inAppPurchasePriceSchedules", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "defaultFormatter", - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", - "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" + "automaticPrices", + "baseTerritory", + "inAppPurchase", + "manualPrices" ] } }, @@ -76588,17 +79800,15 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardReleases]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterLeaderboard", - "live" + "currency" ] } }, @@ -76606,19 +79816,9 @@ "explode": false }, { - "name": "limit[gameCenterLeaderboardSets]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[localizations]", + "name": "limit[manualPrices]", "in": "query", - "description": "maximum number of related localizations returned (when they are included)", + "description": "maximum number of related manualPrices returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -76626,9 +79826,9 @@ "style": "form" }, { - "name": "limit[releases]", + "name": "limit[automaticPrices]", "in": "query", - "description": "maximum number of related releases returned (when they are included)", + "description": "maximum number of related automaticPrices returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -76644,12 +79844,10 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", - "localizations", - "releases" + "automaticPrices", + "baseTerritory", + "inAppPurchase", + "manualPrices" ] } }, @@ -76689,11 +79887,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboard", + "description": "Single InAppPurchasePriceSchedule", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardResponse" + "$ref": "#/components/schemas/InAppPurchasePriceScheduleResponse" } } } @@ -76713,7 +79911,7 @@ } ] }, - "/v1/gameCenterLeaderboards/{id}/relationships/localizations": { + "/v2/inAppPurchases/{id}/relationships/inAppPurchaseAvailability": { "parameters": [ { "name": "id", @@ -76727,51 +79925,25 @@ } ] }, - "/v1/gameCenterLeaderboards/{id}/localizations": { + "/v2/inAppPurchases/{id}/inAppPurchaseAvailability": { "get": { "tags": [ - "GameCenterLeaderboards" + "InAppPurchases" ], - "operationId": "gameCenterLeaderboards-localizations-get_to_many_related", + "operationId": "inAppPurchasesV2-inAppPurchaseAvailability-get_to_one_related", "parameters": [ { - "name": "fields[gameCenterLeaderboardLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "gameCenterLeaderboard", - "gameCenterLeaderboardImage", - "locale", - "name" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardImages]", + "name": "fields[inAppPurchaseAvailabilities]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardImages", + "description": "the fields to include for returned resources of type inAppPurchaseAvailabilities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetDeliveryState", - "fileName", - "fileSize", - "gameCenterLeaderboardLocalization", - "imageAsset", - "uploadOperations", - "uploaded" + "availableInNewTerritories", + "availableTerritories", + "inAppPurchase" ] } }, @@ -76779,31 +79951,15 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "defaultFormatter", - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", - "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" + "currency" ] } }, @@ -76811,12 +79967,12 @@ "explode": false }, { - "name": "limit", + "name": "limit[availableTerritories]", "in": "query", - "description": "maximum resources per page", + "description": "maximum number of related availableTerritories returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 + "maximum": 50 }, "style": "form" }, @@ -76829,8 +79985,7 @@ "items": { "type": "string", "enum": [ - "gameCenterLeaderboard", - "gameCenterLeaderboardImage" + "availableTerritories" ] } }, @@ -76870,11 +80025,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboardLocalizations", + "description": "Single InAppPurchaseAvailability", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationsResponse" + "$ref": "#/components/schemas/InAppPurchaseAvailabilityResponse" } } } @@ -76894,7 +80049,7 @@ } ] }, - "/v1/gameCenterLeaderboards/{id}/relationships/releases": { + "/v2/inAppPurchases/{id}/relationships/inAppPurchaseLocalizations": { "parameters": [ { "name": "id", @@ -76908,93 +80063,27 @@ } ] }, - "/v1/gameCenterLeaderboards/{id}/releases": { + "/v2/inAppPurchases/{id}/inAppPurchaseLocalizations": { "get": { "tags": [ - "GameCenterLeaderboards" + "InAppPurchases" ], - "operationId": "gameCenterLeaderboards-releases-get_to_many_related", + "operationId": "inAppPurchasesV2-inAppPurchaseLocalizations-get_to_many_related", "parameters": [ { - "name": "filter[live]", - "in": "query", - "description": "filter by attribute 'live'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[gameCenterDetail]", - "in": "query", - "description": "filter by id(s) of related 'gameCenterDetail'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterDetails]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[inAppPurchaseLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "defaultFormatter", - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", - "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" + "description", + "inAppPurchaseV2", + "locale", + "name", + "state" ] } }, @@ -77002,17 +80091,30 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardReleases]", + "name": "fields[inAppPurchases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterLeaderboard", - "live" + "app", + "appStoreReviewScreenshot", + "availableInAllTerritories", + "content", + "contentHosting", + "familySharable", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "inAppPurchaseLocalizations", + "inAppPurchaseType", + "name", + "pricePoints", + "productId", + "promotedPurchase", + "reviewNote", + "state" ] } }, @@ -77038,8 +80140,7 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterLeaderboard" + "inAppPurchaseV2" ] } }, @@ -77079,11 +80180,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboardReleases", + "description": "List of InAppPurchaseLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardReleasesResponse" + "$ref": "#/components/schemas/InAppPurchaseLocalizationsResponse" } } } @@ -77103,7 +80204,7 @@ } ] }, - "/v1/inAppPurchaseAvailabilities/{id}/relationships/availableTerritories": { + "/v2/inAppPurchases/{id}/relationships/pricePoints": { "parameters": [ { "name": "id", @@ -77117,13 +80218,59 @@ } ] }, - "/v1/inAppPurchaseAvailabilities/{id}/availableTerritories": { + "/v2/inAppPurchases/{id}/pricePoints": { "get": { "tags": [ - "InAppPurchaseAvailabilities" + "InAppPurchases" ], - "operationId": "inAppPurchaseAvailabilities-availableTerritories-get_to_many_related", + "operationId": "inAppPurchasesV2-pricePoints-get_to_many_related", "parameters": [ + { + "name": "filter[priceTier]", + "in": "query", + "description": "filter by attribute 'priceTier'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[territory]", + "in": "query", + "description": "filter by id(s) of related 'territory'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[inAppPurchasePricePoints]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchasePricePoints", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "customerPrice", + "inAppPurchaseV2", + "priceTier", + "proceeds", + "territory" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "fields[territories]", "in": "query", @@ -77146,9 +80293,25 @@ "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 200 + "maximum": 8000 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "territory" + ] + } + }, + "style": "form", + "explode": false } ], "responses": { @@ -77183,11 +80346,16 @@ } }, "200": { - "description": "List of Territories", + "description": "List of InAppPurchasePricePoints", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TerritoriesResponse" + "$ref": "#/components/schemas/InAppPurchasePricePointsResponse" + } + }, + "text/csv": { + "schema": { + "$ref": "#/components/schemas/csv" } } } @@ -77207,7 +80375,7 @@ } ] }, - "/v1/inAppPurchasePriceSchedules/{id}/relationships/automaticPrices": { + "/v2/inAppPurchases/{id}/relationships/promotedPurchase": { "parameters": [ { "name": "id", @@ -77221,40 +80389,62 @@ } ] }, - "/v1/inAppPurchasePriceSchedules/{id}/automaticPrices": { + "/v2/inAppPurchases/{id}/promotedPurchase": { "get": { "tags": [ - "InAppPurchasePriceSchedules" + "InAppPurchases" ], - "operationId": "inAppPurchasePriceSchedules-automaticPrices-get_to_many_related", + "operationId": "inAppPurchasesV2-promotedPurchase-get_to_one_related", "parameters": [ { - "name": "filter[territory]", + "name": "fields[promotedPurchases]", "in": "query", - "description": "filter by id(s) of related 'territory'", + "description": "the fields to include for returned resources of type promotedPurchases", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "app", + "enabled", + "inAppPurchaseV2", + "promotionImages", + "state", + "subscription", + "visibleForAllUsers" + ] } }, "style": "form", "explode": false }, { - "name": "fields[inAppPurchasePricePoints]", + "name": "fields[subscriptions]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePricePoints", + "description": "the fields to include for returned resources of type subscriptions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customerPrice", - "inAppPurchaseV2", - "priceTier", - "proceeds", - "territory" + "appStoreReviewScreenshot", + "availableInAllTerritories", + "familySharable", + "group", + "groupLevel", + "introductoryOffers", + "name", + "offerCodes", + "pricePoints", + "prices", + "productId", + "promotedPurchase", + "promotionalOffers", + "reviewNote", + "state", + "subscriptionAvailability", + "subscriptionLocalizations", + "subscriptionPeriod" ] } }, @@ -77262,20 +80452,30 @@ "explode": false }, { - "name": "fields[inAppPurchasePrices]", + "name": "fields[inAppPurchases]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePrices", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "endDate", - "inAppPurchasePricePoint", - "inAppPurchaseV2", - "manual", - "startDate", - "territory" + "app", + "appStoreReviewScreenshot", + "availableInAllTerritories", + "content", + "contentHosting", + "familySharable", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "inAppPurchaseLocalizations", + "inAppPurchaseType", + "name", + "pricePoints", + "productId", + "promotedPurchase", + "reviewNote", + "state" ] } }, @@ -77283,15 +80483,24 @@ "explode": false }, { - "name": "fields[territories]", + "name": "fields[promotedPurchaseImages]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type promotedPurchaseImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "assetToken", + "assetType", + "fileName", + "fileSize", + "imageAsset", + "promotedPurchase", + "sourceFileChecksum", + "state", + "uploadOperations", + "uploaded" ] } }, @@ -77299,12 +80508,12 @@ "explode": false }, { - "name": "limit", + "name": "limit[promotionImages]", "in": "query", - "description": "maximum resources per page", + "description": "maximum number of related promotionImages returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 + "maximum": 50 }, "style": "form" }, @@ -77317,8 +80526,9 @@ "items": { "type": "string", "enum": [ - "inAppPurchasePricePoint", - "territory" + "inAppPurchaseV2", + "promotionImages", + "subscription" ] } }, @@ -77358,11 +80568,11 @@ } }, "200": { - "description": "List of InAppPurchasePrices", + "description": "Single PromotedPurchase", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchasePricesResponse" + "$ref": "#/components/schemas/PromotedPurchaseResponse" } } } @@ -77382,7 +80592,7 @@ } ] }, - "/v1/inAppPurchasePriceSchedules/{id}/relationships/baseTerritory": { + "/v1/preReleaseVersions/{id}/relationships/app": { "parameters": [ { "name": "id", @@ -77396,23 +80606,66 @@ } ] }, - "/v1/inAppPurchasePriceSchedules/{id}/baseTerritory": { + "/v1/preReleaseVersions/{id}/app": { "get": { "tags": [ - "InAppPurchasePriceSchedules" + "PreReleaseVersions" ], - "operationId": "inAppPurchasePriceSchedules-baseTerritory-get_to_one_related", + "operationId": "preReleaseVersions-app-get_to_one_related", "parameters": [ { - "name": "fields[territories]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "appAvailability", + "appClips", + "appCustomProductPages", + "appEncryptionDeclarations", + "appEvents", + "appInfos", + "appPricePoints", + "appPriceSchedule", + "appStoreVersionExperimentsV2", + "appStoreVersions", + "availableInNewTerritories", + "availableTerritories", + "betaAppLocalizations", + "betaAppReviewDetail", + "betaGroups", + "betaLicenseAgreement", + "betaTesters", + "builds", + "bundleId", + "ciProduct", + "contentRightsDeclaration", + "customerReviews", + "endUserLicenseAgreement", + "gameCenterDetail", + "gameCenterEnabledVersions", + "inAppPurchases", + "inAppPurchasesV2", + "isOrEverWasMadeForKids", + "name", + "perfPowerMetrics", + "preOrder", + "preReleaseVersions", + "pricePoints", + "prices", + "primaryLocale", + "promotedPurchases", + "reviewSubmissions", + "sku", + "subscriptionGracePeriod", + "subscriptionGroups", + "subscriptionStatusUrl", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlVersionForSandbox" ] } }, @@ -77452,11 +80705,11 @@ } }, "200": { - "description": "Single Territory", + "description": "Single App with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TerritoryResponse" + "$ref": "#/components/schemas/AppWithoutIncludesResponse" } } } @@ -77476,7 +80729,7 @@ } ] }, - "/v1/inAppPurchasePriceSchedules/{id}/relationships/manualPrices": { + "/v1/preReleaseVersions/{id}/relationships/builds": { "parameters": [ { "name": "id", @@ -77490,77 +80743,46 @@ } ] }, - "/v1/inAppPurchasePriceSchedules/{id}/manualPrices": { + "/v1/preReleaseVersions/{id}/builds": { "get": { "tags": [ - "InAppPurchasePriceSchedules" + "PreReleaseVersions" ], - "operationId": "inAppPurchasePriceSchedules-manualPrices-get_to_many_related", + "operationId": "preReleaseVersions-builds-get_to_many_related", "parameters": [ { - "name": "filter[territory]", - "in": "query", - "description": "filter by id(s) of related 'territory'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[inAppPurchasePricePoints]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePricePoints", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "customerPrice", - "inAppPurchaseV2", - "priceTier", - "proceeds", - "territory" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[inAppPurchasePrices]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePrices", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "endDate", - "inAppPurchasePricePoint", - "inAppPurchaseV2", - "manual", - "startDate", - "territory" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[territories]", + "name": "fields[builds]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "app", + "appEncryptionDeclaration", + "appStoreVersion", + "betaAppReviewSubmission", + "betaBuildLocalizations", + "betaGroups", + "buildAudienceType", + "buildBetaDetail", + "buildBundles", + "computedMinMacOsVersion", + "diagnosticSignatures", + "expirationDate", + "expired", + "iconAssetToken", + "icons", + "individualTesters", + "lsMinimumSystemVersion", + "minOsVersion", + "perfPowerMetrics", + "preReleaseVersion", + "processingState", + "uploadedDate", + "usesNonExemptEncryption", + "version" ] } }, @@ -77576,23 +80798,6 @@ "maximum": 200 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "inAppPurchasePricePoint", - "territory" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -77627,11 +80832,11 @@ } }, "200": { - "description": "List of InAppPurchasePrices", + "description": "List of Builds with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchasePricesResponse" + "$ref": "#/components/schemas/BuildsWithoutIncludesResponse" } } } @@ -77651,7 +80856,7 @@ } ] }, - "/v2/inAppPurchases/{id}/relationships/appStoreReviewScreenshot": { + "/v1/profiles/{id}/relationships/bundleId": { "parameters": [ { "name": "id", @@ -77665,79 +80870,29 @@ } ] }, - "/v2/inAppPurchases/{id}/appStoreReviewScreenshot": { + "/v1/profiles/{id}/bundleId": { "get": { "tags": [ - "InAppPurchases" + "Profiles" ], - "operationId": "inAppPurchasesV2-appStoreReviewScreenshot-get_to_one_related", + "operationId": "profiles-bundleId-get_to_one_related", "parameters": [ { - "name": "fields[inAppPurchaseAppStoreReviewScreenshots]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseAppStoreReviewScreenshots", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", - "fileSize", - "imageAsset", - "inAppPurchaseV2", - "sourceFileChecksum", - "uploadOperations", - "uploaded" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[inAppPurchases]", + "name": "fields[bundleIds]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "the fields to include for returned resources of type bundleIds", "schema": { "type": "array", "items": { "type": "string", "enum": [ "app", - "appStoreReviewScreenshot", - "availableInAllTerritories", - "content", - "contentHosting", - "familySharable", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "inAppPurchaseLocalizations", - "inAppPurchaseType", + "bundleIdCapabilities", + "identifier", "name", - "pricePoints", - "productId", - "promotedPurchase", - "reviewNote", - "state" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "inAppPurchaseV2" + "platform", + "profiles", + "seedId" ] } }, @@ -77777,11 +80932,11 @@ } }, "200": { - "description": "Single InAppPurchaseAppStoreReviewScreenshot", + "description": "Single BundleId with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseAppStoreReviewScreenshotResponse" + "$ref": "#/components/schemas/BundleIdWithoutIncludesResponse" } } } @@ -77801,7 +80956,7 @@ } ] }, - "/v2/inAppPurchases/{id}/relationships/content": { + "/v1/profiles/{id}/relationships/certificates": { "parameters": [ { "name": "id", @@ -77815,58 +80970,30 @@ } ] }, - "/v2/inAppPurchases/{id}/content": { + "/v1/profiles/{id}/certificates": { "get": { "tags": [ - "InAppPurchases" + "Profiles" ], - "operationId": "inAppPurchasesV2-content-get_to_one_related", + "operationId": "profiles-certificates-get_to_many_related", "parameters": [ { - "name": "fields[inAppPurchases]", + "name": "fields[certificates]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "the fields to include for returned resources of type certificates", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appStoreReviewScreenshot", - "availableInAllTerritories", - "content", - "contentHosting", - "familySharable", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "inAppPurchaseLocalizations", - "inAppPurchaseType", + "certificateContent", + "certificateType", + "csrContent", + "displayName", + "expirationDate", "name", - "pricePoints", - "productId", - "promotedPurchase", - "reviewNote", - "state" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[inAppPurchaseContents]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseContents", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "fileName", - "fileSize", - "inAppPurchaseV2", - "lastModifiedDate", - "url" + "platform", + "serialNumber" ] } }, @@ -77874,20 +81001,14 @@ "explode": false }, { - "name": "include", + "name": "limit", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "inAppPurchaseV2" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false + "style": "form" } ], "responses": { @@ -77922,11 +81043,11 @@ } }, "200": { - "description": "Single InAppPurchaseContent", + "description": "List of Certificates with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseContentResponse" + "$ref": "#/components/schemas/CertificatesWithoutIncludesResponse" } } } @@ -77946,7 +81067,7 @@ } ] }, - "/v2/inAppPurchases/{id}/relationships/iapPriceSchedule": { + "/v1/profiles/{id}/relationships/devices": { "parameters": [ { "name": "id", @@ -77960,94 +81081,29 @@ } ] }, - "/v2/inAppPurchases/{id}/iapPriceSchedule": { + "/v1/profiles/{id}/devices": { "get": { "tags": [ - "InAppPurchases" + "Profiles" ], - "operationId": "inAppPurchasesV2-iapPriceSchedule-get_to_one_related", + "operationId": "profiles-devices-get_to_many_related", "parameters": [ { - "name": "fields[inAppPurchasePrices]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePrices", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "endDate", - "inAppPurchasePricePoint", - "inAppPurchaseV2", - "manual", - "startDate", - "territory" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[inAppPurchases]", + "name": "fields[devices]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "the fields to include for returned resources of type devices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appStoreReviewScreenshot", - "availableInAllTerritories", - "content", - "contentHosting", - "familySharable", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "inAppPurchaseLocalizations", - "inAppPurchaseType", + "addedDate", + "deviceClass", + "model", "name", - "pricePoints", - "productId", - "promotedPurchase", - "reviewNote", - "state" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[inAppPurchasePriceSchedules]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePriceSchedules", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "automaticPrices", - "baseTerritory", - "inAppPurchase", - "manualPrices" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[territories]", - "in": "query", - "description": "the fields to include for returned resources of type territories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" + "platform", + "status", + "udid" ] } }, @@ -78055,43 +81111,14 @@ "explode": false }, { - "name": "limit[manualPrices]", - "in": "query", - "description": "maximum number of related manualPrices returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[automaticPrices]", + "name": "limit", "in": "query", - "description": "maximum number of related automaticPrices returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "automaticPrices", - "baseTerritory", - "inAppPurchase", - "manualPrices" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -78126,11 +81153,11 @@ } }, "200": { - "description": "Single InAppPurchasePriceSchedule", + "description": "List of Devices with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchasePriceScheduleResponse" + "$ref": "#/components/schemas/DevicesWithoutIncludesResponse" } } } @@ -78150,7 +81177,7 @@ } ] }, - "/v2/inAppPurchases/{id}/relationships/inAppPurchaseAvailability": { + "/v1/promotedPurchases/{id}/relationships/promotionImages": { "parameters": [ { "name": "id", @@ -78164,25 +81191,29 @@ } ] }, - "/v2/inAppPurchases/{id}/inAppPurchaseAvailability": { + "/v1/promotedPurchases/{id}/promotionImages": { "get": { "tags": [ - "InAppPurchases" + "PromotedPurchases" ], - "operationId": "inAppPurchasesV2-inAppPurchaseAvailability-get_to_one_related", + "operationId": "promotedPurchases-promotionImages-get_to_many_related", "parameters": [ { - "name": "fields[inAppPurchaseAvailabilities]", + "name": "fields[promotedPurchases]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseAvailabilities", + "description": "the fields to include for returned resources of type promotedPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "availableInNewTerritories", - "availableTerritories", - "inAppPurchase" + "app", + "enabled", + "inAppPurchaseV2", + "promotionImages", + "state", + "subscription", + "visibleForAllUsers" ] } }, @@ -78190,15 +81221,24 @@ "explode": false }, { - "name": "fields[territories]", + "name": "fields[promotedPurchaseImages]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type promotedPurchaseImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "assetToken", + "assetType", + "fileName", + "fileSize", + "imageAsset", + "promotedPurchase", + "sourceFileChecksum", + "state", + "uploadOperations", + "uploaded" ] } }, @@ -78206,12 +81246,12 @@ "explode": false }, { - "name": "limit[availableTerritories]", + "name": "limit", "in": "query", - "description": "maximum number of related availableTerritories returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" }, @@ -78224,7 +81264,7 @@ "items": { "type": "string", "enum": [ - "availableTerritories" + "promotedPurchase" ] } }, @@ -78264,11 +81304,11 @@ } }, "200": { - "description": "Single InAppPurchaseAvailability", + "description": "List of PromotedPurchaseImages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseAvailabilityResponse" + "$ref": "#/components/schemas/PromotedPurchaseImagesResponse" } } } @@ -78288,7 +81328,7 @@ } ] }, - "/v2/inAppPurchases/{id}/relationships/inAppPurchaseLocalizations": { + "/v1/reviewSubmissions/{id}/relationships/items": { "parameters": [ { "name": "id", @@ -78302,26 +81342,58 @@ } ] }, - "/v2/inAppPurchases/{id}/inAppPurchaseLocalizations": { + "/v1/reviewSubmissions/{id}/items": { "get": { "tags": [ - "InAppPurchases" + "ReviewSubmissions" ], - "operationId": "inAppPurchasesV2-inAppPurchaseLocalizations-get_to_many_related", + "operationId": "reviewSubmissions-items-get_to_many_related", "parameters": [ { - "name": "fields[inAppPurchaseLocalizations]", + "name": "fields[appStoreVersionExperiments]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "description", - "inAppPurchaseV2", - "locale", + "app", + "appStoreVersion", + "appStoreVersionExperimentTreatments", + "controlVersions", + "endDate", + "latestControlVersion", "name", + "platform", + "reviewRequired", + "startDate", + "started", + "state", + "trafficProportion" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[reviewSubmissionItems]", + "in": "query", + "description": "the fields to include for returned resources of type reviewSubmissionItems", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appCustomProductPageVersion", + "appEvent", + "appStoreVersion", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "removed", + "resolved", + "reviewSubmission", "state" ] } @@ -78330,30 +81402,80 @@ "explode": false }, { - "name": "fields[inAppPurchases]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "ageRatingDeclaration", "app", - "appStoreReviewScreenshot", - "availableInAllTerritories", - "content", - "contentHosting", - "familySharable", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "inAppPurchaseLocalizations", - "inAppPurchaseType", - "name", - "pricePoints", - "productId", - "promotedPurchase", - "reviewNote", - "state" + "appClipDefaultExperience", + "appStoreReviewDetail", + "appStoreState", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "appStoreVersionLocalizations", + "appStoreVersionPhasedRelease", + "appStoreVersionSubmission", + "build", + "copyright", + "createdDate", + "customerReviews", + "downloadable", + "earliestReleaseDate", + "platform", + "releaseType", + "routingAppCoverage", + "versionString" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appCustomProductPageVersions]", + "in": "query", + "description": "the fields to include for returned resources of type appCustomProductPageVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appCustomProductPage", + "appCustomProductPageLocalizations", + "state", + "version" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appEvents]", + "in": "query", + "description": "the fields to include for returned resources of type appEvents", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "archivedTerritorySchedules", + "badge", + "deepLink", + "eventState", + "localizations", + "primaryLocale", + "priority", + "purchaseRequirement", + "purpose", + "referenceName", + "territorySchedules" ] } }, @@ -78379,7 +81501,11 @@ "items": { "type": "string", "enum": [ - "inAppPurchaseV2" + "appCustomProductPageVersion", + "appEvent", + "appStoreVersion", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2" ] } }, @@ -78419,11 +81545,11 @@ } }, "200": { - "description": "List of InAppPurchaseLocalizations", + "description": "List of ReviewSubmissionItems", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseLocalizationsResponse" + "$ref": "#/components/schemas/ReviewSubmissionItemsResponse" } } } @@ -78443,7 +81569,7 @@ } ] }, - "/v2/inAppPurchases/{id}/relationships/pricePoints": { + "/v1/scmProviders/{id}/relationships/repositories": { "parameters": [ { "name": "id", @@ -78457,17 +81583,17 @@ } ] }, - "/v2/inAppPurchases/{id}/pricePoints": { + "/v1/scmProviders/{id}/repositories": { "get": { "tags": [ - "InAppPurchases" + "ScmProviders" ], - "operationId": "inAppPurchasesV2-pricePoints-get_to_many_related", + "operationId": "scmProviders-repositories-get_to_many_related", "parameters": [ { - "name": "filter[priceTier]", + "name": "filter[id]", "in": "query", - "description": "filter by attribute 'priceTier'", + "description": "filter by id(s)", "schema": { "type": "array", "items": { @@ -78478,32 +81604,37 @@ "explode": false }, { - "name": "filter[territory]", + "name": "fields[scmGitReferences]", "in": "query", - "description": "filter by id(s) of related 'territory'", + "description": "the fields to include for returned resources of type scmGitReferences", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "canonicalName", + "isDeleted", + "kind", + "name", + "repository" + ] } }, "style": "form", "explode": false }, { - "name": "fields[inAppPurchasePricePoints]", + "name": "fields[scmProviders]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePricePoints", + "description": "the fields to include for returned resources of type scmProviders", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customerPrice", - "inAppPurchaseV2", - "priceTier", - "proceeds", - "territory" + "repositories", + "scmProviderType", + "url" ] } }, @@ -78511,15 +81642,23 @@ "explode": false }, { - "name": "fields[territories]", + "name": "fields[scmRepositories]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type scmRepositories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "defaultBranch", + "gitReferences", + "httpCloneUrl", + "lastAccessedDate", + "ownerName", + "pullRequests", + "repositoryName", + "scmProvider", + "sshCloneUrl" ] } }, @@ -78532,7 +81671,7 @@ "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 8000 + "maximum": 200 }, "style": "form" }, @@ -78545,7 +81684,8 @@ "items": { "type": "string", "enum": [ - "territory" + "defaultBranch", + "scmProvider" ] } }, @@ -78585,16 +81725,11 @@ } }, "200": { - "description": "List of InAppPurchasePricePoints", + "description": "List of ScmRepositories", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchasePricePointsResponse" - } - }, - "text/csv": { - "schema": { - "$ref": "#/components/schemas/csv" + "$ref": "#/components/schemas/ScmRepositoriesResponse" } } } @@ -78614,7 +81749,7 @@ } ] }, - "/v2/inAppPurchases/{id}/relationships/promotedPurchase": { + "/v1/scmRepositories/{id}/relationships/gitReferences": { "parameters": [ { "name": "id", @@ -78628,93 +81763,27 @@ } ] }, - "/v2/inAppPurchases/{id}/promotedPurchase": { + "/v1/scmRepositories/{id}/gitReferences": { "get": { "tags": [ - "InAppPurchases" + "ScmRepositories" ], - "operationId": "inAppPurchasesV2-promotedPurchase-get_to_one_related", + "operationId": "scmRepositories-gitReferences-get_to_many_related", "parameters": [ { - "name": "fields[promotedPurchases]", - "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "enabled", - "inAppPurchaseV2", - "promotionImages", - "state", - "subscription", - "visibleForAllUsers" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptions]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appStoreReviewScreenshot", - "availableInAllTerritories", - "familySharable", - "group", - "groupLevel", - "introductoryOffers", - "name", - "offerCodes", - "pricePoints", - "prices", - "productId", - "promotedPurchase", - "promotionalOffers", - "reviewNote", - "state", - "subscriptionAvailability", - "subscriptionLocalizations", - "subscriptionPeriod" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[inAppPurchases]", + "name": "fields[scmGitReferences]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "the fields to include for returned resources of type scmGitReferences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appStoreReviewScreenshot", - "availableInAllTerritories", - "content", - "contentHosting", - "familySharable", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "inAppPurchaseLocalizations", - "inAppPurchaseType", + "canonicalName", + "isDeleted", + "kind", "name", - "pricePoints", - "productId", - "promotedPurchase", - "reviewNote", - "state" + "repository" ] } }, @@ -78722,24 +81791,23 @@ "explode": false }, { - "name": "fields[promotedPurchaseImages]", + "name": "fields[scmRepositories]", "in": "query", - "description": "the fields to include for returned resources of type promotedPurchaseImages", + "description": "the fields to include for returned resources of type scmRepositories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetToken", - "assetType", - "fileName", - "fileSize", - "imageAsset", - "promotedPurchase", - "sourceFileChecksum", - "state", - "uploadOperations", - "uploaded" + "defaultBranch", + "gitReferences", + "httpCloneUrl", + "lastAccessedDate", + "ownerName", + "pullRequests", + "repositoryName", + "scmProvider", + "sshCloneUrl" ] } }, @@ -78747,12 +81815,12 @@ "explode": false }, { - "name": "limit[promotionImages]", + "name": "limit", "in": "query", - "description": "maximum number of related promotionImages returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" }, @@ -78765,9 +81833,7 @@ "items": { "type": "string", "enum": [ - "inAppPurchaseV2", - "promotionImages", - "subscription" + "repository" ] } }, @@ -78807,11 +81873,11 @@ } }, "200": { - "description": "Single PromotedPurchase", + "description": "List of ScmGitReferences", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PromotedPurchaseResponse" + "$ref": "#/components/schemas/ScmGitReferencesResponse" } } } @@ -78831,7 +81897,7 @@ } ] }, - "/v1/preReleaseVersions/{id}/relationships/app": { + "/v1/scmRepositories/{id}/relationships/pullRequests": { "parameters": [ { "name": "id", @@ -78845,66 +81911,84 @@ } ] }, - "/v1/preReleaseVersions/{id}/app": { + "/v1/scmRepositories/{id}/pullRequests": { "get": { "tags": [ - "PreReleaseVersions" + "ScmRepositories" ], - "operationId": "preReleaseVersions-app-get_to_one_related", + "operationId": "scmRepositories-pullRequests-get_to_many_related", "parameters": [ { - "name": "fields[apps]", + "name": "fields[scmPullRequests]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type scmPullRequests", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "availableInNewTerritories", - "availableTerritories", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "pricePoints", - "prices", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "destinationBranchName", + "destinationRepositoryName", + "destinationRepositoryOwner", + "isClosed", + "isCrossRepository", + "number", + "repository", + "sourceBranchName", + "sourceRepositoryName", + "sourceRepositoryOwner", + "title", + "webUrl" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[scmRepositories]", + "in": "query", + "description": "the fields to include for returned resources of type scmRepositories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "defaultBranch", + "gitReferences", + "httpCloneUrl", + "lastAccessedDate", + "ownerName", + "pullRequests", + "repositoryName", + "scmProvider", + "sshCloneUrl" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "repository" ] } }, @@ -78944,11 +82028,11 @@ } }, "200": { - "description": "Single App with get", + "description": "List of ScmPullRequests", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppWithoutIncludesResponse" + "$ref": "#/components/schemas/ScmPullRequestsResponse" } } } @@ -78968,7 +82052,7 @@ } ] }, - "/v1/preReleaseVersions/{id}/relationships/builds": { + "/v1/subscriptionAvailabilities/{id}/relationships/availableTerritories": { "parameters": [ { "name": "id", @@ -78982,46 +82066,23 @@ } ] }, - "/v1/preReleaseVersions/{id}/builds": { + "/v1/subscriptionAvailabilities/{id}/availableTerritories": { "get": { "tags": [ - "PreReleaseVersions" + "SubscriptionAvailabilities" ], - "operationId": "preReleaseVersions-builds-get_to_many_related", + "operationId": "subscriptionAvailabilities-availableTerritories-get_to_many_related", "parameters": [ { - "name": "fields[builds]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "currency" ] } }, @@ -79071,11 +82132,11 @@ } }, "200": { - "description": "List of Builds with get", + "description": "List of Territories", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BuildsWithoutIncludesResponse" + "$ref": "#/components/schemas/TerritoriesResponse" } } } @@ -79095,7 +82156,7 @@ } ] }, - "/v1/profiles/{id}/relationships/bundleId": { + "/v1/subscriptionGroups/{id}/relationships/subscriptionGroupLocalizations": { "parameters": [ { "name": "id", @@ -79109,29 +82170,72 @@ } ] }, - "/v1/profiles/{id}/bundleId": { + "/v1/subscriptionGroups/{id}/subscriptionGroupLocalizations": { "get": { "tags": [ - "Profiles" + "SubscriptionGroups" ], - "operationId": "profiles-bundleId-get_to_one_related", + "operationId": "subscriptionGroups-subscriptionGroupLocalizations-get_to_many_related", "parameters": [ { - "name": "fields[bundleIds]", + "name": "fields[subscriptionGroups]", "in": "query", - "description": "the fields to include for returned resources of type bundleIds", + "description": "the fields to include for returned resources of type subscriptionGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ "app", - "bundleIdCapabilities", - "identifier", + "referenceName", + "subscriptionGroupLocalizations", + "subscriptions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionGroupLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "customAppName", + "locale", "name", - "platform", - "profiles", - "seedId" + "state", + "subscriptionGroup" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "subscriptionGroup" ] } }, @@ -79171,11 +82275,11 @@ } }, "200": { - "description": "Single BundleId with get", + "description": "List of SubscriptionGroupLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BundleIdWithoutIncludesResponse" + "$ref": "#/components/schemas/SubscriptionGroupLocalizationsResponse" } } } @@ -79195,7 +82299,7 @@ } ] }, - "/v1/profiles/{id}/relationships/certificates": { + "/v1/subscriptionGroups/{id}/relationships/subscriptions": { "parameters": [ { "name": "id", @@ -79209,30 +82313,305 @@ } ] }, - "/v1/profiles/{id}/certificates": { + "/v1/subscriptionGroups/{id}/subscriptions": { "get": { "tags": [ - "Profiles" + "SubscriptionGroups" ], - "operationId": "profiles-certificates-get_to_many_related", + "operationId": "subscriptionGroups-subscriptions-get_to_many_related", "parameters": [ { - "name": "fields[certificates]", + "name": "filter[name]", "in": "query", - "description": "the fields to include for returned resources of type certificates", + "description": "filter by attribute 'name'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[productId]", + "in": "query", + "description": "filter by attribute 'productId'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[state]", + "in": "query", + "description": "filter by attribute 'state'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "MISSING_METADATA", + "READY_TO_SUBMIT", + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "DEVELOPER_ACTION_NEEDED", + "PENDING_BINARY_APPROVAL", + "APPROVED", + "DEVELOPER_REMOVED_FROM_SALE", + "REMOVED_FROM_SALE", + "REJECTED" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "certificateContent", - "certificateType", - "csrContent", - "displayName", - "expirationDate", "name", - "platform", - "serialNumber" + "-name" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[promotedPurchases]", + "in": "query", + "description": "the fields to include for returned resources of type promotedPurchases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "enabled", + "inAppPurchaseV2", + "promotionImages", + "state", + "subscription", + "visibleForAllUsers" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionPromotionalOffers]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionPromotionalOffers", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "duration", + "name", + "numberOfPeriods", + "offerCode", + "offerMode", + "prices", + "subscription" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionOfferCodes]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionOfferCodes", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "active", + "customCodes", + "customerEligibilities", + "duration", + "name", + "numberOfPeriods", + "offerEligibility", + "offerMode", + "oneTimeUseCodes", + "prices", + "subscription", + "totalNumberOfCodes" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionAppStoreReviewScreenshots]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionAppStoreReviewScreenshots", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "assetDeliveryState", + "assetToken", + "assetType", + "fileName", + "fileSize", + "imageAsset", + "sourceFileChecksum", + "subscription", + "uploadOperations", + "uploaded" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptions]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreReviewScreenshot", + "availableInAllTerritories", + "familySharable", + "group", + "groupLevel", + "introductoryOffers", + "name", + "offerCodes", + "pricePoints", + "prices", + "productId", + "promotedPurchase", + "promotionalOffers", + "reviewNote", + "state", + "subscriptionAvailability", + "subscriptionLocalizations", + "subscriptionPeriod" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionAvailabilities]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionAvailabilities", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "availableInNewTerritories", + "availableTerritories", + "subscription" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionGroups]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "referenceName", + "subscriptionGroupLocalizations", + "subscriptions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionIntroductoryOffers]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionIntroductoryOffers", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "duration", + "endDate", + "numberOfPeriods", + "offerMode", + "startDate", + "subscription", + "subscriptionPricePoint", + "territory" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionPrices]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionPrices", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "preserveCurrentPrice", + "preserved", + "startDate", + "subscription", + "subscriptionPricePoint", + "territory" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "description", + "locale", + "name", + "state", + "subscription" ] } }, @@ -79248,8 +82627,145 @@ "maximum": 200 }, "style": "form" + }, + { + "name": "limit[subscriptionLocalizations]", + "in": "query", + "description": "maximum number of related subscriptionLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[introductoryOffers]", + "in": "query", + "description": "maximum number of related introductoryOffers returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[promotionalOffers]", + "in": "query", + "description": "maximum number of related promotionalOffers returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[offerCodes]", + "in": "query", + "description": "maximum number of related offerCodes returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[prices]", + "in": "query", + "description": "maximum number of related prices returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "offerCodes", + "prices", + "promotedPurchase", + "promotionalOffers", + "subscriptionAvailability", + "subscriptionLocalizations" + ] + } + }, + "style": "form", + "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of Subscriptions", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionsResponse" + } + } + } } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/subscriptionOfferCodeOneTimeUseCodes/{id}/values": { + "get": { + "tags": [ + "SubscriptionOfferCodeOneTimeUseCodes" ], + "operationId": "subscriptionOfferCodeOneTimeUseCodes-values-get_to_one_related", + "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -79282,11 +82798,11 @@ } }, "200": { - "description": "List of Certificates with get", + "description": "Single SubscriptionOfferCodeOneTimeUseCodeValue", "content": { - "application/json": { + "text/csv": { "schema": { - "$ref": "#/components/schemas/CertificatesWithoutIncludesResponse" + "$ref": "#/components/schemas/csv" } } } @@ -79306,7 +82822,7 @@ } ] }, - "/v1/profiles/{id}/relationships/devices": { + "/v1/subscriptionOfferCodes/{id}/relationships/customCodes": { "parameters": [ { "name": "id", @@ -79320,29 +82836,55 @@ } ] }, - "/v1/profiles/{id}/devices": { + "/v1/subscriptionOfferCodes/{id}/customCodes": { "get": { "tags": [ - "Profiles" + "SubscriptionOfferCodes" ], - "operationId": "profiles-devices-get_to_many_related", + "operationId": "subscriptionOfferCodes-customCodes-get_to_many_related", "parameters": [ { - "name": "fields[devices]", + "name": "fields[subscriptionOfferCodeCustomCodes]", "in": "query", - "description": "the fields to include for returned resources of type devices", + "description": "the fields to include for returned resources of type subscriptionOfferCodeCustomCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "addedDate", - "deviceClass", - "model", + "active", + "createdDate", + "customCode", + "expirationDate", + "numberOfCodes", + "offerCode" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionOfferCodes]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionOfferCodes", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "active", + "customCodes", + "customerEligibilities", + "duration", "name", - "platform", - "status", - "udid" + "numberOfPeriods", + "offerEligibility", + "offerMode", + "oneTimeUseCodes", + "prices", + "subscription", + "totalNumberOfCodes" ] } }, @@ -79358,6 +82900,22 @@ "maximum": 200 }, "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "offerCode" + ] + } + }, + "style": "form", + "explode": false } ], "responses": { @@ -79392,11 +82950,11 @@ } }, "200": { - "description": "List of Devices with get", + "description": "List of SubscriptionOfferCodeCustomCodes", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DevicesWithoutIncludesResponse" + "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodesResponse" } } } @@ -79416,7 +82974,7 @@ } ] }, - "/v1/promotedPurchases/{id}/relationships/promotionImages": { + "/v1/subscriptionOfferCodes/{id}/relationships/oneTimeUseCodes": { "parameters": [ { "name": "id", @@ -79430,29 +82988,34 @@ } ] }, - "/v1/promotedPurchases/{id}/promotionImages": { + "/v1/subscriptionOfferCodes/{id}/oneTimeUseCodes": { "get": { "tags": [ - "PromotedPurchases" + "SubscriptionOfferCodes" ], - "operationId": "promotedPurchases-promotionImages-get_to_many_related", + "operationId": "subscriptionOfferCodes-oneTimeUseCodes-get_to_many_related", "parameters": [ { - "name": "fields[promotedPurchases]", + "name": "fields[subscriptionOfferCodes]", "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", + "description": "the fields to include for returned resources of type subscriptionOfferCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "enabled", - "inAppPurchaseV2", - "promotionImages", - "state", + "active", + "customCodes", + "customerEligibilities", + "duration", + "name", + "numberOfPeriods", + "offerEligibility", + "offerMode", + "oneTimeUseCodes", + "prices", "subscription", - "visibleForAllUsers" + "totalNumberOfCodes" ] } }, @@ -79460,24 +83023,20 @@ "explode": false }, { - "name": "fields[promotedPurchaseImages]", + "name": "fields[subscriptionOfferCodeOneTimeUseCodes]", "in": "query", - "description": "the fields to include for returned resources of type promotedPurchaseImages", + "description": "the fields to include for returned resources of type subscriptionOfferCodeOneTimeUseCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetToken", - "assetType", - "fileName", - "fileSize", - "imageAsset", - "promotedPurchase", - "sourceFileChecksum", - "state", - "uploadOperations", - "uploaded" + "active", + "createdDate", + "expirationDate", + "numberOfCodes", + "offerCode", + "values" ] } }, @@ -79503,7 +83062,7 @@ "items": { "type": "string", "enum": [ - "promotedPurchase" + "offerCode" ] } }, @@ -79543,11 +83102,11 @@ } }, "200": { - "description": "List of PromotedPurchaseImages", + "description": "List of SubscriptionOfferCodeOneTimeUseCodes", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PromotedPurchaseImagesResponse" + "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodesResponse" } } } @@ -79567,7 +83126,7 @@ } ] }, - "/v1/reviewSubmissions/{id}/relationships/items": { + "/v1/subscriptionOfferCodes/{id}/relationships/prices": { "parameters": [ { "name": "id", @@ -79581,94 +83140,41 @@ } ] }, - "/v1/reviewSubmissions/{id}/items": { + "/v1/subscriptionOfferCodes/{id}/prices": { "get": { "tags": [ - "ReviewSubmissions" + "SubscriptionOfferCodes" ], - "operationId": "reviewSubmissions-items-get_to_many_related", + "operationId": "subscriptionOfferCodes-prices-get_to_many_related", "parameters": [ { - "name": "fields[appStoreVersionExperiments]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appStoreVersion", - "appStoreVersionExperimentTreatments", - "controlVersions", - "endDate", - "latestControlVersion", - "name", - "platform", - "reviewRequired", - "startDate", - "started", - "state", - "trafficProportion" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[reviewSubmissionItems]", + "name": "filter[territory]", "in": "query", - "description": "the fields to include for returned resources of type reviewSubmissionItems", + "description": "filter by id(s) of related 'territory'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "appCustomProductPageVersion", - "appEvent", - "appStoreVersion", - "appStoreVersionExperiment", - "appStoreVersionExperimentV2", - "removed", - "resolved", - "reviewSubmission", - "state" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[appStoreVersions]", + "name": "fields[subscriptionPricePoints]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type subscriptionPricePoints", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "build", - "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", - "routingAppCoverage", - "versionString" + "customerPrice", + "equalizations", + "proceeds", + "proceedsYear2", + "subscription", + "territory" ] } }, @@ -79676,18 +83182,15 @@ "explode": false }, { - "name": "fields[appCustomProductPageVersions]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageVersions", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPage", - "appCustomProductPageLocalizations", - "state", - "version" + "currency" ] } }, @@ -79695,26 +83198,16 @@ "explode": false }, { - "name": "fields[appEvents]", + "name": "fields[subscriptionOfferCodePrices]", "in": "query", - "description": "the fields to include for returned resources of type appEvents", + "description": "the fields to include for returned resources of type subscriptionOfferCodePrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "archivedTerritorySchedules", - "badge", - "deepLink", - "eventState", - "localizations", - "primaryLocale", - "priority", - "purchaseRequirement", - "purpose", - "referenceName", - "territorySchedules" + "subscriptionPricePoint", + "territory" ] } }, @@ -79740,11 +83233,8 @@ "items": { "type": "string", "enum": [ - "appCustomProductPageVersion", - "appEvent", - "appStoreVersion", - "appStoreVersionExperiment", - "appStoreVersionExperimentV2" + "subscriptionPricePoint", + "territory" ] } }, @@ -79784,11 +83274,11 @@ } }, "200": { - "description": "List of ReviewSubmissionItems", + "description": "List of SubscriptionOfferCodePrices", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReviewSubmissionItemsResponse" + "$ref": "#/components/schemas/SubscriptionOfferCodePricesResponse" } } } @@ -79808,7 +83298,7 @@ } ] }, - "/v1/scmProviders/{id}/relationships/repositories": { + "/v1/subscriptionPricePoints/{id}/relationships/equalizations": { "parameters": [ { "name": "id", @@ -79822,17 +83312,17 @@ } ] }, - "/v1/scmProviders/{id}/repositories": { + "/v1/subscriptionPricePoints/{id}/equalizations": { "get": { "tags": [ - "ScmProviders" + "SubscriptionPricePoints" ], - "operationId": "scmProviders-repositories-get_to_many_related", + "operationId": "subscriptionPricePoints-equalizations-get_to_many_related", "parameters": [ { - "name": "filter[id]", + "name": "filter[subscription]", "in": "query", - "description": "filter by id(s)", + "description": "filter by id(s) of related 'subscription'", "schema": { "type": "array", "items": { @@ -79843,37 +83333,33 @@ "explode": false }, { - "name": "fields[scmGitReferences]", + "name": "filter[territory]", "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", + "description": "filter by id(s) of related 'territory'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "canonicalName", - "isDeleted", - "kind", - "name", - "repository" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[scmProviders]", + "name": "fields[subscriptionPricePoints]", "in": "query", - "description": "the fields to include for returned resources of type scmProviders", + "description": "the fields to include for returned resources of type subscriptionPricePoints", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "repositories", - "scmProviderType", - "url" + "customerPrice", + "equalizations", + "proceeds", + "proceedsYear2", + "subscription", + "territory" ] } }, @@ -79881,23 +83367,15 @@ "explode": false }, { - "name": "fields[scmRepositories]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultBranch", - "gitReferences", - "httpCloneUrl", - "lastAccessedDate", - "ownerName", - "pullRequests", - "repositoryName", - "scmProvider", - "sshCloneUrl" + "currency" ] } }, @@ -79910,7 +83388,7 @@ "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 200 + "maximum": 8000 }, "style": "form" }, @@ -79923,8 +83401,7 @@ "items": { "type": "string", "enum": [ - "defaultBranch", - "scmProvider" + "territory" ] } }, @@ -79964,11 +83441,16 @@ } }, "200": { - "description": "List of ScmRepositories", + "description": "List of SubscriptionPricePoints", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ScmRepositoriesResponse" + "$ref": "#/components/schemas/SubscriptionPricePointsResponse" + } + }, + "text/csv": { + "schema": { + "$ref": "#/components/schemas/csv" } } } @@ -79988,7 +83470,7 @@ } ] }, - "/v1/scmRepositories/{id}/relationships/gitReferences": { + "/v1/subscriptionPromotionalOffers/{id}/relationships/prices": { "parameters": [ { "name": "id", @@ -80002,27 +83484,41 @@ } ] }, - "/v1/scmRepositories/{id}/gitReferences": { + "/v1/subscriptionPromotionalOffers/{id}/prices": { "get": { "tags": [ - "ScmRepositories" + "SubscriptionPromotionalOffers" ], - "operationId": "scmRepositories-gitReferences-get_to_many_related", + "operationId": "subscriptionPromotionalOffers-prices-get_to_many_related", "parameters": [ { - "name": "fields[scmGitReferences]", + "name": "filter[territory]", "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", + "description": "filter by id(s) of related 'territory'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionPricePoints]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionPricePoints", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "canonicalName", - "isDeleted", - "kind", - "name", - "repository" + "customerPrice", + "equalizations", + "proceeds", + "proceedsYear2", + "subscription", + "territory" ] } }, @@ -80030,23 +83526,32 @@ "explode": false }, { - "name": "fields[scmRepositories]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultBranch", - "gitReferences", - "httpCloneUrl", - "lastAccessedDate", - "ownerName", - "pullRequests", - "repositoryName", - "scmProvider", - "sshCloneUrl" + "currency" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionPromotionalOfferPrices]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionPromotionalOfferPrices", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "subscriptionPricePoint", + "territory" ] } }, @@ -80072,7 +83577,8 @@ "items": { "type": "string", "enum": [ - "repository" + "subscriptionPricePoint", + "territory" ] } }, @@ -80112,11 +83618,11 @@ } }, "200": { - "description": "List of ScmGitReferences", + "description": "List of SubscriptionPromotionalOfferPrices", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ScmGitReferencesResponse" + "$ref": "#/components/schemas/SubscriptionPromotionalOfferPricesResponse" } } } @@ -80136,7 +83642,7 @@ } ] }, - "/v1/scmRepositories/{id}/relationships/pullRequests": { + "/v1/subscriptions/{id}/relationships/appStoreReviewScreenshot": { "parameters": [ { "name": "id", @@ -80150,34 +83656,32 @@ } ] }, - "/v1/scmRepositories/{id}/pullRequests": { + "/v1/subscriptions/{id}/appStoreReviewScreenshot": { "get": { "tags": [ - "ScmRepositories" + "Subscriptions" ], - "operationId": "scmRepositories-pullRequests-get_to_many_related", + "operationId": "subscriptions-appStoreReviewScreenshot-get_to_one_related", "parameters": [ { - "name": "fields[scmPullRequests]", + "name": "fields[subscriptionAppStoreReviewScreenshots]", "in": "query", - "description": "the fields to include for returned resources of type scmPullRequests", + "description": "the fields to include for returned resources of type subscriptionAppStoreReviewScreenshots", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "destinationBranchName", - "destinationRepositoryName", - "destinationRepositoryOwner", - "isClosed", - "isCrossRepository", - "number", - "repository", - "sourceBranchName", - "sourceRepositoryName", - "sourceRepositoryOwner", - "title", - "webUrl" + "assetDeliveryState", + "assetToken", + "assetType", + "fileName", + "fileSize", + "imageAsset", + "sourceFileChecksum", + "subscription", + "uploadOperations", + "uploaded" ] } }, @@ -80185,39 +83689,38 @@ "explode": false }, { - "name": "fields[scmRepositories]", + "name": "fields[subscriptions]", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "the fields to include for returned resources of type subscriptions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultBranch", - "gitReferences", - "httpCloneUrl", - "lastAccessedDate", - "ownerName", - "pullRequests", - "repositoryName", - "scmProvider", - "sshCloneUrl" + "appStoreReviewScreenshot", + "availableInAllTerritories", + "familySharable", + "group", + "groupLevel", + "introductoryOffers", + "name", + "offerCodes", + "pricePoints", + "prices", + "productId", + "promotedPurchase", + "promotionalOffers", + "reviewNote", + "state", + "subscriptionAvailability", + "subscriptionLocalizations", + "subscriptionPeriod" ] } }, "style": "form", "explode": false }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -80227,7 +83730,7 @@ "items": { "type": "string", "enum": [ - "repository" + "subscription" ] } }, @@ -80267,11 +83770,11 @@ } }, "200": { - "description": "List of ScmPullRequests", + "description": "Single SubscriptionAppStoreReviewScreenshot", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ScmPullRequestsResponse" + "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotResponse" } } } @@ -80291,43 +83794,13 @@ } ] }, - "/v1/subscriptionAvailabilities/{id}/relationships/availableTerritories": { - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/subscriptionAvailabilities/{id}/availableTerritories": { + "/v1/subscriptions/{id}/relationships/introductoryOffers": { "get": { "tags": [ - "SubscriptionAvailabilities" + "Subscriptions" ], - "operationId": "subscriptionAvailabilities-availableTerritories-get_to_many_related", + "operationId": "subscriptions-introductoryOffers-get_to_many_relationship", "parameters": [ - { - "name": "fields[territories]", - "in": "query", - "description": "the fields to include for returned resources of type territories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "limit", "in": "query", @@ -80371,31 +83844,69 @@ } }, "200": { - "description": "List of Territories", + "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TerritoriesResponse" + "$ref": "#/components/schemas/SubscriptionIntroductoryOffersLinkagesResponse" } } } } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + "delete": { + "tags": [ + "Subscriptions" + ], + "operationId": "subscriptions-introductoryOffers-delete_to_many_relationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionIntroductoryOffersLinkagesRequest" + } + } }, - "style": "simple", "required": true + }, + "responses": { + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + } } - ] - }, - "/v1/subscriptionGroups/{id}/relationships/subscriptionGroupLocalizations": { + }, "parameters": [ { "name": "id", @@ -80409,26 +83920,41 @@ } ] }, - "/v1/subscriptionGroups/{id}/subscriptionGroupLocalizations": { + "/v1/subscriptions/{id}/introductoryOffers": { "get": { "tags": [ - "SubscriptionGroups" + "Subscriptions" ], - "operationId": "subscriptionGroups-subscriptionGroupLocalizations-get_to_many_related", + "operationId": "subscriptions-introductoryOffers-get_to_many_related", "parameters": [ { - "name": "fields[subscriptionGroups]", + "name": "filter[territory]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroups", + "description": "filter by id(s) of related 'territory'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionPricePoints]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionPricePoints", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "referenceName", - "subscriptionGroupLocalizations", - "subscriptions" + "customerPrice", + "equalizations", + "proceeds", + "proceedsYear2", + "subscription", + "territory" ] } }, @@ -80436,19 +83962,71 @@ "explode": false }, { - "name": "fields[subscriptionGroupLocalizations]", + "name": "fields[subscriptions]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", + "description": "the fields to include for returned resources of type subscriptions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customAppName", - "locale", + "appStoreReviewScreenshot", + "availableInAllTerritories", + "familySharable", + "group", + "groupLevel", + "introductoryOffers", "name", + "offerCodes", + "pricePoints", + "prices", + "productId", + "promotedPurchase", + "promotionalOffers", + "reviewNote", "state", - "subscriptionGroup" + "subscriptionAvailability", + "subscriptionLocalizations", + "subscriptionPeriod" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionIntroductoryOffers]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionIntroductoryOffers", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "duration", + "endDate", + "numberOfPeriods", + "offerMode", + "startDate", + "subscription", + "subscriptionPricePoint", + "territory" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[territories]", + "in": "query", + "description": "the fields to include for returned resources of type territories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "currency" ] } }, @@ -80474,7 +84052,9 @@ "items": { "type": "string", "enum": [ - "subscriptionGroup" + "subscription", + "subscriptionPricePoint", + "territory" ] } }, @@ -80514,157 +84094,79 @@ } }, "200": { - "description": "List of SubscriptionGroupLocalizations", + "description": "List of SubscriptionIntroductoryOffers", "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionGroupLocalizationsResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/subscriptionGroups/{id}/relationships/subscriptions": { - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/subscriptionGroups/{id}/subscriptions": { - "get": { - "tags": [ - "SubscriptionGroups" - ], - "operationId": "subscriptionGroups-subscriptions-get_to_many_related", - "parameters": [ - { - "name": "filter[name]", - "in": "query", - "description": "filter by attribute 'name'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[productId]", - "in": "query", - "description": "filter by attribute 'productId'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[state]", - "in": "query", - "description": "filter by attribute 'state'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "MISSING_METADATA", - "READY_TO_SUBMIT", - "WAITING_FOR_REVIEW", - "IN_REVIEW", - "DEVELOPER_ACTION_NEEDED", - "PENDING_BINARY_APPROVAL", - "APPROVED", - "DEVELOPER_REMOVED_FROM_SALE", - "REMOVED_FROM_SALE", - "REJECTED" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "sort", - "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "-name" - ] + "schema": { + "$ref": "#/components/schemas/SubscriptionIntroductoryOffersResponse" + } } - }, - "style": "form", - "explode": false + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/subscriptions/{id}/relationships/offerCodes": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", + "required": true + } + ] + }, + "/v1/subscriptions/{id}/offerCodes": { + "get": { + "tags": [ + "Subscriptions" + ], + "operationId": "subscriptions-offerCodes-get_to_many_related", + "parameters": [ { - "name": "fields[promotedPurchases]", + "name": "filter[territory]", "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", + "description": "filter by territory", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "app", - "enabled", - "inAppPurchaseV2", - "promotionImages", - "state", - "subscription", - "visibleForAllUsers" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[subscriptionPromotionalOffers]", + "name": "fields[subscriptionOfferCodeCustomCodes]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPromotionalOffers", + "description": "the fields to include for returned resources of type subscriptionOfferCodeCustomCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "duration", - "name", - "numberOfPeriods", - "offerCode", - "offerMode", - "prices", - "subscription" + "active", + "createdDate", + "customCode", + "expirationDate", + "numberOfCodes", + "offerCode" ] } }, @@ -80699,24 +84201,20 @@ "explode": false }, { - "name": "fields[subscriptionAppStoreReviewScreenshots]", + "name": "fields[subscriptionOfferCodeOneTimeUseCodes]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionAppStoreReviewScreenshots", + "description": "the fields to include for returned resources of type subscriptionOfferCodeOneTimeUseCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", - "fileSize", - "imageAsset", - "sourceFileChecksum", - "subscription", - "uploadOperations", - "uploaded" + "active", + "createdDate", + "expirationDate", + "numberOfCodes", + "offerCode", + "values" ] } }, @@ -80757,17 +84255,16 @@ "explode": false }, { - "name": "fields[subscriptionAvailabilities]", + "name": "fields[subscriptionOfferCodePrices]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionAvailabilities", + "description": "the fields to include for returned resources of type subscriptionOfferCodePrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "availableInNewTerritories", - "availableTerritories", - "subscription" + "subscriptionPricePoint", + "territory" ] } }, @@ -80775,61 +84272,169 @@ "explode": false }, { - "name": "fields[subscriptionGroups]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroups", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "limit[oneTimeUseCodes]", + "in": "query", + "description": "maximum number of related oneTimeUseCodes returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[customCodes]", + "in": "query", + "description": "maximum number of related customCodes returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[prices]", + "in": "query", + "description": "maximum number of related prices returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "referenceName", - "subscriptionGroupLocalizations", - "subscriptions" + "customCodes", + "oneTimeUseCodes", + "prices", + "subscription" ] } }, "style": "form", "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of SubscriptionOfferCodes", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionOfferCodesResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", + "required": true + } + ] + }, + "/v1/subscriptions/{id}/relationships/pricePoints": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/subscriptions/{id}/pricePoints": { + "get": { + "tags": [ + "Subscriptions" + ], + "operationId": "subscriptions-pricePoints-get_to_many_related", + "parameters": [ { - "name": "fields[subscriptionIntroductoryOffers]", + "name": "filter[territory]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionIntroductoryOffers", + "description": "filter by id(s) of related 'territory'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "duration", - "endDate", - "numberOfPeriods", - "offerMode", - "startDate", - "subscription", - "subscriptionPricePoint", - "territory" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[subscriptionPrices]", + "name": "fields[subscriptionPricePoints]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPrices", + "description": "the fields to include for returned resources of type subscriptionPricePoints", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "preserveCurrentPrice", - "preserved", - "startDate", + "customerPrice", + "equalizations", + "proceeds", + "proceedsYear2", "subscription", - "subscriptionPricePoint", "territory" ] } @@ -80838,19 +84443,15 @@ "explode": false }, { - "name": "fields[subscriptionLocalizations]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionLocalizations", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "description", - "locale", - "name", - "state", - "subscription" + "currency" ] } }, @@ -80863,57 +84464,7 @@ "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "limit[subscriptionLocalizations]", - "in": "query", - "description": "maximum number of related subscriptionLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[introductoryOffers]", - "in": "query", - "description": "maximum number of related introductoryOffers returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[promotionalOffers]", - "in": "query", - "description": "maximum number of related promotionalOffers returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[offerCodes]", - "in": "query", - "description": "maximum number of related offerCodes returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[prices]", - "in": "query", - "description": "maximum number of related prices returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 + "maximum": 8000 }, "style": "form" }, @@ -80926,15 +84477,7 @@ "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", - "group", - "introductoryOffers", - "offerCodes", - "prices", - "promotedPurchase", - "promotionalOffers", - "subscriptionAvailability", - "subscriptionLocalizations" + "territory" ] } }, @@ -80974,11 +84517,16 @@ } }, "200": { - "description": "List of Subscriptions", + "description": "List of SubscriptionPricePoints", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionsResponse" + "$ref": "#/components/schemas/SubscriptionPricePointsResponse" + } + }, + "text/csv": { + "schema": { + "$ref": "#/components/schemas/csv" } } } @@ -80998,13 +84546,24 @@ } ] }, - "/v1/subscriptionOfferCodeOneTimeUseCodes/{id}/values": { + "/v1/subscriptions/{id}/relationships/prices": { "get": { "tags": [ - "SubscriptionOfferCodeOneTimeUseCodes" + "Subscriptions" + ], + "operationId": "subscriptions-prices-get_to_many_relationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "subscriptionOfferCodeOneTimeUseCodes-values-get_to_one_related", - "parameters": [], "responses": { "400": { "description": "Parameter error(s)", @@ -81037,31 +84596,69 @@ } }, "200": { - "description": "Single SubscriptionOfferCodeOneTimeUseCodeValue", + "description": "List of related linkages", "content": { - "text/csv": { + "application/json": { "schema": { - "$ref": "#/components/schemas/csv" + "$ref": "#/components/schemas/SubscriptionPricesLinkagesResponse" } } } } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + "delete": { + "tags": [ + "Subscriptions" + ], + "operationId": "subscriptions-prices-delete_to_many_relationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionPricesLinkagesRequest" + } + } }, - "style": "simple", "required": true + }, + "responses": { + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + } } - ] - }, - "/v1/subscriptionOfferCodes/{id}/relationships/customCodes": { + }, "parameters": [ { "name": "id", @@ -81075,28 +84672,54 @@ } ] }, - "/v1/subscriptionOfferCodes/{id}/customCodes": { + "/v1/subscriptions/{id}/prices": { "get": { "tags": [ - "SubscriptionOfferCodes" + "Subscriptions" ], - "operationId": "subscriptionOfferCodes-customCodes-get_to_many_related", + "operationId": "subscriptions-prices-get_to_many_related", "parameters": [ { - "name": "fields[subscriptionOfferCodeCustomCodes]", + "name": "filter[subscriptionPricePoint]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodeCustomCodes", + "description": "filter by id(s) of related 'subscriptionPricePoint'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[territory]", + "in": "query", + "description": "filter by id(s) of related 'territory'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionPricePoints]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionPricePoints", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "active", - "createdDate", - "customCode", - "expirationDate", - "numberOfCodes", - "offerCode" + "customerPrice", + "equalizations", + "proceeds", + "proceedsYear2", + "subscription", + "territory" ] } }, @@ -81104,26 +84727,36 @@ "explode": false }, { - "name": "fields[subscriptionOfferCodes]", + "name": "fields[subscriptionPrices]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodes", + "description": "the fields to include for returned resources of type subscriptionPrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "active", - "customCodes", - "customerEligibilities", - "duration", - "name", - "numberOfPeriods", - "offerEligibility", - "offerMode", - "oneTimeUseCodes", - "prices", + "preserveCurrentPrice", + "preserved", + "startDate", "subscription", - "totalNumberOfCodes" + "subscriptionPricePoint", + "territory" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[territories]", + "in": "query", + "description": "the fields to include for returned resources of type territories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "currency" ] } }, @@ -81149,7 +84782,8 @@ "items": { "type": "string", "enum": [ - "offerCode" + "subscriptionPricePoint", + "territory" ] } }, @@ -81189,11 +84823,11 @@ } }, "200": { - "description": "List of SubscriptionOfferCodeCustomCodes", + "description": "List of SubscriptionPrices", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeCustomCodesResponse" + "$ref": "#/components/schemas/SubscriptionPricesResponse" } } } @@ -81213,7 +84847,7 @@ } ] }, - "/v1/subscriptionOfferCodes/{id}/relationships/oneTimeUseCodes": { + "/v1/subscriptions/{id}/relationships/promotedPurchase": { "parameters": [ { "name": "id", @@ -81227,34 +84861,62 @@ } ] }, - "/v1/subscriptionOfferCodes/{id}/oneTimeUseCodes": { + "/v1/subscriptions/{id}/promotedPurchase": { "get": { "tags": [ - "SubscriptionOfferCodes" + "Subscriptions" ], - "operationId": "subscriptionOfferCodes-oneTimeUseCodes-get_to_many_related", + "operationId": "subscriptions-promotedPurchase-get_to_one_related", "parameters": [ { - "name": "fields[subscriptionOfferCodes]", + "name": "fields[promotedPurchases]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodes", + "description": "the fields to include for returned resources of type promotedPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "active", - "customCodes", - "customerEligibilities", - "duration", + "app", + "enabled", + "inAppPurchaseV2", + "promotionImages", + "state", + "subscription", + "visibleForAllUsers" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptions]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreReviewScreenshot", + "availableInAllTerritories", + "familySharable", + "group", + "groupLevel", + "introductoryOffers", "name", - "numberOfPeriods", - "offerEligibility", - "offerMode", - "oneTimeUseCodes", + "offerCodes", + "pricePoints", "prices", - "subscription", - "totalNumberOfCodes" + "productId", + "promotedPurchase", + "promotionalOffers", + "reviewNote", + "state", + "subscriptionAvailability", + "subscriptionLocalizations", + "subscriptionPeriod" ] } }, @@ -81262,20 +84924,30 @@ "explode": false }, { - "name": "fields[subscriptionOfferCodeOneTimeUseCodes]", + "name": "fields[inAppPurchases]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodeOneTimeUseCodes", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "active", - "createdDate", - "expirationDate", - "numberOfCodes", - "offerCode", - "values" + "app", + "appStoreReviewScreenshot", + "availableInAllTerritories", + "content", + "contentHosting", + "familySharable", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "inAppPurchaseLocalizations", + "inAppPurchaseType", + "name", + "pricePoints", + "productId", + "promotedPurchase", + "reviewNote", + "state" ] } }, @@ -81283,12 +84955,37 @@ "explode": false }, { - "name": "limit", + "name": "fields[promotedPurchaseImages]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type promotedPurchaseImages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "assetToken", + "assetType", + "fileName", + "fileSize", + "imageAsset", + "promotedPurchase", + "sourceFileChecksum", + "state", + "uploadOperations", + "uploaded" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[promotionImages]", + "in": "query", + "description": "maximum number of related promotionImages returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 + "maximum": 50 }, "style": "form" }, @@ -81301,7 +84998,9 @@ "items": { "type": "string", "enum": [ - "offerCode" + "inAppPurchaseV2", + "promotionImages", + "subscription" ] } }, @@ -81341,11 +85040,11 @@ } }, "200": { - "description": "List of SubscriptionOfferCodeOneTimeUseCodes", + "description": "Single PromotedPurchase", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCodesResponse" + "$ref": "#/components/schemas/PromotedPurchaseResponse" } } } @@ -81365,7 +85064,7 @@ } ] }, - "/v1/subscriptionOfferCodes/{id}/relationships/prices": { + "/v1/subscriptions/{id}/relationships/promotionalOffers": { "parameters": [ { "name": "id", @@ -81379,17 +85078,17 @@ } ] }, - "/v1/subscriptionOfferCodes/{id}/prices": { + "/v1/subscriptions/{id}/promotionalOffers": { "get": { "tags": [ - "SubscriptionOfferCodes" + "Subscriptions" ], - "operationId": "subscriptionOfferCodes-prices-get_to_many_related", + "operationId": "subscriptions-promotionalOffers-get_to_many_related", "parameters": [ { "name": "filter[territory]", "in": "query", - "description": "filter by id(s) of related 'territory'", + "description": "filter by territory", "schema": { "type": "array", "items": { @@ -81400,20 +85099,21 @@ "explode": false }, { - "name": "fields[subscriptionPricePoints]", + "name": "fields[subscriptionPromotionalOffers]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPricePoints", + "description": "the fields to include for returned resources of type subscriptionPromotionalOffers", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customerPrice", - "equalizations", - "proceeds", - "proceedsYear2", - "subscription", - "territory" + "duration", + "name", + "numberOfPeriods", + "offerCode", + "offerMode", + "prices", + "subscription" ] } }, @@ -81421,15 +85121,32 @@ "explode": false }, { - "name": "fields[territories]", + "name": "fields[subscriptions]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type subscriptions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "appStoreReviewScreenshot", + "availableInAllTerritories", + "familySharable", + "group", + "groupLevel", + "introductoryOffers", + "name", + "offerCodes", + "pricePoints", + "prices", + "productId", + "promotedPurchase", + "promotionalOffers", + "reviewNote", + "state", + "subscriptionAvailability", + "subscriptionLocalizations", + "subscriptionPeriod" ] } }, @@ -81437,9 +85154,9 @@ "explode": false }, { - "name": "fields[subscriptionOfferCodePrices]", + "name": "fields[subscriptionPromotionalOfferPrices]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodePrices", + "description": "the fields to include for returned resources of type subscriptionPromotionalOfferPrices", "schema": { "type": "array", "items": { @@ -81463,6 +85180,16 @@ }, "style": "form" }, + { + "name": "limit[prices]", + "in": "query", + "description": "maximum number of related prices returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -81472,8 +85199,8 @@ "items": { "type": "string", "enum": [ - "subscriptionPricePoint", - "territory" + "prices", + "subscription" ] } }, @@ -81513,11 +85240,11 @@ } }, "200": { - "description": "List of SubscriptionOfferCodePrices", + "description": "List of SubscriptionPromotionalOffers", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodePricesResponse" + "$ref": "#/components/schemas/SubscriptionPromotionalOffersResponse" } } } @@ -81537,7 +85264,7 @@ } ] }, - "/v1/subscriptionPricePoints/{id}/relationships/equalizations": { + "/v1/subscriptions/{id}/relationships/subscriptionAvailability": { "parameters": [ { "name": "id", @@ -81551,54 +85278,58 @@ } ] }, - "/v1/subscriptionPricePoints/{id}/equalizations": { + "/v1/subscriptions/{id}/subscriptionAvailability": { "get": { "tags": [ - "SubscriptionPricePoints" + "Subscriptions" ], - "operationId": "subscriptionPricePoints-equalizations-get_to_many_related", + "operationId": "subscriptions-subscriptionAvailability-get_to_one_related", "parameters": [ { - "name": "filter[subscription]", - "in": "query", - "description": "filter by id(s) of related 'subscription'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[territory]", + "name": "fields[subscriptionAvailabilities]", "in": "query", - "description": "filter by id(s) of related 'territory'", + "description": "the fields to include for returned resources of type subscriptionAvailabilities", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "availableInNewTerritories", + "availableTerritories", + "subscription" + ] } }, "style": "form", "explode": false }, { - "name": "fields[subscriptionPricePoints]", + "name": "fields[subscriptions]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPricePoints", + "description": "the fields to include for returned resources of type subscriptions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customerPrice", - "equalizations", - "proceeds", - "proceedsYear2", - "subscription", - "territory" + "appStoreReviewScreenshot", + "availableInAllTerritories", + "familySharable", + "group", + "groupLevel", + "introductoryOffers", + "name", + "offerCodes", + "pricePoints", + "prices", + "productId", + "promotedPurchase", + "promotionalOffers", + "reviewNote", + "state", + "subscriptionAvailability", + "subscriptionLocalizations", + "subscriptionPeriod" ] } }, @@ -81622,12 +85353,12 @@ "explode": false }, { - "name": "limit", + "name": "limit[availableTerritories]", "in": "query", - "description": "maximum resources per page", + "description": "maximum number of related availableTerritories returned (when they are included)", "schema": { "type": "integer", - "maximum": 8000 + "maximum": 50 }, "style": "form" }, @@ -81640,7 +85371,8 @@ "items": { "type": "string", "enum": [ - "territory" + "availableTerritories", + "subscription" ] } }, @@ -81680,16 +85412,11 @@ } }, "200": { - "description": "List of SubscriptionPricePoints", + "description": "Single SubscriptionAvailability", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPricePointsResponse" - } - }, - "text/csv": { - "schema": { - "$ref": "#/components/schemas/csv" + "$ref": "#/components/schemas/SubscriptionAvailabilityResponse" } } } @@ -81709,7 +85436,7 @@ } ] }, - "/v1/subscriptionPromotionalOffers/{id}/relationships/prices": { + "/v1/subscriptions/{id}/relationships/subscriptionLocalizations": { "parameters": [ { "name": "id", @@ -81723,57 +85450,40 @@ } ] }, - "/v1/subscriptionPromotionalOffers/{id}/prices": { + "/v1/subscriptions/{id}/subscriptionLocalizations": { "get": { "tags": [ - "SubscriptionPromotionalOffers" + "Subscriptions" ], - "operationId": "subscriptionPromotionalOffers-prices-get_to_many_related", + "operationId": "subscriptions-subscriptionLocalizations-get_to_many_related", "parameters": [ { - "name": "filter[territory]", - "in": "query", - "description": "filter by id(s) of related 'territory'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionPricePoints]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionPricePoints", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "customerPrice", - "equalizations", - "proceeds", - "proceedsYear2", - "subscription", - "territory" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[territories]", + "name": "fields[subscriptions]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type subscriptions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "appStoreReviewScreenshot", + "availableInAllTerritories", + "familySharable", + "group", + "groupLevel", + "introductoryOffers", + "name", + "offerCodes", + "pricePoints", + "prices", + "productId", + "promotedPurchase", + "promotionalOffers", + "reviewNote", + "state", + "subscriptionAvailability", + "subscriptionLocalizations", + "subscriptionPeriod" ] } }, @@ -81781,16 +85491,19 @@ "explode": false }, { - "name": "fields[subscriptionPromotionalOfferPrices]", + "name": "fields[subscriptionLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPromotionalOfferPrices", + "description": "the fields to include for returned resources of type subscriptionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "subscriptionPricePoint", - "territory" + "description", + "locale", + "name", + "state", + "subscription" ] } }, @@ -81816,8 +85529,7 @@ "items": { "type": "string", "enum": [ - "subscriptionPricePoint", - "territory" + "subscription" ] } }, @@ -81857,11 +85569,11 @@ } }, "200": { - "description": "List of SubscriptionPromotionalOfferPrices", + "description": "List of SubscriptionLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPromotionalOfferPricesResponse" + "$ref": "#/components/schemas/SubscriptionLocalizationsResponse" } } } @@ -81881,7 +85593,7 @@ } ] }, - "/v1/subscriptions/{id}/relationships/appStoreReviewScreenshot": { + "/v1/userInvitations/{id}/relationships/visibleApps": { "parameters": [ { "name": "id", @@ -81895,65 +85607,66 @@ } ] }, - "/v1/subscriptions/{id}/appStoreReviewScreenshot": { + "/v1/userInvitations/{id}/visibleApps": { "get": { "tags": [ - "Subscriptions" + "UserInvitations" ], - "operationId": "subscriptions-appStoreReviewScreenshot-get_to_one_related", + "operationId": "userInvitations-visibleApps-get_to_many_related", "parameters": [ { - "name": "fields[subscriptionAppStoreReviewScreenshots]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionAppStoreReviewScreenshots", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", - "fileSize", - "imageAsset", - "sourceFileChecksum", - "subscription", - "uploadOperations", - "uploaded" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptions]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", - "availableInAllTerritories", - "familySharable", - "group", - "groupLevel", - "introductoryOffers", + "appAvailability", + "appClips", + "appCustomProductPages", + "appEncryptionDeclarations", + "appEvents", + "appInfos", + "appPricePoints", + "appPriceSchedule", + "appStoreVersionExperimentsV2", + "appStoreVersions", + "availableInNewTerritories", + "availableTerritories", + "betaAppLocalizations", + "betaAppReviewDetail", + "betaGroups", + "betaLicenseAgreement", + "betaTesters", + "builds", + "bundleId", + "ciProduct", + "contentRightsDeclaration", + "customerReviews", + "endUserLicenseAgreement", + "gameCenterDetail", + "gameCenterEnabledVersions", + "inAppPurchases", + "inAppPurchasesV2", + "isOrEverWasMadeForKids", "name", - "offerCodes", + "perfPowerMetrics", + "preOrder", + "preReleaseVersions", "pricePoints", "prices", - "productId", - "promotedPurchase", - "promotionalOffers", - "reviewNote", - "state", - "subscriptionAvailability", - "subscriptionLocalizations", - "subscriptionPeriod" + "primaryLocale", + "promotedPurchases", + "reviewSubmissions", + "sku", + "subscriptionGracePeriod", + "subscriptionGroups", + "subscriptionStatusUrl", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlVersionForSandbox" ] } }, @@ -81961,20 +85674,14 @@ "explode": false }, { - "name": "include", + "name": "limit", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "subscription" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false + "style": "form" } ], "responses": { @@ -82009,11 +85716,11 @@ } }, "200": { - "description": "Single SubscriptionAppStoreReviewScreenshot", + "description": "List of Apps with get", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotResponse" + "$ref": "#/components/schemas/AppsWithoutIncludesResponse" } } } @@ -82033,12 +85740,12 @@ } ] }, - "/v1/subscriptions/{id}/relationships/introductoryOffers": { + "/v1/users/{id}/relationships/visibleApps": { "get": { "tags": [ - "Subscriptions" + "Users" ], - "operationId": "subscriptions-introductoryOffers-get_to_many_relationship", + "operationId": "users-visibleApps-get_to_many_relationship", "parameters": [ { "name": "limit", @@ -82087,24 +85794,24 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionIntroductoryOffersLinkagesResponse" + "$ref": "#/components/schemas/UserVisibleAppsLinkagesResponse" } } } } } }, - "delete": { + "post": { "tags": [ - "Subscriptions" + "Users" ], - "operationId": "subscriptions-introductoryOffers-delete_to_many_relationship", + "operationId": "users-visibleApps-create_to_many_relationship", "requestBody": { "description": "List of related linkages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionIntroductoryOffersLinkagesRequest" + "$ref": "#/components/schemas/UserVisibleAppsLinkagesRequest" } } }, @@ -82146,164 +85853,45 @@ } } }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/subscriptions/{id}/introductoryOffers": { - "get": { + "patch": { "tags": [ - "Subscriptions" + "Users" ], - "operationId": "subscriptions-introductoryOffers-get_to_many_related", - "parameters": [ - { - "name": "filter[territory]", - "in": "query", - "description": "filter by id(s) of related 'territory'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionPricePoints]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionPricePoints", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "customerPrice", - "equalizations", - "proceeds", - "proceedsYear2", - "subscription", - "territory" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptions]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appStoreReviewScreenshot", - "availableInAllTerritories", - "familySharable", - "group", - "groupLevel", - "introductoryOffers", - "name", - "offerCodes", - "pricePoints", - "prices", - "productId", - "promotedPurchase", - "promotionalOffers", - "reviewNote", - "state", - "subscriptionAvailability", - "subscriptionLocalizations", - "subscriptionPeriod" - ] + "operationId": "users-visibleApps-replace_to_many_relationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserVisibleAppsLinkagesRequest" } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[subscriptionIntroductoryOffers]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionIntroductoryOffers", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "duration", - "endDate", - "numberOfPeriods", - "offerMode", - "startDate", - "subscription", - "subscriptionPricePoint", - "territory" - ] + "required": true + }, + "responses": { + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false + } }, - { - "name": "fields[territories]", - "in": "query", - "description": "the fields to include for returned resources of type territories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" - ] + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false - }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" + } }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "subscription", - "subscriptionPricePoint", - "territory" - ] - } - }, - "style": "form", - "explode": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", + "409": { + "description": "Request entity error(s)", "content": { "application/json": { "schema": { @@ -82312,6 +85900,28 @@ } } }, + "204": { + "description": "Success (no content)" + } + } + }, + "delete": { + "tags": [ + "Users" + ], + "operationId": "users-visibleApps-delete_to_many_relationship", + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserVisibleAppsLinkagesRequest" + } + } + }, + "required": true + }, + "responses": { "403": { "description": "Forbidden error", "content": { @@ -82332,15 +85942,18 @@ } } }, - "200": { - "description": "List of SubscriptionIntroductoryOffers", + "409": { + "description": "Request entity error(s)", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionIntroductoryOffersResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } + }, + "204": { + "description": "Success (no content)" } } }, @@ -82357,153 +85970,66 @@ } ] }, - "/v1/subscriptions/{id}/relationships/offerCodes": { - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/subscriptions/{id}/offerCodes": { + "/v1/users/{id}/visibleApps": { "get": { "tags": [ - "Subscriptions" + "Users" ], - "operationId": "subscriptions-offerCodes-get_to_many_related", + "operationId": "users-visibleApps-get_to_many_related", "parameters": [ { - "name": "filter[territory]", - "in": "query", - "description": "filter by territory", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionOfferCodeCustomCodes]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodeCustomCodes", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "active", - "createdDate", - "customCode", - "expirationDate", - "numberOfCodes", - "offerCode" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionOfferCodes]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodes", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "active", - "customCodes", - "customerEligibilities", - "duration", - "name", - "numberOfPeriods", - "offerEligibility", - "offerMode", - "oneTimeUseCodes", - "prices", - "subscription", - "totalNumberOfCodes" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionOfferCodeOneTimeUseCodes]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodeOneTimeUseCodes", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "active", - "createdDate", - "expirationDate", - "numberOfCodes", - "offerCode", - "values" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptions]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appStoreReviewScreenshot", - "availableInAllTerritories", - "familySharable", - "group", - "groupLevel", - "introductoryOffers", - "name", - "offerCodes", - "pricePoints", - "prices", - "productId", - "promotedPurchase", - "promotionalOffers", - "reviewNote", - "state", - "subscriptionAvailability", - "subscriptionLocalizations", - "subscriptionPeriod" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionOfferCodePrices]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodePrices", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "subscriptionPricePoint", - "territory" + "appAvailability", + "appClips", + "appCustomProductPages", + "appEncryptionDeclarations", + "appEvents", + "appInfos", + "appPricePoints", + "appPriceSchedule", + "appStoreVersionExperimentsV2", + "appStoreVersions", + "availableInNewTerritories", + "availableTerritories", + "betaAppLocalizations", + "betaAppReviewDetail", + "betaGroups", + "betaLicenseAgreement", + "betaTesters", + "builds", + "bundleId", + "ciProduct", + "contentRightsDeclaration", + "customerReviews", + "endUserLicenseAgreement", + "gameCenterDetail", + "gameCenterEnabledVersions", + "inAppPurchases", + "inAppPurchasesV2", + "isOrEverWasMadeForKids", + "name", + "perfPowerMetrics", + "preOrder", + "preReleaseVersions", + "pricePoints", + "prices", + "primaryLocale", + "promotedPurchases", + "reviewSubmissions", + "sku", + "subscriptionGracePeriod", + "subscriptionGroups", + "subscriptionStatusUrl", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlVersionForSandbox" ] } }, @@ -82519,55 +86045,134 @@ "maximum": 200 }, "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of Apps with get", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppsWithoutIncludesResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", + "required": true + } + ] + }, + "/v1/apps/{id}/metrics/betaTesterUsages": { + "get": { + "tags": [ + "Apps", + "Metrics" + ], + "operationId": "apps-betaTesterUsages-get_metrics", + "parameters": [ { - "name": "limit[oneTimeUseCodes]", + "name": "limit", "in": "query", - "description": "maximum number of related oneTimeUseCodes returned (when they are included)", + "description": "maximum number of groups to return per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" }, { - "name": "limit[customCodes]", + "name": "groupBy", "in": "query", - "description": "maximum number of related customCodes returned (when they are included)", + "description": "the dimension by which to group the results", "schema": { - "type": "integer", - "maximum": 50 + "type": "array", + "items": { + "type": "string", + "enum": [ + "betaTesters" + ] + } }, - "style": "form" + "style": "form", + "explode": false }, { - "name": "limit[prices]", + "name": "filter[betaTesters]", "in": "query", - "description": "maximum number of related prices returned (when they are included)", + "description": "filter by 'betaTesters' relationship dimension", "schema": { - "type": "integer", - "maximum": 50 + "type": "string" }, - "style": "form" + "style": "form", + "explode": false }, { - "name": "include", + "name": "period", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the duration of the reporting period", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "customCodes", - "oneTimeUseCodes", - "prices", - "subscription" - ] - } + "type": "string" }, "style": "form", - "explode": false + "explode": false, + "examples": { + "PTnM": { + "value": "PT10M" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + }, + "PnD": { + "value": "P7D" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PTnH": { + "value": "PT10H" + } + } } ], "responses": { @@ -82602,11 +86207,11 @@ } }, "200": { - "description": "List of SubscriptionOfferCodes", + "description": "Metrics data response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionOfferCodesResponse" + "$ref": "#/components/schemas/AppsBetaTesterUsagesV1MetricResponse" } } } @@ -82626,55 +86231,34 @@ } ] }, - "/v1/subscriptions/{id}/relationships/pricePoints": { - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/subscriptions/{id}/pricePoints": { + "/v1/betaGroups/{id}/metrics/betaTesterUsages": { "get": { "tags": [ - "Subscriptions" + "BetaGroups", + "Metrics" ], - "operationId": "subscriptions-pricePoints-get_to_many_related", + "operationId": "betaGroups-betaTesterUsages-get_metrics", "parameters": [ { - "name": "filter[territory]", + "name": "limit", "in": "query", - "description": "filter by id(s) of related 'territory'", + "description": "maximum number of groups to return per page", "schema": { - "type": "array", - "items": { - "type": "string" - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false + "style": "form" }, { - "name": "fields[subscriptionPricePoints]", + "name": "groupBy", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPricePoints", + "description": "the dimension by which to group the results", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customerPrice", - "equalizations", - "proceeds", - "proceedsYear2", - "subscription", - "territory" + "betaTesters" ] } }, @@ -82682,46 +86266,41 @@ "explode": false }, { - "name": "fields[territories]", + "name": "filter[betaTesters]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "filter by 'betaTesters' relationship dimension", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" - ] - } + "type": "string" }, "style": "form", "explode": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 8000 - }, - "style": "form" - }, - { - "name": "include", + "name": "period", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the duration of the reporting period", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "territory" - ] - } + "type": "string" }, "style": "form", - "explode": false + "explode": false, + "examples": { + "PTnM": { + "value": "PT10M" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + }, + "PnD": { + "value": "P7D" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PTnH": { + "value": "PT10H" + } + } } ], "responses": { @@ -82756,16 +86335,11 @@ } }, "200": { - "description": "List of SubscriptionPricePoints", + "description": "Metrics data response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPricePointsResponse" - } - }, - "text/csv": { - "schema": { - "$ref": "#/components/schemas/csv" + "$ref": "#/components/schemas/AppsBetaTesterUsagesV1MetricResponse" } } } @@ -82785,22 +86359,60 @@ } ] }, - "/v1/subscriptions/{id}/relationships/prices": { + "/v1/betaTesters/{id}/metrics/betaTesterUsages": { "get": { "tags": [ - "Subscriptions" + "BetaTesters", + "Metrics" ], - "operationId": "subscriptions-prices-get_to_many_relationship", + "operationId": "betaTesters-betaTesterUsages-get_metrics", "parameters": [ { "name": "limit", "in": "query", - "description": "maximum resources per page", + "description": "maximum number of groups to return per page", "schema": { "type": "integer", "maximum": 200 }, "style": "form" + }, + { + "name": "filter[apps]", + "in": "query", + "description": "filter by 'apps' relationship dimension", + "schema": { + "type": "string" + }, + "style": "form", + "explode": false + }, + { + "name": "period", + "in": "query", + "description": "the duration of the reporting period", + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "examples": { + "PTnM": { + "value": "PT10M" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + }, + "PnD": { + "value": "P7D" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PTnH": { + "value": "PT10H" + } + } } ], "responses": { @@ -82835,34 +86447,60 @@ } }, "200": { - "description": "List of related linkages", + "description": "Metrics data response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPricesLinkagesResponse" + "$ref": "#/components/schemas/BetaTesterUsagesV1MetricResponse" } } } } } }, - "delete": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/builds/{id}/metrics/betaBuildUsages": { + "get": { "tags": [ - "Subscriptions" + "Builds", + "Metrics" ], - "operationId": "subscriptions-prices-delete_to_many_relationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionPricesLinkagesRequest" + "operationId": "builds-betaBuildUsages-get_metrics", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } } }, - "required": true - }, - "responses": { "403": { "description": "Forbidden error", "content": { @@ -82883,18 +86521,15 @@ } } }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Metrics data response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/BetaBuildUsagesV1MetricResponse" } } } - }, - "204": { - "description": "Success (no content)" } } }, @@ -82911,75 +86546,70 @@ } ] }, - "/v1/subscriptions/{id}/prices": { + "/v1/gameCenterDetails/{id}/metrics/classicMatchmakingRequests": { "get": { "tags": [ - "Subscriptions" + "GameCenterDetails", + "Metrics" ], - "operationId": "subscriptions-prices-get_to_many_related", + "operationId": "gameCenterDetails-classicMatchmakingRequests-get_metrics", "parameters": [ { - "name": "filter[subscriptionPricePoint]", - "in": "query", - "description": "filter by id(s) of related 'subscriptionPricePoint'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[territory]", + "name": "limit", "in": "query", - "description": "filter by id(s) of related 'territory'", + "description": "maximum number of groups to return per page", "schema": { - "type": "array", - "items": { - "type": "string" - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false + "style": "form" }, { - "name": "fields[subscriptionPricePoints]", + "name": "granularity", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPricePoints", + "description": "the granularity of the per-group dataset", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customerPrice", - "equalizations", - "proceeds", - "proceedsYear2", - "subscription", - "territory" + "P1D", + "PT1H", + "PT15M" ] } }, "style": "form", - "explode": false + "explode": false, + "required": true, + "examples": { + "PTnM": { + "value": "PT10M" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + }, + "PnD": { + "value": "P7D" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PTnH": { + "value": "PT10H" + } + } }, { - "name": "fields[subscriptionPrices]", + "name": "groupBy", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPrices", + "description": "the dimension by which to group the results", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "preserveCurrentPrice", - "preserved", - "startDate", - "subscription", - "subscriptionPricePoint", - "territory" + "result" ] } }, @@ -82987,42 +86617,37 @@ "explode": false }, { - "name": "fields[territories]", + "name": "filter[result]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "filter by 'result' attribute dimension", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" - ] - } + "type": "string", + "enum": [ + "MATCHED", + "CANCELED", + "EXPIRED" + ] }, "style": "form", "explode": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "sort", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "comma-separated list of sort expressions; metrics will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "subscriptionPricePoint", - "territory" + "averageSecondsInQueue", + "-averageSecondsInQueue", + "count", + "-count", + "p50SecondsInQueue", + "-p50SecondsInQueue", + "p95SecondsInQueue", + "-p95SecondsInQueue" ] } }, @@ -83062,11 +86687,11 @@ } }, "200": { - "description": "List of SubscriptionPrices", + "description": "Metrics data response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPricesResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingAppRequestsV1MetricResponse" } } } @@ -83086,76 +86711,70 @@ } ] }, - "/v1/subscriptions/{id}/relationships/promotedPurchase": { - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/subscriptions/{id}/promotedPurchase": { + "/v1/gameCenterDetails/{id}/metrics/ruleBasedMatchmakingRequests": { "get": { "tags": [ - "Subscriptions" + "GameCenterDetails", + "Metrics" ], - "operationId": "subscriptions-promotedPurchase-get_to_one_related", + "operationId": "gameCenterDetails-ruleBasedMatchmakingRequests-get_metrics", "parameters": [ { - "name": "fields[promotedPurchases]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "granularity", + "in": "query", + "description": "the granularity of the per-group dataset", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "enabled", - "inAppPurchaseV2", - "promotionImages", - "state", - "subscription", - "visibleForAllUsers" + "P1D", + "PT1H", + "PT15M" ] } }, "style": "form", - "explode": false + "explode": false, + "required": true, + "examples": { + "PTnM": { + "value": "PT10M" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + }, + "PnD": { + "value": "P7D" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PTnH": { + "value": "PT10H" + } + } }, { - "name": "fields[subscriptions]", + "name": "groupBy", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "the dimension by which to group the results", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", - "availableInAllTerritories", - "familySharable", - "group", - "groupLevel", - "introductoryOffers", - "name", - "offerCodes", - "pricePoints", - "prices", - "productId", - "promotedPurchase", - "promotionalOffers", - "reviewNote", - "state", - "subscriptionAvailability", - "subscriptionLocalizations", - "subscriptionPeriod" + "result" ] } }, @@ -83163,83 +86782,171 @@ "explode": false }, { - "name": "fields[inAppPurchases]", + "name": "filter[result]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "filter by 'result' attribute dimension", + "schema": { + "type": "string", + "enum": [ + "MATCHED", + "CANCELED", + "EXPIRED" + ] + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; metrics will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appStoreReviewScreenshot", - "availableInAllTerritories", - "content", - "contentHosting", - "familySharable", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "inAppPurchaseLocalizations", - "inAppPurchaseType", - "name", - "pricePoints", - "productId", - "promotedPurchase", - "reviewNote", - "state" + "averageSecondsInQueue", + "-averageSecondsInQueue", + "count", + "-count", + "p50SecondsInQueue", + "-p50SecondsInQueue", + "p95SecondsInQueue", + "-p95SecondsInQueue" ] } }, - "style": "form", - "explode": false + "style": "form", + "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Metrics data response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterMatchmakingAppRequestsV1MetricResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterMatchmakingQueues/{id}/metrics/experimentMatchmakingQueueSizes": { + "get": { + "tags": [ + "GameCenterMatchmakingQueues", + "Metrics" + ], + "operationId": "gameCenterMatchmakingQueues-experimentMatchmakingQueueSizes-get_metrics", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" }, { - "name": "fields[promotedPurchaseImages]", + "name": "granularity", "in": "query", - "description": "the fields to include for returned resources of type promotedPurchaseImages", + "description": "the granularity of the per-group dataset", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetToken", - "assetType", - "fileName", - "fileSize", - "imageAsset", - "promotedPurchase", - "sourceFileChecksum", - "state", - "uploadOperations", - "uploaded" + "P1D", + "PT1H", + "PT15M" ] } }, "style": "form", - "explode": false - }, - { - "name": "limit[promotionImages]", - "in": "query", - "description": "maximum number of related promotionImages returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" + "explode": false, + "required": true, + "examples": { + "PTnM": { + "value": "PT10M" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + }, + "PnD": { + "value": "P7D" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PTnH": { + "value": "PT10H" + } + } }, { - "name": "include", + "name": "sort", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "comma-separated list of sort expressions; metrics will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "inAppPurchaseV2", - "promotionImages", - "subscription" + "averageNumberOfRequests", + "-averageNumberOfRequests", + "count", + "-count", + "p50NumberOfRequests", + "-p50NumberOfRequests", + "p95NumberOfRequests", + "-p95NumberOfRequests" ] } }, @@ -83279,11 +86986,11 @@ } }, "200": { - "description": "Single PromotedPurchase", + "description": "Metrics data response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PromotedPurchaseResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingQueueSizesV1MetricResponse" } } } @@ -83303,89 +87010,71 @@ } ] }, - "/v1/subscriptions/{id}/relationships/promotionalOffers": { - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/subscriptions/{id}/promotionalOffers": { + "/v1/gameCenterMatchmakingQueues/{id}/metrics/experimentMatchmakingRequests": { "get": { "tags": [ - "Subscriptions" + "GameCenterMatchmakingQueues", + "Metrics" ], - "operationId": "subscriptions-promotionalOffers-get_to_many_related", + "operationId": "gameCenterMatchmakingQueues-experimentMatchmakingRequests-get_metrics", "parameters": [ { - "name": "filter[territory]", + "name": "limit", "in": "query", - "description": "filter by territory", + "description": "maximum number of groups to return per page", "schema": { - "type": "array", - "items": { - "type": "string" - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false + "style": "form" }, { - "name": "fields[subscriptionPromotionalOffers]", + "name": "granularity", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPromotionalOffers", + "description": "the granularity of the per-group dataset", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "duration", - "name", - "numberOfPeriods", - "offerCode", - "offerMode", - "prices", - "subscription" + "P1D", + "PT1H", + "PT15M" ] } }, "style": "form", - "explode": false + "explode": false, + "required": true, + "examples": { + "PTnM": { + "value": "PT10M" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + }, + "PnD": { + "value": "P7D" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PTnH": { + "value": "PT10H" + } + } }, { - "name": "fields[subscriptions]", + "name": "groupBy", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "the dimension by which to group the results", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", - "availableInAllTerritories", - "familySharable", - "group", - "groupLevel", - "introductoryOffers", - "name", - "offerCodes", - "pricePoints", - "prices", - "productId", - "promotedPurchase", - "promotionalOffers", - "reviewNote", - "state", - "subscriptionAvailability", - "subscriptionLocalizations", - "subscriptionPeriod" + "gameCenterDetail", + "result" ] } }, @@ -83393,53 +87082,47 @@ "explode": false }, { - "name": "fields[subscriptionPromotionalOfferPrices]", + "name": "filter[result]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPromotionalOfferPrices", + "description": "filter by 'result' attribute dimension", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "subscriptionPricePoint", - "territory" - ] - } + "type": "string", + "enum": [ + "MATCHED", + "CANCELED", + "EXPIRED" + ] }, "style": "form", "explode": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "limit[prices]", + "name": "filter[gameCenterDetail]", "in": "query", - "description": "maximum number of related prices returned (when they are included)", + "description": "filter by 'gameCenterDetail' relationship dimension", "schema": { - "type": "integer", - "maximum": 50 + "type": "string" }, - "style": "form" + "style": "form", + "explode": false }, { - "name": "include", + "name": "sort", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "comma-separated list of sort expressions; metrics will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "prices", - "subscription" + "averageSecondsInQueue", + "-averageSecondsInQueue", + "count", + "-count", + "p50SecondsInQueue", + "-p50SecondsInQueue", + "p95SecondsInQueue", + "-p95SecondsInQueue" ] } }, @@ -83479,11 +87162,11 @@ } }, "200": { - "description": "List of SubscriptionPromotionalOffers", + "description": "Metrics data response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPromotionalOffersResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingQueueRequestsV1MetricResponse" } } } @@ -83503,115 +87186,77 @@ } ] }, - "/v1/subscriptions/{id}/relationships/subscriptionAvailability": { - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/subscriptions/{id}/subscriptionAvailability": { + "/v1/gameCenterMatchmakingQueues/{id}/metrics/matchmakingQueueSizes": { "get": { "tags": [ - "Subscriptions" + "GameCenterMatchmakingQueues", + "Metrics" ], - "operationId": "subscriptions-subscriptionAvailability-get_to_one_related", + "operationId": "gameCenterMatchmakingQueues-matchmakingQueueSizes-get_metrics", "parameters": [ { - "name": "fields[subscriptionAvailabilities]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type subscriptionAvailabilities", + "description": "maximum number of groups to return per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "availableInNewTerritories", - "availableTerritories", - "subscription" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false + "style": "form" }, { - "name": "fields[subscriptions]", + "name": "granularity", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "the granularity of the per-group dataset", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", - "availableInAllTerritories", - "familySharable", - "group", - "groupLevel", - "introductoryOffers", - "name", - "offerCodes", - "pricePoints", - "prices", - "productId", - "promotedPurchase", - "promotionalOffers", - "reviewNote", - "state", - "subscriptionAvailability", - "subscriptionLocalizations", - "subscriptionPeriod" + "P1D", + "PT1H", + "PT15M" ] } }, "style": "form", - "explode": false - }, - { - "name": "fields[territories]", - "in": "query", - "description": "the fields to include for returned resources of type territories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "currency" - ] + "explode": false, + "required": true, + "examples": { + "PTnM": { + "value": "PT10M" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + }, + "PnD": { + "value": "P7D" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PTnH": { + "value": "PT10H" } - }, - "style": "form", - "explode": false - }, - { - "name": "limit[availableTerritories]", - "in": "query", - "description": "maximum number of related availableTerritories returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" + } }, { - "name": "include", + "name": "sort", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "comma-separated list of sort expressions; metrics will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "availableTerritories", - "subscription" + "averageNumberOfRequests", + "-averageNumberOfRequests", + "count", + "-count", + "p50NumberOfRequests", + "-p50NumberOfRequests", + "p95NumberOfRequests", + "-p95NumberOfRequests" ] } }, @@ -83651,11 +87296,11 @@ } }, "200": { - "description": "Single SubscriptionAvailability", + "description": "Metrics data response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionAvailabilityResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingQueueSizesV1MetricResponse" } } } @@ -83675,74 +87320,71 @@ } ] }, - "/v1/subscriptions/{id}/relationships/subscriptionLocalizations": { - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/subscriptions/{id}/subscriptionLocalizations": { + "/v1/gameCenterMatchmakingQueues/{id}/metrics/matchmakingRequests": { "get": { "tags": [ - "Subscriptions" + "GameCenterMatchmakingQueues", + "Metrics" ], - "operationId": "subscriptions-subscriptionLocalizations-get_to_many_related", + "operationId": "gameCenterMatchmakingQueues-matchmakingRequests-get_metrics", "parameters": [ { - "name": "fields[subscriptions]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "granularity", + "in": "query", + "description": "the granularity of the per-group dataset", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", - "availableInAllTerritories", - "familySharable", - "group", - "groupLevel", - "introductoryOffers", - "name", - "offerCodes", - "pricePoints", - "prices", - "productId", - "promotedPurchase", - "promotionalOffers", - "reviewNote", - "state", - "subscriptionAvailability", - "subscriptionLocalizations", - "subscriptionPeriod" + "P1D", + "PT1H", + "PT15M" ] } }, "style": "form", - "explode": false + "explode": false, + "required": true, + "examples": { + "PTnM": { + "value": "PT10M" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + }, + "PnD": { + "value": "P7D" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PTnH": { + "value": "PT10H" + } + } }, { - "name": "fields[subscriptionLocalizations]", + "name": "groupBy", "in": "query", - "description": "the fields to include for returned resources of type subscriptionLocalizations", + "description": "the dimension by which to group the results", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "description", - "locale", - "name", - "state", - "subscription" + "gameCenterDetail", + "result" ] } }, @@ -83750,25 +87392,47 @@ "explode": false }, { - "name": "limit", + "name": "filter[result]", "in": "query", - "description": "maximum resources per page", + "description": "filter by 'result' attribute dimension", "schema": { - "type": "integer", - "maximum": 200 + "type": "string", + "enum": [ + "MATCHED", + "CANCELED", + "EXPIRED" + ] }, - "style": "form" + "style": "form", + "explode": false }, { - "name": "include", + "name": "filter[gameCenterDetail]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "filter by 'gameCenterDetail' relationship dimension", + "schema": { + "type": "string" + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; metrics will be sorted as specified", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "subscription" + "averageSecondsInQueue", + "-averageSecondsInQueue", + "count", + "-count", + "p50SecondsInQueue", + "-p50SecondsInQueue", + "p95SecondsInQueue", + "-p95SecondsInQueue" ] } }, @@ -83808,11 +87472,11 @@ } }, "200": { - "description": "List of SubscriptionLocalizations", + "description": "Metrics data response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionLocalizationsResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingQueueRequestsV1MetricResponse" } } } @@ -83832,95 +87496,82 @@ } ] }, - "/v1/userInvitations/{id}/relationships/visibleApps": { - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/userInvitations/{id}/visibleApps": { + "/v1/gameCenterMatchmakingQueues/{id}/metrics/matchmakingSessions": { "get": { "tags": [ - "UserInvitations" + "GameCenterMatchmakingQueues", + "Metrics" ], - "operationId": "userInvitations-visibleApps-get_to_many_related", + "operationId": "gameCenterMatchmakingQueues-matchmakingSessions-get_metrics", "parameters": [ { - "name": "fields[apps]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "granularity", + "in": "query", + "description": "the granularity of the per-group dataset", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "availableInNewTerritories", - "availableTerritories", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "pricePoints", - "prices", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "P1D", + "PT1H", + "PT15M" ] } }, "style": "form", - "explode": false + "explode": false, + "required": true, + "examples": { + "PTnM": { + "value": "PT10M" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + }, + "PnD": { + "value": "P7D" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PTnH": { + "value": "PT10H" + } + } }, { - "name": "limit", + "name": "sort", "in": "query", - "description": "maximum resources per page", + "description": "comma-separated list of sort expressions; metrics will be sorted as specified", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "averagePlayerCount", + "-averagePlayerCount", + "count", + "-count", + "p50PlayerCount", + "-p50PlayerCount", + "p95PlayerCount", + "-p95PlayerCount" + ] + } }, - "style": "form" + "style": "form", + "explode": false } ], "responses": { @@ -83955,11 +87606,11 @@ } }, "200": { - "description": "List of Apps with get", + "description": "Metrics data response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppsWithoutIncludesResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingSessionsV1MetricResponse" } } } @@ -83979,47 +87630,118 @@ } ] }, - "/v1/users/{id}/relationships/visibleApps": { + "/v1/gameCenterMatchmakingRules/{id}/metrics/matchmakingBooleanRuleResults": { "get": { "tags": [ - "Users" + "GameCenterMatchmakingRules", + "Metrics" ], - "operationId": "users-visibleApps-get_to_many_relationship", + "operationId": "gameCenterMatchmakingRules-matchmakingBooleanRuleResults-get_metrics", "parameters": [ { "name": "limit", "in": "query", - "description": "maximum resources per page", + "description": "maximum number of groups to return per page", "schema": { "type": "integer", "maximum": 200 }, "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + }, + { + "name": "granularity", + "in": "query", + "description": "the granularity of the per-group dataset", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] + } + }, + "style": "form", + "explode": false, + "required": true, + "examples": { + "PTnM": { + "value": "PT10M" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + }, + "PnD": { + "value": "P7D" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PTnH": { + "value": "PT10H" } } }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "groupBy", + "in": "query", + "description": "the dimension by which to group the results", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterMatchmakingQueue", + "result" + ] } - } + }, + "style": "form", + "explode": false }, - "404": { - "description": "Not found error", + { + "name": "filter[result]", + "in": "query", + "description": "filter by 'result' attribute dimension", + "schema": { + "type": "string" + }, + "style": "form", + "explode": false + }, + { + "name": "filter[gameCenterMatchmakingQueue]", + "in": "query", + "description": "filter by 'gameCenterMatchmakingQueue' relationship dimension", + "schema": { + "type": "string" + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; metrics will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "count", + "-count" + ] + } + }, + "style": "form", + "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", "content": { "application/json": { "schema": { @@ -84028,35 +87750,6 @@ } } }, - "200": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserVisibleAppsLinkagesResponse" - } - } - } - } - } - }, - "post": { - "tags": [ - "Users" - ], - "operationId": "users-visibleApps-create_to_many_relationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserVisibleAppsLinkagesRequest" - } - } - }, - "required": true - }, - "responses": { "403": { "description": "Forbidden error", "content": { @@ -84077,60 +87770,138 @@ } } }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Metrics data response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingBooleanRuleResultsV1MetricResponse" } } } - }, - "204": { - "description": "Success (no content)" } } }, - "patch": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterMatchmakingRules/{id}/metrics/matchmakingNumberRuleResults": { + "get": { "tags": [ - "Users" + "GameCenterMatchmakingRules", + "Metrics" ], - "operationId": "users-visibleApps-replace_to_many_relationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserVisibleAppsLinkagesRequest" - } - } + "operationId": "gameCenterMatchmakingRules-matchmakingNumberRuleResults-get_metrics", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" }, - "required": true - }, - "responses": { - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "granularity", + "in": "query", + "description": "the granularity of the per-group dataset", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] + } + }, + "style": "form", + "explode": false, + "required": true, + "examples": { + "PTnM": { + "value": "PT10M" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + }, + "PnD": { + "value": "P7D" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PTnH": { + "value": "PT10H" } } }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + { + "name": "groupBy", + "in": "query", + "description": "the dimension by which to group the results", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterMatchmakingQueue" + ] } - } + }, + "style": "form", + "explode": false }, - "409": { - "description": "Request entity error(s)", + { + "name": "filter[gameCenterMatchmakingQueue]", + "in": "query", + "description": "filter by 'gameCenterMatchmakingQueue' relationship dimension", + "schema": { + "type": "string" + }, + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; metrics will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "averageResult", + "-averageResult", + "count", + "-count", + "p50Result", + "-p50Result", + "p95Result", + "-p95Result" + ] + } + }, + "style": "form", + "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", "content": { "application/json": { "schema": { @@ -84139,28 +87910,6 @@ } } }, - "204": { - "description": "Success (no content)" - } - } - }, - "delete": { - "tags": [ - "Users" - ], - "operationId": "users-visibleApps-delete_to_many_relationship", - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserVisibleAppsLinkagesRequest" - } - } - }, - "required": true - }, - "responses": { "403": { "description": "Forbidden error", "content": { @@ -84181,18 +87930,15 @@ } } }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "Metrics data response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingNumberRuleResultsV1MetricResponse" } } } - }, - "204": { - "description": "Success (no content)" } } }, @@ -84209,66 +87955,70 @@ } ] }, - "/v1/users/{id}/visibleApps": { + "/v1/gameCenterMatchmakingRules/{id}/metrics/matchmakingRuleErrors": { "get": { "tags": [ - "Users" + "GameCenterMatchmakingRules", + "Metrics" ], - "operationId": "users-visibleApps-get_to_many_related", + "operationId": "gameCenterMatchmakingRules-matchmakingRuleErrors-get_metrics", "parameters": [ { - "name": "fields[apps]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "granularity", + "in": "query", + "description": "the granularity of the per-group dataset", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "availableInNewTerritories", - "availableTerritories", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "pricePoints", - "prices", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "P1D", + "PT1H", + "PT15M" + ] + } + }, + "style": "form", + "explode": false, + "required": true, + "examples": { + "PTnM": { + "value": "PT10M" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + }, + "PnD": { + "value": "P7D" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PTnH": { + "value": "PT10H" + } + } + }, + { + "name": "groupBy", + "in": "query", + "description": "the dimension by which to group the results", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterMatchmakingQueue" ] } }, @@ -84276,14 +88026,31 @@ "explode": false }, { - "name": "limit", + "name": "filter[gameCenterMatchmakingQueue]", "in": "query", - "description": "maximum resources per page", + "description": "filter by 'gameCenterMatchmakingQueue' relationship dimension", "schema": { - "type": "integer", - "maximum": 200 + "type": "string" }, - "style": "form" + "style": "form", + "explode": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; metrics will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "count", + "-count" + ] + } + }, + "style": "form", + "explode": false } ], "responses": { @@ -84318,11 +88085,11 @@ } }, "200": { - "description": "List of Apps with get", + "description": "Metrics data response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppsWithoutIncludesResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleErrorsV1MetricResponse" } } } @@ -84807,247 +88574,248 @@ "type" ] }, - "AppAvailabilityV2Response": { - "type": "object", - "title": "AppAvailabilityV2Response", - "properties": { - "data": { - "$ref": "#/components/schemas/AppAvailabilityV2" - }, - "included": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TerritoryAvailability" - } - }, - "links": { - "$ref": "#/components/schemas/DocumentLinks" - } - }, - "required": [ - "data", - "links" - ] - }, - "AppAvailabilityV2CreateRequest": { - "type": "object", - "title": "AppAvailabilityV2CreateRequest", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "appAvailabilities" - ] - }, - "attributes": { - "type": "object", - "properties": { - "availableInNewTerritories": { - "type": "boolean" - } - }, - "required": [ - "availableInNewTerritories" - ] - }, - "relationships": { - "type": "object", - "properties": { - "app": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "apps" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - }, - "required": [ - "data" - ] - }, - "territoryAvailabilities": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "territoryAvailabilities" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - }, - "required": [ - "data" - ] - } - }, - "required": [ - "app", - "territoryAvailabilities" - ] - } - }, - "required": [ - "relationships", - "attributes", - "type" - ] - }, - "included": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TerritoryAvailabilityInlineCreate" - } - } - }, - "required": [ - "data" - ] - }, - "AppAvailability": { - "type": "object", - "title": "AppAvailability", - "properties": { - "type": { - "type": "string", - "enum": [ - "appAvailabilities" - ] - }, - "id": { - "type": "string" - }, - "attributes": { - "type": "object", - "properties": { - "availableInNewTerritories": { - "type": "boolean" - } - } - }, - "relationships": { - "type": "object", - "properties": { - "app": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "apps" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - }, - "availableTerritories": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - }, - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "territories" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - } - } - } - }, - "links": { - "$ref": "#/components/schemas/ResourceLinks" - } - }, - "required": [ - "id", - "type" - ] - }, + "AppAvailabilityV2Response": { + "type": "object", + "title": "AppAvailabilityV2Response", + "properties": { + "data": { + "$ref": "#/components/schemas/AppAvailabilityV2" + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TerritoryAvailability" + } + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "AppAvailabilityV2CreateRequest": { + "type": "object", + "title": "AppAvailabilityV2CreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAvailabilities" + ] + }, + "attributes": { + "type": "object", + "properties": { + "availableInNewTerritories": { + "type": "boolean" + } + }, + "required": [ + "availableInNewTerritories" + ] + }, + "relationships": { + "type": "object", + "properties": { + "app": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "apps" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "territoryAvailabilities": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "territoryAvailabilities" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "required": [ + "data" + ] + } + }, + "required": [ + "app", + "territoryAvailabilities" + ] + } + }, + "required": [ + "relationships", + "attributes", + "type" + ] + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TerritoryAvailabilityInlineCreate" + } + } + }, + "required": [ + "data" + ] + }, + "AppAvailability": { + "type": "object", + "title": "AppAvailability", + "properties": { + "type": { + "type": "string", + "enum": [ + "appAvailabilities" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "availableInNewTerritories": { + "type": "boolean" + } + } + }, + "relationships": { + "type": "object", + "properties": { + "app": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "apps" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "availableTerritories": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "territories" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ], + "deprecated": true + }, "AppAvailabilityResponse": { "type": "object", "title": "AppAvailabilityResponse", @@ -85075,7 +88843,8 @@ "required": [ "data", "links" - ] + ], + "deprecated": true }, "AppAvailabilityCreateRequest": { "type": "object", @@ -85175,7 +88944,8 @@ }, "required": [ "data" - ] + ], + "deprecated": true }, "AppCategory": { "type": "object", @@ -85510,6 +89280,9 @@ "type": "string" } } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" } }, "required": [ @@ -87535,6 +91308,9 @@ "format": "date-time" } } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" } }, "required": [ @@ -91862,7 +95638,8 @@ "required": [ "id", "type" - ] + ], + "deprecated": true }, "AppPreOrderResponse": { "type": "object", @@ -91884,7 +95661,8 @@ "required": [ "data", "links" - ] + ], + "deprecated": true }, "AppPreOrderCreateRequest": { "type": "object", @@ -91951,7 +95729,8 @@ }, "required": [ "data" - ] + ], + "deprecated": true }, "AppPreOrderUpdateRequest": { "type": "object", @@ -91987,7 +95766,8 @@ }, "required": [ "data" - ] + ], + "deprecated": true }, "AppPreviewSet": { "type": "object", @@ -92764,6 +96544,9 @@ } } } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" } }, "required": [ @@ -93733,6 +97516,9 @@ } } } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" } }, "required": [ @@ -97106,6 +100892,9 @@ }, "id": { "type": "string" + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" } }, "required": [ @@ -97226,6 +101015,9 @@ }, "id": { "type": "string" + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" } }, "required": [ @@ -101737,6 +105529,9 @@ }, "id": { "type": "string" + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" } }, "required": [ @@ -102359,6 +106154,9 @@ }, "id": { "type": "string" + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" } }, "required": [ @@ -102469,6 +106267,9 @@ "type": "integer" } } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" } }, "required": [ @@ -102750,6 +106551,9 @@ } } } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" } }, "required": [ @@ -102783,6 +106587,9 @@ "$ref": "#/components/schemas/IconAssetType" } } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" } }, "required": [ @@ -105178,7 +108985,402 @@ "type": { "type": "string", "enum": [ - "apps" + "apps" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "bundleId": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "bundleIds" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "primaryRepositories": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "scmRepositories" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "CiProductsResponse": { + "type": "object", + "title": "CiProductsResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CiProduct" + } + }, + "included": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/App" + }, + { + "$ref": "#/components/schemas/BundleId" + }, + { + "$ref": "#/components/schemas/ScmRepository" + } + ] + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "CiProductResponse": { + "type": "object", + "title": "CiProductResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/CiProduct" + }, + "included": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/App" + }, + { + "$ref": "#/components/schemas/BundleId" + }, + { + "$ref": "#/components/schemas/ScmRepository" + } + ] + } + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "CiTestResult": { + "type": "object", + "title": "CiTestResult", + "properties": { + "type": { + "type": "string", + "enum": [ + "ciTestResults" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "className": { + "type": "string" + }, + "name": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/CiTestStatus" + }, + "fileSource": { + "$ref": "#/components/schemas/FileLocation" + }, + "message": { + "type": "string" + }, + "destinationTestResults": { + "type": "array", + "items": { + "type": "object", + "properties": { + "uuid": { + "type": "string" + }, + "deviceName": { + "type": "string" + }, + "osVersion": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/CiTestStatus" + }, + "duration": { + "type": "number" + } + } + } + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "CiTestResultsResponse": { + "type": "object", + "title": "CiTestResultsResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CiTestResult" + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "CiTestResultResponse": { + "type": "object", + "title": "CiTestResultResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/CiTestResult" + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "CiWorkflow": { + "type": "object", + "title": "CiWorkflow", + "properties": { + "type": { + "type": "string", + "enum": [ + "ciWorkflows" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "branchStartCondition": { + "$ref": "#/components/schemas/CiBranchStartCondition" + }, + "tagStartCondition": { + "$ref": "#/components/schemas/CiTagStartCondition" + }, + "pullRequestStartCondition": { + "$ref": "#/components/schemas/CiPullRequestStartCondition" + }, + "scheduledStartCondition": { + "$ref": "#/components/schemas/CiScheduledStartCondition" + }, + "actions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CiAction" + } + }, + "isEnabled": { + "type": "boolean" + }, + "isLockedForEditing": { + "type": "boolean" + }, + "clean": { + "type": "boolean" + }, + "containerFilePath": { + "type": "string" + }, + "lastModifiedDate": { + "type": "string", + "format": "date-time" + } + } + }, + "relationships": { + "type": "object", + "properties": { + "product": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "ciProducts" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "repository": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "scmRepositories" ] }, "id": { @@ -105192,7 +109394,7 @@ } } }, - "bundleId": { + "xcodeVersion": { "type": "object", "properties": { "links": { @@ -105214,7 +109416,7 @@ "type": { "type": "string", "enum": [ - "bundleIds" + "ciXcodeVersions" ] }, "id": { @@ -105228,7 +109430,7 @@ } } }, - "primaryRepositories": { + "macOsVersion": { "type": "object", "properties": { "links": { @@ -105244,29 +109446,23 @@ } } }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - }, "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "scmRepositories" - ] - }, - "id": { - "type": "string" - } + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "ciMacOsVersions" + ] }, - "required": [ - "id", - "type" - ] - } + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] } } } @@ -105281,14 +109477,14 @@ "type" ] }, - "CiProductsResponse": { + "CiWorkflowsResponse": { "type": "object", - "title": "CiProductsResponse", + "title": "CiWorkflowsResponse", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/CiProduct" + "$ref": "#/components/schemas/CiWorkflow" } }, "included": { @@ -105296,13 +109492,16 @@ "items": { "oneOf": [ { - "$ref": "#/components/schemas/App" + "$ref": "#/components/schemas/CiProduct" }, { - "$ref": "#/components/schemas/BundleId" + "$ref": "#/components/schemas/ScmRepository" }, { - "$ref": "#/components/schemas/ScmRepository" + "$ref": "#/components/schemas/CiXcodeVersion" + }, + { + "$ref": "#/components/schemas/CiMacOsVersion" } ] } @@ -105319,25 +109518,28 @@ "links" ] }, - "CiProductResponse": { + "CiWorkflowResponse": { "type": "object", - "title": "CiProductResponse", + "title": "CiWorkflowResponse", "properties": { "data": { - "$ref": "#/components/schemas/CiProduct" + "$ref": "#/components/schemas/CiWorkflow" }, "included": { "type": "array", "items": { "oneOf": [ { - "$ref": "#/components/schemas/App" + "$ref": "#/components/schemas/CiProduct" }, { - "$ref": "#/components/schemas/BundleId" + "$ref": "#/components/schemas/ScmRepository" }, { - "$ref": "#/components/schemas/ScmRepository" + "$ref": "#/components/schemas/CiXcodeVersion" + }, + { + "$ref": "#/components/schemas/CiMacOsVersion" } ] } @@ -105351,14 +109553,322 @@ "links" ] }, - "CiTestResult": { + "CiWorkflowCreateRequest": { "type": "object", - "title": "CiTestResult", + "title": "CiWorkflowCreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "ciWorkflows" + ] + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "branchStartCondition": { + "$ref": "#/components/schemas/CiBranchStartCondition" + }, + "tagStartCondition": { + "$ref": "#/components/schemas/CiTagStartCondition" + }, + "pullRequestStartCondition": { + "$ref": "#/components/schemas/CiPullRequestStartCondition" + }, + "scheduledStartCondition": { + "$ref": "#/components/schemas/CiScheduledStartCondition" + }, + "actions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CiAction" + } + }, + "isEnabled": { + "type": "boolean" + }, + "isLockedForEditing": { + "type": "boolean" + }, + "clean": { + "type": "boolean" + }, + "containerFilePath": { + "type": "string" + } + }, + "required": [ + "containerFilePath", + "isEnabled", + "name", + "description", + "clean", + "actions" + ] + }, + "relationships": { + "type": "object", + "properties": { + "product": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "ciProducts" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "repository": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "scmRepositories" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "xcodeVersion": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "ciXcodeVersions" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "macOsVersion": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "ciMacOsVersions" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + } + }, + "required": [ + "macOsVersion", + "product", + "repository", + "xcodeVersion" + ] + } + }, + "required": [ + "relationships", + "attributes", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "CiWorkflowUpdateRequest": { + "type": "object", + "title": "CiWorkflowUpdateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "ciWorkflows" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "branchStartCondition": { + "$ref": "#/components/schemas/CiBranchStartCondition" + }, + "tagStartCondition": { + "$ref": "#/components/schemas/CiTagStartCondition" + }, + "pullRequestStartCondition": { + "$ref": "#/components/schemas/CiPullRequestStartCondition" + }, + "scheduledStartCondition": { + "$ref": "#/components/schemas/CiScheduledStartCondition" + }, + "actions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CiAction" + } + }, + "isEnabled": { + "type": "boolean" + }, + "isLockedForEditing": { + "type": "boolean" + }, + "clean": { + "type": "boolean" + }, + "containerFilePath": { + "type": "string" + } + } + }, + "relationships": { + "type": "object", + "properties": { + "xcodeVersion": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "ciXcodeVersions" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "macOsVersion": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "ciMacOsVersions" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + } + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "CiXcodeVersion": { + "type": "object", + "title": "CiXcodeVersion", "properties": { "type": { "type": "string", "enum": [ - "ciTestResults" + "ciXcodeVersions" ] }, "id": { @@ -105367,40 +109877,86 @@ "attributes": { "type": "object", "properties": { - "className": { + "version": { "type": "string" }, "name": { "type": "string" }, - "status": { - "$ref": "#/components/schemas/CiTestStatus" - }, - "fileSource": { - "$ref": "#/components/schemas/FileLocation" - }, - "message": { - "type": "string" - }, - "destinationTestResults": { + "testDestinations": { "type": "array", "items": { "type": "object", "properties": { - "uuid": { - "type": "string" - }, - "deviceName": { + "deviceTypeName": { "type": "string" }, - "osVersion": { + "deviceTypeIdentifier": { "type": "string" }, - "status": { - "$ref": "#/components/schemas/CiTestStatus" + "availableRuntimes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "runtimeName": { + "type": "string" + }, + "runtimeIdentifier": { + "type": "string" + } + } + } }, - "duration": { - "type": "number" + "kind": { + "$ref": "#/components/schemas/CiTestDestinationKind" + } + } + } + } + } + }, + "relationships": { + "type": "object", + "properties": { + "macOsVersions": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "ciMacOsVersions" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] } } } @@ -105416,14 +109972,20 @@ "type" ] }, - "CiTestResultsResponse": { + "CiXcodeVersionsResponse": { "type": "object", - "title": "CiTestResultsResponse", + "title": "CiXcodeVersionsResponse", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/CiTestResult" + "$ref": "#/components/schemas/CiXcodeVersion" + } + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CiMacOsVersion" } }, "links": { @@ -105438,12 +110000,18 @@ "links" ] }, - "CiTestResultResponse": { + "CiXcodeVersionResponse": { "type": "object", - "title": "CiTestResultResponse", + "title": "CiXcodeVersionResponse", "properties": { "data": { - "$ref": "#/components/schemas/CiTestResult" + "$ref": "#/components/schemas/CiXcodeVersion" + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CiMacOsVersion" + } }, "links": { "$ref": "#/components/schemas/DocumentLinks" @@ -105454,14 +110022,14 @@ "links" ] }, - "CiWorkflow": { + "CustomerReviewResponseV1": { "type": "object", - "title": "CiWorkflow", + "title": "CustomerReviewResponseV1", "properties": { "type": { "type": "string", "enum": [ - "ciWorkflows" + "customerReviewResponses" ] }, "id": { @@ -105470,52 +110038,26 @@ "attributes": { "type": "object", "properties": { - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "branchStartCondition": { - "$ref": "#/components/schemas/CiBranchStartCondition" - }, - "tagStartCondition": { - "$ref": "#/components/schemas/CiTagStartCondition" - }, - "pullRequestStartCondition": { - "$ref": "#/components/schemas/CiPullRequestStartCondition" - }, - "scheduledStartCondition": { - "$ref": "#/components/schemas/CiScheduledStartCondition" - }, - "actions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CiAction" - } - }, - "isEnabled": { - "type": "boolean" - }, - "isLockedForEditing": { - "type": "boolean" - }, - "clean": { - "type": "boolean" - }, - "containerFilePath": { + "responseBody": { "type": "string" }, "lastModifiedDate": { "type": "string", "format": "date-time" + }, + "state": { + "type": "string", + "enum": [ + "PUBLISHED", + "PENDING_PUBLISH" + ] } } }, "relationships": { "type": "object", "properties": { - "product": { + "review": { "type": "object", "properties": { "links": { @@ -105537,7 +110079,7 @@ "type": { "type": "string", "enum": [ - "ciProducts" + "customerReviews" ] }, "id": { @@ -105550,80 +110092,153 @@ ] } } + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "CustomerReviewResponseV1Response": { + "type": "object", + "title": "CustomerReviewResponseV1Response", + "properties": { + "data": { + "$ref": "#/components/schemas/CustomerReviewResponseV1" + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CustomerReview" + } + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "CustomerReviewResponseV1CreateRequest": { + "type": "object", + "title": "CustomerReviewResponseV1CreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "customerReviewResponses" + ] }, - "repository": { + "attributes": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "scmRepositories" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] + "responseBody": { + "type": "string" } - } + }, + "required": [ + "responseBody" + ] }, - "xcodeVersion": { + "relationships": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, - "data": { + "review": { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "ciXcodeVersions" + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "customerReviews" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" ] - }, - "id": { - "type": "string" } }, "required": [ - "id", - "type" + "data" ] } - } + }, + "required": [ + "review" + ] + } + }, + "required": [ + "relationships", + "attributes", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "CustomerReview": { + "type": "object", + "title": "CustomerReview", + "properties": { + "type": { + "type": "string", + "enum": [ + "customerReviews" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "rating": { + "type": "integer", + "maximum": 5, + "minimum": 1 }, - "macOsVersion": { + "title": { + "type": "string" + }, + "body": { + "type": "string" + }, + "reviewerNickname": { + "type": "string" + }, + "createdDate": { + "type": "string", + "format": "date-time" + }, + "territory": { + "$ref": "#/components/schemas/TerritoryCode" + } + } + }, + "relationships": { + "type": "object", + "properties": { + "response": { "type": "object", "properties": { "links": { @@ -105645,7 +110260,7 @@ "type": { "type": "string", "enum": [ - "ciMacOsVersions" + "customerReviewResponses" ] }, "id": { @@ -105670,33 +110285,20 @@ "type" ] }, - "CiWorkflowsResponse": { + "CustomerReviewsResponse": { "type": "object", - "title": "CiWorkflowsResponse", + "title": "CustomerReviewsResponse", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/CiWorkflow" + "$ref": "#/components/schemas/CustomerReview" } }, "included": { "type": "array", "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/CiProduct" - }, - { - "$ref": "#/components/schemas/ScmRepository" - }, - { - "$ref": "#/components/schemas/CiXcodeVersion" - }, - { - "$ref": "#/components/schemas/CiMacOsVersion" - } - ] + "$ref": "#/components/schemas/CustomerReviewResponseV1" } }, "links": { @@ -105711,30 +110313,17 @@ "links" ] }, - "CiWorkflowResponse": { + "CustomerReviewResponse": { "type": "object", - "title": "CiWorkflowResponse", + "title": "CustomerReviewResponse", "properties": { "data": { - "$ref": "#/components/schemas/CiWorkflow" + "$ref": "#/components/schemas/CustomerReview" }, "included": { "type": "array", "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/CiProduct" - }, - { - "$ref": "#/components/schemas/ScmRepository" - }, - { - "$ref": "#/components/schemas/CiXcodeVersion" - }, - { - "$ref": "#/components/schemas/CiMacOsVersion" - } - ] + "$ref": "#/components/schemas/CustomerReviewResponseV1" } }, "links": { @@ -105746,9 +110335,108 @@ "links" ] }, - "CiWorkflowCreateRequest": { + "Device": { "type": "object", - "title": "CiWorkflowCreateRequest", + "title": "Device", + "properties": { + "type": { + "type": "string", + "enum": [ + "devices" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "platform": { + "$ref": "#/components/schemas/BundleIdPlatform" + }, + "udid": { + "type": "string" + }, + "deviceClass": { + "type": "string", + "enum": [ + "APPLE_WATCH", + "IPAD", + "IPHONE", + "IPOD", + "APPLE_TV", + "MAC" + ] + }, + "status": { + "type": "string", + "enum": [ + "ENABLED", + "DISABLED" + ] + }, + "model": { + "type": "string" + }, + "addedDate": { + "type": "string", + "format": "date-time" + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "DevicesResponse": { + "type": "object", + "title": "DevicesResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Device" + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "DeviceResponse": { + "type": "object", + "title": "DeviceResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/Device" + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "DeviceCreateRequest": { + "type": "object", + "title": "DeviceCreateRequest", "properties": { "data": { "type": "object", @@ -105756,7 +110444,7 @@ "type": { "type": "string", "enum": [ - "ciWorkflows" + "devices" ] }, "attributes": { @@ -105765,167 +110453,21 @@ "name": { "type": "string" }, - "description": { - "type": "string" - }, - "branchStartCondition": { - "$ref": "#/components/schemas/CiBranchStartCondition" - }, - "tagStartCondition": { - "$ref": "#/components/schemas/CiTagStartCondition" - }, - "pullRequestStartCondition": { - "$ref": "#/components/schemas/CiPullRequestStartCondition" - }, - "scheduledStartCondition": { - "$ref": "#/components/schemas/CiScheduledStartCondition" - }, - "actions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CiAction" - } - }, - "isEnabled": { - "type": "boolean" - }, - "isLockedForEditing": { - "type": "boolean" - }, - "clean": { - "type": "boolean" - }, - "containerFilePath": { - "type": "string" - } - }, - "required": [ - "containerFilePath", - "isEnabled", - "name", - "description", - "clean", - "actions" - ] - }, - "relationships": { - "type": "object", - "properties": { - "product": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "ciProducts" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - }, - "required": [ - "data" - ] - }, - "repository": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "scmRepositories" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - }, - "required": [ - "data" - ] - }, - "xcodeVersion": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "ciXcodeVersions" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - }, - "required": [ - "data" - ] + "platform": { + "$ref": "#/components/schemas/BundleIdPlatform" }, - "macOsVersion": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "ciMacOsVersions" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - }, - "required": [ - "data" - ] + "udid": { + "type": "string" } }, "required": [ - "macOsVersion", - "product", - "repository", - "xcodeVersion" + "name", + "udid", + "platform" ] } }, "required": [ - "relationships", "attributes", "type" ] @@ -105935,9 +110477,9 @@ "data" ] }, - "CiWorkflowUpdateRequest": { + "DeviceUpdateRequest": { "type": "object", - "title": "CiWorkflowUpdateRequest", + "title": "DeviceUpdateRequest", "properties": { "data": { "type": "object", @@ -105945,7 +110487,7 @@ "type": { "type": "string", "enum": [ - "ciWorkflows" + "devices" ] }, "id": { @@ -105957,89 +110499,12 @@ "name": { "type": "string" }, - "description": { - "type": "string" - }, - "branchStartCondition": { - "$ref": "#/components/schemas/CiBranchStartCondition" - }, - "tagStartCondition": { - "$ref": "#/components/schemas/CiTagStartCondition" - }, - "pullRequestStartCondition": { - "$ref": "#/components/schemas/CiPullRequestStartCondition" - }, - "scheduledStartCondition": { - "$ref": "#/components/schemas/CiScheduledStartCondition" - }, - "actions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CiAction" - } - }, - "isEnabled": { - "type": "boolean" - }, - "isLockedForEditing": { - "type": "boolean" - }, - "clean": { - "type": "boolean" - }, - "containerFilePath": { - "type": "string" - } - } - }, - "relationships": { - "type": "object", - "properties": { - "xcodeVersion": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "ciXcodeVersions" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - }, - "macOsVersion": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "ciMacOsVersions" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } + "status": { + "type": "string", + "enum": [ + "ENABLED", + "DISABLED" + ] } } } @@ -106054,14 +110519,36 @@ "data" ] }, - "CiXcodeVersion": { + "DiagnosticLog": { "type": "object", - "title": "CiXcodeVersion", + "title": "DiagnosticLog", "properties": { "type": { "type": "string", "enum": [ - "ciXcodeVersions" + "diagnosticLogs" + ] + }, + "id": { + "type": "string" + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "DiagnosticSignature": { + "type": "object", + "title": "DiagnosticSignature", + "properties": { + "type": { + "type": "string", + "enum": [ + "diagnosticSignatures" ] }, "id": { @@ -106070,89 +110557,18 @@ "attributes": { "type": "object", "properties": { - "version": { - "type": "string" + "diagnosticType": { + "type": "string", + "enum": [ + "DISK_WRITES", + "HANGS" + ] }, - "name": { + "signature": { "type": "string" }, - "testDestinations": { - "type": "array", - "items": { - "type": "object", - "properties": { - "deviceTypeName": { - "type": "string" - }, - "deviceTypeIdentifier": { - "type": "string" - }, - "availableRuntimes": { - "type": "array", - "items": { - "type": "object", - "properties": { - "runtimeName": { - "type": "string" - }, - "runtimeIdentifier": { - "type": "string" - } - } - } - }, - "kind": { - "$ref": "#/components/schemas/CiTestDestinationKind" - } - } - } - } - } - }, - "relationships": { - "type": "object", - "properties": { - "macOsVersions": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - }, - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "ciMacOsVersions" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - } + "weight": { + "type": "number" } } }, @@ -106165,20 +110581,14 @@ "type" ] }, - "CiXcodeVersionsResponse": { + "DiagnosticSignaturesResponse": { "type": "object", - "title": "CiXcodeVersionsResponse", + "title": "DiagnosticSignaturesResponse", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/CiXcodeVersion" - } - }, - "included": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CiMacOsVersion" + "$ref": "#/components/schemas/DiagnosticSignature" } }, "links": { @@ -106193,18 +110603,34 @@ "links" ] }, - "CiXcodeVersionResponse": { + "EndAppAvailabilityPreOrder": { "type": "object", - "title": "CiXcodeVersionResponse", + "title": "EndAppAvailabilityPreOrder", "properties": { - "data": { - "$ref": "#/components/schemas/CiXcodeVersion" + "type": { + "type": "string", + "enum": [ + "endAppAvailabilityPreOrders" + ] }, - "included": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CiMacOsVersion" - } + "id": { + "type": "string" + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "EndAppAvailabilityPreOrderResponse": { + "type": "object", + "title": "EndAppAvailabilityPreOrderResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/EndAppAvailabilityPreOrder" }, "links": { "$ref": "#/components/schemas/DocumentLinks" @@ -106215,14 +110641,75 @@ "links" ] }, - "CustomerReviewResponseV1": { + "EndAppAvailabilityPreOrderCreateRequest": { "type": "object", - "title": "CustomerReviewResponseV1", + "title": "EndAppAvailabilityPreOrderCreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "endAppAvailabilityPreOrders" + ] + }, + "relationships": { + "type": "object", + "properties": { + "territoryAvailabilities": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "territoryAvailabilities" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "required": [ + "data" + ] + } + }, + "required": [ + "territoryAvailabilities" + ] + } + }, + "required": [ + "relationships", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "EndUserLicenseAgreement": { + "type": "object", + "title": "EndUserLicenseAgreement", "properties": { "type": { "type": "string", "enum": [ - "customerReviewResponses" + "endUserLicenseAgreements" ] }, "id": { @@ -106231,26 +110718,15 @@ "attributes": { "type": "object", "properties": { - "responseBody": { + "agreementText": { "type": "string" - }, - "lastModifiedDate": { - "type": "string", - "format": "date-time" - }, - "state": { - "type": "string", - "enum": [ - "PUBLISHED", - "PENDING_PUBLISH" - ] } } }, "relationships": { "type": "object", "properties": { - "review": { + "app": { "type": "object", "properties": { "links": { @@ -106272,7 +110748,7 @@ "type": { "type": "string", "enum": [ - "customerReviews" + "apps" ] }, "id": { @@ -106285,6 +110761,48 @@ ] } } + }, + "territories": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "territories" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } } } }, @@ -106297,17 +110815,24 @@ "type" ] }, - "CustomerReviewResponseV1Response": { + "EndUserLicenseAgreementResponse": { "type": "object", - "title": "CustomerReviewResponseV1Response", + "title": "EndUserLicenseAgreementResponse", "properties": { "data": { - "$ref": "#/components/schemas/CustomerReviewResponseV1" + "$ref": "#/components/schemas/EndUserLicenseAgreement" }, "included": { "type": "array", "items": { - "$ref": "#/components/schemas/CustomerReview" + "oneOf": [ + { + "$ref": "#/components/schemas/App" + }, + { + "$ref": "#/components/schemas/Territory" + } + ] } }, "links": { @@ -106315,13 +110840,113 @@ } }, "required": [ - "data", - "links" + "data", + "links" + ] + }, + "EndUserLicenseAgreementCreateRequest": { + "type": "object", + "title": "EndUserLicenseAgreementCreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "endUserLicenseAgreements" + ] + }, + "attributes": { + "type": "object", + "properties": { + "agreementText": { + "type": "string" + } + }, + "required": [ + "agreementText" + ] + }, + "relationships": { + "type": "object", + "properties": { + "app": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "apps" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "territories": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "territories" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "required": [ + "data" + ] + } + }, + "required": [ + "app", + "territories" + ] + } + }, + "required": [ + "relationships", + "attributes", + "type" + ] + } + }, + "required": [ + "data" ] }, - "CustomerReviewResponseV1CreateRequest": { + "EndUserLicenseAgreementUpdateRequest": { "type": "object", - "title": "CustomerReviewResponseV1CreateRequest", + "title": "EndUserLicenseAgreementUpdateRequest", "properties": { "data": { "type": "object", @@ -106329,58 +110954,54 @@ "type": { "type": "string", "enum": [ - "customerReviewResponses" + "endUserLicenseAgreements" ] }, + "id": { + "type": "string" + }, "attributes": { "type": "object", "properties": { - "responseBody": { + "agreementText": { "type": "string" } - }, - "required": [ - "responseBody" - ] + } }, "relationships": { "type": "object", "properties": { - "review": { + "territories": { "type": "object", "properties": { "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "customerReviews" - ] + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "territories" + ] + }, + "id": { + "type": "string" + } }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] + "required": [ + "id", + "type" + ] + } } - }, - "required": [ - "data" - ] + } } - }, - "required": [ - "review" - ] + } } }, "required": [ - "relationships", - "attributes", + "id", "type" ] } @@ -106389,14 +111010,14 @@ "data" ] }, - "CustomerReview": { + "GameCenterAchievementImage": { "type": "object", - "title": "CustomerReview", + "title": "GameCenterAchievementImage", "properties": { "type": { "type": "string", "enum": [ - "customerReviews" + "gameCenterAchievementImages" ] }, "id": { @@ -106405,33 +111026,30 @@ "attributes": { "type": "object", "properties": { - "rating": { - "type": "integer", - "maximum": 5, - "minimum": 1 - }, - "title": { - "type": "string" + "fileSize": { + "type": "integer" }, - "body": { + "fileName": { "type": "string" }, - "reviewerNickname": { - "type": "string" + "imageAsset": { + "$ref": "#/components/schemas/ImageAsset" }, - "createdDate": { - "type": "string", - "format": "date-time" + "uploadOperations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UploadOperation" + } }, - "territory": { - "$ref": "#/components/schemas/TerritoryCode" + "assetDeliveryState": { + "$ref": "#/components/schemas/AppMediaAssetState" } } }, "relationships": { "type": "object", "properties": { - "response": { + "gameCenterAchievementLocalization": { "type": "object", "properties": { "links": { @@ -106453,7 +111071,7 @@ "type": { "type": "string", "enum": [ - "customerReviewResponses" + "gameCenterAchievementLocalizations" ] }, "id": { @@ -106478,146 +111096,19 @@ "type" ] }, - "CustomerReviewsResponse": { - "type": "object", - "title": "CustomerReviewsResponse", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomerReview" - } - }, - "included": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomerReviewResponseV1" - } - }, - "links": { - "$ref": "#/components/schemas/PagedDocumentLinks" - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - } - }, - "required": [ - "data", - "links" - ] - }, - "CustomerReviewResponse": { + "GameCenterAchievementImageResponse": { "type": "object", - "title": "CustomerReviewResponse", + "title": "GameCenterAchievementImageResponse", "properties": { "data": { - "$ref": "#/components/schemas/CustomerReview" + "$ref": "#/components/schemas/GameCenterAchievementImage" }, "included": { "type": "array", "items": { - "$ref": "#/components/schemas/CustomerReviewResponseV1" - } - }, - "links": { - "$ref": "#/components/schemas/DocumentLinks" - } - }, - "required": [ - "data", - "links" - ] - }, - "Device": { - "type": "object", - "title": "Device", - "properties": { - "type": { - "type": "string", - "enum": [ - "devices" - ] - }, - "id": { - "type": "string" - }, - "attributes": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "platform": { - "$ref": "#/components/schemas/BundleIdPlatform" - }, - "udid": { - "type": "string" - }, - "deviceClass": { - "type": "string", - "enum": [ - "APPLE_WATCH", - "IPAD", - "IPHONE", - "IPOD", - "APPLE_TV", - "MAC" - ] - }, - "status": { - "type": "string", - "enum": [ - "ENABLED", - "DISABLED" - ] - }, - "model": { - "type": "string" - }, - "addedDate": { - "type": "string", - "format": "date-time" - } - } - }, - "links": { - "$ref": "#/components/schemas/ResourceLinks" - } - }, - "required": [ - "id", - "type" - ] - }, - "DevicesResponse": { - "type": "object", - "title": "DevicesResponse", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Device" + "$ref": "#/components/schemas/GameCenterAchievementLocalization" } }, - "links": { - "$ref": "#/components/schemas/PagedDocumentLinks" - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - } - }, - "required": [ - "data", - "links" - ] - }, - "DeviceResponse": { - "type": "object", - "title": "DeviceResponse", - "properties": { - "data": { - "$ref": "#/components/schemas/Device" - }, "links": { "$ref": "#/components/schemas/DocumentLinks" } @@ -106627,9 +111118,9 @@ "links" ] }, - "DeviceCreateRequest": { + "GameCenterAchievementImageCreateRequest": { "type": "object", - "title": "DeviceCreateRequest", + "title": "GameCenterAchievementImageCreateRequest", "properties": { "data": { "type": "object", @@ -106637,73 +111128,62 @@ "type": { "type": "string", "enum": [ - "devices" + "gameCenterAchievementImages" ] }, "attributes": { "type": "object", "properties": { - "name": { - "type": "string" - }, - "platform": { - "$ref": "#/components/schemas/BundleIdPlatform" + "fileSize": { + "type": "integer" }, - "udid": { + "fileName": { "type": "string" } }, "required": [ - "name", - "udid", - "platform" - ] - } - }, - "required": [ - "attributes", - "type" - ] - } - }, - "required": [ - "data" - ] - }, - "DeviceUpdateRequest": { - "type": "object", - "title": "DeviceUpdateRequest", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "devices" + "fileName", + "fileSize" ] }, - "id": { - "type": "string" - }, - "attributes": { + "relationships": { "type": "object", "properties": { - "name": { - "type": "string" - }, - "status": { - "type": "string", - "enum": [ - "ENABLED", - "DISABLED" + "gameCenterAchievementLocalization": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterAchievementLocalizations" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" ] } - } + }, + "required": [ + "gameCenterAchievementLocalization" + ] } }, "required": [ - "id", + "relationships", + "attributes", "type" ] } @@ -106712,122 +111192,9 @@ "data" ] }, - "DiagnosticLog": { - "type": "object", - "title": "DiagnosticLog", - "properties": { - "type": { - "type": "string", - "enum": [ - "diagnosticLogs" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - }, - "DiagnosticSignature": { - "type": "object", - "title": "DiagnosticSignature", - "properties": { - "type": { - "type": "string", - "enum": [ - "diagnosticSignatures" - ] - }, - "id": { - "type": "string" - }, - "attributes": { - "type": "object", - "properties": { - "diagnosticType": { - "type": "string", - "enum": [ - "DISK_WRITES", - "HANGS" - ] - }, - "signature": { - "type": "string" - }, - "weight": { - "type": "number" - } - } - } - }, - "required": [ - "id", - "type" - ] - }, - "DiagnosticSignaturesResponse": { - "type": "object", - "title": "DiagnosticSignaturesResponse", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DiagnosticSignature" - } - }, - "links": { - "$ref": "#/components/schemas/PagedDocumentLinks" - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - } - }, - "required": [ - "data", - "links" - ] - }, - "EndAppAvailabilityPreOrder": { - "type": "object", - "title": "EndAppAvailabilityPreOrder", - "properties": { - "type": { - "type": "string", - "enum": [ - "endAppAvailabilityPreOrders" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - }, - "EndAppAvailabilityPreOrderResponse": { - "type": "object", - "title": "EndAppAvailabilityPreOrderResponse", - "properties": { - "data": { - "$ref": "#/components/schemas/EndAppAvailabilityPreOrder" - }, - "links": { - "$ref": "#/components/schemas/DocumentLinks" - } - }, - "required": [ - "data", - "links" - ] - }, - "EndAppAvailabilityPreOrderCreateRequest": { + "GameCenterAchievementImageUpdateRequest": { "type": "object", - "title": "EndAppAvailabilityPreOrderCreateRequest", + "title": "GameCenterAchievementImageUpdateRequest", "properties": { "data": { "type": "object", @@ -106835,49 +111202,23 @@ "type": { "type": "string", "enum": [ - "endAppAvailabilityPreOrders" + "gameCenterAchievementImages" ] }, - "relationships": { + "id": { + "type": "string" + }, + "attributes": { "type": "object", "properties": { - "territoryAvailabilities": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "territoryAvailabilities" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - }, - "required": [ - "data" - ] - } - }, - "required": [ - "territoryAvailabilities" - ] + "uploaded": { + "type": "boolean" + } + } } }, "required": [ - "relationships", + "id", "type" ] } @@ -106886,14 +111227,14 @@ "data" ] }, - "EndUserLicenseAgreement": { + "GameCenterAchievementLocalization": { "type": "object", - "title": "EndUserLicenseAgreement", + "title": "GameCenterAchievementLocalization", "properties": { "type": { "type": "string", "enum": [ - "endUserLicenseAgreements" + "gameCenterAchievementLocalizations" ] }, "id": { @@ -106902,7 +111243,16 @@ "attributes": { "type": "object", "properties": { - "agreementText": { + "locale": { + "type": "string" + }, + "name": { + "type": "string" + }, + "beforeEarnedDescription": { + "type": "string" + }, + "afterEarnedDescription": { "type": "string" } } @@ -106910,7 +111260,7 @@ "relationships": { "type": "object", "properties": { - "app": { + "gameCenterAchievement": { "type": "object", "properties": { "links": { @@ -106932,7 +111282,7 @@ "type": { "type": "string", "enum": [ - "apps" + "gameCenterAchievements" ] }, "id": { @@ -106946,7 +111296,7 @@ } } }, - "territories": { + "gameCenterAchievementImage": { "type": "object", "properties": { "links": { @@ -106962,29 +111312,23 @@ } } }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - }, "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "territories" - ] - }, - "id": { - "type": "string" - } + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterAchievementImages" + ] }, - "required": [ - "id", - "type" - ] - } + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] } } } @@ -106999,22 +111343,57 @@ "type" ] }, - "EndUserLicenseAgreementResponse": { + "GameCenterAchievementLocalizationsResponse": { "type": "object", - "title": "EndUserLicenseAgreementResponse", + "title": "GameCenterAchievementLocalizationsResponse", "properties": { "data": { - "$ref": "#/components/schemas/EndUserLicenseAgreement" + "type": "array", + "items": { + "$ref": "#/components/schemas/GameCenterAchievementLocalization" + } }, "included": { "type": "array", "items": { "oneOf": [ { - "$ref": "#/components/schemas/App" + "$ref": "#/components/schemas/GameCenterAchievement" }, { - "$ref": "#/components/schemas/Territory" + "$ref": "#/components/schemas/GameCenterAchievementImage" + } + ] + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "GameCenterAchievementLocalizationResponse": { + "type": "object", + "title": "GameCenterAchievementLocalizationResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/GameCenterAchievementLocalization" + }, + "included": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/GameCenterAchievement" + }, + { + "$ref": "#/components/schemas/GameCenterAchievementImage" } ] } @@ -107028,9 +111407,9 @@ "links" ] }, - "EndUserLicenseAgreementCreateRequest": { + "GameCenterAchievementLocalizationCreateRequest": { "type": "object", - "title": "EndUserLicenseAgreementCreateRequest", + "title": "GameCenterAchievementLocalizationCreateRequest", "properties": { "data": { "type": "object", @@ -107038,24 +111417,36 @@ "type": { "type": "string", "enum": [ - "endUserLicenseAgreements" + "gameCenterAchievementLocalizations" ] }, "attributes": { "type": "object", "properties": { - "agreementText": { + "locale": { + "type": "string" + }, + "name": { + "type": "string" + }, + "beforeEarnedDescription": { + "type": "string" + }, + "afterEarnedDescription": { "type": "string" } }, "required": [ - "agreementText" + "name", + "beforeEarnedDescription", + "locale", + "afterEarnedDescription" ] }, "relationships": { "type": "object", "properties": { - "app": { + "gameCenterAchievement": { "type": "object", "properties": { "data": { @@ -107064,7 +111455,7 @@ "type": { "type": "string", "enum": [ - "apps" + "gameCenterAchievements" ] }, "id": { @@ -107080,40 +111471,10 @@ "required": [ "data" ] - }, - "territories": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "territories" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - }, - "required": [ - "data" - ] } }, "required": [ - "app", - "territories" + "gameCenterAchievement" ] } }, @@ -107128,9 +111489,9 @@ "data" ] }, - "EndUserLicenseAgreementUpdateRequest": { + "GameCenterAchievementLocalizationUpdateRequest": { "type": "object", - "title": "EndUserLicenseAgreementUpdateRequest", + "title": "GameCenterAchievementLocalizationUpdateRequest", "properties": { "data": { "type": "object", @@ -107138,7 +111499,7 @@ "type": { "type": "string", "enum": [ - "endUserLicenseAgreements" + "gameCenterAchievementLocalizations" ] }, "id": { @@ -107147,39 +111508,14 @@ "attributes": { "type": "object", "properties": { - "agreementText": { + "name": { + "type": "string" + }, + "beforeEarnedDescription": { + "type": "string" + }, + "afterEarnedDescription": { "type": "string" - } - } - }, - "relationships": { - "type": "object", - "properties": { - "territories": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "territories" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - } } } } @@ -107194,14 +111530,14 @@ "data" ] }, - "GameCenterAchievementImage": { + "GameCenterAchievementRelease": { "type": "object", - "title": "GameCenterAchievementImage", + "title": "GameCenterAchievementRelease", "properties": { "type": { "type": "string", "enum": [ - "gameCenterAchievementImages" + "gameCenterAchievementReleases" ] }, "id": { @@ -107210,30 +111546,15 @@ "attributes": { "type": "object", "properties": { - "fileSize": { - "type": "integer" - }, - "fileName": { - "type": "string" - }, - "imageAsset": { - "$ref": "#/components/schemas/ImageAsset" - }, - "uploadOperations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UploadOperation" - } - }, - "assetDeliveryState": { - "$ref": "#/components/schemas/AppMediaAssetState" + "live": { + "type": "boolean" } } }, "relationships": { "type": "object", "properties": { - "gameCenterAchievementLocalization": { + "gameCenterDetail": { "type": "object", "properties": { "links": { @@ -107255,7 +111576,43 @@ "type": { "type": "string", "enum": [ - "gameCenterAchievementLocalizations" + "gameCenterDetails" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "gameCenterAchievement": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterAchievements" ] }, "id": { @@ -107280,17 +111637,59 @@ "type" ] }, - "GameCenterAchievementImageResponse": { + "GameCenterAchievementReleasesResponse": { "type": "object", - "title": "GameCenterAchievementImageResponse", + "title": "GameCenterAchievementReleasesResponse", "properties": { "data": { - "$ref": "#/components/schemas/GameCenterAchievementImage" + "type": "array", + "items": { + "$ref": "#/components/schemas/GameCenterAchievementRelease" + } }, "included": { "type": "array", "items": { - "$ref": "#/components/schemas/GameCenterAchievementLocalization" + "oneOf": [ + { + "$ref": "#/components/schemas/GameCenterDetail" + }, + { + "$ref": "#/components/schemas/GameCenterAchievement" + } + ] + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "GameCenterAchievementReleaseResponse": { + "type": "object", + "title": "GameCenterAchievementReleaseResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/GameCenterAchievementRelease" + }, + "included": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/GameCenterDetail" + }, + { + "$ref": "#/components/schemas/GameCenterAchievement" + } + ] } }, "links": { @@ -107302,9 +111701,9 @@ "links" ] }, - "GameCenterAchievementImageCreateRequest": { + "GameCenterAchievementReleaseCreateRequest": { "type": "object", - "title": "GameCenterAchievementImageCreateRequest", + "title": "GameCenterAchievementReleaseCreateRequest", "properties": { "data": { "type": "object", @@ -107312,28 +111711,13 @@ "type": { "type": "string", "enum": [ - "gameCenterAchievementImages" - ] - }, - "attributes": { - "type": "object", - "properties": { - "fileSize": { - "type": "integer" - }, - "fileName": { - "type": "string" - } - }, - "required": [ - "fileName", - "fileSize" + "gameCenterAchievementReleases" ] }, "relationships": { "type": "object", "properties": { - "gameCenterAchievementLocalization": { + "gameCenterDetail": { "type": "object", "properties": { "data": { @@ -107342,7 +111726,33 @@ "type": { "type": "string", "enum": [ - "gameCenterAchievementLocalizations" + "gameCenterDetails" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "gameCenterAchievement": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterAchievements" ] }, "id": { @@ -107361,48 +111771,13 @@ } }, "required": [ - "gameCenterAchievementLocalization" + "gameCenterDetail", + "gameCenterAchievement" ] } }, "required": [ "relationships", - "attributes", - "type" - ] - } - }, - "required": [ - "data" - ] - }, - "GameCenterAchievementImageUpdateRequest": { - "type": "object", - "title": "GameCenterAchievementImageUpdateRequest", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterAchievementImages" - ] - }, - "id": { - "type": "string" - }, - "attributes": { - "type": "object", - "properties": { - "uploaded": { - "type": "boolean" - } - } - } - }, - "required": [ - "id", "type" ] } @@ -107411,14 +111786,14 @@ "data" ] }, - "GameCenterAchievementLocalization": { + "GameCenterAchievement": { "type": "object", - "title": "GameCenterAchievementLocalization", + "title": "GameCenterAchievement", "properties": { "type": { "type": "string", "enum": [ - "gameCenterAchievementLocalizations" + "gameCenterAchievements" ] }, "id": { @@ -107427,24 +111802,102 @@ "attributes": { "type": "object", "properties": { - "locale": { + "referenceName": { "type": "string" }, - "name": { + "vendorIdentifier": { "type": "string" }, - "beforeEarnedDescription": { - "type": "string" + "points": { + "type": "integer" }, - "afterEarnedDescription": { - "type": "string" + "showBeforeEarned": { + "type": "boolean" + }, + "repeatable": { + "type": "boolean" + }, + "archived": { + "type": "boolean" } } }, "relationships": { "type": "object", "properties": { - "gameCenterAchievement": { + "gameCenterDetail": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterDetails" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "gameCenterGroup": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterGroups" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "groupAchievement": { "type": "object", "properties": { "links": { @@ -107480,7 +111933,7 @@ } } }, - "gameCenterAchievementImage": { + "localizations": { "type": "object", "properties": { "links": { @@ -107496,23 +111949,71 @@ } } }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterAchievementLocalizations" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + }, + "releases": { + "type": "object", + "properties": { + "links": { "type": "object", "properties": { - "type": { + "self": { "type": "string", - "enum": [ - "gameCenterAchievementImages" - ] + "format": "uri-reference" }, - "id": { - "type": "string" + "related": { + "type": "string", + "format": "uri-reference" } - }, - "required": [ - "id", - "type" - ] + } + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterAchievementReleases" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } } } } @@ -107527,25 +112028,34 @@ "type" ] }, - "GameCenterAchievementLocalizationsResponse": { + "GameCenterAchievementsResponse": { "type": "object", - "title": "GameCenterAchievementLocalizationsResponse", + "title": "GameCenterAchievementsResponse", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/GameCenterAchievementLocalization" + "$ref": "#/components/schemas/GameCenterAchievement" } }, "included": { "type": "array", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/GameCenterDetail" + }, + { + "$ref": "#/components/schemas/GameCenterGroup" + }, { "$ref": "#/components/schemas/GameCenterAchievement" }, { - "$ref": "#/components/schemas/GameCenterAchievementImage" + "$ref": "#/components/schemas/GameCenterAchievementLocalization" + }, + { + "$ref": "#/components/schemas/GameCenterAchievementRelease" } ] } @@ -107562,22 +112072,31 @@ "links" ] }, - "GameCenterAchievementLocalizationResponse": { + "GameCenterAchievementResponse": { "type": "object", - "title": "GameCenterAchievementLocalizationResponse", + "title": "GameCenterAchievementResponse", "properties": { "data": { - "$ref": "#/components/schemas/GameCenterAchievementLocalization" + "$ref": "#/components/schemas/GameCenterAchievement" }, "included": { "type": "array", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/GameCenterDetail" + }, + { + "$ref": "#/components/schemas/GameCenterGroup" + }, { "$ref": "#/components/schemas/GameCenterAchievement" }, { - "$ref": "#/components/schemas/GameCenterAchievementImage" + "$ref": "#/components/schemas/GameCenterAchievementLocalization" + }, + { + "$ref": "#/components/schemas/GameCenterAchievementRelease" } ] } @@ -107591,9 +112110,9 @@ "links" ] }, - "GameCenterAchievementLocalizationCreateRequest": { + "GameCenterAchievementCreateRequest": { "type": "object", - "title": "GameCenterAchievementLocalizationCreateRequest", + "title": "GameCenterAchievementCreateRequest", "properties": { "data": { "type": "object", @@ -107601,36 +112120,40 @@ "type": { "type": "string", "enum": [ - "gameCenterAchievementLocalizations" + "gameCenterAchievements" ] }, "attributes": { "type": "object", "properties": { - "locale": { + "referenceName": { "type": "string" }, - "name": { + "vendorIdentifier": { "type": "string" }, - "beforeEarnedDescription": { - "type": "string" + "points": { + "type": "integer" }, - "afterEarnedDescription": { - "type": "string" + "showBeforeEarned": { + "type": "boolean" + }, + "repeatable": { + "type": "boolean" } }, "required": [ - "name", - "beforeEarnedDescription", - "locale", - "afterEarnedDescription" + "vendorIdentifier", + "repeatable", + "showBeforeEarned", + "referenceName", + "points" ] }, "relationships": { "type": "object", "properties": { - "gameCenterAchievement": { + "gameCenterDetail": { "type": "object", "properties": { "data": { @@ -107639,7 +112162,7 @@ "type": { "type": "string", "enum": [ - "gameCenterAchievements" + "gameCenterDetails" ] }, "id": { @@ -107651,19 +112174,35 @@ "type" ] } - }, - "required": [ - "data" - ] + } + }, + "gameCenterGroup": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterGroups" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } } - }, - "required": [ - "gameCenterAchievement" - ] + } } }, "required": [ - "relationships", "attributes", "type" ] @@ -107673,9 +112212,9 @@ "data" ] }, - "GameCenterAchievementLocalizationUpdateRequest": { + "GameCenterAchievementUpdateRequest": { "type": "object", - "title": "GameCenterAchievementLocalizationUpdateRequest", + "title": "GameCenterAchievementUpdateRequest", "properties": { "data": { "type": "object", @@ -107683,7 +112222,7 @@ "type": { "type": "string", "enum": [ - "gameCenterAchievementLocalizations" + "gameCenterAchievements" ] }, "id": { @@ -107692,14 +112231,20 @@ "attributes": { "type": "object", "properties": { - "name": { + "referenceName": { "type": "string" }, - "beforeEarnedDescription": { - "type": "string" + "points": { + "type": "integer" }, - "afterEarnedDescription": { - "type": "string" + "showBeforeEarned": { + "type": "boolean" + }, + "repeatable": { + "type": "boolean" + }, + "archived": { + "type": "boolean" } } } @@ -107714,14 +112259,14 @@ "data" ] }, - "GameCenterAchievementRelease": { + "GameCenterAppVersion": { "type": "object", - "title": "GameCenterAchievementRelease", + "title": "GameCenterAppVersion", "properties": { "type": { "type": "string", "enum": [ - "gameCenterAchievementReleases" + "gameCenterAppVersions" ] }, "id": { @@ -107730,7 +112275,7 @@ "attributes": { "type": "object", "properties": { - "live": { + "enabled": { "type": "boolean" } } @@ -107738,7 +112283,7 @@ "relationships": { "type": "object", "properties": { - "gameCenterDetail": { + "compatibilityVersions": { "type": "object", "properties": { "links": { @@ -107754,27 +112299,33 @@ } } }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterDetails" - ] + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterAppVersions" + ] + }, + "id": { + "type": "string" + } }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] + "required": [ + "id", + "type" + ] + } } } }, - "gameCenterAchievement": { + "appStoreVersion": { "type": "object", "properties": { "links": { @@ -107796,7 +112347,7 @@ "type": { "type": "string", "enum": [ - "gameCenterAchievements" + "appStoreVersions" ] }, "id": { @@ -107821,14 +112372,14 @@ "type" ] }, - "GameCenterAchievementReleasesResponse": { + "GameCenterAppVersionsResponse": { "type": "object", - "title": "GameCenterAchievementReleasesResponse", + "title": "GameCenterAppVersionsResponse", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/GameCenterAchievementRelease" + "$ref": "#/components/schemas/GameCenterAppVersion" } }, "included": { @@ -107836,10 +112387,10 @@ "items": { "oneOf": [ { - "$ref": "#/components/schemas/GameCenterDetail" + "$ref": "#/components/schemas/GameCenterAppVersion" }, { - "$ref": "#/components/schemas/GameCenterAchievement" + "$ref": "#/components/schemas/AppStoreVersion" } ] } @@ -107856,22 +112407,22 @@ "links" ] }, - "GameCenterAchievementReleaseResponse": { + "GameCenterAppVersionResponse": { "type": "object", - "title": "GameCenterAchievementReleaseResponse", + "title": "GameCenterAppVersionResponse", "properties": { "data": { - "$ref": "#/components/schemas/GameCenterAchievementRelease" + "$ref": "#/components/schemas/GameCenterAppVersion" }, "included": { "type": "array", "items": { "oneOf": [ { - "$ref": "#/components/schemas/GameCenterDetail" + "$ref": "#/components/schemas/GameCenterAppVersion" }, { - "$ref": "#/components/schemas/GameCenterAchievement" + "$ref": "#/components/schemas/AppStoreVersion" } ] } @@ -107885,9 +112436,9 @@ "links" ] }, - "GameCenterAchievementReleaseCreateRequest": { + "GameCenterAppVersionCreateRequest": { "type": "object", - "title": "GameCenterAchievementReleaseCreateRequest", + "title": "GameCenterAppVersionCreateRequest", "properties": { "data": { "type": "object", @@ -107895,39 +112446,13 @@ "type": { "type": "string", "enum": [ - "gameCenterAchievementReleases" + "gameCenterAppVersions" ] }, "relationships": { "type": "object", "properties": { - "gameCenterDetail": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterDetails" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - }, - "required": [ - "data" - ] - }, - "gameCenterAchievement": { + "appStoreVersion": { "type": "object", "properties": { "data": { @@ -107936,7 +112461,7 @@ "type": { "type": "string", "enum": [ - "gameCenterAchievements" + "appStoreVersions" ] }, "id": { @@ -107955,8 +112480,7 @@ } }, "required": [ - "gameCenterDetail", - "gameCenterAchievement" + "appStoreVersion" ] } }, @@ -107970,14 +112494,49 @@ "data" ] }, - "GameCenterAchievement": { + "GameCenterAppVersionUpdateRequest": { "type": "object", - "title": "GameCenterAchievement", + "title": "GameCenterAppVersionUpdateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterAppVersions" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + } + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "GameCenterDetail": { + "type": "object", + "title": "GameCenterDetail", "properties": { "type": { "type": "string", "enum": [ - "gameCenterAchievements" + "gameCenterDetails" ] }, "id": { @@ -107986,30 +112545,174 @@ "attributes": { "type": "object", "properties": { - "referenceName": { - "type": "string" + "arcadeEnabled": { + "type": "boolean" }, - "vendorIdentifier": { - "type": "string" + "challengeEnabled": { + "type": "boolean" + } + } + }, + "relationships": { + "type": "object", + "properties": { + "app": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "apps" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } }, - "points": { - "type": "integer" + "gameCenterAppVersions": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterAppVersions" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } }, - "showBeforeEarned": { - "type": "boolean" + "gameCenterGroup": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterGroups" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } }, - "repeatable": { - "type": "boolean" + "gameCenterLeaderboards": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboards" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } }, - "archived": { - "type": "boolean" - } - } - }, - "relationships": { - "type": "object", - "properties": { - "gameCenterDetail": { + "gameCenterLeaderboardSets": { "type": "object", "properties": { "links": { @@ -108025,27 +112728,75 @@ } } }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboardSets" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + }, + "gameCenterAchievements": { + "type": "object", + "properties": { + "links": { "type": "object", "properties": { - "type": { + "self": { "type": "string", - "enum": [ - "gameCenterDetails" - ] + "format": "uri-reference" }, - "id": { - "type": "string" + "related": { + "type": "string", + "format": "uri-reference" } - }, - "required": [ - "id", - "type" - ] + } + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterAchievements" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } } } }, - "gameCenterGroup": { + "defaultLeaderboard": { "type": "object", "properties": { "links": { @@ -108067,7 +112818,7 @@ "type": { "type": "string", "enum": [ - "gameCenterGroups" + "gameCenterLeaderboards" ] }, "id": { @@ -108081,7 +112832,7 @@ } } }, - "groupAchievement": { + "defaultGroupLeaderboard": { "type": "object", "properties": { "links": { @@ -108103,7 +112854,7 @@ "type": { "type": "string", "enum": [ - "gameCenterAchievements" + "gameCenterLeaderboards" ] }, "id": { @@ -108117,7 +112868,7 @@ } } }, - "localizations": { + "achievementReleases": { "type": "object", "properties": { "links": { @@ -108144,7 +112895,7 @@ "type": { "type": "string", "enum": [ - "gameCenterAchievementLocalizations" + "gameCenterAchievementReleases" ] }, "id": { @@ -108159,7 +112910,7 @@ } } }, - "releases": { + "leaderboardReleases": { "type": "object", "properties": { "links": { @@ -108186,7 +112937,49 @@ "type": { "type": "string", "enum": [ - "gameCenterAchievementReleases" + "gameCenterLeaderboardReleases" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + }, + "leaderboardSetReleases": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboardSetReleases" ] }, "id": { @@ -108212,14 +113005,14 @@ "type" ] }, - "GameCenterAchievementsResponse": { + "GameCenterDetailsResponse": { "type": "object", - "title": "GameCenterAchievementsResponse", + "title": "GameCenterDetailsResponse", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/GameCenterAchievement" + "$ref": "#/components/schemas/GameCenterDetail" } }, "included": { @@ -108227,19 +113020,31 @@ "items": { "oneOf": [ { - "$ref": "#/components/schemas/GameCenterDetail" + "$ref": "#/components/schemas/App" + }, + { + "$ref": "#/components/schemas/GameCenterAppVersion" }, { "$ref": "#/components/schemas/GameCenterGroup" }, { - "$ref": "#/components/schemas/GameCenterAchievement" + "$ref": "#/components/schemas/GameCenterLeaderboard" }, { - "$ref": "#/components/schemas/GameCenterAchievementLocalization" + "$ref": "#/components/schemas/GameCenterLeaderboardSet" + }, + { + "$ref": "#/components/schemas/GameCenterAchievement" }, { "$ref": "#/components/schemas/GameCenterAchievementRelease" + }, + { + "$ref": "#/components/schemas/GameCenterLeaderboardRelease" + }, + { + "$ref": "#/components/schemas/GameCenterLeaderboardSetRelease" } ] } @@ -108256,31 +113061,43 @@ "links" ] }, - "GameCenterAchievementResponse": { + "GameCenterDetailResponse": { "type": "object", - "title": "GameCenterAchievementResponse", + "title": "GameCenterDetailResponse", "properties": { "data": { - "$ref": "#/components/schemas/GameCenterAchievement" + "$ref": "#/components/schemas/GameCenterDetail" }, "included": { "type": "array", "items": { "oneOf": [ { - "$ref": "#/components/schemas/GameCenterDetail" + "$ref": "#/components/schemas/App" + }, + { + "$ref": "#/components/schemas/GameCenterAppVersion" }, { "$ref": "#/components/schemas/GameCenterGroup" }, { - "$ref": "#/components/schemas/GameCenterAchievement" + "$ref": "#/components/schemas/GameCenterLeaderboard" }, { - "$ref": "#/components/schemas/GameCenterAchievementLocalization" + "$ref": "#/components/schemas/GameCenterLeaderboardSet" + }, + { + "$ref": "#/components/schemas/GameCenterAchievement" }, { "$ref": "#/components/schemas/GameCenterAchievementRelease" + }, + { + "$ref": "#/components/schemas/GameCenterLeaderboardRelease" + }, + { + "$ref": "#/components/schemas/GameCenterLeaderboardSetRelease" } ] } @@ -108294,9 +113111,9 @@ "links" ] }, - "GameCenterAchievementCreateRequest": { + "GameCenterDetailCreateRequest": { "type": "object", - "title": "GameCenterAchievementCreateRequest", + "title": "GameCenterDetailCreateRequest", "properties": { "data": { "type": "object", @@ -108304,63 +113121,21 @@ "type": { "type": "string", "enum": [ - "gameCenterAchievements" + "gameCenterDetails" ] }, "attributes": { "type": "object", "properties": { - "referenceName": { - "type": "string" - }, - "vendorIdentifier": { - "type": "string" - }, - "points": { - "type": "integer" - }, - "showBeforeEarned": { - "type": "boolean" - }, - "repeatable": { + "challengeEnabled": { "type": "boolean" } - }, - "required": [ - "vendorIdentifier", - "repeatable", - "showBeforeEarned", - "referenceName", - "points" - ] + } }, "relationships": { "type": "object", "properties": { - "gameCenterDetail": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterDetails" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - }, - "gameCenterGroup": { + "app": { "type": "object", "properties": { "data": { @@ -108369,7 +113144,7 @@ "type": { "type": "string", "enum": [ - "gameCenterGroups" + "apps" ] }, "id": { @@ -108381,13 +113156,19 @@ "type" ] } - } + }, + "required": [ + "data" + ] } - } + }, + "required": [ + "app" + ] } }, "required": [ - "attributes", + "relationships", "type" ] } @@ -108396,9 +113177,9 @@ "data" ] }, - "GameCenterAchievementUpdateRequest": { + "GameCenterDetailUpdateRequest": { "type": "object", - "title": "GameCenterAchievementUpdateRequest", + "title": "GameCenterDetailUpdateRequest", "properties": { "data": { "type": "object", @@ -108406,7 +113187,7 @@ "type": { "type": "string", "enum": [ - "gameCenterAchievements" + "gameCenterDetails" ] }, "id": { @@ -108415,228 +113196,61 @@ "attributes": { "type": "object", "properties": { - "referenceName": { - "type": "string" - }, - "points": { - "type": "integer" - }, - "showBeforeEarned": { - "type": "boolean" - }, - "repeatable": { - "type": "boolean" - }, - "archived": { + "challengeEnabled": { "type": "boolean" } } - } - }, - "required": [ - "id", - "type" - ] - } - }, - "required": [ - "data" - ] - }, - "GameCenterAppVersion": { - "type": "object", - "title": "GameCenterAppVersion", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterAppVersions" - ] - }, - "id": { - "type": "string" - }, - "attributes": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, - "relationships": { - "type": "object", - "properties": { - "compatibilityVersions": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - }, - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterAppVersions" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - } }, - "appStoreVersion": { + "relationships": { "type": "object", "properties": { - "links": { + "gameCenterGroup": { "type": "object", "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterGroups" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] } } }, - "data": { + "defaultLeaderboard": { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "appStoreVersions" + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboards" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" ] - }, - "id": { - "type": "string" } - }, - "required": [ - "id", - "type" - ] - } - } - } - } - }, - "links": { - "$ref": "#/components/schemas/ResourceLinks" - } - }, - "required": [ - "id", - "type" - ] - }, - "GameCenterAppVersionsResponse": { - "type": "object", - "title": "GameCenterAppVersionsResponse", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GameCenterAppVersion" - } - }, - "included": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/GameCenterAppVersion" - }, - { - "$ref": "#/components/schemas/AppStoreVersion" - } - ] - } - }, - "links": { - "$ref": "#/components/schemas/PagedDocumentLinks" - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - } - }, - "required": [ - "data", - "links" - ] - }, - "GameCenterAppVersionResponse": { - "type": "object", - "title": "GameCenterAppVersionResponse", - "properties": { - "data": { - "$ref": "#/components/schemas/GameCenterAppVersion" - }, - "included": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/GameCenterAppVersion" - }, - { - "$ref": "#/components/schemas/AppStoreVersion" - } - ] - } - }, - "links": { - "$ref": "#/components/schemas/DocumentLinks" - } - }, - "required": [ - "data", - "links" - ] - }, - "GameCenterAppVersionCreateRequest": { - "type": "object", - "title": "GameCenterAppVersionCreateRequest", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterAppVersions" - ] - }, - "relationships": { - "type": "object", - "properties": { - "appStoreVersion": { + } + }, + "defaultGroupLeaderboard": { "type": "object", "properties": { "data": { @@ -108645,7 +113259,7 @@ "type": { "type": "string", "enum": [ - "appStoreVersions" + "gameCenterLeaderboards" ] }, "id": { @@ -108657,48 +113271,7 @@ "type" ] } - }, - "required": [ - "data" - ] - } - }, - "required": [ - "appStoreVersion" - ] - } - }, - "required": [ - "relationships", - "type" - ] - } - }, - "required": [ - "data" - ] - }, - "GameCenterAppVersionUpdateRequest": { - "type": "object", - "title": "GameCenterAppVersionUpdateRequest", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterAppVersions" - ] - }, - "id": { - "type": "string" - }, - "attributes": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" + } } } } @@ -108713,14 +113286,14 @@ "data" ] }, - "GameCenterDetail": { + "GameCenterEnabledVersion": { "type": "object", - "title": "GameCenterDetail", + "title": "GameCenterEnabledVersion", "properties": { "type": { "type": "string", "enum": [ - "gameCenterDetails" + "gameCenterEnabledVersions" ] }, "id": { @@ -108729,54 +113302,21 @@ "attributes": { "type": "object", "properties": { - "arcadeEnabled": { - "type": "boolean" + "platform": { + "$ref": "#/components/schemas/Platform" }, - "challengeEnabled": { - "type": "boolean" + "versionString": { + "type": "string" + }, + "iconAsset": { + "$ref": "#/components/schemas/ImageAsset" } } }, "relationships": { "type": "object", "properties": { - "app": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "apps" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - }, - "gameCenterAppVersions": { + "compatibleVersions": { "type": "object", "properties": { "links": { @@ -108803,7 +113343,7 @@ "type": { "type": "string", "enum": [ - "gameCenterAppVersions" + "gameCenterEnabledVersions" ] }, "id": { @@ -108818,7 +113358,7 @@ } } }, - "gameCenterGroup": { + "app": { "type": "object", "properties": { "links": { @@ -108840,7 +113380,7 @@ "type": { "type": "string", "enum": [ - "gameCenterGroups" + "apps" ] }, "id": { @@ -108853,92 +113393,80 @@ ] } } - }, - "gameCenterLeaderboards": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - }, - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterLeaderboards" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - } - }, - "gameCenterLeaderboardSets": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - }, - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterLeaderboardSets" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ], + "deprecated": true + }, + "GameCenterEnabledVersionsResponse": { + "type": "object", + "title": "GameCenterEnabledVersionsResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GameCenterEnabledVersion" + } + }, + "included": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/GameCenterEnabledVersion" + }, + { + "$ref": "#/components/schemas/App" } - }, - "gameCenterAchievements": { + ] + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ], + "deprecated": true + }, + "GameCenterGroup": { + "type": "object", + "title": "GameCenterGroup", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterGroups" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "referenceName": { + "type": "string" + } + } + }, + "relationships": { + "type": "object", + "properties": { + "gameCenterDetails": { "type": "object", "properties": { "links": { @@ -108965,7 +113493,7 @@ "type": { "type": "string", "enum": [ - "gameCenterAchievements" + "gameCenterDetails" ] }, "id": { @@ -108980,79 +113508,7 @@ } } }, - "defaultLeaderboard": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterLeaderboards" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - }, - "defaultGroupLeaderboard": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterLeaderboards" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - }, - "achievementReleases": { + "gameCenterLeaderboards": { "type": "object", "properties": { "links": { @@ -109079,7 +113535,7 @@ "type": { "type": "string", "enum": [ - "gameCenterAchievementReleases" + "gameCenterLeaderboards" ] }, "id": { @@ -109094,7 +113550,7 @@ } } }, - "leaderboardReleases": { + "gameCenterLeaderboardSets": { "type": "object", "properties": { "links": { @@ -109121,7 +113577,7 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboardReleases" + "gameCenterLeaderboardSets" ] }, "id": { @@ -109136,7 +113592,7 @@ } } }, - "leaderboardSetReleases": { + "gameCenterAchievements": { "type": "object", "properties": { "links": { @@ -109163,7 +113619,7 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboardSetReleases" + "gameCenterAchievements" ] }, "id": { @@ -109189,14 +113645,14 @@ "type" ] }, - "GameCenterDetailsResponse": { + "GameCenterGroupsResponse": { "type": "object", - "title": "GameCenterDetailsResponse", + "title": "GameCenterGroupsResponse", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/GameCenterDetail" + "$ref": "#/components/schemas/GameCenterGroup" } }, "included": { @@ -109204,13 +113660,7 @@ "items": { "oneOf": [ { - "$ref": "#/components/schemas/App" - }, - { - "$ref": "#/components/schemas/GameCenterAppVersion" - }, - { - "$ref": "#/components/schemas/GameCenterGroup" + "$ref": "#/components/schemas/GameCenterDetail" }, { "$ref": "#/components/schemas/GameCenterLeaderboard" @@ -109220,70 +113670,220 @@ }, { "$ref": "#/components/schemas/GameCenterAchievement" + } + ] + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "GameCenterGroupResponse": { + "type": "object", + "title": "GameCenterGroupResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/GameCenterGroup" + }, + "included": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/GameCenterDetail" }, { - "$ref": "#/components/schemas/GameCenterAchievementRelease" + "$ref": "#/components/schemas/GameCenterLeaderboard" }, { - "$ref": "#/components/schemas/GameCenterLeaderboardRelease" + "$ref": "#/components/schemas/GameCenterLeaderboardSet" }, { - "$ref": "#/components/schemas/GameCenterLeaderboardSetRelease" + "$ref": "#/components/schemas/GameCenterAchievement" + } + ] + } + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "GameCenterGroupCreateRequest": { + "type": "object", + "title": "GameCenterGroupCreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterGroups" + ] + }, + "attributes": { + "type": "object", + "properties": { + "referenceName": { + "type": "string" + } + } + } + }, + "required": [ + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "GameCenterGroupUpdateRequest": { + "type": "object", + "title": "GameCenterGroupUpdateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterGroups" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "referenceName": { + "type": "string" + } + } + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "GameCenterLeaderboardImage": { + "type": "object", + "title": "GameCenterLeaderboardImage", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboardImages" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "fileSize": { + "type": "integer" + }, + "fileName": { + "type": "string" + }, + "imageAsset": { + "$ref": "#/components/schemas/ImageAsset" + }, + "uploadOperations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UploadOperation" + } + }, + "assetDeliveryState": { + "$ref": "#/components/schemas/AppMediaAssetState" + } + } + }, + "relationships": { + "type": "object", + "properties": { + "gameCenterLeaderboardLocalization": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboardLocalizations" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } } - ] + } } }, "links": { - "$ref": "#/components/schemas/PagedDocumentLinks" - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" + "$ref": "#/components/schemas/ResourceLinks" } }, "required": [ - "data", - "links" + "id", + "type" ] }, - "GameCenterDetailResponse": { + "GameCenterLeaderboardImageResponse": { "type": "object", - "title": "GameCenterDetailResponse", + "title": "GameCenterLeaderboardImageResponse", "properties": { "data": { - "$ref": "#/components/schemas/GameCenterDetail" + "$ref": "#/components/schemas/GameCenterLeaderboardImage" }, "included": { "type": "array", "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/App" - }, - { - "$ref": "#/components/schemas/GameCenterAppVersion" - }, - { - "$ref": "#/components/schemas/GameCenterGroup" - }, - { - "$ref": "#/components/schemas/GameCenterLeaderboard" - }, - { - "$ref": "#/components/schemas/GameCenterLeaderboardSet" - }, - { - "$ref": "#/components/schemas/GameCenterAchievement" - }, - { - "$ref": "#/components/schemas/GameCenterAchievementRelease" - }, - { - "$ref": "#/components/schemas/GameCenterLeaderboardRelease" - }, - { - "$ref": "#/components/schemas/GameCenterLeaderboardSetRelease" - } - ] + "$ref": "#/components/schemas/GameCenterLeaderboardLocalization" } }, "links": { @@ -109295,9 +113895,9 @@ "links" ] }, - "GameCenterDetailCreateRequest": { + "GameCenterLeaderboardImageCreateRequest": { "type": "object", - "title": "GameCenterDetailCreateRequest", + "title": "GameCenterLeaderboardImageCreateRequest", "properties": { "data": { "type": "object", @@ -109305,21 +113905,28 @@ "type": { "type": "string", "enum": [ - "gameCenterDetails" + "gameCenterLeaderboardImages" ] }, "attributes": { "type": "object", "properties": { - "challengeEnabled": { - "type": "boolean" + "fileSize": { + "type": "integer" + }, + "fileName": { + "type": "string" } - } + }, + "required": [ + "fileName", + "fileSize" + ] }, "relationships": { "type": "object", "properties": { - "app": { + "gameCenterLeaderboardLocalization": { "type": "object", "properties": { "data": { @@ -109328,7 +113935,7 @@ "type": { "type": "string", "enum": [ - "apps" + "gameCenterLeaderboardLocalizations" ] }, "id": { @@ -109347,12 +113954,13 @@ } }, "required": [ - "app" + "gameCenterLeaderboardLocalization" ] } }, "required": [ "relationships", + "attributes", "type" ] } @@ -109361,9 +113969,9 @@ "data" ] }, - "GameCenterDetailUpdateRequest": { + "GameCenterLeaderboardImageUpdateRequest": { "type": "object", - "title": "GameCenterDetailUpdateRequest", + "title": "GameCenterLeaderboardImageUpdateRequest", "properties": { "data": { "type": "object", @@ -109371,7 +113979,7 @@ "type": { "type": "string", "enum": [ - "gameCenterDetails" + "gameCenterLeaderboardImages" ] }, "id": { @@ -109380,84 +113988,10 @@ "attributes": { "type": "object", "properties": { - "challengeEnabled": { + "uploaded": { "type": "boolean" } } - }, - "relationships": { - "type": "object", - "properties": { - "gameCenterGroup": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterGroups" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - }, - "defaultLeaderboard": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterLeaderboards" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - }, - "defaultGroupLeaderboard": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterLeaderboards" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - } - } } }, "required": [ @@ -109470,14 +114004,14 @@ "data" ] }, - "GameCenterEnabledVersion": { + "GameCenterLeaderboardLocalization": { "type": "object", - "title": "GameCenterEnabledVersion", + "title": "GameCenterLeaderboardLocalization", "properties": { "type": { "type": "string", "enum": [ - "gameCenterEnabledVersions" + "gameCenterLeaderboardLocalizations" ] }, "id": { @@ -109486,21 +114020,27 @@ "attributes": { "type": "object", "properties": { - "platform": { - "$ref": "#/components/schemas/Platform" + "locale": { + "type": "string" }, - "versionString": { + "name": { "type": "string" }, - "iconAsset": { - "$ref": "#/components/schemas/ImageAsset" + "formatterOverride": { + "$ref": "#/components/schemas/GameCenterLeaderboardFormatter" + }, + "formatterSuffix": { + "type": "string" + }, + "formatterSuffixSingular": { + "type": "string" } } }, "relationships": { "type": "object", "properties": { - "compatibleVersions": { + "gameCenterLeaderboard": { "type": "object", "properties": { "links": { @@ -109516,33 +114056,27 @@ } } }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - }, "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterEnabledVersions" - ] - }, - "id": { - "type": "string" - } + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboards" + ] }, - "required": [ - "id", - "type" - ] - } + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] } } }, - "app": { + "gameCenterLeaderboardImage": { "type": "object", "properties": { "links": { @@ -109564,7 +114098,7 @@ "type": { "type": "string", "enum": [ - "apps" + "gameCenterLeaderboardImages" ] }, "id": { @@ -109579,22 +114113,24 @@ } } } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" } }, "required": [ "id", "type" - ], - "deprecated": true + ] }, - "GameCenterEnabledVersionsResponse": { + "GameCenterLeaderboardLocalizationsResponse": { "type": "object", - "title": "GameCenterEnabledVersionsResponse", + "title": "GameCenterLeaderboardLocalizationsResponse", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/GameCenterEnabledVersion" + "$ref": "#/components/schemas/GameCenterLeaderboardLocalization" } }, "included": { @@ -109602,10 +114138,10 @@ "items": { "oneOf": [ { - "$ref": "#/components/schemas/GameCenterEnabledVersion" + "$ref": "#/components/schemas/GameCenterLeaderboard" }, { - "$ref": "#/components/schemas/App" + "$ref": "#/components/schemas/GameCenterLeaderboardImage" } ] } @@ -109620,118 +114156,189 @@ "required": [ "data", "links" - ], - "deprecated": true + ] }, - "GameCenterGroup": { + "GameCenterLeaderboardLocalizationResponse": { "type": "object", - "title": "GameCenterGroup", + "title": "GameCenterLeaderboardLocalizationResponse", "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterGroups" - ] - }, - "id": { - "type": "string" + "data": { + "$ref": "#/components/schemas/GameCenterLeaderboardLocalization" }, - "attributes": { - "type": "object", - "properties": { - "referenceName": { - "type": "string" - } + "included": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/GameCenterLeaderboard" + }, + { + "$ref": "#/components/schemas/GameCenterLeaderboardImage" + } + ] } }, - "relationships": { + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "GameCenterLeaderboardLocalizationCreateRequest": { + "type": "object", + "title": "GameCenterLeaderboardLocalizationCreateRequest", + "properties": { + "data": { "type": "object", "properties": { - "gameCenterDetails": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboardLocalizations" + ] + }, + "attributes": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "locale": { + "type": "string" }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" + "name": { + "type": "string" }, - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterDetails" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } + "formatterOverride": { + "$ref": "#/components/schemas/GameCenterLeaderboardFormatter" + }, + "formatterSuffix": { + "type": "string" + }, + "formatterSuffixSingular": { + "type": "string" } - } + }, + "required": [ + "name", + "locale" + ] }, - "gameCenterLeaderboards": { + "relationships": { "type": "object", "properties": { - "links": { + "gameCenterLeaderboard": { "type": "object", "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboards" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] } - } + }, + "required": [ + "data" + ] + } + }, + "required": [ + "gameCenterLeaderboard" + ] + } + }, + "required": [ + "relationships", + "attributes", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "GameCenterLeaderboardLocalizationUpdateRequest": { + "type": "object", + "title": "GameCenterLeaderboardLocalizationUpdateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboardLocalizations" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string" }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" + "formatterOverride": { + "$ref": "#/components/schemas/GameCenterLeaderboardFormatter" }, - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterLeaderboards" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } + "formatterSuffix": { + "type": "string" + }, + "formatterSuffixSingular": { + "type": "string" } } - }, - "gameCenterLeaderboardSets": { + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "GameCenterLeaderboardRelease": { + "type": "object", + "title": "GameCenterLeaderboardRelease", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboardReleases" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "live": { + "type": "boolean" + } + } + }, + "relationships": { + "type": "object", + "properties": { + "gameCenterDetail": { "type": "object", "properties": { "links": { @@ -109747,33 +114354,27 @@ } } }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - }, "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterLeaderboardSets" - ] - }, - "id": { - "type": "string" - } + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterDetails" + ] }, - "required": [ - "id", - "type" - ] - } + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] } } }, - "gameCenterAchievements": { + "gameCenterLeaderboard": { "type": "object", "properties": { "links": { @@ -109789,29 +114390,23 @@ } } }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - }, "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterAchievements" - ] - }, - "id": { - "type": "string" - } + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboards" + ] }, - "required": [ - "id", - "type" - ] - } + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] } } } @@ -109826,14 +114421,14 @@ "type" ] }, - "GameCenterGroupsResponse": { + "GameCenterLeaderboardReleasesResponse": { "type": "object", - "title": "GameCenterGroupsResponse", + "title": "GameCenterLeaderboardReleasesResponse", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/GameCenterGroup" + "$ref": "#/components/schemas/GameCenterLeaderboardRelease" } }, "included": { @@ -109845,12 +114440,6 @@ }, { "$ref": "#/components/schemas/GameCenterLeaderboard" - }, - { - "$ref": "#/components/schemas/GameCenterLeaderboardSet" - }, - { - "$ref": "#/components/schemas/GameCenterAchievement" } ] } @@ -109867,12 +114456,12 @@ "links" ] }, - "GameCenterGroupResponse": { + "GameCenterLeaderboardReleaseResponse": { "type": "object", - "title": "GameCenterGroupResponse", + "title": "GameCenterLeaderboardReleaseResponse", "properties": { "data": { - "$ref": "#/components/schemas/GameCenterGroup" + "$ref": "#/components/schemas/GameCenterLeaderboardRelease" }, "included": { "type": "array", @@ -109883,12 +114472,6 @@ }, { "$ref": "#/components/schemas/GameCenterLeaderboard" - }, - { - "$ref": "#/components/schemas/GameCenterLeaderboardSet" - }, - { - "$ref": "#/components/schemas/GameCenterAchievement" } ] } @@ -109902,9 +114485,9 @@ "links" ] }, - "GameCenterGroupCreateRequest": { + "GameCenterLeaderboardReleaseCreateRequest": { "type": "object", - "title": "GameCenterGroupCreateRequest", + "title": "GameCenterLeaderboardReleaseCreateRequest", "properties": { "data": { "type": "object", @@ -109912,19 +114495,255 @@ "type": { "type": "string", "enum": [ - "gameCenterGroups" + "gameCenterLeaderboardReleases" + ] + }, + "relationships": { + "type": "object", + "properties": { + "gameCenterDetail": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterDetails" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "gameCenterLeaderboard": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboards" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + } + }, + "required": [ + "gameCenterDetail", + "gameCenterLeaderboard" + ] + } + }, + "required": [ + "relationships", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "GameCenterLeaderboardSetImage": { + "type": "object", + "title": "GameCenterLeaderboardSetImage", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboardSetImages" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "fileSize": { + "type": "integer" + }, + "fileName": { + "type": "string" + }, + "imageAsset": { + "$ref": "#/components/schemas/ImageAsset" + }, + "uploadOperations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UploadOperation" + } + }, + "assetDeliveryState": { + "$ref": "#/components/schemas/AppMediaAssetState" + } + } + }, + "relationships": { + "type": "object", + "properties": { + "gameCenterLeaderboardSetLocalization": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboardSetLocalizations" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "GameCenterLeaderboardSetImageResponse": { + "type": "object", + "title": "GameCenterLeaderboardSetImageResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/GameCenterLeaderboardSetImage" + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalization" + } + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "GameCenterLeaderboardSetImageCreateRequest": { + "type": "object", + "title": "GameCenterLeaderboardSetImageCreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboardSetImages" ] }, "attributes": { "type": "object", "properties": { - "referenceName": { + "fileSize": { + "type": "integer" + }, + "fileName": { "type": "string" } - } + }, + "required": [ + "fileName", + "fileSize" + ] + }, + "relationships": { + "type": "object", + "properties": { + "gameCenterLeaderboardSetLocalization": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboardSetLocalizations" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + } + }, + "required": [ + "gameCenterLeaderboardSetLocalization" + ] } }, "required": [ + "relationships", + "attributes", "type" ] } @@ -109933,9 +114752,9 @@ "data" ] }, - "GameCenterGroupUpdateRequest": { + "GameCenterLeaderboardSetImageUpdateRequest": { "type": "object", - "title": "GameCenterGroupUpdateRequest", + "title": "GameCenterLeaderboardSetImageUpdateRequest", "properties": { "data": { "type": "object", @@ -109943,7 +114762,7 @@ "type": { "type": "string", "enum": [ - "gameCenterGroups" + "gameCenterLeaderboardSetImages" ] }, "id": { @@ -109952,8 +114771,8 @@ "attributes": { "type": "object", "properties": { - "referenceName": { - "type": "string" + "uploaded": { + "type": "boolean" } } } @@ -109968,14 +114787,14 @@ "data" ] }, - "GameCenterLeaderboardImage": { + "GameCenterLeaderboardSetLocalization": { "type": "object", - "title": "GameCenterLeaderboardImage", + "title": "GameCenterLeaderboardSetLocalization", "properties": { "type": { "type": "string", "enum": [ - "gameCenterLeaderboardImages" + "gameCenterLeaderboardSetLocalizations" ] }, "id": { @@ -109984,30 +114803,18 @@ "attributes": { "type": "object", "properties": { - "fileSize": { - "type": "integer" - }, - "fileName": { + "locale": { "type": "string" }, - "imageAsset": { - "$ref": "#/components/schemas/ImageAsset" - }, - "uploadOperations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UploadOperation" - } - }, - "assetDeliveryState": { - "$ref": "#/components/schemas/AppMediaAssetState" + "name": { + "type": "string" } } }, "relationships": { "type": "object", "properties": { - "gameCenterLeaderboardLocalization": { + "gameCenterLeaderboardSet": { "type": "object", "properties": { "links": { @@ -110029,7 +114836,43 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboardLocalizations" + "gameCenterLeaderboardSets" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "gameCenterLeaderboardSetImage": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboardSetImages" ] }, "id": { @@ -110054,17 +114897,59 @@ "type" ] }, - "GameCenterLeaderboardImageResponse": { + "GameCenterLeaderboardSetLocalizationsResponse": { "type": "object", - "title": "GameCenterLeaderboardImageResponse", + "title": "GameCenterLeaderboardSetLocalizationsResponse", "properties": { "data": { - "$ref": "#/components/schemas/GameCenterLeaderboardImage" + "type": "array", + "items": { + "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalization" + } }, "included": { "type": "array", "items": { - "$ref": "#/components/schemas/GameCenterLeaderboardLocalization" + "oneOf": [ + { + "$ref": "#/components/schemas/GameCenterLeaderboardSet" + }, + { + "$ref": "#/components/schemas/GameCenterLeaderboardSetImage" + } + ] + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "GameCenterLeaderboardSetLocalizationResponse": { + "type": "object", + "title": "GameCenterLeaderboardSetLocalizationResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalization" + }, + "included": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/GameCenterLeaderboardSet" + }, + { + "$ref": "#/components/schemas/GameCenterLeaderboardSetImage" + } + ] } }, "links": { @@ -110076,9 +114961,9 @@ "links" ] }, - "GameCenterLeaderboardImageCreateRequest": { + "GameCenterLeaderboardSetLocalizationCreateRequest": { "type": "object", - "title": "GameCenterLeaderboardImageCreateRequest", + "title": "GameCenterLeaderboardSetLocalizationCreateRequest", "properties": { "data": { "type": "object", @@ -110086,28 +114971,28 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboardImages" + "gameCenterLeaderboardSetLocalizations" ] }, "attributes": { "type": "object", "properties": { - "fileSize": { - "type": "integer" + "locale": { + "type": "string" }, - "fileName": { + "name": { "type": "string" } }, "required": [ - "fileName", - "fileSize" + "name", + "locale" ] }, "relationships": { "type": "object", "properties": { - "gameCenterLeaderboardLocalization": { + "gameCenterLeaderboardSet": { "type": "object", "properties": { "data": { @@ -110116,7 +115001,7 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboardLocalizations" + "gameCenterLeaderboardSets" ] }, "id": { @@ -110135,7 +115020,7 @@ } }, "required": [ - "gameCenterLeaderboardLocalization" + "gameCenterLeaderboardSet" ] } }, @@ -110150,9 +115035,9 @@ "data" ] }, - "GameCenterLeaderboardImageUpdateRequest": { + "GameCenterLeaderboardSetLocalizationUpdateRequest": { "type": "object", - "title": "GameCenterLeaderboardImageUpdateRequest", + "title": "GameCenterLeaderboardSetLocalizationUpdateRequest", "properties": { "data": { "type": "object", @@ -110160,7 +115045,7 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboardImages" + "gameCenterLeaderboardSetLocalizations" ] }, "id": { @@ -110169,8 +115054,8 @@ "attributes": { "type": "object", "properties": { - "uploaded": { - "type": "boolean" + "name": { + "type": "string" } } } @@ -110185,14 +115070,14 @@ "data" ] }, - "GameCenterLeaderboardLocalization": { + "GameCenterLeaderboardSetMemberLocalization": { "type": "object", - "title": "GameCenterLeaderboardLocalization", + "title": "GameCenterLeaderboardSetMemberLocalization", "properties": { "type": { "type": "string", "enum": [ - "gameCenterLeaderboardLocalizations" + "gameCenterLeaderboardSetMemberLocalizations" ] }, "id": { @@ -110201,19 +115086,10 @@ "attributes": { "type": "object", "properties": { - "locale": { - "type": "string" - }, "name": { "type": "string" }, - "formatterOverride": { - "$ref": "#/components/schemas/GameCenterLeaderboardFormatter" - }, - "formatterSuffix": { - "type": "string" - }, - "formatterSuffixSingular": { + "locale": { "type": "string" } } @@ -110221,7 +115097,7 @@ "relationships": { "type": "object", "properties": { - "gameCenterLeaderboard": { + "gameCenterLeaderboardSet": { "type": "object", "properties": { "links": { @@ -110243,7 +115119,7 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboards" + "gameCenterLeaderboardSets" ] }, "id": { @@ -110257,7 +115133,7 @@ } } }, - "gameCenterLeaderboardImage": { + "gameCenterLeaderboard": { "type": "object", "properties": { "links": { @@ -110279,7 +115155,7 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboardImages" + "gameCenterLeaderboards" ] }, "id": { @@ -110304,14 +115180,14 @@ "type" ] }, - "GameCenterLeaderboardLocalizationsResponse": { + "GameCenterLeaderboardSetMemberLocalizationsResponse": { "type": "object", - "title": "GameCenterLeaderboardLocalizationsResponse", + "title": "GameCenterLeaderboardSetMemberLocalizationsResponse", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/GameCenterLeaderboardLocalization" + "$ref": "#/components/schemas/GameCenterLeaderboardSetMemberLocalization" } }, "included": { @@ -110319,10 +115195,10 @@ "items": { "oneOf": [ { - "$ref": "#/components/schemas/GameCenterLeaderboard" + "$ref": "#/components/schemas/GameCenterLeaderboardSet" }, { - "$ref": "#/components/schemas/GameCenterLeaderboardImage" + "$ref": "#/components/schemas/GameCenterLeaderboard" } ] } @@ -110339,22 +115215,22 @@ "links" ] }, - "GameCenterLeaderboardLocalizationResponse": { + "GameCenterLeaderboardSetMemberLocalizationResponse": { "type": "object", - "title": "GameCenterLeaderboardLocalizationResponse", + "title": "GameCenterLeaderboardSetMemberLocalizationResponse", "properties": { "data": { - "$ref": "#/components/schemas/GameCenterLeaderboardLocalization" + "$ref": "#/components/schemas/GameCenterLeaderboardSetMemberLocalization" }, "included": { "type": "array", "items": { "oneOf": [ { - "$ref": "#/components/schemas/GameCenterLeaderboard" + "$ref": "#/components/schemas/GameCenterLeaderboardSet" }, { - "$ref": "#/components/schemas/GameCenterLeaderboardImage" + "$ref": "#/components/schemas/GameCenterLeaderboard" } ] } @@ -110368,9 +115244,9 @@ "links" ] }, - "GameCenterLeaderboardLocalizationCreateRequest": { + "GameCenterLeaderboardSetMemberLocalizationCreateRequest": { "type": "object", - "title": "GameCenterLeaderboardLocalizationCreateRequest", + "title": "GameCenterLeaderboardSetMemberLocalizationCreateRequest", "properties": { "data": { "type": "object", @@ -110378,36 +115254,49 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboardLocalizations" + "gameCenterLeaderboardSetMemberLocalizations" ] }, "attributes": { "type": "object", "properties": { - "locale": { - "type": "string" - }, "name": { "type": "string" }, - "formatterOverride": { - "$ref": "#/components/schemas/GameCenterLeaderboardFormatter" - }, - "formatterSuffix": { - "type": "string" - }, - "formatterSuffixSingular": { + "locale": { "type": "string" } - }, - "required": [ - "name", - "locale" - ] + } }, "relationships": { "type": "object", "properties": { + "gameCenterLeaderboardSet": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboardSets" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, "gameCenterLeaderboard": { "type": "object", "properties": { @@ -110436,13 +115325,13 @@ } }, "required": [ - "gameCenterLeaderboard" + "gameCenterLeaderboard", + "gameCenterLeaderboardSet" ] } }, "required": [ "relationships", - "attributes", "type" ] } @@ -110451,9 +115340,9 @@ "data" ] }, - "GameCenterLeaderboardLocalizationUpdateRequest": { + "GameCenterLeaderboardSetMemberLocalizationUpdateRequest": { "type": "object", - "title": "GameCenterLeaderboardLocalizationUpdateRequest", + "title": "GameCenterLeaderboardSetMemberLocalizationUpdateRequest", "properties": { "data": { "type": "object", @@ -110461,7 +115350,7 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboardLocalizations" + "gameCenterLeaderboardSetMemberLocalizations" ] }, "id": { @@ -110472,15 +115361,6 @@ "properties": { "name": { "type": "string" - }, - "formatterOverride": { - "$ref": "#/components/schemas/GameCenterLeaderboardFormatter" - }, - "formatterSuffix": { - "type": "string" - }, - "formatterSuffixSingular": { - "type": "string" } } } @@ -110495,14 +115375,14 @@ "data" ] }, - "GameCenterLeaderboardRelease": { + "GameCenterLeaderboardSetRelease": { "type": "object", - "title": "GameCenterLeaderboardRelease", + "title": "GameCenterLeaderboardSetRelease", "properties": { "type": { "type": "string", "enum": [ - "gameCenterLeaderboardReleases" + "gameCenterLeaderboardSetReleases" ] }, "id": { @@ -110555,7 +115435,7 @@ } } }, - "gameCenterLeaderboard": { + "gameCenterLeaderboardSet": { "type": "object", "properties": { "links": { @@ -110577,7 +115457,7 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboards" + "gameCenterLeaderboardSets" ] }, "id": { @@ -110602,14 +115482,14 @@ "type" ] }, - "GameCenterLeaderboardReleasesResponse": { + "GameCenterLeaderboardSetReleasesResponse": { "type": "object", - "title": "GameCenterLeaderboardReleasesResponse", + "title": "GameCenterLeaderboardSetReleasesResponse", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/GameCenterLeaderboardRelease" + "$ref": "#/components/schemas/GameCenterLeaderboardSetRelease" } }, "included": { @@ -110620,7 +115500,7 @@ "$ref": "#/components/schemas/GameCenterDetail" }, { - "$ref": "#/components/schemas/GameCenterLeaderboard" + "$ref": "#/components/schemas/GameCenterLeaderboardSet" } ] } @@ -110637,12 +115517,12 @@ "links" ] }, - "GameCenterLeaderboardReleaseResponse": { + "GameCenterLeaderboardSetReleaseResponse": { "type": "object", - "title": "GameCenterLeaderboardReleaseResponse", + "title": "GameCenterLeaderboardSetReleaseResponse", "properties": { "data": { - "$ref": "#/components/schemas/GameCenterLeaderboardRelease" + "$ref": "#/components/schemas/GameCenterLeaderboardSetRelease" }, "included": { "type": "array", @@ -110652,7 +115532,7 @@ "$ref": "#/components/schemas/GameCenterDetail" }, { - "$ref": "#/components/schemas/GameCenterLeaderboard" + "$ref": "#/components/schemas/GameCenterLeaderboardSet" } ] } @@ -110666,9 +115546,9 @@ "links" ] }, - "GameCenterLeaderboardReleaseCreateRequest": { + "GameCenterLeaderboardSetReleaseCreateRequest": { "type": "object", - "title": "GameCenterLeaderboardReleaseCreateRequest", + "title": "GameCenterLeaderboardSetReleaseCreateRequest", "properties": { "data": { "type": "object", @@ -110676,7 +115556,7 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboardReleases" + "gameCenterLeaderboardSetReleases" ] }, "relationships": { @@ -110708,7 +115588,7 @@ "data" ] }, - "gameCenterLeaderboard": { + "gameCenterLeaderboardSet": { "type": "object", "properties": { "data": { @@ -110717,7 +115597,7 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboards" + "gameCenterLeaderboardSets" ] }, "id": { @@ -110737,7 +115617,7 @@ }, "required": [ "gameCenterDetail", - "gameCenterLeaderboard" + "gameCenterLeaderboardSet" ] } }, @@ -110751,14 +115631,14 @@ "data" ] }, - "GameCenterLeaderboardSetImage": { + "GameCenterLeaderboardSet": { "type": "object", - "title": "GameCenterLeaderboardSetImage", + "title": "GameCenterLeaderboardSet", "properties": { "type": { "type": "string", "enum": [ - "gameCenterLeaderboardSetImages" + "gameCenterLeaderboardSets" ] }, "id": { @@ -110767,30 +115647,18 @@ "attributes": { "type": "object", "properties": { - "fileSize": { - "type": "integer" - }, - "fileName": { + "referenceName": { "type": "string" }, - "imageAsset": { - "$ref": "#/components/schemas/ImageAsset" - }, - "uploadOperations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UploadOperation" - } - }, - "assetDeliveryState": { - "$ref": "#/components/schemas/AppMediaAssetState" + "vendorIdentifier": { + "type": "string" } } }, "relationships": { "type": "object", "properties": { - "gameCenterLeaderboardSetLocalization": { + "gameCenterDetail": { "type": "object", "properties": { "links": { @@ -110812,7 +115680,7 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboardSetLocalizations" + "gameCenterDetails" ] }, "id": { @@ -110825,177 +115693,44 @@ ] } } - } - } - }, - "links": { - "$ref": "#/components/schemas/ResourceLinks" - } - }, - "required": [ - "id", - "type" - ] - }, - "GameCenterLeaderboardSetImageResponse": { - "type": "object", - "title": "GameCenterLeaderboardSetImageResponse", - "properties": { - "data": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetImage" - }, - "included": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalization" - } - }, - "links": { - "$ref": "#/components/schemas/DocumentLinks" - } - }, - "required": [ - "data", - "links" - ] - }, - "GameCenterLeaderboardSetImageCreateRequest": { - "type": "object", - "title": "GameCenterLeaderboardSetImageCreateRequest", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterLeaderboardSetImages" - ] }, - "attributes": { + "gameCenterGroup": { "type": "object", "properties": { - "fileSize": { - "type": "integer" + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } }, - "fileName": { - "type": "string" - } - }, - "required": [ - "fileName", - "fileSize" - ] - }, - "relationships": { - "type": "object", - "properties": { - "gameCenterLeaderboardSetLocalization": { + "data": { "type": "object", "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterLeaderboardSetLocalizations" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" + "type": { + "type": "string", + "enum": [ + "gameCenterGroups" ] + }, + "id": { + "type": "string" } }, "required": [ - "data" + "id", + "type" ] } - }, - "required": [ - "gameCenterLeaderboardSetLocalization" - ] - } - }, - "required": [ - "relationships", - "attributes", - "type" - ] - } - }, - "required": [ - "data" - ] - }, - "GameCenterLeaderboardSetImageUpdateRequest": { - "type": "object", - "title": "GameCenterLeaderboardSetImageUpdateRequest", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterLeaderboardSetImages" - ] - }, - "id": { - "type": "string" - }, - "attributes": { - "type": "object", - "properties": { - "uploaded": { - "type": "boolean" - } } - } - }, - "required": [ - "id", - "type" - ] - } - }, - "required": [ - "data" - ] - }, - "GameCenterLeaderboardSetLocalization": { - "type": "object", - "title": "GameCenterLeaderboardSetLocalization", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterLeaderboardSetLocalizations" - ] - }, - "id": { - "type": "string" - }, - "attributes": { - "type": "object", - "properties": { - "locale": { - "type": "string" }, - "name": { - "type": "string" - } - } - }, - "relationships": { - "type": "object", - "properties": { - "gameCenterLeaderboardSet": { + "groupLeaderboardSet": { "type": "object", "properties": { "links": { @@ -111031,7 +115766,49 @@ } } }, - "gameCenterLeaderboardSetImage": { + "localizations": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboardSetLocalizations" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + }, + "gameCenterLeaderboards": { "type": "object", "properties": { "links": { @@ -111047,23 +115824,71 @@ } } }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboards" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + }, + "releases": { + "type": "object", + "properties": { + "links": { "type": "object", "properties": { - "type": { + "self": { "type": "string", - "enum": [ - "gameCenterLeaderboardSetImages" - ] + "format": "uri-reference" }, - "id": { - "type": "string" + "related": { + "type": "string", + "format": "uri-reference" } - }, - "required": [ - "id", - "type" - ] + } + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboardSetReleases" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } } } } @@ -111078,25 +115903,37 @@ "type" ] }, - "GameCenterLeaderboardSetLocalizationsResponse": { + "GameCenterLeaderboardSetsResponse": { "type": "object", - "title": "GameCenterLeaderboardSetLocalizationsResponse", + "title": "GameCenterLeaderboardSetsResponse", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalization" + "$ref": "#/components/schemas/GameCenterLeaderboardSet" } }, "included": { "type": "array", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/GameCenterDetail" + }, + { + "$ref": "#/components/schemas/GameCenterGroup" + }, { "$ref": "#/components/schemas/GameCenterLeaderboardSet" }, { - "$ref": "#/components/schemas/GameCenterLeaderboardSetImage" + "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalization" + }, + { + "$ref": "#/components/schemas/GameCenterLeaderboard" + }, + { + "$ref": "#/components/schemas/GameCenterLeaderboardSetRelease" } ] } @@ -111113,22 +115950,34 @@ "links" ] }, - "GameCenterLeaderboardSetLocalizationResponse": { + "GameCenterLeaderboardSetResponse": { "type": "object", - "title": "GameCenterLeaderboardSetLocalizationResponse", + "title": "GameCenterLeaderboardSetResponse", "properties": { "data": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalization" + "$ref": "#/components/schemas/GameCenterLeaderboardSet" }, "included": { "type": "array", "items": { "oneOf": [ { - "$ref": "#/components/schemas/GameCenterLeaderboardSet" + "$ref": "#/components/schemas/GameCenterDetail" + }, + { + "$ref": "#/components/schemas/GameCenterGroup" + }, + { + "$ref": "#/components/schemas/GameCenterLeaderboardSet" + }, + { + "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalization" + }, + { + "$ref": "#/components/schemas/GameCenterLeaderboard" }, { - "$ref": "#/components/schemas/GameCenterLeaderboardSetImage" + "$ref": "#/components/schemas/GameCenterLeaderboardSetRelease" } ] } @@ -111142,9 +115991,9 @@ "links" ] }, - "GameCenterLeaderboardSetLocalizationCreateRequest": { + "GameCenterLeaderboardSetCreateRequest": { "type": "object", - "title": "GameCenterLeaderboardSetLocalizationCreateRequest", + "title": "GameCenterLeaderboardSetCreateRequest", "properties": { "data": { "type": "object", @@ -111152,28 +116001,28 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboardSetLocalizations" + "gameCenterLeaderboardSets" ] }, "attributes": { "type": "object", "properties": { - "locale": { + "referenceName": { "type": "string" }, - "name": { + "vendorIdentifier": { "type": "string" } }, "required": [ - "name", - "locale" + "vendorIdentifier", + "referenceName" ] }, "relationships": { "type": "object", "properties": { - "gameCenterLeaderboardSet": { + "gameCenterDetail": { "type": "object", "properties": { "data": { @@ -111182,7 +116031,7 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboardSets" + "gameCenterDetails" ] }, "id": { @@ -111194,19 +116043,61 @@ "type" ] } - }, - "required": [ - "data" - ] + } + }, + "gameCenterGroup": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterGroups" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "gameCenterLeaderboards": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboards" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } } - }, - "required": [ - "gameCenterLeaderboardSet" - ] + } } }, "required": [ - "relationships", "attributes", "type" ] @@ -111216,9 +116107,9 @@ "data" ] }, - "GameCenterLeaderboardSetLocalizationUpdateRequest": { + "GameCenterLeaderboardSetUpdateRequest": { "type": "object", - "title": "GameCenterLeaderboardSetLocalizationUpdateRequest", + "title": "GameCenterLeaderboardSetUpdateRequest", "properties": { "data": { "type": "object", @@ -111226,7 +116117,7 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboardSetLocalizations" + "gameCenterLeaderboardSets" ] }, "id": { @@ -111235,7 +116126,7 @@ "attributes": { "type": "object", "properties": { - "name": { + "referenceName": { "type": "string" } } @@ -111251,14 +116142,14 @@ "data" ] }, - "GameCenterLeaderboardSetMemberLocalization": { + "GameCenterLeaderboard": { "type": "object", - "title": "GameCenterLeaderboardSetMemberLocalization", + "title": "GameCenterLeaderboard", "properties": { "type": { "type": "string", "enum": [ - "gameCenterLeaderboardSetMemberLocalizations" + "gameCenterLeaderboards" ] }, "id": { @@ -111267,18 +116158,57 @@ "attributes": { "type": "object", "properties": { - "name": { + "defaultFormatter": { + "$ref": "#/components/schemas/GameCenterLeaderboardFormatter" + }, + "referenceName": { "type": "string" }, - "locale": { + "vendorIdentifier": { + "type": "string" + }, + "submissionType": { + "type": "string", + "enum": [ + "BEST_SCORE", + "MOST_RECENT_SCORE" + ] + }, + "scoreSortType": { + "type": "string", + "enum": [ + "ASC", + "DESC" + ] + }, + "scoreRangeStart": { + "type": "string", + "format": "number" + }, + "scoreRangeEnd": { + "type": "string", + "format": "number" + }, + "recurrenceStartDate": { + "type": "string", + "format": "date-time" + }, + "recurrenceDuration": { + "type": "string", + "format": "duration" + }, + "recurrenceRule": { "type": "string" + }, + "archived": { + "type": "boolean" } } }, "relationships": { "type": "object", "properties": { - "gameCenterLeaderboardSet": { + "gameCenterDetail": { "type": "object", "properties": { "links": { @@ -111300,7 +116230,7 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboardSets" + "gameCenterDetails" ] }, "id": { @@ -111314,7 +116244,43 @@ } } }, - "gameCenterLeaderboard": { + "gameCenterGroup": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterGroups" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "groupLeaderboard": { "type": "object", "properties": { "links": { @@ -111349,6 +116315,132 @@ ] } } + }, + "gameCenterLeaderboardSets": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboardSets" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + }, + "localizations": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboardLocalizations" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + }, + "releases": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboardReleases" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } } } }, @@ -111361,14 +116453,14 @@ "type" ] }, - "GameCenterLeaderboardSetMemberLocalizationsResponse": { + "GameCenterLeaderboardsResponse": { "type": "object", - "title": "GameCenterLeaderboardSetMemberLocalizationsResponse", + "title": "GameCenterLeaderboardsResponse", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetMemberLocalization" + "$ref": "#/components/schemas/GameCenterLeaderboard" } }, "included": { @@ -111376,10 +116468,22 @@ "items": { "oneOf": [ { - "$ref": "#/components/schemas/GameCenterLeaderboardSet" + "$ref": "#/components/schemas/GameCenterDetail" + }, + { + "$ref": "#/components/schemas/GameCenterGroup" }, { "$ref": "#/components/schemas/GameCenterLeaderboard" + }, + { + "$ref": "#/components/schemas/GameCenterLeaderboardSet" + }, + { + "$ref": "#/components/schemas/GameCenterLeaderboardLocalization" + }, + { + "$ref": "#/components/schemas/GameCenterLeaderboardRelease" } ] } @@ -111396,22 +116500,34 @@ "links" ] }, - "GameCenterLeaderboardSetMemberLocalizationResponse": { + "GameCenterLeaderboardResponse": { "type": "object", - "title": "GameCenterLeaderboardSetMemberLocalizationResponse", + "title": "GameCenterLeaderboardResponse", "properties": { "data": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetMemberLocalization" + "$ref": "#/components/schemas/GameCenterLeaderboard" }, "included": { "type": "array", "items": { "oneOf": [ { - "$ref": "#/components/schemas/GameCenterLeaderboardSet" + "$ref": "#/components/schemas/GameCenterDetail" + }, + { + "$ref": "#/components/schemas/GameCenterGroup" }, { "$ref": "#/components/schemas/GameCenterLeaderboard" + }, + { + "$ref": "#/components/schemas/GameCenterLeaderboardSet" + }, + { + "$ref": "#/components/schemas/GameCenterLeaderboardLocalization" + }, + { + "$ref": "#/components/schemas/GameCenterLeaderboardRelease" } ] } @@ -111425,9 +116541,9 @@ "links" ] }, - "GameCenterLeaderboardSetMemberLocalizationCreateRequest": { + "GameCenterLeaderboardCreateRequest": { "type": "object", - "title": "GameCenterLeaderboardSetMemberLocalizationCreateRequest", + "title": "GameCenterLeaderboardCreateRequest", "properties": { "data": { "type": "object", @@ -111435,24 +116551,67 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboardSetMemberLocalizations" + "gameCenterLeaderboards" ] }, "attributes": { "type": "object", "properties": { - "name": { + "defaultFormatter": { + "$ref": "#/components/schemas/GameCenterLeaderboardFormatter" + }, + "referenceName": { "type": "string" }, - "locale": { + "vendorIdentifier": { + "type": "string" + }, + "submissionType": { + "type": "string", + "enum": [ + "BEST_SCORE", + "MOST_RECENT_SCORE" + ] + }, + "scoreSortType": { + "type": "string", + "enum": [ + "ASC", + "DESC" + ] + }, + "scoreRangeStart": { + "type": "string", + "format": "number" + }, + "scoreRangeEnd": { + "type": "string", + "format": "number" + }, + "recurrenceStartDate": { + "type": "string", + "format": "date-time" + }, + "recurrenceDuration": { + "type": "string", + "format": "duration" + }, + "recurrenceRule": { "type": "string" } - } + }, + "required": [ + "vendorIdentifier", + "submissionType", + "defaultFormatter", + "scoreSortType", + "referenceName" + ] }, "relationships": { "type": "object", "properties": { - "gameCenterLeaderboardSet": { + "gameCenterDetail": { "type": "object", "properties": { "data": { @@ -111461,7 +116620,7 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboardSets" + "gameCenterDetails" ] }, "id": { @@ -111473,12 +116632,9 @@ "type" ] } - }, - "required": [ - "data" - ] + } }, - "gameCenterLeaderboard": { + "gameCenterGroup": { "type": "object", "properties": { "data": { @@ -111487,7 +116643,7 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboards" + "gameCenterGroups" ] }, "id": { @@ -111499,20 +116655,39 @@ "type" ] } - }, - "required": [ - "data" - ] + } + }, + "gameCenterLeaderboardSets": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboardSets" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } } - }, - "required": [ - "gameCenterLeaderboard", - "gameCenterLeaderboardSet" - ] + } } }, "required": [ - "relationships", + "attributes", "type" ] } @@ -111521,9 +116696,9 @@ "data" ] }, - "GameCenterLeaderboardSetMemberLocalizationUpdateRequest": { + "GameCenterLeaderboardUpdateRequest": { "type": "object", - "title": "GameCenterLeaderboardSetMemberLocalizationUpdateRequest", + "title": "GameCenterLeaderboardUpdateRequest", "properties": { "data": { "type": "object", @@ -111531,7 +116706,7 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboardSetMemberLocalizations" + "gameCenterLeaderboards" ] }, "id": { @@ -111540,8 +116715,47 @@ "attributes": { "type": "object", "properties": { - "name": { + "defaultFormatter": { + "$ref": "#/components/schemas/GameCenterLeaderboardFormatter" + }, + "referenceName": { + "type": "string" + }, + "submissionType": { + "type": "string", + "enum": [ + "BEST_SCORE", + "MOST_RECENT_SCORE" + ] + }, + "scoreSortType": { + "type": "string", + "enum": [ + "ASC", + "DESC" + ] + }, + "scoreRangeStart": { + "type": "string", + "format": "number" + }, + "scoreRangeEnd": { + "type": "string", + "format": "number" + }, + "recurrenceStartDate": { + "type": "string", + "format": "date-time" + }, + "recurrenceDuration": { + "type": "string", + "format": "duration" + }, + "recurrenceRule": { "type": "string" + }, + "archived": { + "type": "boolean" } } } @@ -111556,14 +116770,14 @@ "data" ] }, - "GameCenterLeaderboardSetRelease": { + "GameCenterMatchmakingQueue": { "type": "object", - "title": "GameCenterLeaderboardSetRelease", + "title": "GameCenterMatchmakingQueue", "properties": { "type": { "type": "string", "enum": [ - "gameCenterLeaderboardSetReleases" + "gameCenterMatchmakingQueues" ] }, "id": { @@ -111572,15 +116786,15 @@ "attributes": { "type": "object", "properties": { - "live": { - "type": "boolean" + "referenceName": { + "type": "string" } } }, "relationships": { "type": "object", "properties": { - "gameCenterDetail": { + "ruleSet": { "type": "object", "properties": { "links": { @@ -111602,7 +116816,7 @@ "type": { "type": "string", "enum": [ - "gameCenterDetails" + "gameCenterMatchmakingRuleSets" ] }, "id": { @@ -111616,7 +116830,7 @@ } } }, - "gameCenterLeaderboardSet": { + "experimentRuleSet": { "type": "object", "properties": { "links": { @@ -111638,7 +116852,7 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboardSets" + "gameCenterMatchmakingRuleSets" ] }, "id": { @@ -111663,27 +116877,20 @@ "type" ] }, - "GameCenterLeaderboardSetReleasesResponse": { + "GameCenterMatchmakingQueuesResponse": { "type": "object", - "title": "GameCenterLeaderboardSetReleasesResponse", + "title": "GameCenterMatchmakingQueuesResponse", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetRelease" + "$ref": "#/components/schemas/GameCenterMatchmakingQueue" } }, "included": { "type": "array", "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/GameCenterDetail" - }, - { - "$ref": "#/components/schemas/GameCenterLeaderboardSet" - } - ] + "$ref": "#/components/schemas/GameCenterMatchmakingRuleSet" } }, "links": { @@ -111698,24 +116905,17 @@ "links" ] }, - "GameCenterLeaderboardSetReleaseResponse": { + "GameCenterMatchmakingQueueResponse": { "type": "object", - "title": "GameCenterLeaderboardSetReleaseResponse", + "title": "GameCenterMatchmakingQueueResponse", "properties": { "data": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetRelease" + "$ref": "#/components/schemas/GameCenterMatchmakingQueue" }, "included": { "type": "array", "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/GameCenterDetail" - }, - { - "$ref": "#/components/schemas/GameCenterLeaderboardSet" - } - ] + "$ref": "#/components/schemas/GameCenterMatchmakingRuleSet" } }, "links": { @@ -111727,9 +116927,9 @@ "links" ] }, - "GameCenterLeaderboardSetReleaseCreateRequest": { + "GameCenterMatchmakingQueueCreateRequest": { "type": "object", - "title": "GameCenterLeaderboardSetReleaseCreateRequest", + "title": "GameCenterMatchmakingQueueCreateRequest", "properties": { "data": { "type": "object", @@ -111737,13 +116937,24 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboardSetReleases" + "gameCenterMatchmakingQueues" + ] + }, + "attributes": { + "type": "object", + "properties": { + "referenceName": { + "type": "string" + } + }, + "required": [ + "referenceName" ] }, "relationships": { "type": "object", "properties": { - "gameCenterDetail": { + "ruleSet": { "type": "object", "properties": { "data": { @@ -111752,7 +116963,7 @@ "type": { "type": "string", "enum": [ - "gameCenterDetails" + "gameCenterMatchmakingRuleSets" ] }, "id": { @@ -111769,7 +116980,7 @@ "data" ] }, - "gameCenterLeaderboardSet": { + "experimentRuleSet": { "type": "object", "properties": { "data": { @@ -111778,7 +116989,7 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboardSets" + "gameCenterMatchmakingRuleSets" ] }, "id": { @@ -111790,20 +117001,17 @@ "type" ] } - }, - "required": [ - "data" - ] + } } }, "required": [ - "gameCenterDetail", - "gameCenterLeaderboardSet" + "ruleSet" ] } }, "required": [ "relationships", + "attributes", "type" ] } @@ -111812,264 +117020,117 @@ "data" ] }, - "GameCenterLeaderboardSet": { + "GameCenterMatchmakingQueueUpdateRequest": { "type": "object", - "title": "GameCenterLeaderboardSet", + "title": "GameCenterMatchmakingQueueUpdateRequest", "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterLeaderboardSets" - ] - }, - "id": { - "type": "string" - }, - "attributes": { + "data": { "type": "object", "properties": { - "referenceName": { - "type": "string" + "type": { + "type": "string", + "enum": [ + "gameCenterMatchmakingQueues" + ] }, - "vendorIdentifier": { + "id": { "type": "string" - } - } - }, - "relationships": { - "type": "object", - "properties": { - "gameCenterDetail": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterDetails" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } }, - "gameCenterGroup": { + "relationships": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, - "data": { + "ruleSet": { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterGroups" + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterMatchmakingRuleSets" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - }, - "groupLeaderboardSet": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" } } }, - "data": { + "experimentRuleSet": { "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterLeaderboardSets" + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterMatchmakingRuleSets" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - }, - "localizations": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" } } - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - }, - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterLeaderboardSetLocalizations" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } } } - }, - "gameCenterLeaderboards": { - "type": "object", - "properties": { - "links": { + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "GameCenterMatchmakingRuleSetTest": { + "type": "object", + "title": "GameCenterMatchmakingRuleSetTest", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterMatchmakingRuleSetTests" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "matchmakingResults": { + "type": "array", + "items": { + "type": "array", + "items": { "type": "object", "properties": { - "self": { - "type": "string", - "format": "uri-reference" + "requestName": { + "type": "string" }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - }, - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterLeaderboards" - ] - }, - "id": { - "type": "string" + "teamAssignments": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GameCenterMatchmakingTeamAssignment" } - }, - "required": [ - "id", - "type" - ] - } - } - } - }, - "releases": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" } } - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - }, - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterLeaderboardSetReleases" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } } } } @@ -112084,84 +117145,12 @@ "type" ] }, - "GameCenterLeaderboardSetsResponse": { - "type": "object", - "title": "GameCenterLeaderboardSetsResponse", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GameCenterLeaderboardSet" - } - }, - "included": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/GameCenterDetail" - }, - { - "$ref": "#/components/schemas/GameCenterGroup" - }, - { - "$ref": "#/components/schemas/GameCenterLeaderboardSet" - }, - { - "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalization" - }, - { - "$ref": "#/components/schemas/GameCenterLeaderboard" - }, - { - "$ref": "#/components/schemas/GameCenterLeaderboardSetRelease" - } - ] - } - }, - "links": { - "$ref": "#/components/schemas/PagedDocumentLinks" - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - } - }, - "required": [ - "data", - "links" - ] - }, - "GameCenterLeaderboardSetResponse": { + "GameCenterMatchmakingRuleSetTestResponse": { "type": "object", - "title": "GameCenterLeaderboardSetResponse", + "title": "GameCenterMatchmakingRuleSetTestResponse", "properties": { "data": { - "$ref": "#/components/schemas/GameCenterLeaderboardSet" - }, - "included": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/GameCenterDetail" - }, - { - "$ref": "#/components/schemas/GameCenterGroup" - }, - { - "$ref": "#/components/schemas/GameCenterLeaderboardSet" - }, - { - "$ref": "#/components/schemas/GameCenterLeaderboardSetLocalization" - }, - { - "$ref": "#/components/schemas/GameCenterLeaderboard" - }, - { - "$ref": "#/components/schemas/GameCenterLeaderboardSetRelease" - } - ] - } + "$ref": "#/components/schemas/GameCenterMatchmakingRuleSetTest" }, "links": { "$ref": "#/components/schemas/DocumentLinks" @@ -112172,9 +117161,9 @@ "links" ] }, - "GameCenterLeaderboardSetCreateRequest": { + "GameCenterMatchmakingRuleSetTestCreateRequest": { "type": "object", - "title": "GameCenterLeaderboardSetCreateRequest", + "title": "GameCenterMatchmakingRuleSetTestCreateRequest", "properties": { "data": { "type": "object", @@ -112182,28 +117171,39 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboardSets" - ] - }, - "attributes": { - "type": "object", - "properties": { - "referenceName": { - "type": "string" - }, - "vendorIdentifier": { - "type": "string" - } - }, - "required": [ - "vendorIdentifier", - "referenceName" + "gameCenterMatchmakingRuleSetTests" ] }, "relationships": { "type": "object", "properties": { - "gameCenterLeaderboards": { + "matchmakingRuleSet": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterMatchmakingRuleSets" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "matchmakingRequests": { "type": "object", "properties": { "data": { @@ -112214,7 +117214,7 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboards" + "gameCenterMatchmakingTestRequests" ] }, "id": { @@ -112234,64 +117234,42 @@ } }, "required": [ - "gameCenterLeaderboards" + "matchmakingRuleSet", + "matchmakingRequests" ] } }, "required": [ "relationships", - "attributes", - "type" - ] - } - }, - "required": [ - "data" - ] - }, - "GameCenterLeaderboardSetUpdateRequest": { - "type": "object", - "title": "GameCenterLeaderboardSetUpdateRequest", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterLeaderboardSets" - ] - }, - "id": { - "type": "string" - }, - "attributes": { - "type": "object", - "properties": { - "referenceName": { - "type": "string" - } - } - } - }, - "required": [ - "id", "type" ] + }, + "included": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/GameCenterMatchmakingTestPlayerPropertyInlineCreate" + }, + { + "$ref": "#/components/schemas/GameCenterMatchmakingTestRequestInlineCreate" + } + ] + } } }, "required": [ "data" ] }, - "GameCenterLeaderboard": { + "GameCenterMatchmakingRuleSet": { "type": "object", - "title": "GameCenterLeaderboard", + "title": "GameCenterMatchmakingRuleSet", "properties": { "type": { "type": "string", "enum": [ - "gameCenterLeaderboards" + "gameCenterMatchmakingRuleSets" ] }, "id": { @@ -112300,165 +117278,24 @@ "attributes": { "type": "object", "properties": { - "defaultFormatter": { - "$ref": "#/components/schemas/GameCenterLeaderboardFormatter" - }, "referenceName": { "type": "string" }, - "vendorIdentifier": { - "type": "string" - }, - "submissionType": { - "type": "string", - "enum": [ - "BEST_SCORE", - "MOST_RECENT_SCORE" - ] - }, - "scoreSortType": { - "type": "string", - "enum": [ - "ASC", - "DESC" - ] - }, - "scoreRangeStart": { - "type": "string", - "format": "number" - }, - "scoreRangeEnd": { - "type": "string", - "format": "number" - }, - "recurrenceStartDate": { - "type": "string", - "format": "date-time" - }, - "recurrenceDuration": { - "type": "string", - "format": "duration" + "ruleLanguageVersion": { + "type": "integer" }, - "recurrenceRule": { - "type": "string" + "minPlayers": { + "type": "integer" }, - "archived": { - "type": "boolean" + "maxPlayers": { + "type": "integer" } } }, "relationships": { "type": "object", "properties": { - "gameCenterDetail": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterDetails" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - }, - "gameCenterGroup": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterGroups" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - }, - "groupLeaderboard": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterLeaderboards" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - }, - "gameCenterLeaderboardSets": { + "teams": { "type": "object", "properties": { "links": { @@ -112485,7 +117322,7 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboardSets" + "gameCenterMatchmakingTeams" ] }, "id": { @@ -112500,7 +117337,7 @@ } } }, - "localizations": { + "rules": { "type": "object", "properties": { "links": { @@ -112527,7 +117364,7 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboardLocalizations" + "gameCenterMatchmakingRules" ] }, "id": { @@ -112542,7 +117379,7 @@ } } }, - "releases": { + "matchmakingQueues": { "type": "object", "properties": { "links": { @@ -112569,7 +117406,7 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboardReleases" + "gameCenterMatchmakingQueues" ] }, "id": { @@ -112595,14 +117432,14 @@ "type" ] }, - "GameCenterLeaderboardsResponse": { + "GameCenterMatchmakingRuleSetsResponse": { "type": "object", - "title": "GameCenterLeaderboardsResponse", + "title": "GameCenterMatchmakingRuleSetsResponse", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/GameCenterLeaderboard" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleSet" } }, "included": { @@ -112610,22 +117447,13 @@ "items": { "oneOf": [ { - "$ref": "#/components/schemas/GameCenterDetail" - }, - { - "$ref": "#/components/schemas/GameCenterGroup" - }, - { - "$ref": "#/components/schemas/GameCenterLeaderboard" - }, - { - "$ref": "#/components/schemas/GameCenterLeaderboardSet" + "$ref": "#/components/schemas/GameCenterMatchmakingTeam" }, { - "$ref": "#/components/schemas/GameCenterLeaderboardLocalization" + "$ref": "#/components/schemas/GameCenterMatchmakingRule" }, { - "$ref": "#/components/schemas/GameCenterLeaderboardRelease" + "$ref": "#/components/schemas/GameCenterMatchmakingQueue" } ] } @@ -112642,34 +117470,25 @@ "links" ] }, - "GameCenterLeaderboardResponse": { + "GameCenterMatchmakingRuleSetResponse": { "type": "object", - "title": "GameCenterLeaderboardResponse", + "title": "GameCenterMatchmakingRuleSetResponse", "properties": { "data": { - "$ref": "#/components/schemas/GameCenterLeaderboard" + "$ref": "#/components/schemas/GameCenterMatchmakingRuleSet" }, "included": { "type": "array", "items": { "oneOf": [ { - "$ref": "#/components/schemas/GameCenterDetail" - }, - { - "$ref": "#/components/schemas/GameCenterGroup" - }, - { - "$ref": "#/components/schemas/GameCenterLeaderboard" + "$ref": "#/components/schemas/GameCenterMatchmakingTeam" }, { - "$ref": "#/components/schemas/GameCenterLeaderboardSet" - }, - { - "$ref": "#/components/schemas/GameCenterLeaderboardLocalization" + "$ref": "#/components/schemas/GameCenterMatchmakingRule" }, { - "$ref": "#/components/schemas/GameCenterLeaderboardRelease" + "$ref": "#/components/schemas/GameCenterMatchmakingQueue" } ] } @@ -112683,9 +117502,9 @@ "links" ] }, - "GameCenterLeaderboardCreateRequest": { + "GameCenterMatchmakingRuleSetCreateRequest": { "type": "object", - "title": "GameCenterLeaderboardCreateRequest", + "title": "GameCenterMatchmakingRuleSetCreateRequest", "properties": { "data": { "type": "object", @@ -112693,90 +117512,409 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboards" + "gameCenterMatchmakingRuleSets" ] }, "attributes": { "type": "object", "properties": { - "defaultFormatter": { - "$ref": "#/components/schemas/GameCenterLeaderboardFormatter" + "referenceName": { + "type": "string" + }, + "ruleLanguageVersion": { + "type": "integer" + }, + "minPlayers": { + "type": "integer" + }, + "maxPlayers": { + "type": "integer" + } + }, + "required": [ + "maxPlayers", + "minPlayers", + "referenceName", + "ruleLanguageVersion" + ] + } + }, + "required": [ + "attributes", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "GameCenterMatchmakingRuleSetUpdateRequest": { + "type": "object", + "title": "GameCenterMatchmakingRuleSetUpdateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterMatchmakingRuleSets" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "minPlayers": { + "type": "integer" + }, + "maxPlayers": { + "type": "integer" + } + } + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "GameCenterMatchmakingRule": { + "type": "object", + "title": "GameCenterMatchmakingRule", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterMatchmakingRules" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "referenceName": { + "type": "string" + }, + "description": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "COMPATIBLE", + "DISTANCE", + "MATCH", + "TEAM" + ] + }, + "expression": { + "type": "string" + }, + "weight": { + "type": "number" + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "GameCenterMatchmakingRulesResponse": { + "type": "object", + "title": "GameCenterMatchmakingRulesResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GameCenterMatchmakingRule" + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "GameCenterMatchmakingRuleResponse": { + "type": "object", + "title": "GameCenterMatchmakingRuleResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/GameCenterMatchmakingRule" + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "GameCenterMatchmakingRuleCreateRequest": { + "type": "object", + "title": "GameCenterMatchmakingRuleCreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterMatchmakingRules" + ] + }, + "attributes": { + "type": "object", + "properties": { + "referenceName": { + "type": "string" + }, + "description": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "COMPATIBLE", + "DISTANCE", + "MATCH", + "TEAM" + ] + }, + "expression": { + "type": "string" + }, + "weight": { + "type": "number" + } + }, + "required": [ + "expression", + "description", + "type", + "referenceName" + ] + }, + "relationships": { + "type": "object", + "properties": { + "ruleSet": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterMatchmakingRuleSets" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + } + }, + "required": [ + "ruleSet" + ] + } + }, + "required": [ + "relationships", + "attributes", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "GameCenterMatchmakingRuleUpdateRequest": { + "type": "object", + "title": "GameCenterMatchmakingRuleUpdateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterMatchmakingRules" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "expression": { + "type": "string" }, + "weight": { + "type": "number" + } + } + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "GameCenterMatchmakingTeam": { + "type": "object", + "title": "GameCenterMatchmakingTeam", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterMatchmakingTeams" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "referenceName": { + "type": "string" + }, + "minPlayers": { + "type": "integer" + }, + "maxPlayers": { + "type": "integer" + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "GameCenterMatchmakingTeamsResponse": { + "type": "object", + "title": "GameCenterMatchmakingTeamsResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GameCenterMatchmakingTeam" + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "GameCenterMatchmakingTeamResponse": { + "type": "object", + "title": "GameCenterMatchmakingTeamResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/GameCenterMatchmakingTeam" + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "GameCenterMatchmakingTeamCreateRequest": { + "type": "object", + "title": "GameCenterMatchmakingTeamCreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterMatchmakingTeams" + ] + }, + "attributes": { + "type": "object", + "properties": { "referenceName": { "type": "string" }, - "vendorIdentifier": { - "type": "string" - }, - "submissionType": { - "type": "string", - "enum": [ - "BEST_SCORE", - "MOST_RECENT_SCORE" - ] - }, - "scoreSortType": { - "type": "string", - "enum": [ - "ASC", - "DESC" - ] - }, - "scoreRangeStart": { - "type": "string", - "format": "number" - }, - "scoreRangeEnd": { - "type": "string", - "format": "number" - }, - "recurrenceStartDate": { - "type": "string", - "format": "date-time" - }, - "recurrenceDuration": { - "type": "string", - "format": "duration" + "minPlayers": { + "type": "integer" }, - "recurrenceRule": { - "type": "string" + "maxPlayers": { + "type": "integer" } }, "required": [ - "vendorIdentifier", - "submissionType", - "defaultFormatter", - "scoreSortType", + "maxPlayers", + "minPlayers", "referenceName" ] }, "relationships": { "type": "object", "properties": { - "gameCenterDetail": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterDetails" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - }, - "gameCenterGroup": { + "ruleSet": { "type": "object", "properties": { "data": { @@ -112785,7 +117923,7 @@ "type": { "type": "string", "enum": [ - "gameCenterGroups" + "gameCenterMatchmakingRuleSets" ] }, "id": { @@ -112797,38 +117935,19 @@ "type" ] } - } - }, - "gameCenterLeaderboardSets": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterLeaderboardSets" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - } + }, + "required": [ + "data" + ] } - } + }, + "required": [ + "ruleSet" + ] } }, "required": [ + "relationships", "attributes", "type" ] @@ -112838,9 +117957,9 @@ "data" ] }, - "GameCenterLeaderboardUpdateRequest": { + "GameCenterMatchmakingTeamUpdateRequest": { "type": "object", - "title": "GameCenterLeaderboardUpdateRequest", + "title": "GameCenterMatchmakingTeamUpdateRequest", "properties": { "data": { "type": "object", @@ -112848,7 +117967,7 @@ "type": { "type": "string", "enum": [ - "gameCenterLeaderboards" + "gameCenterMatchmakingTeams" ] }, "id": { @@ -112857,47 +117976,11 @@ "attributes": { "type": "object", "properties": { - "defaultFormatter": { - "$ref": "#/components/schemas/GameCenterLeaderboardFormatter" - }, - "referenceName": { - "type": "string" - }, - "submissionType": { - "type": "string", - "enum": [ - "BEST_SCORE", - "MOST_RECENT_SCORE" - ] - }, - "scoreSortType": { - "type": "string", - "enum": [ - "ASC", - "DESC" - ] - }, - "scoreRangeStart": { - "type": "string", - "format": "number" - }, - "scoreRangeEnd": { - "type": "string", - "format": "number" - }, - "recurrenceStartDate": { - "type": "string", - "format": "date-time" - }, - "recurrenceDuration": { - "type": "string", - "format": "duration" - }, - "recurrenceRule": { - "type": "string" + "minPlayers": { + "type": "integer" }, - "archived": { - "type": "boolean" + "maxPlayers": { + "type": "integer" } } } @@ -112912,6 +117995,195 @@ "data" ] }, + "GameCenterMatchmakingTestPlayerPropertyInlineCreate": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterMatchmakingTestPlayerProperties" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "playerId": { + "type": "string" + }, + "properties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Property" + } + } + }, + "required": [ + "playerId" + ] + } + }, + "required": [ + "attributes", + "type" + ] + }, + "GameCenterMatchmakingTestRequest": { + "type": "object", + "title": "GameCenterMatchmakingTestRequest", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterMatchmakingTestRequests" + ] + }, + "id": { + "type": "string" + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "GameCenterMatchmakingTestRequestInlineCreate": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterMatchmakingTestRequests" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "requestName": { + "type": "string" + }, + "secondsInQueue": { + "type": "integer" + }, + "locale": { + "type": "string", + "enum": [ + "AR-SA", + "CA-ES", + "CS-CZ", + "DA-DK", + "DE-DE", + "EL-GR", + "EN-AU", + "EN-GB", + "EN-US", + "EN-KY", + "ES-ES", + "ES-MX", + "FI-FI", + "FR-CA", + "FR-FR", + "HI-IN", + "HR-HR", + "HU-HU", + "ID-ID", + "IT-IT", + "IW-IL", + "JA-JP", + "KO-KR", + "MS-MY", + "NL-NL", + "NO-NO", + "PL-PL", + "PT-BR", + "PT-PT", + "RO-RO", + "RU-RU", + "SK-SK", + "SV-SE", + "TH-TH", + "TR-TR", + "UK-UA", + "ZH-CN", + "ZH-TW", + "ZH-HK" + ] + }, + "location": { + "$ref": "#/components/schemas/Location" + }, + "minPlayers": { + "type": "integer" + }, + "maxPlayers": { + "type": "integer" + }, + "playerCount": { + "type": "integer" + }, + "bundleId": { + "type": "string" + }, + "platform": { + "$ref": "#/components/schemas/Platform" + }, + "appVersion": { + "type": "string" + } + }, + "required": [ + "requestName", + "appVersion", + "secondsInQueue", + "bundleId", + "platform" + ] + }, + "relationships": { + "type": "object", + "properties": { + "matchmakingPlayerProperties": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterMatchmakingTestPlayerProperties" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + } + } + } + }, + "required": [ + "attributes", + "type" + ] + }, "InAppPurchaseAppStoreReviewScreenshot": { "type": "object", "title": "InAppPurchaseAppStoreReviewScreenshot", @@ -113505,7 +118777,250 @@ "type": { "type": "string", "enum": [ - "inAppPurchases" + "inAppPurchases" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "InAppPurchaseLocalizationsResponse": { + "type": "object", + "title": "InAppPurchaseLocalizationsResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/InAppPurchaseLocalization" + } + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/InAppPurchaseV2" + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "InAppPurchaseLocalizationResponse": { + "type": "object", + "title": "InAppPurchaseLocalizationResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/InAppPurchaseLocalization" + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/InAppPurchaseV2" + } + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "InAppPurchaseLocalizationCreateRequest": { + "type": "object", + "title": "InAppPurchaseLocalizationCreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "inAppPurchaseLocalizations" + ] + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "locale": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "required": [ + "name", + "locale" + ] + }, + "relationships": { + "type": "object", + "properties": { + "inAppPurchaseV2": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "inAppPurchases" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + } + }, + "required": [ + "inAppPurchaseV2" + ] + } + }, + "required": [ + "relationships", + "attributes", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "InAppPurchaseLocalizationUpdateRequest": { + "type": "object", + "title": "InAppPurchaseLocalizationUpdateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "inAppPurchaseLocalizations" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + } + } + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "InAppPurchasePricePoint": { + "type": "object", + "title": "InAppPurchasePricePoint", + "properties": { + "type": { + "type": "string", + "enum": [ + "inAppPurchasePricePoints" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "customerPrice": { + "type": "string" + }, + "proceeds": { + "type": "string" + }, + "priceTier": { + "type": "string", + "deprecated": true + } + } + }, + "relationships": { + "type": "object", + "properties": { + "territory": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "territories" ] }, "id": { @@ -113530,246 +119045,6 @@ "type" ] }, - "InAppPurchaseLocalizationsResponse": { - "type": "object", - "title": "InAppPurchaseLocalizationsResponse", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InAppPurchaseLocalization" - } - }, - "included": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InAppPurchaseV2" - } - }, - "links": { - "$ref": "#/components/schemas/PagedDocumentLinks" - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - } - }, - "required": [ - "data", - "links" - ] - }, - "InAppPurchaseLocalizationResponse": { - "type": "object", - "title": "InAppPurchaseLocalizationResponse", - "properties": { - "data": { - "$ref": "#/components/schemas/InAppPurchaseLocalization" - }, - "included": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InAppPurchaseV2" - } - }, - "links": { - "$ref": "#/components/schemas/DocumentLinks" - } - }, - "required": [ - "data", - "links" - ] - }, - "InAppPurchaseLocalizationCreateRequest": { - "type": "object", - "title": "InAppPurchaseLocalizationCreateRequest", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "inAppPurchaseLocalizations" - ] - }, - "attributes": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "locale": { - "type": "string" - }, - "description": { - "type": "string" - } - }, - "required": [ - "name", - "locale" - ] - }, - "relationships": { - "type": "object", - "properties": { - "inAppPurchaseV2": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "inAppPurchases" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - }, - "required": [ - "data" - ] - } - }, - "required": [ - "inAppPurchaseV2" - ] - } - }, - "required": [ - "relationships", - "attributes", - "type" - ] - } - }, - "required": [ - "data" - ] - }, - "InAppPurchaseLocalizationUpdateRequest": { - "type": "object", - "title": "InAppPurchaseLocalizationUpdateRequest", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "inAppPurchaseLocalizations" - ] - }, - "id": { - "type": "string" - }, - "attributes": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "description": { - "type": "string" - } - } - } - }, - "required": [ - "id", - "type" - ] - } - }, - "required": [ - "data" - ] - }, - "InAppPurchasePricePoint": { - "type": "object", - "title": "InAppPurchasePricePoint", - "properties": { - "type": { - "type": "string", - "enum": [ - "inAppPurchasePricePoints" - ] - }, - "id": { - "type": "string" - }, - "attributes": { - "type": "object", - "properties": { - "customerPrice": { - "type": "string" - }, - "proceeds": { - "type": "string" - }, - "priceTier": { - "type": "string", - "deprecated": true - } - } - }, - "relationships": { - "type": "object", - "properties": { - "territory": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "territories" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - } - } - } - }, - "required": [ - "id", - "type" - ] - }, "InAppPurchasePricePointsResponse": { "type": "object", "title": "InAppPurchasePricePointsResponse", @@ -114242,6 +119517,9 @@ } } } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" } }, "required": [ @@ -114418,6 +119696,9 @@ } } } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" } }, "required": [ @@ -115258,6 +120539,9 @@ "type": "string" } } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" } }, "required": [ @@ -117822,6 +123106,9 @@ }, "id": { "type": "string" + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" } }, "required": [ @@ -119287,6 +124574,9 @@ }, "id": { "type": "string" + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" } }, "required": [ @@ -120687,6 +125977,9 @@ }, "id": { "type": "string" + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" } }, "required": [ @@ -120751,7 +126044,266 @@ "type": { "type": "string", "enum": [ - "subscriptionOfferCodes" + "subscriptionOfferCodes" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "SubscriptionOfferCodeOneTimeUseCodesResponse": { + "type": "object", + "title": "SubscriptionOfferCodeOneTimeUseCodesResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCode" + } + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SubscriptionOfferCode" + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "SubscriptionOfferCodeOneTimeUseCodeResponse": { + "type": "object", + "title": "SubscriptionOfferCodeOneTimeUseCodeResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCode" + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SubscriptionOfferCode" + } + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "SubscriptionOfferCodeOneTimeUseCodeCreateRequest": { + "type": "object", + "title": "SubscriptionOfferCodeOneTimeUseCodeCreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "subscriptionOfferCodeOneTimeUseCodes" + ] + }, + "attributes": { + "type": "object", + "properties": { + "numberOfCodes": { + "type": "integer" + }, + "expirationDate": { + "type": "string", + "format": "date" + } + }, + "required": [ + "numberOfCodes", + "expirationDate" + ] + }, + "relationships": { + "type": "object", + "properties": { + "offerCode": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "subscriptionOfferCodes" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + } + }, + "required": [ + "offerCode" + ] + } + }, + "required": [ + "relationships", + "attributes", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "SubscriptionOfferCodeOneTimeUseCodeUpdateRequest": { + "type": "object", + "title": "SubscriptionOfferCodeOneTimeUseCodeUpdateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "subscriptionOfferCodeOneTimeUseCodes" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "active": { + "type": "boolean" + } + } + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "SubscriptionOfferCodePrice": { + "type": "object", + "title": "SubscriptionOfferCodePrice", + "properties": { + "type": { + "type": "string", + "enum": [ + "subscriptionOfferCodePrices" + ] + }, + "id": { + "type": "string" + }, + "relationships": { + "type": "object", + "properties": { + "territory": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "territories" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "subscriptionPricePoint": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "subscriptionPricePoints" ] }, "id": { @@ -120776,262 +126328,6 @@ "type" ] }, - "SubscriptionOfferCodeOneTimeUseCodesResponse": { - "type": "object", - "title": "SubscriptionOfferCodeOneTimeUseCodesResponse", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCode" - } - }, - "included": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SubscriptionOfferCode" - } - }, - "links": { - "$ref": "#/components/schemas/PagedDocumentLinks" - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - } - }, - "required": [ - "data", - "links" - ] - }, - "SubscriptionOfferCodeOneTimeUseCodeResponse": { - "type": "object", - "title": "SubscriptionOfferCodeOneTimeUseCodeResponse", - "properties": { - "data": { - "$ref": "#/components/schemas/SubscriptionOfferCodeOneTimeUseCode" - }, - "included": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SubscriptionOfferCode" - } - }, - "links": { - "$ref": "#/components/schemas/DocumentLinks" - } - }, - "required": [ - "data", - "links" - ] - }, - "SubscriptionOfferCodeOneTimeUseCodeCreateRequest": { - "type": "object", - "title": "SubscriptionOfferCodeOneTimeUseCodeCreateRequest", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "subscriptionOfferCodeOneTimeUseCodes" - ] - }, - "attributes": { - "type": "object", - "properties": { - "numberOfCodes": { - "type": "integer" - }, - "expirationDate": { - "type": "string", - "format": "date" - } - }, - "required": [ - "numberOfCodes", - "expirationDate" - ] - }, - "relationships": { - "type": "object", - "properties": { - "offerCode": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "subscriptionOfferCodes" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - }, - "required": [ - "data" - ] - } - }, - "required": [ - "offerCode" - ] - } - }, - "required": [ - "relationships", - "attributes", - "type" - ] - } - }, - "required": [ - "data" - ] - }, - "SubscriptionOfferCodeOneTimeUseCodeUpdateRequest": { - "type": "object", - "title": "SubscriptionOfferCodeOneTimeUseCodeUpdateRequest", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "subscriptionOfferCodeOneTimeUseCodes" - ] - }, - "id": { - "type": "string" - }, - "attributes": { - "type": "object", - "properties": { - "active": { - "type": "boolean" - } - } - } - }, - "required": [ - "id", - "type" - ] - } - }, - "required": [ - "data" - ] - }, - "SubscriptionOfferCodePrice": { - "type": "object", - "title": "SubscriptionOfferCodePrice", - "properties": { - "type": { - "type": "string", - "enum": [ - "subscriptionOfferCodePrices" - ] - }, - "id": { - "type": "string" - }, - "relationships": { - "type": "object", - "properties": { - "territory": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "territories" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - }, - "subscriptionPricePoint": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "subscriptionPricePoints" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] - } - } - } - } - } - }, - "required": [ - "id", - "type" - ] - }, "SubscriptionOfferCodePriceInlineCreate": { "type": "object", "properties": { @@ -122227,6 +127523,9 @@ } } } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" } }, "required": [ @@ -122864,6 +128163,9 @@ } } } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" } }, "required": [ @@ -123764,6 +129066,9 @@ "type": "string" } } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" } }, "required": [ @@ -126648,45 +131953,436 @@ } }, "required": [ - "data", - "links" + "data", + "links" + ] + }, + "GameCenterLeaderboardGroupLeaderboardLinkageRequest": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboards" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "BundleIdWithoutIncludesResponse": { + "type": "object", + "title": "BundleIdWithoutIncludesResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/Profile" + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "CertificatesWithoutIncludesResponse": { + "type": "object", + "title": "CertificatesWithoutIncludesResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Profile" + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "DevicesWithoutIncludesResponse": { + "type": "object", + "title": "DevicesWithoutIncludesResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Profile" + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "SubscriptionIntroductoryOffersLinkagesResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "subscriptionIntroductoryOffers" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "SubscriptionIntroductoryOffersLinkagesRequest": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "subscriptionIntroductoryOffers" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "required": [ + "data" + ] + }, + "SubscriptionPricesLinkagesResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "subscriptionPrices" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "SubscriptionPricesLinkagesRequest": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "subscriptionPrices" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "required": [ + "data" + ] + }, + "UserVisibleAppsLinkagesResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "apps" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "UserVisibleAppsLinkagesRequest": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "apps" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "required": [ + "data" ] }, - "GameCenterLeaderboardGroupLeaderboardLinkageRequest": { + "AppsBetaTesterUsagesV1MetricResponse": { "type": "object", "properties": { "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterLeaderboards" - ] - }, - "id": { - "type": "string" + "type": "array", + "items": { + "type": "object", + "properties": { + "dataPoints": { + "type": "object", + "properties": { + "start": { + "type": "string", + "format": "date-time" + }, + "end": { + "type": "string", + "format": "date-time" + }, + "values": { + "type": "object", + "properties": { + "crashCount": { + "type": "integer" + }, + "sessionCount": { + "type": "integer" + }, + "feedbackCount": { + "type": "integer" + } + } + } + } + }, + "dimensions": { + "type": "object", + "properties": { + "betaTesters": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "groupBy": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + } + } + } + } + } } - }, - "required": [ - "id", - "type" - ] + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BetaTester" + } } }, "required": [ - "data" + "data", + "links" ] }, - "BundleIdWithoutIncludesResponse": { + "BetaTesterUsagesV1MetricResponse": { "type": "object", - "title": "BundleIdWithoutIncludesResponse", "properties": { "data": { - "$ref": "#/components/schemas/Profile" + "type": "array", + "items": { + "type": "object", + "properties": { + "dataPoints": { + "type": "object", + "properties": { + "start": { + "type": "string", + "format": "date-time" + }, + "end": { + "type": "string", + "format": "date-time" + }, + "values": { + "type": "object", + "properties": { + "crashCount": { + "type": "integer" + }, + "sessionCount": { + "type": "integer" + }, + "feedbackCount": { + "type": "integer" + } + } + } + } + }, + "dimensions": { + "type": "object", + "properties": { + "apps": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "groupBy": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + } + } + } + } + } + } + } }, "links": { - "$ref": "#/components/schemas/DocumentLinks" + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" } }, "required": [ @@ -126694,14 +132390,67 @@ "links" ] }, - "CertificatesWithoutIncludesResponse": { + "BetaBuildUsagesV1MetricResponse": { "type": "object", - "title": "CertificatesWithoutIncludesResponse", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/Profile" + "type": "object", + "properties": { + "dataPoints": { + "type": "object", + "properties": { + "start": { + "type": "string", + "format": "date-time" + }, + "end": { + "type": "string", + "format": "date-time" + }, + "values": { + "type": "object", + "properties": { + "crashCount": { + "type": "integer" + }, + "installCount": { + "type": "integer" + }, + "sessionCount": { + "type": "integer" + }, + "feedbackCount": { + "type": "integer" + }, + "inviteCount": { + "type": "integer" + } + } + } + } + }, + "dimensions": { + "type": "object", + "properties": { + "bundleIds": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "groupBy": { + "type": "string", + "format": "uri-reference" + } + } + } + } + } + } + } + } } }, "links": { @@ -126716,14 +132465,72 @@ "links" ] }, - "DevicesWithoutIncludesResponse": { + "GameCenterMatchmakingAppRequestsV1MetricResponse": { "type": "object", - "title": "DevicesWithoutIncludesResponse", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/Profile" + "type": "object", + "properties": { + "dataPoints": { + "type": "object", + "properties": { + "start": { + "type": "string", + "format": "date-time" + }, + "end": { + "type": "string", + "format": "date-time" + }, + "values": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "averageSecondsInQueue": { + "type": "number" + }, + "p50SecondsInQueue": { + "type": "number" + }, + "p95SecondsInQueue": { + "type": "number" + } + } + } + } + }, + "dimensions": { + "type": "object", + "properties": { + "result": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "groupBy": { + "type": "string", + "format": "uri-reference" + } + } + } + } + } + } + }, + "granularity": { + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] + } + } } }, "links": { @@ -126738,7 +132545,7 @@ "links" ] }, - "SubscriptionIntroductoryOffersLinkagesResponse": { + "GameCenterMatchmakingQueueSizesV1MetricResponse": { "type": "object", "properties": { "data": { @@ -126746,20 +132553,45 @@ "items": { "type": "object", "properties": { - "type": { + "dataPoints": { + "type": "object", + "properties": { + "start": { + "type": "string", + "format": "date-time" + }, + "end": { + "type": "string", + "format": "date-time" + }, + "values": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "averageNumberOfRequests": { + "type": "number" + }, + "p50NumberOfRequests": { + "type": "number" + }, + "p95NumberOfRequests": { + "type": "number" + } + } + } + } + }, + "granularity": { "type": "string", "enum": [ - "subscriptionIntroductoryOffers" + "P1D", + "PT1H", + "PT15M" ] - }, - "id": { - "type": "string" } - }, - "required": [ - "id", - "type" - ] + } } }, "links": { @@ -126774,7 +132606,7 @@ "links" ] }, - "SubscriptionIntroductoryOffersLinkagesRequest": { + "GameCenterMatchmakingQueueRequestsV1MetricResponse": { "type": "object", "properties": { "data": { @@ -126782,28 +132614,97 @@ "items": { "type": "object", "properties": { - "type": { + "dataPoints": { + "type": "object", + "properties": { + "start": { + "type": "string", + "format": "date-time" + }, + "end": { + "type": "string", + "format": "date-time" + }, + "values": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "averageSecondsInQueue": { + "type": "number" + }, + "p50SecondsInQueue": { + "type": "number" + }, + "p95SecondsInQueue": { + "type": "number" + } + } + } + } + }, + "dimensions": { + "type": "object", + "properties": { + "result": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "groupBy": { + "type": "string", + "format": "uri-reference" + } + } + } + } + }, + "gameCenterDetail": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "groupBy": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + } + } + } + } + }, + "granularity": { "type": "string", "enum": [ - "subscriptionIntroductoryOffers" + "P1D", + "PT1H", + "PT15M" ] - }, - "id": { - "type": "string" } - }, - "required": [ - "id", - "type" - ] + } } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" } }, "required": [ - "data" + "data", + "links" ] }, - "SubscriptionPricesLinkagesResponse": { + "GameCenterMatchmakingSessionsV1MetricResponse": { "type": "object", "properties": { "data": { @@ -126811,20 +132712,45 @@ "items": { "type": "object", "properties": { - "type": { + "dataPoints": { + "type": "object", + "properties": { + "start": { + "type": "string", + "format": "date-time" + }, + "end": { + "type": "string", + "format": "date-time" + }, + "values": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "averagePlayerCount": { + "type": "number" + }, + "p50PlayerCount": { + "type": "number" + }, + "p95PlayerCount": { + "type": "number" + } + } + } + } + }, + "granularity": { "type": "string", "enum": [ - "subscriptionPrices" + "P1D", + "PT1H", + "PT15M" ] - }, - "id": { - "type": "string" } - }, - "required": [ - "id", - "type" - ] + } } }, "links": { @@ -126839,7 +132765,7 @@ "links" ] }, - "SubscriptionPricesLinkagesRequest": { + "GameCenterMatchmakingBooleanRuleResultsV1MetricResponse": { "type": "object", "properties": { "data": { @@ -126847,28 +132773,88 @@ "items": { "type": "object", "properties": { - "type": { + "dataPoints": { + "type": "object", + "properties": { + "start": { + "type": "string", + "format": "date-time" + }, + "end": { + "type": "string", + "format": "date-time" + }, + "values": { + "type": "object", + "properties": { + "count": { + "type": "integer" + } + } + } + } + }, + "dimensions": { + "type": "object", + "properties": { + "result": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "groupBy": { + "type": "string", + "format": "uri-reference" + } + } + } + } + }, + "gameCenterMatchmakingQueue": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "groupBy": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + } + } + } + } + }, + "granularity": { "type": "string", "enum": [ - "subscriptionPrices" + "P1D", + "PT1H", + "PT15M" ] - }, - "id": { - "type": "string" } - }, - "required": [ - "id", - "type" - ] + } } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" } }, "required": [ - "data" + "data", + "links" ] }, - "UserVisibleAppsLinkagesResponse": { + "GameCenterMatchmakingNumberRuleResultsV1MetricResponse": { "type": "object", "properties": { "data": { @@ -126876,20 +132862,68 @@ "items": { "type": "object", "properties": { - "type": { + "dataPoints": { + "type": "object", + "properties": { + "start": { + "type": "string", + "format": "date-time" + }, + "end": { + "type": "string", + "format": "date-time" + }, + "values": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "averageResult": { + "type": "number" + }, + "p50Result": { + "type": "number" + }, + "p95Result": { + "type": "number" + } + } + } + } + }, + "dimensions": { + "type": "object", + "properties": { + "gameCenterMatchmakingQueue": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "groupBy": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + } + } + } + } + }, + "granularity": { "type": "string", "enum": [ - "apps" + "P1D", + "PT1H", + "PT15M" ] - }, - "id": { - "type": "string" } - }, - "required": [ - "id", - "type" - ] + } } }, "links": { @@ -126904,7 +132938,7 @@ "links" ] }, - "UserVisibleAppsLinkagesRequest": { + "GameCenterMatchmakingRuleErrorsV1MetricResponse": { "type": "object", "properties": { "data": { @@ -126912,25 +132946,71 @@ "items": { "type": "object", "properties": { - "type": { + "dataPoints": { + "type": "object", + "properties": { + "start": { + "type": "string", + "format": "date-time" + }, + "end": { + "type": "string", + "format": "date-time" + }, + "values": { + "type": "object", + "properties": { + "count": { + "type": "integer" + } + } + } + } + }, + "dimensions": { + "type": "object", + "properties": { + "gameCenterMatchmakingQueue": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "groupBy": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + } + } + } + } + }, + "granularity": { "type": "string", "enum": [ - "apps" + "P1D", + "PT1H", + "PT15M" ] - }, - "id": { - "type": "string" } - }, - "required": [ - "id", - "type" - ] + } } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" } }, "required": [ - "data" + "data", + "links" ] }, "ErrorResponse": { @@ -127782,6 +133862,17 @@ "MONEY_YEN" ] }, + "GameCenterMatchmakingTeamAssignment": { + "type": "object", + "properties": { + "playerId": { + "type": "string" + }, + "team": { + "type": "string" + } + } + }, "HttpHeader": { "type": "object", "properties": { @@ -127863,6 +133954,17 @@ "NINE_TO_ELEVEN" ] }, + "Location": { + "type": "object", + "properties": { + "latitude": { + "type": "number" + }, + "longitude": { + "type": "number" + } + } + }, "MetricCategory": { "type": "string", "enum": [ @@ -127967,6 +134069,17 @@ "APPLE_TV" ] }, + "Property": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + } + }, "ScmProviderType": { "type": "object", "properties": { diff --git a/Sources/OpenAPI/create-api.yml b/Sources/OpenAPI/create-api.yml new file mode 100644 index 00000000..26c53674 --- /dev/null +++ b/Sources/OpenAPI/create-api.yml @@ -0,0 +1,44 @@ +# Different components that CreateAPI should generate. +generate: [entities, paths, enums] +# The name of the module that the generated sources will be part of. +module: "AppStoreConnect_Swift_SDK" +# Access level modifier for all generated declarations +access: public +# Add @available(*, deprecated) attribute to deprecated types and properties +annotateDeprecations: true +# Change the style of indentation. Supported values: ["spaces", "tabs"] +indentation: tabs +# Parses dates (e.g. "2021-09-29") using NaiveDate (https://github.com/CreateAPI/NaiveDate) +useNaiveDate: false +# Overrides file header comment +fileHeaderComment: "// Generated by Create API\n// https://github.com/CreateAPI/CreateAPI" +# Options used when generating comments. +commentOptions: [title, description, example, externalDocumentation, capitalized] + +paths: + # The style used when generating path definitions + style: rest + # Generate response headers using https://github.com/CreateAPI/HTTPHeaders + includeResponseHeaders: true + # The types to import, by default uses "Get" (https://github.com/CreateAPI/Get) + imports: [] + # Inline simple requests, like the ones with a single parameter + inlineSimpleRequests: true + # Inline query parameters for simple requests instead of generating a Parameter type + inlineSimpleQueryParameters: true + # The threshold of query parameters to inline when using `inlineSimpleQueryParameters`. + simpleQueryParametersThreshold: 2 + # Remove redundant paths if possible + removeRedundantPaths: true + # The namespace type for all generated paths + namespace: "APIEndpoint" + # Adds known types to Apple specific content-types. + overriddenBodyTypes: + application/vnd.apple.diagnostic-logs+json: DiagnosticLogs + application/vnd.apple.xcode-metrics+json: XcodeMetrics + +entities: + # Uses a single StringCodingKey type allowing string literals to be used in the place of individual CodingKey enum types + optimizeCodingKeys: true + # Automatically generate Identifiable conformance for entities that include an id property. + includeIdentifiableConformance: true