ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.405.6

This commit is contained in:
speakeasybot
2024-10-01 00:09:43 +00:00
parent bc83deeae0
commit 1506db4d6b
12 changed files with 1543 additions and 3448 deletions

File diff suppressed because one or more lines are too long

View File

@@ -12,7 +12,7 @@ generation:
auth: auth:
oAuth2ClientCredentialsEnabled: true oAuth2ClientCredentialsEnabled: true
swift: swift:
version: 0.8.4 version: 0.8.5
author: LukeHagar author: LukeHagar
description: Swift Client SDK Generated by Speakeasy description: Swift Client SDK Generated by Speakeasy
imports: imports:

View File

@@ -1,4 +1,4 @@
speakeasyVersion: 1.322.3 speakeasyVersion: 1.405.6
sources: sources:
my-source: my-source:
sourceNamespace: my-source sourceNamespace: my-source
@@ -7,12 +7,21 @@ sources:
tags: tags:
- latest - latest
- main - main
plexapi:
sourceNamespace: plexapi
sourceRevisionDigest: sha256:c52cde0b8d51e160f7b9f1a3d3ea4dbb1aca6d5caad714e549201fb757fadd57
sourceBlobDigest: sha256:f417b03ff71356808554313f24c3d06d670474bf51bc9a0631de1ad49c13a361
tags:
- latest
- main
targets: targets:
plexswift: plexswift:
source: plexapi source: plexapi
sourceNamespace: plexapi
sourceRevisionDigest: sha256:c52cde0b8d51e160f7b9f1a3d3ea4dbb1aca6d5caad714e549201fb757fadd57
sourceBlobDigest: sha256:f417b03ff71356808554313f24c3d06d670474bf51bc9a0631de1ad49c13a361
codeSamplesNamespace: code-samples-swift-plexswift codeSamplesNamespace: code-samples-swift-plexswift
codeSamplesRevisionDigest: sha256:20106c25ec86489069579bcd149cfca15f0066540312450af1e531dce819d6db codeSamplesRevisionDigest: sha256:e46cddd9caae008aee2ea7b63b667fea012731501716d7a7e36f646135ab9e20
outLocation: /github/workspace/repo
workflow: workflow:
workflowVersion: 1.0.0 workflowVersion: 1.0.0
speakeasyVersion: latest speakeasyVersion: latest

View File

@@ -63,7 +63,7 @@ You can add `plexswift` to your project directly in Xcode `(File > Add Packages.
```bash ```bash
dependencies: [ dependencies: [
.package(url: "https://github.com/LukeHagar/plexswift.git", .upToNextMajor(from: "0.8.4")) .package(url: "https://github.com/LukeHagar/plexswift.git", .upToNextMajor(from: "0.8.5"))
] ]
``` ```
<!-- End SDK Installation [installation] --> <!-- End SDK Installation [installation] -->
@@ -285,10 +285,7 @@ The following global parameters are available.
| Name | Type | Required | Description | | Name | Type | Required | Description |
| ---- | ---- |:--------:| ----------- | | ---- | ---- |:--------:| ----------- |
| clientID | String | | The unique identifier for the client application | clientID | String | | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) |
This is used to track the client application and its usage
(UUID, serial number, or other number unique per device)
|
| clientName | String | | The clientName parameter. | | clientName | String | | The clientName parameter. |
| clientVersion | String | | The clientVersion parameter. | | clientVersion | String | | The clientVersion parameter. |
| clientPlatform | String | | The clientPlatform parameter. | | clientPlatform | String | | The clientPlatform parameter. |

View File

@@ -722,4 +722,14 @@ Based on:
### Generated ### Generated
- [swift v0.8.4] . - [swift v0.8.4] .
### Releases ### Releases
- [Swift Package Manager v0.8.4] https://github.com/LukeHagar/plexswift/releases/tag/v0.8.4 - . - [Swift Package Manager v0.8.4] https://github.com/LukeHagar/plexswift/releases/tag/v0.8.4 - .
## 2024-10-01 00:08:59
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.405.6 (2.428.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [swift v0.8.5] .
### Releases
- [Swift Package Manager v0.8.5] https://github.com/LukeHagar/plexswift/releases/tag/v0.8.5 - .

View File

@@ -14,10 +14,7 @@ public struct GlobalParameters {
/// Creates an object with the given parameters /// Creates an object with the given parameters
/// ///
/// - Parameter clientID: The unique identifier for the client application /// - Parameter clientID: The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
/// This is used to track the client application and its usage
/// (UUID, serial number, or other number unique per device)
///
/// ///
public init( public init(
clientID: String? = nil, clientID: String? = nil,

View File

@@ -5,10 +5,7 @@ import Foundation
extension Operations { extension Operations {
/// A model object /// A model object
public struct GetPinRequest: APIValue { public struct GetPinRequest: APIValue {
/// The unique identifier for the client application /// The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
/// This is used to track the client application and its usage
/// (UUID, serial number, or other number unique per device)
///
public let clientID: String? public let clientID: String?
public let clientName: String? public let clientName: String?
public let clientPlatform: String? public let clientPlatform: String?
@@ -22,10 +19,7 @@ extension Operations {
/// Creates an object with the specified parameters /// Creates an object with the specified parameters
/// ///
/// - Parameter clientID: The unique identifier for the client application /// - Parameter clientID: The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
/// This is used to track the client application and its usage
/// (UUID, serial number, or other number unique per device)
///
/// - Parameter strong: Determines the kind of code returned by the API call /// - Parameter strong: Determines the kind of code returned by the API call
/// Strong codes are used for Pin authentication flows /// Strong codes are used for Pin authentication flows
/// Non-Strong codes are used for `Plex.tv/link` /// Non-Strong codes are used for `Plex.tv/link`

View File

@@ -5,10 +5,7 @@ import Foundation
extension Operations { extension Operations {
/// A model object /// A model object
public struct GetServerResourcesRequest: APIValue { public struct GetServerResourcesRequest: APIValue {
/// The unique identifier for the client application /// The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
/// This is used to track the client application and its usage
/// (UUID, serial number, or other number unique per device)
///
public let clientID: String? public let clientID: String?
/// Include Https entries in the results /// Include Https entries in the results
public let includeHttps: Operations.IncludeHttps? public let includeHttps: Operations.IncludeHttps?
@@ -21,10 +18,7 @@ extension Operations {
/// Creates an object with the specified parameters /// Creates an object with the specified parameters
/// ///
/// - Parameter clientID: The unique identifier for the client application /// - Parameter clientID: The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
/// This is used to track the client application and its usage
/// (UUID, serial number, or other number unique per device)
///
/// - Parameter includeHttps: Include Https entries in the results /// - Parameter includeHttps: Include Https entries in the results
/// - Parameter includeIPv6: Include IPv6 entries in the results /// - Parameter includeIPv6: Include IPv6 entries in the results
/// - Parameter includeRelay: Include Relay addresses in the results /// - Parameter includeRelay: Include Relay addresses in the results

View File

@@ -7,10 +7,7 @@ extension Operations {
public struct GetTokenByPinIdRequest: APIValue { public struct GetTokenByPinIdRequest: APIValue {
/// The PinID to retrieve an access token for /// The PinID to retrieve an access token for
public let pinID: Int public let pinID: Int
/// The unique identifier for the client application /// The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
/// This is used to track the client application and its usage
/// (UUID, serial number, or other number unique per device)
///
public let clientID: String? public let clientID: String?
public let clientName: String? public let clientName: String?
public let clientPlatform: String? public let clientPlatform: String?
@@ -20,10 +17,7 @@ extension Operations {
/// Creates an object with the specified parameters /// Creates an object with the specified parameters
/// ///
/// - Parameter pinID: The PinID to retrieve an access token for /// - Parameter pinID: The PinID to retrieve an access token for
/// - Parameter clientID: The unique identifier for the client application /// - Parameter clientID: The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
/// This is used to track the client application and its usage
/// (UUID, serial number, or other number unique per device)
///
/// ///
public init(pinID: Int, clientID: String? = nil, clientName: String? = nil, clientPlatform: String? = nil, clientVersion: String? = nil, deviceName: String? = nil) { public init(pinID: Int, clientID: String? = nil, clientName: String? = nil, clientPlatform: String? = nil, clientVersion: String? = nil, deviceName: String? = nil) {
self.pinID = pinID self.pinID = pinID

View File

@@ -5,10 +5,7 @@ import Foundation
extension Operations { extension Operations {
/// A model object /// A model object
public struct PostUsersSignInDataRequest: APIValue { public struct PostUsersSignInDataRequest: APIValue {
/// The unique identifier for the client application /// The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
/// This is used to track the client application and its usage
/// (UUID, serial number, or other number unique per device)
///
public let clientID: String? public let clientID: String?
public let clientName: String? public let clientName: String?
public let clientPlatform: String? public let clientPlatform: String?
@@ -19,10 +16,7 @@ extension Operations {
/// Creates an object with the specified parameters /// Creates an object with the specified parameters
/// ///
/// - Parameter clientID: The unique identifier for the client application /// - Parameter clientID: The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
/// This is used to track the client application and its usage
/// (UUID, serial number, or other number unique per device)
///
/// - Parameter requestBody: Login credentials /// - Parameter requestBody: Login credentials
/// ///
public init(clientID: String? = nil, clientName: String? = nil, clientPlatform: String? = nil, clientVersion: String? = nil, deviceName: String? = nil, requestBody: Operations.PostUsersSignInDataRequestBody? = nil) { public init(clientID: String? = nil, clientName: String? = nil, clientPlatform: String? = nil, clientVersion: String? = nil, deviceName: String? = nil, requestBody: Operations.PostUsersSignInDataRequestBody? = nil) {

View File

@@ -62,7 +62,7 @@ final class URLRequestBuilder: URLRequestConfiguration {
urlRequest.setValue(contentType, forHTTPHeaderField: "Content-Type") urlRequest.setValue(contentType, forHTTPHeaderField: "Content-Type")
} }
urlRequest.setValue("speakeasy-sdk/swift 0.8.4 2.426.2 0.0.3 plexswift", forHTTPHeaderField: telemetryHeader.headerName) urlRequest.setValue("speakeasy-sdk/swift 0.8.5 2.428.1 0.0.3 plexswift", forHTTPHeaderField: telemetryHeader.headerName)
addSecurityParameters(to: &urlRequest) addSecurityParameters(to: &urlRequest)

File diff suppressed because it is too large Load Diff