diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 195e097..a1d05a7 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 5d77204e-e413-4fd0-a14a-bad3aee2247a management: - docChecksum: af45c1ae70f7fc6589adb3f8075cb275 + docChecksum: 2554ade61ed4d42b8e095168765d7dc0 docVersion: 0.0.3 speakeasyVersion: 1.405.6 generationVersion: 2.428.1 - releaseVersion: 0.8.11 - configChecksum: 64b9486ee9f3378e508046c68abab91f + releaseVersion: 0.8.13 + configChecksum: 042edaea44d6827a8f32dbd3b1e42157 repoURL: https://github.com/LukeHagar/plexswift.git features: swift: @@ -1371,6 +1371,7 @@ examples: parameters: query: Timespan: 4 + timespan: 4 responses: "200": application/json: {"MediaContainer": {"size": 5497, "Device": [], "Account": [], "StatisticsBandwidth": []}} @@ -1635,6 +1636,7 @@ examples: parameters: query: Timespan: 4 + timespan: 4 responses: "200": application/json: {"MediaContainer": {"size": 5497, "StatisticsResources": []}} @@ -1790,6 +1792,7 @@ examples: parameters: query: Timespan: 4 + timespan: 4 responses: "200": application/json: {"MediaContainer": {"size": 5497, "Device": [], "Account": [], "StatisticsMedia": []}} diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index d654eaf..f4fcc01 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: true swift: - version: 0.8.11 + version: 0.8.13 author: LukeHagar description: Swift Client SDK Generated by Speakeasy imports: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 8ff51c0..89061e8 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -9,8 +9,8 @@ sources: - main plexapi: sourceNamespace: plexapi - sourceRevisionDigest: sha256:15e040d800921ded49cf84650ef2bc8fb1acf32c885ee193c42e838d754bf345 - sourceBlobDigest: sha256:c178be2b4bfefb37d76c0fdaef37c51f9b6ab1410422d3698a41bb6a8d79a79f + sourceRevisionDigest: sha256:37c6bfb15f4154eb89b112465107f20757411f22bd1cc7d0a04335df7127fcb4 + sourceBlobDigest: sha256:290473ebc909cada80ff428c685b897f4621cf121397e1417355e06d334e7206 tags: - latest - main @@ -18,10 +18,10 @@ targets: plexswift: source: plexapi sourceNamespace: plexapi - sourceRevisionDigest: sha256:15e040d800921ded49cf84650ef2bc8fb1acf32c885ee193c42e838d754bf345 - sourceBlobDigest: sha256:c178be2b4bfefb37d76c0fdaef37c51f9b6ab1410422d3698a41bb6a8d79a79f + sourceRevisionDigest: sha256:37c6bfb15f4154eb89b112465107f20757411f22bd1cc7d0a04335df7127fcb4 + sourceBlobDigest: sha256:290473ebc909cada80ff428c685b897f4621cf121397e1417355e06d334e7206 codeSamplesNamespace: code-samples-swift-plexswift - codeSamplesRevisionDigest: sha256:6d5ed33331d93e5a4a7259894b8723b8eaee5e47b20048ccbc627e5dcd737f61 + codeSamplesRevisionDigest: sha256:7ea52c6473ca5cf2bd8d4a2d94ebe0474c268138e28e22fe1799a412e3865819 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index 451bcdd..1730b98 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ You can add `plexswift` to your project directly in Xcode `(File > Add Packages. ```bash dependencies: [ - .package(url: "https://github.com/LukeHagar/plexswift.git", .upToNextMajor(from: "0.8.11")) + .package(url: "https://github.com/LukeHagar/plexswift.git", .upToNextMajor(from: "0.8.13")) ] ``` diff --git a/RELEASES.md b/RELEASES.md index a3b6b1c..e66de87 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -762,4 +762,14 @@ Based on: ### Generated - [swift v0.8.11] . ### Releases -- [Swift Package Manager v0.8.11] https://github.com/LukeHagar/plexswift/releases/tag/v0.8.11 - . \ No newline at end of file +- [Swift Package Manager v0.8.11] https://github.com/LukeHagar/plexswift/releases/tag/v0.8.11 - . + +## 2024-11-14 00:08:03 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.405.6 (2.428.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [swift v0.8.13] . +### Releases +- [Swift Package Manager v0.8.13] https://github.com/LukeHagar/plexswift/releases/tag/v0.8.13 - . \ No newline at end of file diff --git a/Sources/Plexswift/internal/models/GetBandwidthStatisticsRequest+Serialization.swift b/Sources/Plexswift/internal/models/GetBandwidthStatisticsRequest+Serialization.swift index bc17d4b..a14ae86 100644 --- a/Sources/Plexswift/internal/models/GetBandwidthStatisticsRequest+Serialization.swift +++ b/Sources/Plexswift/internal/models/GetBandwidthStatisticsRequest+Serialization.swift @@ -21,7 +21,7 @@ extension Operations.GetBandwidthStatisticsRequest: Serializable { extension Operations.GetBandwidthStatisticsRequest: QueryParameterSerializable { func serializedQueryParameters(with parameterDefaults: ParameterDefaults?, formatOverride: SerializableFormat?) throws -> [QueryParameter] { let builder = QueryParameterBuilder() - try builder.addQueryParameters(from: timespan, named: "Timespan", format: formatOverride ?? .query(style: .form, explode: true), parameterDefaults: parameterDefaults) + try builder.addQueryParameters(from: timespan, named: "timespan", format: formatOverride ?? .query(style: .form, explode: true), parameterDefaults: parameterDefaults) return builder.build() } } diff --git a/Sources/Plexswift/internal/models/GetResourcesStatisticsRequest+Serialization.swift b/Sources/Plexswift/internal/models/GetResourcesStatisticsRequest+Serialization.swift index 9923434..27c2bac 100644 --- a/Sources/Plexswift/internal/models/GetResourcesStatisticsRequest+Serialization.swift +++ b/Sources/Plexswift/internal/models/GetResourcesStatisticsRequest+Serialization.swift @@ -21,7 +21,7 @@ extension Operations.GetResourcesStatisticsRequest: Serializable { extension Operations.GetResourcesStatisticsRequest: QueryParameterSerializable { func serializedQueryParameters(with parameterDefaults: ParameterDefaults?, formatOverride: SerializableFormat?) throws -> [QueryParameter] { let builder = QueryParameterBuilder() - try builder.addQueryParameters(from: timespan, named: "Timespan", format: formatOverride ?? .query(style: .form, explode: true), parameterDefaults: parameterDefaults) + try builder.addQueryParameters(from: timespan, named: "timespan", format: formatOverride ?? .query(style: .form, explode: true), parameterDefaults: parameterDefaults) return builder.build() } } diff --git a/Sources/Plexswift/internal/models/GetStatisticsRequest+Serialization.swift b/Sources/Plexswift/internal/models/GetStatisticsRequest+Serialization.swift index 003b06c..7341220 100644 --- a/Sources/Plexswift/internal/models/GetStatisticsRequest+Serialization.swift +++ b/Sources/Plexswift/internal/models/GetStatisticsRequest+Serialization.swift @@ -21,7 +21,7 @@ extension Operations.GetStatisticsRequest: Serializable { extension Operations.GetStatisticsRequest: QueryParameterSerializable { func serializedQueryParameters(with parameterDefaults: ParameterDefaults?, formatOverride: SerializableFormat?) throws -> [QueryParameter] { let builder = QueryParameterBuilder() - try builder.addQueryParameters(from: timespan, named: "Timespan", format: formatOverride ?? .query(style: .form, explode: true), parameterDefaults: parameterDefaults) + try builder.addQueryParameters(from: timespan, named: "timespan", format: formatOverride ?? .query(style: .form, explode: true), parameterDefaults: parameterDefaults) return builder.build() } } diff --git a/Sources/plexswift/internal/client/URLRequestBuilder.swift b/Sources/plexswift/internal/client/URLRequestBuilder.swift index d01a0df..69094bb 100644 --- a/Sources/plexswift/internal/client/URLRequestBuilder.swift +++ b/Sources/plexswift/internal/client/URLRequestBuilder.swift @@ -62,7 +62,7 @@ final class URLRequestBuilder: URLRequestConfiguration { urlRequest.setValue(contentType, forHTTPHeaderField: "Content-Type") } - urlRequest.setValue("speakeasy-sdk/swift 0.8.11 2.428.1 0.0.3 plexswift", forHTTPHeaderField: telemetryHeader.headerName) + urlRequest.setValue("speakeasy-sdk/swift 0.8.13 2.428.1 0.0.3 plexswift", forHTTPHeaderField: telemetryHeader.headerName) addSecurityParameters(to: &urlRequest)