ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.404.5

This commit is contained in:
speakeasybot
2024-09-30 00:09:07 +00:00
parent 0629fb8510
commit bc83deeae0
13 changed files with 1006 additions and 834 deletions

View File

@@ -1,12 +1,12 @@
lockVersion: 2.0.0 lockVersion: 2.0.0
id: 5d77204e-e413-4fd0-a14a-bad3aee2247a id: 5d77204e-e413-4fd0-a14a-bad3aee2247a
management: management:
docChecksum: 9f62ea35c6168986c8e3557d5df50b99 docChecksum: f387ae03f10decba230886eaab322b20
docVersion: 0.0.3 docVersion: 0.0.3
speakeasyVersion: 1.404.5 speakeasyVersion: 1.404.5
generationVersion: 2.426.2 generationVersion: 2.426.2
releaseVersion: 0.8.3 releaseVersion: 0.8.4
configChecksum: 7acd189d39d792696f68aef7f53ad9cf configChecksum: 533affc20b65c15402ffd92dfcb69f3b
repoURL: https://github.com/LukeHagar/plexswift.git repoURL: https://github.com/LukeHagar/plexswift.git
features: features:
swift: swift:

View File

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

View File

@@ -11,7 +11,7 @@ targets:
plexswift: plexswift:
source: plexapi source: plexapi
codeSamplesNamespace: code-samples-swift-plexswift codeSamplesNamespace: code-samples-swift-plexswift
codeSamplesRevisionDigest: sha256:561a22e563c724e4842e763f8f56e47a04fe4c85aff5729d3f887d9633507bda codeSamplesRevisionDigest: sha256:20106c25ec86489069579bcd149cfca15f0066540312450af1e531dce819d6db
outLocation: /github/workspace/repo outLocation: /github/workspace/repo
workflow: workflow:
workflowVersion: 1.0.0 workflowVersion: 1.0.0

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.3")) .package(url: "https://github.com/LukeHagar/plexswift.git", .upToNextMajor(from: "0.8.4"))
] ]
``` ```
<!-- End SDK Installation [installation] --> <!-- End SDK Installation [installation] -->
@@ -276,7 +276,7 @@ case .empty:
Certain parameters are configured globally. These parameters may be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, These global values will be used as defaults on the operations that use them. When such operations are called, there is a place in each to override the global value, if needed. Certain parameters are configured globally. These parameters may be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, These global values will be used as defaults on the operations that use them. When such operations are called, there is a place in each to override the global value, if needed.
For example, you can set `ClientID` to `"gcgzw5rz2xovp84b4vha3a40"` at SDK initialization and then you do not have to pass the same value on calls to operations like `getPin`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration. For example, you can set `ClientID` to `"gcgzw5rz2xovp84b4vha3a40"` at SDK initialization and then you do not have to pass the same value on calls to operations like `getServerResources`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
### Available Globals ### Available Globals
@@ -301,19 +301,26 @@ This is used to track the client application and its usage
import Foundation import Foundation
import Plexswift import Plexswift
let client = Client() let client = Client(security: .accessToken("<YOUR_API_KEY_HERE>"))
let response = try await client.plex.getPin( let response = try await client.plex.getServerResources(
request: Operations.GetPinRequest() request: Operations.GetServerResourcesRequest(
includeHttps: .enable,
includeIPv6: .enable,
includeRelay: .enable
)
) )
switch response.data { switch response.data {
case .authPinContainer(let authPinContainer): case .plexDevices(let plexDevices):
// Handle response // Handle response
break break
case .badRequest(let badRequest): case .badRequest(let badRequest):
// Handle response // Handle response
break break
case .unauthorized(let unauthorized):
// Handle response
break
case .empty: case .empty:
// Handle empty response // Handle empty response
break break

View File

@@ -712,4 +712,14 @@ Based on:
### Generated ### Generated
- [swift v0.8.3] . - [swift v0.8.3] .
### Releases ### Releases
- [Swift Package Manager v0.8.3] https://github.com/LukeHagar/plexswift/releases/tag/v0.8.3 - . - [Swift Package Manager v0.8.3] https://github.com/LukeHagar/plexswift/releases/tag/v0.8.3 - .
## 2024-09-30 00:08:14
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.404.5 (2.426.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [swift v0.8.4] .
### Releases
- [Swift Package Manager v0.8.4] https://github.com/LukeHagar/plexswift/releases/tag/v0.8.4 - .

View File

@@ -21,6 +21,7 @@ extension Operations.GetServerResourcesRequest: Serializable {
extension Operations.GetServerResourcesRequest: QueryParameterSerializable { extension Operations.GetServerResourcesRequest: QueryParameterSerializable {
func serializedQueryParameters(with parameterDefaults: ParameterDefaults?, formatOverride: SerializableFormat?) throws -> [QueryParameter] { func serializedQueryParameters(with parameterDefaults: ParameterDefaults?, formatOverride: SerializableFormat?) throws -> [QueryParameter] {
let builder = QueryParameterBuilder() let builder = QueryParameterBuilder()
try builder.addQueryParameters(from: clientID, named: "X-Plex-Client-Identifier", format: formatOverride ?? .query(style: .form, explode: true), parameterDefaults: parameterDefaults)
try builder.addQueryParameters(from: includeHttps, named: "includeHttps", format: formatOverride ?? .query(style: .form, explode: true), parameterDefaults: parameterDefaults) try builder.addQueryParameters(from: includeHttps, named: "includeHttps", format: formatOverride ?? .query(style: .form, explode: true), parameterDefaults: parameterDefaults)
try builder.addQueryParameters(from: includeIPv6, named: "includeIPv6", format: formatOverride ?? .query(style: .form, explode: true), parameterDefaults: parameterDefaults) try builder.addQueryParameters(from: includeIPv6, named: "includeIPv6", format: formatOverride ?? .query(style: .form, explode: true), parameterDefaults: parameterDefaults)
try builder.addQueryParameters(from: includeRelay, named: "includeRelay", format: formatOverride ?? .query(style: .form, explode: true), parameterDefaults: parameterDefaults) try builder.addQueryParameters(from: includeRelay, named: "includeRelay", format: formatOverride ?? .query(style: .form, explode: true), parameterDefaults: parameterDefaults)

View File

@@ -11,28 +11,43 @@ extension Operations {
case trebleShowFeatures = "TREBLE-show-features" case trebleShowFeatures = "TREBLE-show-features"
case adCountdownTimer = "ad-countdown-timer" case adCountdownTimer = "ad-countdown-timer"
case adaptiveBitrate = "adaptive_bitrate" case adaptiveBitrate = "adaptive_bitrate"
case albumTypes = "album-types"
case allowDvr = "allow_dvr"
case amazonLoopDebug = "amazon-loop-debug" case amazonLoopDebug = "amazon-loop-debug"
case avodAdAnalysis = "avod-ad-analysis" case avodAdAnalysis = "avod-ad-analysis"
case avodNewMedia = "avod-new-media" case avodNewMedia = "avod-new-media"
case blacklistGetSignin = "blacklist_get_signin" case blacklistGetSignin = "blacklist_get_signin"
case boostVoices = "boost-voices"
case cameraUpload = "camera_upload"
case clientRadioStations = "client-radio-stations" case clientRadioStations = "client-radio-stations"
case cloudflareTurnstileRequired = "cloudflare-turnstile-required" case cloudflareTurnstileRequired = "cloudflare-turnstile-required"
case cloudsync = "cloudsync"
case collections = "collections" case collections = "collections"
case commentsAndRepliesPushNotifications = "comments_and_replies_push_notifications" case commentsAndRepliesPushNotifications = "comments_and_replies_push_notifications"
case communityAccessPlexTv = "community_access_plex_tv" case communityAccessPlexTv = "community_access_plex_tv"
case companionsSonos = "companions_sonos" case companionsSonos = "companions_sonos"
case contentFilter = "content_filter"
case customHomeRemoval = "custom-home-removal" case customHomeRemoval = "custom-home-removal"
case disableHomeUserFriendships = "disable_home_user_friendships" case disableHomeUserFriendships = "disable_home_user_friendships"
case disableSharingFriendships = "disable_sharing_friendships" case disableSharingFriendships = "disable_sharing_friendships"
case downloadsGating = "downloads-gating"
case drmSupport = "drm_support" case drmSupport = "drm_support"
case dvr = "dvr"
case dvrBlockUnsupportedCountries = "dvr-block-unsupported-countries"
case epgRecentChannels = "epg-recent-channels"
case excludeRestrictions = "exclude restrictions" case excludeRestrictions = "exclude restrictions"
case federatedAuth = "federated-auth" case federatedAuth = "federated-auth"
case friendRequestPushNotifications = "friend_request_push_notifications" case friendRequestPushNotifications = "friend_request_push_notifications"
case grandfatherSync = "grandfather-sync"
case guidedUpgrade = "guided-upgrade" case guidedUpgrade = "guided-upgrade"
case hardwareTranscoding = "hardware_transcoding"
case home = "home" case home = "home"
case hwtranscode = "hwtranscode"
case imaggaV2 = "imagga-v2"
case increasePasswordComplexity = "increase-password-complexity" case increasePasswordComplexity = "increase-password-complexity"
case ios14PrivacyBanner = "ios14-privacy-banner" case ios14PrivacyBanner = "ios14-privacy-banner"
case iterableNotificationTokens = "iterable-notification-tokens" case iterableNotificationTokens = "iterable-notification-tokens"
case itemClusters = "item_clusters"
case keepPaymentMethod = "keep-payment-method" case keepPaymentMethod = "keep-payment-method"
case kevinBacon = "kevin-bacon" case kevinBacon = "kevin-bacon"
case koreaConsent = "korea-consent" case koreaConsent = "korea-consent"
@@ -41,26 +56,47 @@ extension Operations {
case lightningDvrPivot = "lightning-dvr-pivot" case lightningDvrPivot = "lightning-dvr-pivot"
case liveTvSupportIncompleteSegments = "live-tv-support-incomplete-segments" case liveTvSupportIncompleteSegments = "live-tv-support-incomplete-segments"
case livetv = "livetv" case livetv = "livetv"
case lyrics = "lyrics"
case metadataSearch = "metadata_search" case metadataSearch = "metadata_search"
case musicAnalysis = "music-analysis"
case musicVideos = "music_videos"
case newPlexPassPrices = "new_plex_pass_prices" case newPlexPassPrices = "new_plex_pass_prices"
case newsProviderSunsetModal = "news-provider-sunset-modal" case newsProviderSunsetModal = "news-provider-sunset-modal"
case nominatim = "nominatim"
case pass = "pass"
case photosFavorites = "photos-favorites" case photosFavorites = "photos-favorites"
case photosMetadataEdition = "photos-metadata-edition" case photosMetadataEdition = "photos-metadata-edition"
case photosV6Edit = "photosV6-edit"
case photosV6TvAlbums = "photosV6-tv-albums"
case pmsHealth = "pms_health" case pmsHealth = "pms_health"
case premiumDashboard = "premium-dashboard"
case premiumMusicMetadata = "premium_music_metadata"
case radio = "radio" case radio = "radio"
case rateLimitClientToken = "rate-limit-client-token" case rateLimitClientToken = "rate-limit-client-token"
case scrobblingServicePlexTv = "scrobbling-service-plex-tv" case scrobblingServicePlexTv = "scrobbling-service-plex-tv"
case sessionBandwidthRestrictions = "session_bandwidth_restrictions"
case sessionKick = "session_kick"
case sharedServerNotification = "shared_server_notification" case sharedServerNotification = "shared_server_notification"
case sharedSourceNotification = "shared_source_notification" case sharedSourceNotification = "shared_source_notification"
case signinNotification = "signin_notification"
case signinWithApple = "signin_with_apple" case signinWithApple = "signin_with_apple"
case silenceRemoval = "silence-removal"
case sleepTimer = "sleep-timer"
case springServeAdProvider = "spring_serve_ad_provider" case springServeAdProvider = "spring_serve_ad_provider"
case sync = "sync"
case sweetFades = "sweet-fades"
case transcoderCache = "transcoder_cache" case transcoderCache = "transcoder_cache"
case trailers = "trailers"
case tunerSharing = "tuner-sharing" case tunerSharing = "tuner-sharing"
case twoFactorAuthentication = "two-factor-authentication" case twoFactorAuthentication = "two-factor-authentication"
case unsupportedtuners = "unsupportedtuners" case unsupportedtuners = "unsupportedtuners"
case upgrade3Ds2 = "upgrade-3ds2" case upgrade3Ds2 = "upgrade-3ds2"
case visualizers = "visualizers"
case vodSchema = "vod-schema" case vodSchema = "vod-schema"
case vodCloudflare = "vod_cloudflare" case vodCloudflare = "vod_cloudflare"
case volumeLeveling = "volume-leveling"
case watchTogetherInvite = "watch-together-invite" case watchTogetherInvite = "watch-together-invite"
case watchlistRss = "watchlist-rss"
case webServerDashboard = "web_server_dashboard" case webServerDashboard = "web_server_dashboard"
case webhooks = "webhooks"
}} }}

View File

@@ -5,6 +5,11 @@ 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
/// This is used to track the client application and its usage
/// (UUID, serial number, or other number unique per device)
///
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?
/// Include IPv6 entries in the results /// Include IPv6 entries in the results
@@ -16,13 +21,18 @@ 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
/// 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
/// E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400 /// E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400
/// ///
/// ///
public init(includeHttps: Operations.IncludeHttps? = nil, includeIPv6: Operations.IncludeIPv6? = nil, includeRelay: Operations.IncludeRelay? = nil) { public init(clientID: String? = nil, includeHttps: Operations.IncludeHttps? = nil, includeIPv6: Operations.IncludeIPv6? = nil, includeRelay: Operations.IncludeRelay? = nil) {
self.clientID = clientID
self.includeHttps = includeHttps self.includeHttps = includeHttps
self.includeIPv6 = includeIPv6 self.includeIPv6 = includeIPv6
self.includeRelay = includeRelay self.includeRelay = includeRelay

View File

@@ -11,28 +11,43 @@ extension Operations {
case trebleShowFeatures = "TREBLE-show-features" case trebleShowFeatures = "TREBLE-show-features"
case adCountdownTimer = "ad-countdown-timer" case adCountdownTimer = "ad-countdown-timer"
case adaptiveBitrate = "adaptive_bitrate" case adaptiveBitrate = "adaptive_bitrate"
case albumTypes = "album-types"
case allowDvr = "allow_dvr"
case amazonLoopDebug = "amazon-loop-debug" case amazonLoopDebug = "amazon-loop-debug"
case avodAdAnalysis = "avod-ad-analysis" case avodAdAnalysis = "avod-ad-analysis"
case avodNewMedia = "avod-new-media" case avodNewMedia = "avod-new-media"
case blacklistGetSignin = "blacklist_get_signin" case blacklistGetSignin = "blacklist_get_signin"
case boostVoices = "boost-voices"
case cameraUpload = "camera_upload"
case clientRadioStations = "client-radio-stations" case clientRadioStations = "client-radio-stations"
case cloudflareTurnstileRequired = "cloudflare-turnstile-required" case cloudflareTurnstileRequired = "cloudflare-turnstile-required"
case cloudsync = "cloudsync"
case collections = "collections" case collections = "collections"
case commentsAndRepliesPushNotifications = "comments_and_replies_push_notifications" case commentsAndRepliesPushNotifications = "comments_and_replies_push_notifications"
case communityAccessPlexTv = "community_access_plex_tv" case communityAccessPlexTv = "community_access_plex_tv"
case companionsSonos = "companions_sonos" case companionsSonos = "companions_sonos"
case contentFilter = "content_filter"
case customHomeRemoval = "custom-home-removal" case customHomeRemoval = "custom-home-removal"
case disableHomeUserFriendships = "disable_home_user_friendships" case disableHomeUserFriendships = "disable_home_user_friendships"
case disableSharingFriendships = "disable_sharing_friendships" case disableSharingFriendships = "disable_sharing_friendships"
case downloadsGating = "downloads-gating"
case drmSupport = "drm_support" case drmSupport = "drm_support"
case dvr = "dvr"
case dvrBlockUnsupportedCountries = "dvr-block-unsupported-countries"
case epgRecentChannels = "epg-recent-channels"
case excludeRestrictions = "exclude restrictions" case excludeRestrictions = "exclude restrictions"
case federatedAuth = "federated-auth" case federatedAuth = "federated-auth"
case friendRequestPushNotifications = "friend_request_push_notifications" case friendRequestPushNotifications = "friend_request_push_notifications"
case grandfatherSync = "grandfather-sync"
case guidedUpgrade = "guided-upgrade" case guidedUpgrade = "guided-upgrade"
case hardwareTranscoding = "hardware_transcoding"
case home = "home" case home = "home"
case hwtranscode = "hwtranscode"
case imaggaV2 = "imagga-v2"
case increasePasswordComplexity = "increase-password-complexity" case increasePasswordComplexity = "increase-password-complexity"
case ios14PrivacyBanner = "ios14-privacy-banner" case ios14PrivacyBanner = "ios14-privacy-banner"
case iterableNotificationTokens = "iterable-notification-tokens" case iterableNotificationTokens = "iterable-notification-tokens"
case itemClusters = "item_clusters"
case keepPaymentMethod = "keep-payment-method" case keepPaymentMethod = "keep-payment-method"
case kevinBacon = "kevin-bacon" case kevinBacon = "kevin-bacon"
case koreaConsent = "korea-consent" case koreaConsent = "korea-consent"
@@ -41,26 +56,47 @@ extension Operations {
case lightningDvrPivot = "lightning-dvr-pivot" case lightningDvrPivot = "lightning-dvr-pivot"
case liveTvSupportIncompleteSegments = "live-tv-support-incomplete-segments" case liveTvSupportIncompleteSegments = "live-tv-support-incomplete-segments"
case livetv = "livetv" case livetv = "livetv"
case lyrics = "lyrics"
case metadataSearch = "metadata_search" case metadataSearch = "metadata_search"
case musicAnalysis = "music-analysis"
case musicVideos = "music_videos"
case newPlexPassPrices = "new_plex_pass_prices" case newPlexPassPrices = "new_plex_pass_prices"
case newsProviderSunsetModal = "news-provider-sunset-modal" case newsProviderSunsetModal = "news-provider-sunset-modal"
case nominatim = "nominatim"
case pass = "pass"
case photosFavorites = "photos-favorites" case photosFavorites = "photos-favorites"
case photosMetadataEdition = "photos-metadata-edition" case photosMetadataEdition = "photos-metadata-edition"
case photosV6Edit = "photosV6-edit"
case photosV6TvAlbums = "photosV6-tv-albums"
case pmsHealth = "pms_health" case pmsHealth = "pms_health"
case premiumDashboard = "premium-dashboard"
case premiumMusicMetadata = "premium_music_metadata"
case radio = "radio" case radio = "radio"
case rateLimitClientToken = "rate-limit-client-token" case rateLimitClientToken = "rate-limit-client-token"
case scrobblingServicePlexTv = "scrobbling-service-plex-tv" case scrobblingServicePlexTv = "scrobbling-service-plex-tv"
case sessionBandwidthRestrictions = "session_bandwidth_restrictions"
case sessionKick = "session_kick"
case sharedServerNotification = "shared_server_notification" case sharedServerNotification = "shared_server_notification"
case sharedSourceNotification = "shared_source_notification" case sharedSourceNotification = "shared_source_notification"
case signinNotification = "signin_notification"
case signinWithApple = "signin_with_apple" case signinWithApple = "signin_with_apple"
case silenceRemoval = "silence-removal"
case sleepTimer = "sleep-timer"
case springServeAdProvider = "spring_serve_ad_provider" case springServeAdProvider = "spring_serve_ad_provider"
case sync = "sync"
case sweetFades = "sweet-fades"
case transcoderCache = "transcoder_cache" case transcoderCache = "transcoder_cache"
case trailers = "trailers"
case tunerSharing = "tuner-sharing" case tunerSharing = "tuner-sharing"
case twoFactorAuthentication = "two-factor-authentication" case twoFactorAuthentication = "two-factor-authentication"
case unsupportedtuners = "unsupportedtuners" case unsupportedtuners = "unsupportedtuners"
case upgrade3Ds2 = "upgrade-3ds2" case upgrade3Ds2 = "upgrade-3ds2"
case visualizers = "visualizers"
case vodSchema = "vod-schema" case vodSchema = "vod-schema"
case vodCloudflare = "vod_cloudflare" case vodCloudflare = "vod_cloudflare"
case volumeLeveling = "volume-leveling"
case watchTogetherInvite = "watch-together-invite" case watchTogetherInvite = "watch-together-invite"
case watchlistRss = "watchlist-rss"
case webServerDashboard = "web_server_dashboard" case webServerDashboard = "web_server_dashboard"
case webhooks = "webhooks"
}} }}

View File

@@ -11,28 +11,43 @@ extension Operations {
case trebleShowFeatures = "TREBLE-show-features" case trebleShowFeatures = "TREBLE-show-features"
case adCountdownTimer = "ad-countdown-timer" case adCountdownTimer = "ad-countdown-timer"
case adaptiveBitrate = "adaptive_bitrate" case adaptiveBitrate = "adaptive_bitrate"
case albumTypes = "album-types"
case allowDvr = "allow_dvr"
case amazonLoopDebug = "amazon-loop-debug" case amazonLoopDebug = "amazon-loop-debug"
case avodAdAnalysis = "avod-ad-analysis" case avodAdAnalysis = "avod-ad-analysis"
case avodNewMedia = "avod-new-media" case avodNewMedia = "avod-new-media"
case blacklistGetSignin = "blacklist_get_signin" case blacklistGetSignin = "blacklist_get_signin"
case boostVoices = "boost-voices"
case cameraUpload = "camera_upload"
case clientRadioStations = "client-radio-stations" case clientRadioStations = "client-radio-stations"
case cloudflareTurnstileRequired = "cloudflare-turnstile-required" case cloudflareTurnstileRequired = "cloudflare-turnstile-required"
case cloudsync = "cloudsync"
case collections = "collections" case collections = "collections"
case commentsAndRepliesPushNotifications = "comments_and_replies_push_notifications" case commentsAndRepliesPushNotifications = "comments_and_replies_push_notifications"
case communityAccessPlexTv = "community_access_plex_tv" case communityAccessPlexTv = "community_access_plex_tv"
case companionsSonos = "companions_sonos" case companionsSonos = "companions_sonos"
case contentFilter = "content_filter"
case customHomeRemoval = "custom-home-removal" case customHomeRemoval = "custom-home-removal"
case disableHomeUserFriendships = "disable_home_user_friendships" case disableHomeUserFriendships = "disable_home_user_friendships"
case disableSharingFriendships = "disable_sharing_friendships" case disableSharingFriendships = "disable_sharing_friendships"
case downloadsGating = "downloads-gating"
case drmSupport = "drm_support" case drmSupport = "drm_support"
case dvr = "dvr"
case dvrBlockUnsupportedCountries = "dvr-block-unsupported-countries"
case epgRecentChannels = "epg-recent-channels"
case excludeRestrictions = "exclude restrictions" case excludeRestrictions = "exclude restrictions"
case federatedAuth = "federated-auth" case federatedAuth = "federated-auth"
case friendRequestPushNotifications = "friend_request_push_notifications" case friendRequestPushNotifications = "friend_request_push_notifications"
case grandfatherSync = "grandfather-sync"
case guidedUpgrade = "guided-upgrade" case guidedUpgrade = "guided-upgrade"
case hardwareTranscoding = "hardware_transcoding"
case home = "home" case home = "home"
case hwtranscode = "hwtranscode"
case imaggaV2 = "imagga-v2"
case increasePasswordComplexity = "increase-password-complexity" case increasePasswordComplexity = "increase-password-complexity"
case ios14PrivacyBanner = "ios14-privacy-banner" case ios14PrivacyBanner = "ios14-privacy-banner"
case iterableNotificationTokens = "iterable-notification-tokens" case iterableNotificationTokens = "iterable-notification-tokens"
case itemClusters = "item_clusters"
case keepPaymentMethod = "keep-payment-method" case keepPaymentMethod = "keep-payment-method"
case kevinBacon = "kevin-bacon" case kevinBacon = "kevin-bacon"
case koreaConsent = "korea-consent" case koreaConsent = "korea-consent"
@@ -41,26 +56,47 @@ extension Operations {
case lightningDvrPivot = "lightning-dvr-pivot" case lightningDvrPivot = "lightning-dvr-pivot"
case liveTvSupportIncompleteSegments = "live-tv-support-incomplete-segments" case liveTvSupportIncompleteSegments = "live-tv-support-incomplete-segments"
case livetv = "livetv" case livetv = "livetv"
case lyrics = "lyrics"
case metadataSearch = "metadata_search" case metadataSearch = "metadata_search"
case musicAnalysis = "music-analysis"
case musicVideos = "music_videos"
case newPlexPassPrices = "new_plex_pass_prices" case newPlexPassPrices = "new_plex_pass_prices"
case newsProviderSunsetModal = "news-provider-sunset-modal" case newsProviderSunsetModal = "news-provider-sunset-modal"
case nominatim = "nominatim"
case pass = "pass"
case photosFavorites = "photos-favorites" case photosFavorites = "photos-favorites"
case photosMetadataEdition = "photos-metadata-edition" case photosMetadataEdition = "photos-metadata-edition"
case photosV6Edit = "photosV6-edit"
case photosV6TvAlbums = "photosV6-tv-albums"
case pmsHealth = "pms_health" case pmsHealth = "pms_health"
case premiumDashboard = "premium-dashboard"
case premiumMusicMetadata = "premium_music_metadata"
case radio = "radio" case radio = "radio"
case rateLimitClientToken = "rate-limit-client-token" case rateLimitClientToken = "rate-limit-client-token"
case scrobblingServicePlexTv = "scrobbling-service-plex-tv" case scrobblingServicePlexTv = "scrobbling-service-plex-tv"
case sessionBandwidthRestrictions = "session_bandwidth_restrictions"
case sessionKick = "session_kick"
case sharedServerNotification = "shared_server_notification" case sharedServerNotification = "shared_server_notification"
case sharedSourceNotification = "shared_source_notification" case sharedSourceNotification = "shared_source_notification"
case signinNotification = "signin_notification"
case signinWithApple = "signin_with_apple" case signinWithApple = "signin_with_apple"
case silenceRemoval = "silence-removal"
case sleepTimer = "sleep-timer"
case springServeAdProvider = "spring_serve_ad_provider" case springServeAdProvider = "spring_serve_ad_provider"
case sync = "sync"
case sweetFades = "sweet-fades"
case transcoderCache = "transcoder_cache" case transcoderCache = "transcoder_cache"
case trailers = "trailers"
case tunerSharing = "tuner-sharing" case tunerSharing = "tuner-sharing"
case twoFactorAuthentication = "two-factor-authentication" case twoFactorAuthentication = "two-factor-authentication"
case unsupportedtuners = "unsupportedtuners" case unsupportedtuners = "unsupportedtuners"
case upgrade3Ds2 = "upgrade-3ds2" case upgrade3Ds2 = "upgrade-3ds2"
case visualizers = "visualizers"
case vodSchema = "vod-schema" case vodSchema = "vod-schema"
case vodCloudflare = "vod_cloudflare" case vodCloudflare = "vod_cloudflare"
case volumeLeveling = "volume-leveling"
case watchTogetherInvite = "watch-together-invite" case watchTogetherInvite = "watch-together-invite"
case watchlistRss = "watchlist-rss"
case webServerDashboard = "web_server_dashboard" case webServerDashboard = "web_server_dashboard"
case webhooks = "webhooks"
}} }}

View File

@@ -11,28 +11,43 @@ extension Operations {
case trebleShowFeatures = "TREBLE-show-features" case trebleShowFeatures = "TREBLE-show-features"
case adCountdownTimer = "ad-countdown-timer" case adCountdownTimer = "ad-countdown-timer"
case adaptiveBitrate = "adaptive_bitrate" case adaptiveBitrate = "adaptive_bitrate"
case albumTypes = "album-types"
case allowDvr = "allow_dvr"
case amazonLoopDebug = "amazon-loop-debug" case amazonLoopDebug = "amazon-loop-debug"
case avodAdAnalysis = "avod-ad-analysis" case avodAdAnalysis = "avod-ad-analysis"
case avodNewMedia = "avod-new-media" case avodNewMedia = "avod-new-media"
case blacklistGetSignin = "blacklist_get_signin" case blacklistGetSignin = "blacklist_get_signin"
case boostVoices = "boost-voices"
case cameraUpload = "camera_upload"
case clientRadioStations = "client-radio-stations" case clientRadioStations = "client-radio-stations"
case cloudflareTurnstileRequired = "cloudflare-turnstile-required" case cloudflareTurnstileRequired = "cloudflare-turnstile-required"
case cloudsync = "cloudsync"
case collections = "collections" case collections = "collections"
case commentsAndRepliesPushNotifications = "comments_and_replies_push_notifications" case commentsAndRepliesPushNotifications = "comments_and_replies_push_notifications"
case communityAccessPlexTv = "community_access_plex_tv" case communityAccessPlexTv = "community_access_plex_tv"
case companionsSonos = "companions_sonos" case companionsSonos = "companions_sonos"
case contentFilter = "content_filter"
case customHomeRemoval = "custom-home-removal" case customHomeRemoval = "custom-home-removal"
case disableHomeUserFriendships = "disable_home_user_friendships" case disableHomeUserFriendships = "disable_home_user_friendships"
case disableSharingFriendships = "disable_sharing_friendships" case disableSharingFriendships = "disable_sharing_friendships"
case downloadsGating = "downloads-gating"
case drmSupport = "drm_support" case drmSupport = "drm_support"
case dvr = "dvr"
case dvrBlockUnsupportedCountries = "dvr-block-unsupported-countries"
case epgRecentChannels = "epg-recent-channels"
case excludeRestrictions = "exclude restrictions" case excludeRestrictions = "exclude restrictions"
case federatedAuth = "federated-auth" case federatedAuth = "federated-auth"
case friendRequestPushNotifications = "friend_request_push_notifications" case friendRequestPushNotifications = "friend_request_push_notifications"
case grandfatherSync = "grandfather-sync"
case guidedUpgrade = "guided-upgrade" case guidedUpgrade = "guided-upgrade"
case hardwareTranscoding = "hardware_transcoding"
case home = "home" case home = "home"
case hwtranscode = "hwtranscode"
case imaggaV2 = "imagga-v2"
case increasePasswordComplexity = "increase-password-complexity" case increasePasswordComplexity = "increase-password-complexity"
case ios14PrivacyBanner = "ios14-privacy-banner" case ios14PrivacyBanner = "ios14-privacy-banner"
case iterableNotificationTokens = "iterable-notification-tokens" case iterableNotificationTokens = "iterable-notification-tokens"
case itemClusters = "item_clusters"
case keepPaymentMethod = "keep-payment-method" case keepPaymentMethod = "keep-payment-method"
case kevinBacon = "kevin-bacon" case kevinBacon = "kevin-bacon"
case koreaConsent = "korea-consent" case koreaConsent = "korea-consent"
@@ -41,26 +56,47 @@ extension Operations {
case lightningDvrPivot = "lightning-dvr-pivot" case lightningDvrPivot = "lightning-dvr-pivot"
case liveTvSupportIncompleteSegments = "live-tv-support-incomplete-segments" case liveTvSupportIncompleteSegments = "live-tv-support-incomplete-segments"
case livetv = "livetv" case livetv = "livetv"
case lyrics = "lyrics"
case metadataSearch = "metadata_search" case metadataSearch = "metadata_search"
case musicAnalysis = "music-analysis"
case musicVideos = "music_videos"
case newPlexPassPrices = "new_plex_pass_prices" case newPlexPassPrices = "new_plex_pass_prices"
case newsProviderSunsetModal = "news-provider-sunset-modal" case newsProviderSunsetModal = "news-provider-sunset-modal"
case nominatim = "nominatim"
case pass = "pass"
case photosFavorites = "photos-favorites" case photosFavorites = "photos-favorites"
case photosMetadataEdition = "photos-metadata-edition" case photosMetadataEdition = "photos-metadata-edition"
case photosV6Edit = "photosV6-edit"
case photosV6TvAlbums = "photosV6-tv-albums"
case pmsHealth = "pms_health" case pmsHealth = "pms_health"
case premiumDashboard = "premium-dashboard"
case premiumMusicMetadata = "premium_music_metadata"
case radio = "radio" case radio = "radio"
case rateLimitClientToken = "rate-limit-client-token" case rateLimitClientToken = "rate-limit-client-token"
case scrobblingServicePlexTv = "scrobbling-service-plex-tv" case scrobblingServicePlexTv = "scrobbling-service-plex-tv"
case sessionBandwidthRestrictions = "session_bandwidth_restrictions"
case sessionKick = "session_kick"
case sharedServerNotification = "shared_server_notification" case sharedServerNotification = "shared_server_notification"
case sharedSourceNotification = "shared_source_notification" case sharedSourceNotification = "shared_source_notification"
case signinNotification = "signin_notification"
case signinWithApple = "signin_with_apple" case signinWithApple = "signin_with_apple"
case silenceRemoval = "silence-removal"
case sleepTimer = "sleep-timer"
case springServeAdProvider = "spring_serve_ad_provider" case springServeAdProvider = "spring_serve_ad_provider"
case sync = "sync"
case sweetFades = "sweet-fades"
case transcoderCache = "transcoder_cache" case transcoderCache = "transcoder_cache"
case trailers = "trailers"
case tunerSharing = "tuner-sharing" case tunerSharing = "tuner-sharing"
case twoFactorAuthentication = "two-factor-authentication" case twoFactorAuthentication = "two-factor-authentication"
case unsupportedtuners = "unsupportedtuners" case unsupportedtuners = "unsupportedtuners"
case upgrade3Ds2 = "upgrade-3ds2" case upgrade3Ds2 = "upgrade-3ds2"
case visualizers = "visualizers"
case vodSchema = "vod-schema" case vodSchema = "vod-schema"
case vodCloudflare = "vod_cloudflare" case vodCloudflare = "vod_cloudflare"
case volumeLeveling = "volume-leveling"
case watchTogetherInvite = "watch-together-invite" case watchTogetherInvite = "watch-together-invite"
case watchlistRss = "watchlist-rss"
case webServerDashboard = "web_server_dashboard" case webServerDashboard = "web_server_dashboard"
case webhooks = "webhooks"
}} }}

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.3 2.426.2 0.0.3 plexswift", forHTTPHeaderField: telemetryHeader.headerName) urlRequest.setValue("speakeasy-sdk/swift 0.8.4 2.426.2 0.0.3 plexswift", forHTTPHeaderField: telemetryHeader.headerName)
addSecurityParameters(to: &urlRequest) addSecurityParameters(to: &urlRequest)

File diff suppressed because it is too large Load Diff