ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.405.6

This commit is contained in:
speakeasybot
2025-03-08 00:08:14 +00:00
parent beb0de09ae
commit 0cbaa51460
8 changed files with 32 additions and 20 deletions

View File

@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 5d77204e-e413-4fd0-a14a-bad3aee2247a
management:
docChecksum: 6f287a2526fda4d3a32a92e891a0c4ce
docChecksum: 71aea44b27d124ce7bc7da09090777b5
docVersion: 0.0.3
speakeasyVersion: 1.405.6
generationVersion: 2.428.1
releaseVersion: 0.10.1
configChecksum: 473984b769c6cd4ab3b3072ab474cf6f
releaseVersion: 0.10.3
configChecksum: dcd7ce4467e633ce1e902da38de6e695
repoURL: https://github.com/LukeHagar/plexswift.git
features:
swift:

View File

@@ -9,10 +9,12 @@ generation:
nameResolutionDec2023: false
parameterOrderingFeb2024: false
requestResponseComponentNamesFeb2024: false
nameResolutionFeb2025: false
securityFeb2025: false
auth:
oAuth2ClientCredentialsEnabled: true
swift:
version: 0.10.1
version: 0.10.3
author: LukeHagar
description: Swift Client SDK Generated by Speakeasy
imports:

View File

@@ -9,8 +9,8 @@ sources:
- main
plexapi:
sourceNamespace: plexapi
sourceRevisionDigest: sha256:0efb9039972533bf1190dfc1ffb377429a8e486b6299442e732f662c1ffbeca6
sourceBlobDigest: sha256:038d73166cc9db17f514d511cfe4365ea032f4ebcb247fa86b7aa1bba0e1ab46
sourceRevisionDigest: sha256:bf7001af017ce5072c503bfbaf60793f94549163b517489dc53e4f7b685659c0
sourceBlobDigest: sha256:ed2b29043c84f32d2efa92a126083fd9a81644a7ce9c6ac86d9aeb3493cbd6f8
tags:
- latest
- main
@@ -18,10 +18,10 @@ targets:
plexswift:
source: plexapi
sourceNamespace: plexapi
sourceRevisionDigest: sha256:0efb9039972533bf1190dfc1ffb377429a8e486b6299442e732f662c1ffbeca6
sourceBlobDigest: sha256:038d73166cc9db17f514d511cfe4365ea032f4ebcb247fa86b7aa1bba0e1ab46
sourceRevisionDigest: sha256:bf7001af017ce5072c503bfbaf60793f94549163b517489dc53e4f7b685659c0
sourceBlobDigest: sha256:ed2b29043c84f32d2efa92a126083fd9a81644a7ce9c6ac86d9aeb3493cbd6f8
codeSamplesNamespace: code-samples-swift-plexswift
codeSamplesRevisionDigest: sha256:8e0eb64da3cc17fa85414bd5ce0d4125c863a477b51f8fe9684d3221eb63ca6c
codeSamplesRevisionDigest: sha256:2791c989a9154c63541c0e45d5db9e043305012a241de17c40de5c038efcc7e4
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest

View File

@@ -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.10.1"))
.package(url: "https://github.com/LukeHagar/plexswift.git", .upToNextMajor(from: "0.10.3"))
]
```
<!-- End SDK Installation [installation] -->

View File

@@ -852,4 +852,14 @@ Based on:
### Generated
- [swift v0.10.1] .
### Releases
- [Swift Package Manager v0.10.1] https://github.com/LukeHagar/plexswift/releases/tag/v0.10.1 - .
- [Swift Package Manager v0.10.1] https://github.com/LukeHagar/plexswift/releases/tag/v0.10.1 - .
## 2025-03-08 00:07:00
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.405.6 (2.428.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [swift v0.10.3] .
### Releases
- [Swift Package Manager v0.10.3] https://github.com/LukeHagar/plexswift/releases/tag/v0.10.3 - .

View File

@@ -66,7 +66,6 @@ extension Operations {
public let subscription: Operations.Subscription
/// Description of the Plex Pass subscription
public let subscriptionDescription: String
public let subscriptions: [Operations.GetTokenDetailsSubscription]
/// URL of the account thumbnail
public let thumb: String
/// The title of the account (username or friendly name)
@@ -82,6 +81,7 @@ extension Operations {
public let pin: String?
/// [Might be removed] List of account roles. Plexpass membership listed here
public let roles: [String]?
public let subscriptions: [Operations.GetTokenDetailsSubscription]?
/// Creates an object with the specified parameters
///
@@ -122,7 +122,7 @@ extension Operations {
/// - Parameter roles: [Might be removed] List of account roles. Plexpass membership listed here
///
@available(*, deprecated, message: "This initializer uses deprecated fields and will be removed in a future version.")
public init(adsConsent: Bool, adsConsentReminderAt: Int, adsConsentSetAt: Int, anonymous: Bool, attributionPartner: String, authToken: String, backupCodesCreated: Bool, confirmed: Bool, country: String, email: String, emailOnlyAuth: Bool, entitlements: [String], experimentalFeatures: Bool, friendlyName: String, guest: Bool, hasPassword: Bool, home: Bool, homeAdmin: Bool, homeSize: Int, id: Int, joinedAt: Int, locale: String, mailingListActive: Bool, mailingListStatus: Operations.MailingListStatus, maxHomeSize: Int, profile: Operations.UserProfile, protected: Bool, rememberExpiresAt: Int, restricted: Bool, scrobbleTypes: String, services: [Operations.Services], subscription: Operations.Subscription, subscriptionDescription: String, subscriptions: [Operations.GetTokenDetailsSubscription], thumb: String, title: String, twoFactorEnabled: Bool, username: String, uuid: String, pin: String? = nil, roles: [String]? = nil) {
public init(adsConsent: Bool, adsConsentReminderAt: Int, adsConsentSetAt: Int, anonymous: Bool, attributionPartner: String, authToken: String, backupCodesCreated: Bool, confirmed: Bool, country: String, email: String, emailOnlyAuth: Bool, entitlements: [String], experimentalFeatures: Bool, friendlyName: String, guest: Bool, hasPassword: Bool, home: Bool, homeAdmin: Bool, homeSize: Int, id: Int, joinedAt: Int, locale: String, mailingListActive: Bool, mailingListStatus: Operations.MailingListStatus, maxHomeSize: Int, profile: Operations.UserProfile, protected: Bool, rememberExpiresAt: Int, restricted: Bool, scrobbleTypes: String, services: [Operations.Services], subscription: Operations.Subscription, subscriptionDescription: String, thumb: String, title: String, twoFactorEnabled: Bool, username: String, uuid: String, pin: String? = nil, roles: [String]? = nil, subscriptions: [Operations.GetTokenDetailsSubscription]? = nil) {
self.adsConsent = adsConsent
self.adsConsentReminderAt = adsConsentReminderAt
self.adsConsentSetAt = adsConsentSetAt
@@ -156,7 +156,6 @@ extension Operations {
self.services = services
self.subscription = subscription
self.subscriptionDescription = subscriptionDescription
self.subscriptions = subscriptions
self.thumb = thumb
self.title = title
self.twoFactorEnabled = twoFactorEnabled
@@ -164,6 +163,7 @@ extension Operations {
self.uuid = uuid
self.pin = pin
self.roles = roles
self.subscriptions = subscriptions
}
}}
@@ -202,7 +202,6 @@ extension Operations.GetTokenDetailsUserPlexAccount: Codable {
case services
case subscription
case subscriptionDescription
case subscriptions
case thumb
case title
case twoFactorEnabled
@@ -210,6 +209,7 @@ extension Operations.GetTokenDetailsUserPlexAccount: Codable {
case uuid
case pin
case roles
case subscriptions
}
}

View File

@@ -67,7 +67,6 @@ extension Operations {
public let subscription: Operations.PostUsersSignInDataSubscription
/// Description of the Plex Pass subscription
public let subscriptionDescription: String
public let subscriptions: [Operations.PostUsersSignInDataAuthenticationSubscription]
/// URL of the account thumbnail
public let thumb: String
/// The title of the account (username or friendly name)
@@ -84,6 +83,7 @@ extension Operations {
public let pin: String?
/// [Might be removed] List of account roles. Plexpass membership listed here
public let roles: [String]?
public let subscriptions: [Operations.PostUsersSignInDataAuthenticationSubscription]?
/// Creates an object with the specified parameters
///
@@ -124,7 +124,7 @@ extension Operations {
/// - Parameter roles: [Might be removed] List of account roles. Plexpass membership listed here
///
@available(*, deprecated, message: "This initializer uses deprecated fields and will be removed in a future version.")
public init(adsConsent: Bool, adsConsentReminderAt: Int, adsConsentSetAt: Int, anonymous: Bool, attributionPartner: String, authToken: String, backupCodesCreated: Bool, confirmed: Bool, country: String, email: String, emailOnlyAuth: Bool, entitlements: [String], experimentalFeatures: Bool, friendlyName: String, guest: Bool, hasPassword: Bool, home: Bool, homeAdmin: Bool, homeSize: Int, id: Int, joinedAt: Int, locale: String, mailingListActive: Bool, mailingListStatus: Operations.PostUsersSignInDataMailingListStatus, maxHomeSize: Int, pastSubscriptions: [Operations.PastSubscription], profile: Operations.PostUsersSignInDataUserProfile, protected: Bool, rememberExpiresAt: Int, restricted: Bool, scrobbleTypes: String, services: [Operations.PostUsersSignInDataServices], subscription: Operations.PostUsersSignInDataSubscription, subscriptionDescription: String, subscriptions: [Operations.PostUsersSignInDataAuthenticationSubscription], thumb: String, title: String, trials: [Operations.Trials], twoFactorEnabled: Bool, username: String, uuid: String, pin: String? = nil, roles: [String]? = nil) {
public init(adsConsent: Bool, adsConsentReminderAt: Int, adsConsentSetAt: Int, anonymous: Bool, attributionPartner: String, authToken: String, backupCodesCreated: Bool, confirmed: Bool, country: String, email: String, emailOnlyAuth: Bool, entitlements: [String], experimentalFeatures: Bool, friendlyName: String, guest: Bool, hasPassword: Bool, home: Bool, homeAdmin: Bool, homeSize: Int, id: Int, joinedAt: Int, locale: String, mailingListActive: Bool, mailingListStatus: Operations.PostUsersSignInDataMailingListStatus, maxHomeSize: Int, pastSubscriptions: [Operations.PastSubscription], profile: Operations.PostUsersSignInDataUserProfile, protected: Bool, rememberExpiresAt: Int, restricted: Bool, scrobbleTypes: String, services: [Operations.PostUsersSignInDataServices], subscription: Operations.PostUsersSignInDataSubscription, subscriptionDescription: String, thumb: String, title: String, trials: [Operations.Trials], twoFactorEnabled: Bool, username: String, uuid: String, pin: String? = nil, roles: [String]? = nil, subscriptions: [Operations.PostUsersSignInDataAuthenticationSubscription]? = nil) {
self.adsConsent = adsConsent
self.adsConsentReminderAt = adsConsentReminderAt
self.adsConsentSetAt = adsConsentSetAt
@@ -159,7 +159,6 @@ extension Operations {
self.services = services
self.subscription = subscription
self.subscriptionDescription = subscriptionDescription
self.subscriptions = subscriptions
self.thumb = thumb
self.title = title
self.trials = trials
@@ -168,6 +167,7 @@ extension Operations {
self.uuid = uuid
self.pin = pin
self.roles = roles
self.subscriptions = subscriptions
}
}}
@@ -207,7 +207,6 @@ extension Operations.PostUsersSignInDataUserPlexAccount: Codable {
case services
case subscription
case subscriptionDescription
case subscriptions
case thumb
case title
case trials
@@ -216,6 +215,7 @@ extension Operations.PostUsersSignInDataUserPlexAccount: Codable {
case uuid
case pin
case roles
case subscriptions
}
}

View File

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