Modern Apps git

← xtool.git

Update ASC spec to v4.0.0 (#142)

Commit
41f81b2851bab72898f2a71aa507f359cc310a26
Author
Kabir Oberai <[email protected]>
When
2025-07-21 08:03 UTC (1 year ago)
Parents
0a3c135
No breaking changes afaik

One notable change is the addition of
`components.schemas.PagingInformation.paging.nextCursor` (which is
possibly supposed to be the query parameter portion of `links.next`?
could simplify the pagination code) but this doesn't seem to be returned
by the prod ASC API right now.

Diff

Makefile
diff --git a/Makefile b/Makefileindex 565ebbf..cdad256 100644--- a/Makefile+++ b/Makefile@@ -166,4 +166,7 @@ openapi/openapi.json: openapi/base.json Sources/DeveloperAPI/patch.js  openapi/base.json: 	@mkdir -p openapi-	curl -fsSL "$(SPEC_URL)" | bsdtar -xOf- > openapi/base.json+# piping curl|bsdtar concatenates xattrs into the JSON :thonk:+	curl -fsSL "$(SPEC_URL)" -o openapi/spec.zip+	bsdtar -xO -f openapi/spec.zip > openapi/base.json+	rm -f openapi/spec.zip
Sources/DeveloperAPI/Generated/Client.swift
diff --git a/Sources/DeveloperAPI/Generated/Client.swift b/Sources/DeveloperAPI/Generated/Client.swiftindex f21fdbd..59f9eb7 100644--- a/Sources/DeveloperAPI/Generated/Client.swift+++ b/Sources/DeveloperAPI/Generated/Client.swift@@ -202,6 +202,28 @@ public struct DeveloperAPIClient: APIProtocol {                         preconditionFailure("bestContentType chose an invalid content type.")                     }                     return .unprocessableContent(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdCapabilitiesCreateInstance.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))                 default:                     return .undocumented(                         statusCode: response.status.code,@@ -403,6 +425,28 @@ public struct DeveloperAPIClient: APIProtocol {                         preconditionFailure("bestContentType chose an invalid content type.")                     }                     return .unprocessableContent(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdCapabilitiesUpdateInstance.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))                 default:                     return .undocumented(                         statusCode: response.status.code,@@ -553,6 +597,28 @@ public struct DeveloperAPIClient: APIProtocol {                         preconditionFailure("bestContentType chose an invalid content type.")                     }                     return .conflict(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdCapabilitiesDeleteInstance.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))                 default:                     return .undocumented(                         statusCode: response.status.code,@@ -775,6 +841,28 @@ public struct DeveloperAPIClient: APIProtocol {                         preconditionFailure("bestContentType chose an invalid content type.")                     }                     return .forbidden(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsGetCollection.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))                 default:                     return .undocumented(                         statusCode: response.status.code,@@ -952,6 +1040,28 @@ public struct DeveloperAPIClient: APIProtocol {                         preconditionFailure("bestContentType chose an invalid content type.")                     }                     return .unprocessableContent(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsCreateInstance.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))                 default:                     return .undocumented(                         statusCode: response.status.code,@@ -1149,6 +1259,28 @@ public struct DeveloperAPIClient: APIProtocol {                         preconditionFailure("bestContentType chose an invalid content type.")                     }                     return .notFound(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsGetInstance.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))                 default:                     return .undocumented(                         statusCode: response.status.code,@@ -1350,6 +1482,28 @@ public struct DeveloperAPIClient: APIProtocol {                         preconditionFailure("bestContentType chose an invalid content type.")                     }                     return .unprocessableContent(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsUpdateInstance.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))                 default:                     return .undocumented(                         statusCode: response.status.code,@@ -1500,6 +1654,28 @@ public struct DeveloperAPIClient: APIProtocol {                         preconditionFailure("bestContentType chose an invalid content type.")                     }                     return .conflict(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsDeleteInstance.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))                 default:                     return .undocumented(                         statusCode: response.status.code,@@ -1570,6 +1746,13 @@ public struct DeveloperAPIClient: APIProtocol {                     name: "fields[certificates]",                     value: input.query.fields_lbrack_certificates_rbrack_                 )+                try converter.setQueryItemAsURI(+                    in: &request,+                    style: .form,+                    explode: false,+                    name: "fields[passTypeIds]",+                    value: input.query.fields_lbrack_passTypeIds_rbrack_+                )                 try converter.setQueryItemAsURI(                     in: &request,                     style: .form,@@ -1577,6 +1760,13 @@ public struct DeveloperAPIClient: APIProtocol {                     name: "limit",                     value: input.query.limit                 )+                try converter.setQueryItemAsURI(+                    in: &request,+                    style: .form,+                    explode: false,+                    name: "include",+                    value: input.query.include+                )                 converter.setAcceptHeader(                     in: &request.headerFields,                     contentTypes: input.headers.accept@@ -1673,6 +1863,28 @@ public struct DeveloperAPIClient: APIProtocol {                         preconditionFailure("bestContentType chose an invalid content type.")                     }                     return .forbidden(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.CertificatesGetCollection.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))                 default:                     return .undocumented(                         statusCode: response.status.code,@@ -1850,6 +2062,28 @@ public struct DeveloperAPIClient: APIProtocol {                         preconditionFailure("bestContentType chose an invalid content type.")                     }                     return .unprocessableContent(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.CertificatesCreateInstance.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))                 default:                     return .undocumented(                         statusCode: response.status.code,@@ -1887,6 +2121,20 @@ public struct DeveloperAPIClient: APIProtocol {                     name: "fields[certificates]",                     value: input.query.fields_lbrack_certificates_rbrack_                 )+                try converter.setQueryItemAsURI(+                    in: &request,+                    style: .form,+                    explode: false,+                    name: "fields[passTypeIds]",+                    value: input.query.fields_lbrack_passTypeIds_rbrack_+                )+                try converter.setQueryItemAsURI(+                    in: &request,+                    style: .form,+                    explode: false,+                    name: "include",+                    value: input.query.include+                )                 converter.setAcceptHeader(                     in: &request.headerFields,                     contentTypes: input.headers.accept@@ -2005,6 +2253,28 @@ public struct DeveloperAPIClient: APIProtocol {                         preconditionFailure("bestContentType chose an invalid content type.")                     }                     return .notFound(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.CertificatesGetInstance.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))                 default:                     return .undocumented(                         statusCode: response.status.code,@@ -2206,6 +2476,28 @@ public struct DeveloperAPIClient: APIProtocol {                         preconditionFailure("bestContentType chose an invalid content type.")                     }                     return .unprocessableContent(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.CertificatesUpdateInstance.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))                 default:                     return .undocumented(                         statusCode: response.status.code,@@ -2356,10 +2648,32 @@ public struct DeveloperAPIClient: APIProtocol {                         preconditionFailure("bestContentType chose an invalid content type.")                     }                     return .conflict(.init(body: body))-                default:-                    return .undocumented(-                        statusCode: response.status.code,-                        .init(+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.CertificatesDeleteInstance.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))+                default:+                    return .undocumented(+                        statusCode: response.status.code,+                        .init(                             headerFields: response.headerFields,                             body: responseBody                         )@@ -2536,6 +2850,28 @@ public struct DeveloperAPIClient: APIProtocol {                         preconditionFailure("bestContentType chose an invalid content type.")                     }                     return .forbidden(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.DevicesGetCollection.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))                 default:                     return .undocumented(                         statusCode: response.status.code,@@ -2713,6 +3049,28 @@ public struct DeveloperAPIClient: APIProtocol {                         preconditionFailure("bestContentType chose an invalid content type.")                     }                     return .unprocessableContent(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.DevicesCreateInstance.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))                 default:                     return .undocumented(                         statusCode: response.status.code,@@ -2868,6 +3226,28 @@ public struct DeveloperAPIClient: APIProtocol {                         preconditionFailure("bestContentType chose an invalid content type.")                     }                     return .notFound(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.DevicesGetInstance.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))                 default:                     return .undocumented(                         statusCode: response.status.code,@@ -3069,6 +3449,28 @@ public struct DeveloperAPIClient: APIProtocol {                         preconditionFailure("bestContentType chose an invalid content type.")                     }                     return .unprocessableContent(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.DevicesUpdateInstance.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))                 default:                     return .undocumented(                         statusCode: response.status.code,@@ -3284,6 +3686,28 @@ public struct DeveloperAPIClient: APIProtocol {                         preconditionFailure("bestContentType chose an invalid content type.")                     }                     return .forbidden(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.ProfilesGetCollection.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))                 default:                     return .undocumented(                         statusCode: response.status.code,@@ -3461,6 +3885,28 @@ public struct DeveloperAPIClient: APIProtocol {                         preconditionFailure("bestContentType chose an invalid content type.")                     }                     return .unprocessableContent(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.ProfilesCreateInstance.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))                 default:                     return .undocumented(                         statusCode: response.status.code,@@ -3658,6 +4104,28 @@ public struct DeveloperAPIClient: APIProtocol {                         preconditionFailure("bestContentType chose an invalid content type.")                     }                     return .notFound(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.ProfilesGetInstance.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))                 default:                     return .undocumented(                         statusCode: response.status.code,@@ -3808,6 +4276,28 @@ public struct DeveloperAPIClient: APIProtocol {                         preconditionFailure("bestContentType chose an invalid content type.")                     }                     return .conflict(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.ProfilesDeleteInstance.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))                 default:                     return .undocumented(                         statusCode: response.status.code,@@ -3820,15 +4310,15 @@ public struct DeveloperAPIClient: APIProtocol {             }         )     }-    /// - Remark: HTTP `GET /v1/bundleIds/{id}/app`.-    /// - Remark: Generated from `#/paths//v1/bundleIds/{id}/app/get(bundleIds_app_getToOneRelated)`.-    public func bundleIdsAppGetToOneRelated(_ input: Operations.BundleIdsAppGetToOneRelated.Input) async throws -> Operations.BundleIdsAppGetToOneRelated.Output {+    /// - Remark: HTTP `GET /v1/bundleIds/{id}/relationships/app`.+    /// - Remark: Generated from `#/paths//v1/bundleIds/{id}/relationships/app/get(bundleIds_app_getToOneRelationship)`.+    public func bundleIdsAppGetToOneRelationship(_ input: Operations.BundleIdsAppGetToOneRelationship.Input) async throws -> Operations.BundleIdsAppGetToOneRelationship.Output {         try await client.send(             input: input,-            forOperation: Operations.BundleIdsAppGetToOneRelated.id,+            forOperation: Operations.BundleIdsAppGetToOneRelationship.id,             serializer: { input in                 let path = try converter.renderedPath(-                    template: "/v1/bundleIds/{}/app",+                    template: "/v1/bundleIds/{}/relationships/app",                     parameters: [                         input.path.id                     ]@@ -3838,13 +4328,6 @@ public struct DeveloperAPIClient: APIProtocol {                     method: .get                 )                 suppressMutabilityWarning(&request)-                try converter.setQueryItemAsURI(-                    in: &request,-                    style: .form,-                    explode: false,-                    name: "fields[apps]",-                    value: input.query.fields_lbrack_apps_rbrack_-                )                 converter.setAcceptHeader(                     in: &request.headerFields,                     contentTypes: input.headers.accept@@ -3855,7 +4338,7 @@ public struct DeveloperAPIClient: APIProtocol {                 switch response.status.code {                 case 200:                     let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)-                    let body: Operations.BundleIdsAppGetToOneRelated.Output.Ok.Body+                    let body: Operations.BundleIdsAppGetToOneRelationship.Output.Ok.Body                     let chosenContentType = try converter.bestContentType(                         received: contentType,                         options: [@@ -3865,7 +4348,7 @@ public struct DeveloperAPIClient: APIProtocol {                     switch chosenContentType {                     case "application/json":                         body = try await converter.getResponseBodyAsJSON(-                            Components.Schemas.AppWithoutIncludesResponse.self,+                            Components.Schemas.BundleIdAppLinkageResponse.self,                             from: responseBody,                             transforming: { value in                                 .json(value)@@ -3877,7 +4360,7 @@ public struct DeveloperAPIClient: APIProtocol {                     return .ok(.init(body: body))                 case 400:                     let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)-                    let body: Operations.BundleIdsAppGetToOneRelated.Output.BadRequest.Body+                    let body: Operations.BundleIdsAppGetToOneRelationship.Output.BadRequest.Body                     let chosenContentType = try converter.bestContentType(                         received: contentType,                         options: [@@ -3899,7 +4382,7 @@ public struct DeveloperAPIClient: APIProtocol {                     return .badRequest(.init(body: body))                 case 401:                     let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)-                    let body: Operations.BundleIdsAppGetToOneRelated.Output.Unauthorized.Body+                    let body: Operations.BundleIdsAppGetToOneRelationship.Output.Unauthorized.Body                     let chosenContentType = try converter.bestContentType(                         received: contentType,                         options: [@@ -3921,7 +4404,7 @@ public struct DeveloperAPIClient: APIProtocol {                     return .unauthorized(.init(body: body))                 case 403:                     let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)-                    let body: Operations.BundleIdsAppGetToOneRelated.Output.Forbidden.Body+                    let body: Operations.BundleIdsAppGetToOneRelationship.Output.Forbidden.Body                     let chosenContentType = try converter.bestContentType(                         received: contentType,                         options: [@@ -3943,7 +4426,7 @@ public struct DeveloperAPIClient: APIProtocol {                     return .forbidden(.init(body: body))                 case 404:                     let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)-                    let body: Operations.BundleIdsAppGetToOneRelated.Output.NotFound.Body+                    let body: Operations.BundleIdsAppGetToOneRelationship.Output.NotFound.Body                     let chosenContentType = try converter.bestContentType(                         received: contentType,                         options: [@@ -3963,6 +4446,28 @@ public struct DeveloperAPIClient: APIProtocol {                         preconditionFailure("bestContentType chose an invalid content type.")                     }                     return .notFound(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsAppGetToOneRelationship.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))                 default:                     return .undocumented(                         statusCode: response.status.code,@@ -3975,15 +4480,15 @@ public struct DeveloperAPIClient: APIProtocol {             }         )     }-    /// - Remark: HTTP `GET /v1/bundleIds/{id}/bundleIdCapabilities`.-    /// - Remark: Generated from `#/paths//v1/bundleIds/{id}/bundleIdCapabilities/get(bundleIds_bundleIdCapabilities_getToManyRelated)`.-    public func bundleIdsBundleIdCapabilitiesGetToManyRelated(_ input: Operations.BundleIdsBundleIdCapabilitiesGetToManyRelated.Input) async throws -> Operations.BundleIdsBundleIdCapabilitiesGetToManyRelated.Output {+    /// - Remark: HTTP `GET /v1/bundleIds/{id}/app`.+    /// - Remark: Generated from `#/paths//v1/bundleIds/{id}/app/get(bundleIds_app_getToOneRelated)`.+    public func bundleIdsAppGetToOneRelated(_ input: Operations.BundleIdsAppGetToOneRelated.Input) async throws -> Operations.BundleIdsAppGetToOneRelated.Output {         try await client.send(             input: input,-            forOperation: Operations.BundleIdsBundleIdCapabilitiesGetToManyRelated.id,+            forOperation: Operations.BundleIdsAppGetToOneRelated.id,             serializer: { input in                 let path = try converter.renderedPath(-                    template: "/v1/bundleIds/{}/bundleIdCapabilities",+                    template: "/v1/bundleIds/{}/app",                     parameters: [                         input.path.id                     ]@@ -3997,15 +4502,8 @@ public struct DeveloperAPIClient: APIProtocol {                     in: &request,                     style: .form,                     explode: false,-                    name: "fields[bundleIdCapabilities]",-                    value: input.query.fields_lbrack_bundleIdCapabilities_rbrack_-                )-                try converter.setQueryItemAsURI(-                    in: &request,-                    style: .form,-                    explode: true,-                    name: "limit",-                    value: input.query.limit+                    name: "fields[apps]",+                    value: input.query.fields_lbrack_apps_rbrack_                 )                 converter.setAcceptHeader(                     in: &request.headerFields,@@ -4017,7 +4515,7 @@ public struct DeveloperAPIClient: APIProtocol {                 switch response.status.code {                 case 200:                     let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)-                    let body: Operations.BundleIdsBundleIdCapabilitiesGetToManyRelated.Output.Ok.Body+                    let body: Operations.BundleIdsAppGetToOneRelated.Output.Ok.Body                     let chosenContentType = try converter.bestContentType(                         received: contentType,                         options: [@@ -4027,7 +4525,7 @@ public struct DeveloperAPIClient: APIProtocol {                     switch chosenContentType {                     case "application/json":                         body = try await converter.getResponseBodyAsJSON(-                            Components.Schemas.BundleIdCapabilitiesWithoutIncludesResponse.self,+                            Components.Schemas.AppWithoutIncludesResponse.self,                             from: responseBody,                             transforming: { value in                                 .json(value)@@ -4039,7 +4537,7 @@ public struct DeveloperAPIClient: APIProtocol {                     return .ok(.init(body: body))                 case 400:                     let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)-                    let body: Operations.BundleIdsBundleIdCapabilitiesGetToManyRelated.Output.BadRequest.Body+                    let body: Operations.BundleIdsAppGetToOneRelated.Output.BadRequest.Body                     let chosenContentType = try converter.bestContentType(                         received: contentType,                         options: [@@ -4061,7 +4559,7 @@ public struct DeveloperAPIClient: APIProtocol {                     return .badRequest(.init(body: body))                 case 401:                     let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)-                    let body: Operations.BundleIdsBundleIdCapabilitiesGetToManyRelated.Output.Unauthorized.Body+                    let body: Operations.BundleIdsAppGetToOneRelated.Output.Unauthorized.Body                     let chosenContentType = try converter.bestContentType(                         received: contentType,                         options: [@@ -4083,7 +4581,7 @@ public struct DeveloperAPIClient: APIProtocol {                     return .unauthorized(.init(body: body))                 case 403:                     let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)-                    let body: Operations.BundleIdsBundleIdCapabilitiesGetToManyRelated.Output.Forbidden.Body+                    let body: Operations.BundleIdsAppGetToOneRelated.Output.Forbidden.Body                     let chosenContentType = try converter.bestContentType(                         received: contentType,                         options: [@@ -4105,7 +4603,7 @@ public struct DeveloperAPIClient: APIProtocol {                     return .forbidden(.init(body: body))                 case 404:                     let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)-                    let body: Operations.BundleIdsBundleIdCapabilitiesGetToManyRelated.Output.NotFound.Body+                    let body: Operations.BundleIdsAppGetToOneRelated.Output.NotFound.Body                     let chosenContentType = try converter.bestContentType(                         received: contentType,                         options: [@@ -4125,27 +4623,1486 @@ public struct DeveloperAPIClient: APIProtocol {                         preconditionFailure("bestContentType chose an invalid content type.")                     }                     return .notFound(.init(body: body))-                default:-                    return .undocumented(-                        statusCode: response.status.code,-                        .init(-                            headerFields: response.headerFields,-                            body: responseBody-                        )-                    )-                }-            }-        )+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsAppGetToOneRelated.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))+                default:+                    return .undocumented(+                        statusCode: response.status.code,+                        .init(+                            headerFields: response.headerFields,+                            body: responseBody+                        )+                    )+                }+            }+        )+    }+    /// - Remark: HTTP `GET /v1/bundleIds/{id}/relationships/bundleIdCapabilities`.+    /// - Remark: Generated from `#/paths//v1/bundleIds/{id}/relationships/bundleIdCapabilities/get(bundleIds_bundleIdCapabilities_getToManyRelationship)`.+    public func bundleIdsBundleIdCapabilitiesGetToManyRelationship(_ input: Operations.BundleIdsBundleIdCapabilitiesGetToManyRelationship.Input) async throws -> Operations.BundleIdsBundleIdCapabilitiesGetToManyRelationship.Output {+        try await client.send(+            input: input,+            forOperation: Operations.BundleIdsBundleIdCapabilitiesGetToManyRelationship.id,+            serializer: { input in+                let path = try converter.renderedPath(+                    template: "/v1/bundleIds/{}/relationships/bundleIdCapabilities",+                    parameters: [+                        input.path.id+                    ]+                )+                var request: HTTPTypes.HTTPRequest = .init(+                    soar_path: path,+                    method: .get+                )+                suppressMutabilityWarning(&request)+                try converter.setQueryItemAsURI(+                    in: &request,+                    style: .form,+                    explode: true,+                    name: "limit",+                    value: input.query.limit+                )+                converter.setAcceptHeader(+                    in: &request.headerFields,+                    contentTypes: input.headers.accept+                )+                return (request, nil)+            },+            deserializer: { response, responseBody in+                switch response.status.code {+                case 200:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsBundleIdCapabilitiesGetToManyRelationship.Output.Ok.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.BundleIdBundleIdCapabilitiesLinkagesResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .ok(.init(body: body))+                case 400:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsBundleIdCapabilitiesGetToManyRelationship.Output.BadRequest.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .badRequest(.init(body: body))+                case 401:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsBundleIdCapabilitiesGetToManyRelationship.Output.Unauthorized.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .unauthorized(.init(body: body))+                case 403:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsBundleIdCapabilitiesGetToManyRelationship.Output.Forbidden.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .forbidden(.init(body: body))+                case 404:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsBundleIdCapabilitiesGetToManyRelationship.Output.NotFound.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .notFound(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsBundleIdCapabilitiesGetToManyRelationship.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))+                default:+                    return .undocumented(+                        statusCode: response.status.code,+                        .init(+                            headerFields: response.headerFields,+                            body: responseBody+                        )+                    )+                }+            }+        )+    }+    /// - Remark: HTTP `GET /v1/bundleIds/{id}/bundleIdCapabilities`.+    /// - Remark: Generated from `#/paths//v1/bundleIds/{id}/bundleIdCapabilities/get(bundleIds_bundleIdCapabilities_getToManyRelated)`.+    public func bundleIdsBundleIdCapabilitiesGetToManyRelated(_ input: Operations.BundleIdsBundleIdCapabilitiesGetToManyRelated.Input) async throws -> Operations.BundleIdsBundleIdCapabilitiesGetToManyRelated.Output {+        try await client.send(+            input: input,+            forOperation: Operations.BundleIdsBundleIdCapabilitiesGetToManyRelated.id,+            serializer: { input in+                let path = try converter.renderedPath(+                    template: "/v1/bundleIds/{}/bundleIdCapabilities",+                    parameters: [+                        input.path.id+                    ]+                )+                var request: HTTPTypes.HTTPRequest = .init(+                    soar_path: path,+                    method: .get+                )+                suppressMutabilityWarning(&request)+                try converter.setQueryItemAsURI(+                    in: &request,+                    style: .form,+                    explode: false,+                    name: "fields[bundleIdCapabilities]",+                    value: input.query.fields_lbrack_bundleIdCapabilities_rbrack_+                )+                try converter.setQueryItemAsURI(+                    in: &request,+                    style: .form,+                    explode: true,+                    name: "limit",+                    value: input.query.limit+                )+                converter.setAcceptHeader(+                    in: &request.headerFields,+                    contentTypes: input.headers.accept+                )+                return (request, nil)+            },+            deserializer: { response, responseBody in+                switch response.status.code {+                case 200:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsBundleIdCapabilitiesGetToManyRelated.Output.Ok.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.BundleIdCapabilitiesWithoutIncludesResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .ok(.init(body: body))+                case 400:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsBundleIdCapabilitiesGetToManyRelated.Output.BadRequest.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .badRequest(.init(body: body))+                case 401:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsBundleIdCapabilitiesGetToManyRelated.Output.Unauthorized.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .unauthorized(.init(body: body))+                case 403:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsBundleIdCapabilitiesGetToManyRelated.Output.Forbidden.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .forbidden(.init(body: body))+                case 404:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsBundleIdCapabilitiesGetToManyRelated.Output.NotFound.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .notFound(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsBundleIdCapabilitiesGetToManyRelated.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))+                default:+                    return .undocumented(+                        statusCode: response.status.code,+                        .init(+                            headerFields: response.headerFields,+                            body: responseBody+                        )+                    )+                }+            }+        )+    }+    /// - Remark: HTTP `GET /v1/bundleIds/{id}/relationships/profiles`.+    /// - Remark: Generated from `#/paths//v1/bundleIds/{id}/relationships/profiles/get(bundleIds_profiles_getToManyRelationship)`.+    public func bundleIdsProfilesGetToManyRelationship(_ input: Operations.BundleIdsProfilesGetToManyRelationship.Input) async throws -> Operations.BundleIdsProfilesGetToManyRelationship.Output {+        try await client.send(+            input: input,+            forOperation: Operations.BundleIdsProfilesGetToManyRelationship.id,+            serializer: { input in+                let path = try converter.renderedPath(+                    template: "/v1/bundleIds/{}/relationships/profiles",+                    parameters: [+                        input.path.id+                    ]+                )+                var request: HTTPTypes.HTTPRequest = .init(+                    soar_path: path,+                    method: .get+                )+                suppressMutabilityWarning(&request)+                try converter.setQueryItemAsURI(+                    in: &request,+                    style: .form,+                    explode: true,+                    name: "limit",+                    value: input.query.limit+                )+                converter.setAcceptHeader(+                    in: &request.headerFields,+                    contentTypes: input.headers.accept+                )+                return (request, nil)+            },+            deserializer: { response, responseBody in+                switch response.status.code {+                case 200:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsProfilesGetToManyRelationship.Output.Ok.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.BundleIdProfilesLinkagesResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .ok(.init(body: body))+                case 400:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsProfilesGetToManyRelationship.Output.BadRequest.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .badRequest(.init(body: body))+                case 401:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsProfilesGetToManyRelationship.Output.Unauthorized.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .unauthorized(.init(body: body))+                case 403:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsProfilesGetToManyRelationship.Output.Forbidden.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .forbidden(.init(body: body))+                case 404:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsProfilesGetToManyRelationship.Output.NotFound.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .notFound(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsProfilesGetToManyRelationship.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))+                default:+                    return .undocumented(+                        statusCode: response.status.code,+                        .init(+                            headerFields: response.headerFields,+                            body: responseBody+                        )+                    )+                }+            }+        )+    }+    /// - Remark: HTTP `GET /v1/bundleIds/{id}/profiles`.+    /// - Remark: Generated from `#/paths//v1/bundleIds/{id}/profiles/get(bundleIds_profiles_getToManyRelated)`.+    public func bundleIdsProfilesGetToManyRelated(_ input: Operations.BundleIdsProfilesGetToManyRelated.Input) async throws -> Operations.BundleIdsProfilesGetToManyRelated.Output {+        try await client.send(+            input: input,+            forOperation: Operations.BundleIdsProfilesGetToManyRelated.id,+            serializer: { input in+                let path = try converter.renderedPath(+                    template: "/v1/bundleIds/{}/profiles",+                    parameters: [+                        input.path.id+                    ]+                )+                var request: HTTPTypes.HTTPRequest = .init(+                    soar_path: path,+                    method: .get+                )+                suppressMutabilityWarning(&request)+                try converter.setQueryItemAsURI(+                    in: &request,+                    style: .form,+                    explode: false,+                    name: "fields[profiles]",+                    value: input.query.fields_lbrack_profiles_rbrack_+                )+                try converter.setQueryItemAsURI(+                    in: &request,+                    style: .form,+                    explode: true,+                    name: "limit",+                    value: input.query.limit+                )+                converter.setAcceptHeader(+                    in: &request.headerFields,+                    contentTypes: input.headers.accept+                )+                return (request, nil)+            },+            deserializer: { response, responseBody in+                switch response.status.code {+                case 200:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsProfilesGetToManyRelated.Output.Ok.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ProfilesWithoutIncludesResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .ok(.init(body: body))+                case 400:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsProfilesGetToManyRelated.Output.BadRequest.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .badRequest(.init(body: body))+                case 401:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsProfilesGetToManyRelated.Output.Unauthorized.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .unauthorized(.init(body: body))+                case 403:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsProfilesGetToManyRelated.Output.Forbidden.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .forbidden(.init(body: body))+                case 404:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsProfilesGetToManyRelated.Output.NotFound.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .notFound(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.BundleIdsProfilesGetToManyRelated.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))+                default:+                    return .undocumented(+                        statusCode: response.status.code,+                        .init(+                            headerFields: response.headerFields,+                            body: responseBody+                        )+                    )+                }+            }+        )+    }+    /// - Remark: HTTP `GET /v1/certificates/{id}/relationships/passTypeId`.+    /// - Remark: Generated from `#/paths//v1/certificates/{id}/relationships/passTypeId/get(certificates_passTypeId_getToOneRelationship)`.+    public func certificatesPassTypeIdGetToOneRelationship(_ input: Operations.CertificatesPassTypeIdGetToOneRelationship.Input) async throws -> Operations.CertificatesPassTypeIdGetToOneRelationship.Output {+        try await client.send(+            input: input,+            forOperation: Operations.CertificatesPassTypeIdGetToOneRelationship.id,+            serializer: { input in+                let path = try converter.renderedPath(+                    template: "/v1/certificates/{}/relationships/passTypeId",+                    parameters: [+                        input.path.id+                    ]+                )+                var request: HTTPTypes.HTTPRequest = .init(+                    soar_path: path,+                    method: .get+                )+                suppressMutabilityWarning(&request)+                converter.setAcceptHeader(+                    in: &request.headerFields,+                    contentTypes: input.headers.accept+                )+                return (request, nil)+            },+            deserializer: { response, responseBody in+                switch response.status.code {+                case 200:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.CertificatesPassTypeIdGetToOneRelationship.Output.Ok.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.CertificatePassTypeIdLinkageResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .ok(.init(body: body))+                case 400:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.CertificatesPassTypeIdGetToOneRelationship.Output.BadRequest.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .badRequest(.init(body: body))+                case 401:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.CertificatesPassTypeIdGetToOneRelationship.Output.Unauthorized.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .unauthorized(.init(body: body))+                case 403:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.CertificatesPassTypeIdGetToOneRelationship.Output.Forbidden.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .forbidden(.init(body: body))+                case 404:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.CertificatesPassTypeIdGetToOneRelationship.Output.NotFound.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .notFound(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.CertificatesPassTypeIdGetToOneRelationship.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))+                default:+                    return .undocumented(+                        statusCode: response.status.code,+                        .init(+                            headerFields: response.headerFields,+                            body: responseBody+                        )+                    )+                }+            }+        )+    }+    /// - Remark: HTTP `GET /v1/certificates/{id}/passTypeId`.+    /// - Remark: Generated from `#/paths//v1/certificates/{id}/passTypeId/get(certificates_passTypeId_getToOneRelated)`.+    public func certificatesPassTypeIdGetToOneRelated(_ input: Operations.CertificatesPassTypeIdGetToOneRelated.Input) async throws -> Operations.CertificatesPassTypeIdGetToOneRelated.Output {+        try await client.send(+            input: input,+            forOperation: Operations.CertificatesPassTypeIdGetToOneRelated.id,+            serializer: { input in+                let path = try converter.renderedPath(+                    template: "/v1/certificates/{}/passTypeId",+                    parameters: [+                        input.path.id+                    ]+                )+                var request: HTTPTypes.HTTPRequest = .init(+                    soar_path: path,+                    method: .get+                )+                suppressMutabilityWarning(&request)+                try converter.setQueryItemAsURI(+                    in: &request,+                    style: .form,+                    explode: false,+                    name: "fields[passTypeIds]",+                    value: input.query.fields_lbrack_passTypeIds_rbrack_+                )+                try converter.setQueryItemAsURI(+                    in: &request,+                    style: .form,+                    explode: false,+                    name: "fields[certificates]",+                    value: input.query.fields_lbrack_certificates_rbrack_+                )+                try converter.setQueryItemAsURI(+                    in: &request,+                    style: .form,+                    explode: false,+                    name: "include",+                    value: input.query.include+                )+                try converter.setQueryItemAsURI(+                    in: &request,+                    style: .form,+                    explode: true,+                    name: "limit[certificates]",+                    value: input.query.limit_lbrack_certificates_rbrack_+                )+                converter.setAcceptHeader(+                    in: &request.headerFields,+                    contentTypes: input.headers.accept+                )+                return (request, nil)+            },+            deserializer: { response, responseBody in+                switch response.status.code {+                case 200:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.CertificatesPassTypeIdGetToOneRelated.Output.Ok.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.PassTypeIdResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .ok(.init(body: body))+                case 400:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.CertificatesPassTypeIdGetToOneRelated.Output.BadRequest.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .badRequest(.init(body: body))+                case 401:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.CertificatesPassTypeIdGetToOneRelated.Output.Unauthorized.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .unauthorized(.init(body: body))+                case 403:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.CertificatesPassTypeIdGetToOneRelated.Output.Forbidden.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .forbidden(.init(body: body))+                case 404:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.CertificatesPassTypeIdGetToOneRelated.Output.NotFound.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .notFound(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.CertificatesPassTypeIdGetToOneRelated.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))+                default:+                    return .undocumented(+                        statusCode: response.status.code,+                        .init(+                            headerFields: response.headerFields,+                            body: responseBody+                        )+                    )+                }+            }+        )+    }+    /// - Remark: HTTP `GET /v1/profiles/{id}/relationships/bundleId`.+    /// - Remark: Generated from `#/paths//v1/profiles/{id}/relationships/bundleId/get(profiles_bundleId_getToOneRelationship)`.+    public func profilesBundleIdGetToOneRelationship(_ input: Operations.ProfilesBundleIdGetToOneRelationship.Input) async throws -> Operations.ProfilesBundleIdGetToOneRelationship.Output {+        try await client.send(+            input: input,+            forOperation: Operations.ProfilesBundleIdGetToOneRelationship.id,+            serializer: { input in+                let path = try converter.renderedPath(+                    template: "/v1/profiles/{}/relationships/bundleId",+                    parameters: [+                        input.path.id+                    ]+                )+                var request: HTTPTypes.HTTPRequest = .init(+                    soar_path: path,+                    method: .get+                )+                suppressMutabilityWarning(&request)+                converter.setAcceptHeader(+                    in: &request.headerFields,+                    contentTypes: input.headers.accept+                )+                return (request, nil)+            },+            deserializer: { response, responseBody in+                switch response.status.code {+                case 200:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.ProfilesBundleIdGetToOneRelationship.Output.Ok.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ProfileBundleIdLinkageResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .ok(.init(body: body))+                case 400:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.ProfilesBundleIdGetToOneRelationship.Output.BadRequest.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .badRequest(.init(body: body))+                case 401:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.ProfilesBundleIdGetToOneRelationship.Output.Unauthorized.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .unauthorized(.init(body: body))+                case 403:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.ProfilesBundleIdGetToOneRelationship.Output.Forbidden.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .forbidden(.init(body: body))+                case 404:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.ProfilesBundleIdGetToOneRelationship.Output.NotFound.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .notFound(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.ProfilesBundleIdGetToOneRelationship.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))+                default:+                    return .undocumented(+                        statusCode: response.status.code,+                        .init(+                            headerFields: response.headerFields,+                            body: responseBody+                        )+                    )+                }+            }+        )+    }+    /// - Remark: HTTP `GET /v1/profiles/{id}/bundleId`.+    /// - Remark: Generated from `#/paths//v1/profiles/{id}/bundleId/get(profiles_bundleId_getToOneRelated)`.+    public func profilesBundleIdGetToOneRelated(_ input: Operations.ProfilesBundleIdGetToOneRelated.Input) async throws -> Operations.ProfilesBundleIdGetToOneRelated.Output {+        try await client.send(+            input: input,+            forOperation: Operations.ProfilesBundleIdGetToOneRelated.id,+            serializer: { input in+                let path = try converter.renderedPath(+                    template: "/v1/profiles/{}/bundleId",+                    parameters: [+                        input.path.id+                    ]+                )+                var request: HTTPTypes.HTTPRequest = .init(+                    soar_path: path,+                    method: .get+                )+                suppressMutabilityWarning(&request)+                try converter.setQueryItemAsURI(+                    in: &request,+                    style: .form,+                    explode: false,+                    name: "fields[bundleIds]",+                    value: input.query.fields_lbrack_bundleIds_rbrack_+                )+                converter.setAcceptHeader(+                    in: &request.headerFields,+                    contentTypes: input.headers.accept+                )+                return (request, nil)+            },+            deserializer: { response, responseBody in+                switch response.status.code {+                case 200:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.ProfilesBundleIdGetToOneRelated.Output.Ok.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.BundleIdWithoutIncludesResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .ok(.init(body: body))+                case 400:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.ProfilesBundleIdGetToOneRelated.Output.BadRequest.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .badRequest(.init(body: body))+                case 401:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.ProfilesBundleIdGetToOneRelated.Output.Unauthorized.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .unauthorized(.init(body: body))+                case 403:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.ProfilesBundleIdGetToOneRelated.Output.Forbidden.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .forbidden(.init(body: body))+                case 404:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.ProfilesBundleIdGetToOneRelated.Output.NotFound.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .notFound(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.ProfilesBundleIdGetToOneRelated.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))+                default:+                    return .undocumented(+                        statusCode: response.status.code,+                        .init(+                            headerFields: response.headerFields,+                            body: responseBody+                        )+                    )+                }+            }+        )     }-    /// - Remark: HTTP `GET /v1/bundleIds/{id}/profiles`.-    /// - Remark: Generated from `#/paths//v1/bundleIds/{id}/profiles/get(bundleIds_profiles_getToManyRelated)`.-    public func bundleIdsProfilesGetToManyRelated(_ input: Operations.BundleIdsProfilesGetToManyRelated.Input) async throws -> Operations.BundleIdsProfilesGetToManyRelated.Output {+    /// - Remark: HTTP `GET /v1/profiles/{id}/relationships/certificates`.+    /// - Remark: Generated from `#/paths//v1/profiles/{id}/relationships/certificates/get(profiles_certificates_getToManyRelationship)`.+    public func profilesCertificatesGetToManyRelationship(_ input: Operations.ProfilesCertificatesGetToManyRelationship.Input) async throws -> Operations.ProfilesCertificatesGetToManyRelationship.Output {         try await client.send(             input: input,-            forOperation: Operations.BundleIdsProfilesGetToManyRelated.id,+            forOperation: Operations.ProfilesCertificatesGetToManyRelationship.id,             serializer: { input in                 let path = try converter.renderedPath(-                    template: "/v1/bundleIds/{}/profiles",+                    template: "/v1/profiles/{}/relationships/certificates",                     parameters: [                         input.path.id                     ]@@ -4155,13 +6112,6 @@ public struct DeveloperAPIClient: APIProtocol {                     method: .get                 )                 suppressMutabilityWarning(&request)-                try converter.setQueryItemAsURI(-                    in: &request,-                    style: .form,-                    explode: false,-                    name: "fields[profiles]",-                    value: input.query.fields_lbrack_profiles_rbrack_-                )                 try converter.setQueryItemAsURI(                     in: &request,                     style: .form,@@ -4179,7 +6129,7 @@ public struct DeveloperAPIClient: APIProtocol {                 switch response.status.code {                 case 200:                     let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)-                    let body: Operations.BundleIdsProfilesGetToManyRelated.Output.Ok.Body+                    let body: Operations.ProfilesCertificatesGetToManyRelationship.Output.Ok.Body                     let chosenContentType = try converter.bestContentType(                         received: contentType,                         options: [@@ -4189,7 +6139,7 @@ public struct DeveloperAPIClient: APIProtocol {                     switch chosenContentType {                     case "application/json":                         body = try await converter.getResponseBodyAsJSON(-                            Components.Schemas.ProfilesWithoutIncludesResponse.self,+                            Components.Schemas.ProfileCertificatesLinkagesResponse.self,                             from: responseBody,                             transforming: { value in                                 .json(value)@@ -4201,7 +6151,7 @@ public struct DeveloperAPIClient: APIProtocol {                     return .ok(.init(body: body))                 case 400:                     let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)-                    let body: Operations.BundleIdsProfilesGetToManyRelated.Output.BadRequest.Body+                    let body: Operations.ProfilesCertificatesGetToManyRelationship.Output.BadRequest.Body                     let chosenContentType = try converter.bestContentType(                         received: contentType,                         options: [@@ -4223,7 +6173,7 @@ public struct DeveloperAPIClient: APIProtocol {                     return .badRequest(.init(body: body))                 case 401:                     let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)-                    let body: Operations.BundleIdsProfilesGetToManyRelated.Output.Unauthorized.Body+                    let body: Operations.ProfilesCertificatesGetToManyRelationship.Output.Unauthorized.Body                     let chosenContentType = try converter.bestContentType(                         received: contentType,                         options: [@@ -4245,7 +6195,7 @@ public struct DeveloperAPIClient: APIProtocol {                     return .unauthorized(.init(body: body))                 case 403:                     let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)-                    let body: Operations.BundleIdsProfilesGetToManyRelated.Output.Forbidden.Body+                    let body: Operations.ProfilesCertificatesGetToManyRelationship.Output.Forbidden.Body                     let chosenContentType = try converter.bestContentType(                         received: contentType,                         options: [@@ -4267,7 +6217,7 @@ public struct DeveloperAPIClient: APIProtocol {                     return .forbidden(.init(body: body))                 case 404:                     let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)-                    let body: Operations.BundleIdsProfilesGetToManyRelated.Output.NotFound.Body+                    let body: Operations.ProfilesCertificatesGetToManyRelationship.Output.NotFound.Body                     let chosenContentType = try converter.bestContentType(                         received: contentType,                         options: [@@ -4287,6 +6237,28 @@ public struct DeveloperAPIClient: APIProtocol {                         preconditionFailure("bestContentType chose an invalid content type.")                     }                     return .notFound(.init(body: body))+                case 429:+                    let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)+                    let body: Operations.ProfilesCertificatesGetToManyRelationship.Output.TooManyRequests.Body+                    let chosenContentType = try converter.bestContentType(+                        received: contentType,+                        options: [+                            "application/json"+                        ]+                    )+                    switch chosenContentType {+                    case "application/json":+                        body = try await converter.getResponseBodyAsJSON(+                            Components.Schemas.ErrorResponse.self,+                            from: responseBody,+                            transforming: { value in+                                .json(value)+                            }+                        )+                    default:+                        preconditionFailure("bestContentType chose an invalid content type.")+                    }+                    return .tooManyRequests(.init(body: body))                 default:                     return .undocumented(                         statusCode: response.status.code,@@ -4299,15 +6271,15 @@ public struct DeveloperAPIClient: APIProtocol {             }         )     }-    /// - Remark: HTTP `GET /v1/profiles/{id}/bundleId`.-    /// - Remark: Generated from `#/paths//v1/profiles/{id}/bundleId/get(profiles_bundleId_getToOneRelated)`.-    public func profilesBundleIdGetToOneRelated(_ input: Operations.ProfilesBundleIdGetToOneRelated.Input) async throws -> Operations.ProfilesBundleIdGetToOneRelated.Output {+    /// - Remark: HTTP `GET /v1/profiles/{id}/certificates`.+    /// - Remark: Generated from `#/paths//v1/profiles/{id}/certificates/get(profiles_certificates_getToManyRelated)`.+    public func profilesCertificatesGetToManyRelated(_ input: Operations.ProfilesCertificatesGetToManyRelated.Input) async throws -> Operations.ProfilesCertificatesGetToManyRelated.Output {         try await client.send(             input: input,-            forOperation: Operations.ProfilesBundleIdGetToOneRelated.id,+            forOperation: Operations.ProfilesCertificatesGetToManyRelated.id,             serializer: { input in                 let path = try converter.renderedPath(-                    template: "/v1/profiles/{}/bundleId",+                    template: "/v1/profiles/{}/certificates",                     parameters: [                         input.path.id                     ]@@ -4321,8 +6293,15 @@ public struct DeveloperAPIClient: APIProtocol {                     in: &request,                     style: .form,                     explode: false,-                    name: "fields[bundleIds]",-                    value: input.query.fields_lbrack_bundleIds_rbrack_+                    name: "fields[certificates]",+                    value: input.query.fields_lbrack_certificates_rbrack_+                )+                try converter.setQueryItemAsURI(+                    in: &request,+                    style: .form,+                    explode: tr

Diff truncated.