mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 12:37:46 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8a2d3e04ab | ||
|
|
6c8a73ae84 | ||
|
|
c839d9f6c7 |
@@ -1,12 +1,12 @@
|
||||
lockVersion: 2.0.0
|
||||
id: 16f22cbf-f23f-4419-8924-3a4b06381947
|
||||
management:
|
||||
docChecksum: 1ee2e5413af07e886e33659b9b269dd5
|
||||
docChecksum: 2554ade61ed4d42b8e095168765d7dc0
|
||||
docVersion: 0.0.3
|
||||
speakeasyVersion: 1.405.6
|
||||
generationVersion: 2.428.1
|
||||
releaseVersion: 0.25.1
|
||||
configChecksum: fbb6cdc652d55e2fd4686855e1cf4ed7
|
||||
releaseVersion: 0.30.0
|
||||
configChecksum: 6c1d7aea15d07bcbf6bfd6eb62f11e35
|
||||
repoURL: https://github.com/LukeHagar/plexjs.git
|
||||
repoSubDirectory: .
|
||||
installationURL: https://github.com/LukeHagar/plexjs
|
||||
@@ -1995,6 +1995,7 @@ examples:
|
||||
parameters:
|
||||
query:
|
||||
Timespan: 4
|
||||
timespan: 4
|
||||
responses:
|
||||
"200":
|
||||
application/json: {"MediaContainer": {"size": 5497, "Device": [], "Account": [], "StatisticsMedia": []}}
|
||||
@@ -2007,6 +2008,7 @@ examples:
|
||||
parameters:
|
||||
query:
|
||||
Timespan: 4
|
||||
timespan: 4
|
||||
responses:
|
||||
"200":
|
||||
application/json: {"MediaContainer": {"size": 5497, "StatisticsResources": []}}
|
||||
@@ -2019,6 +2021,7 @@ examples:
|
||||
parameters:
|
||||
query:
|
||||
Timespan: 4
|
||||
timespan: 4
|
||||
responses:
|
||||
"200":
|
||||
application/json: {"MediaContainer": {"size": 5497, "Device": [], "Account": [], "StatisticsBandwidth": []}}
|
||||
@@ -2166,7 +2169,7 @@ examples:
|
||||
speakeasy-default-get-token-details:
|
||||
responses:
|
||||
"200":
|
||||
application/json: {"adsConsent": true, "adsConsentReminderAt": "2019-08-24T14:15:22Z", "adsConsentSetAt": "2019-08-24T14:15:22Z", "anonymous": false, "authToken": "CxoUzBTSV5hsxjTpFKaf", "backupCodesCreated": false, "confirmed": false, "country": "US", "email": "username@email.com", "emailOnlyAuth": false, "experimentalFeatures": false, "friendlyName": "friendlyUsername", "entitlements": ["[]"], "guest": false, "hasPassword": true, "home": false, "homeAdmin": false, "homeSize": 1, "id": 13692262, "joinedAt": 1556281940, "locale": null, "mailingListActive": false, "mailingListStatus": "active", "maxHomeSize": 15, "pin": "string", "profile": {"autoSelectAudio": true, "defaultAudioLanguage": "ja", "defaultSubtitleLanguage": "en", "autoSelectSubtitle": 1, "defaultSubtitleAccessibility": 1, "defaultSubtitleForced": 1, "watchedIndicator": 1, "mediaReviewsVisibility": 1}, "protected": false, "rememberExpiresAt": 1556281940, "restricted": false, "roles": ["string"], "scrobbleTypes": "", "services": [{"identifier": "metadata-dev", "endpoint": "https://epg.provider.plex.tv", "token": "DjoMtqFAGRL1uVtCyF1dKIorTbShJeqv", "secret": "string", "status": "online"}], "subscription": {"features": ["Android - Dolby Vision"], "active": true, "subscribedAt": "2021-04-12T18:21:12Z", "status": "Inactive", "paymentService": "string", "plan": "string"}, "subscriptionDescription": "string", "subscriptions": [{"features": ["Android - Dolby Vision"], "active": true, "subscribedAt": "2021-04-12T18:21:12Z", "status": "Inactive", "paymentService": "string", "plan": "string"}], "thumb": "https://plex.tv/users/a4f43c1ebfde43a5/avatar?c=8372075101", "title": "UsernameTitle", "twoFactorEnabled": false, "username": "Username", "uuid": "dae343c1f45beb4f", "attributionPartner": null}
|
||||
application/json: {"adsConsent": true, "adsConsentReminderAt": 1556281940, "adsConsentSetAt": 1556281940, "anonymous": false, "authToken": "CxoUzBTSV5hsxjTpFKaf", "backupCodesCreated": false, "confirmed": false, "country": "US", "email": "username@email.com", "emailOnlyAuth": false, "experimentalFeatures": false, "friendlyName": "friendlyUsername", "entitlements": ["[]"], "guest": false, "hasPassword": true, "home": false, "homeAdmin": false, "homeSize": 1, "id": 13692262, "joinedAt": 1556281940, "locale": null, "mailingListActive": false, "mailingListStatus": "active", "maxHomeSize": 15, "pin": "string", "profile": {"autoSelectAudio": true, "defaultAudioLanguage": "ja", "defaultSubtitleLanguage": "en", "autoSelectSubtitle": 1, "defaultSubtitleAccessibility": 1, "defaultSubtitleForced": 1, "watchedIndicator": 1, "mediaReviewsVisibility": 1}, "protected": false, "rememberExpiresAt": 1556281940, "restricted": false, "roles": ["string"], "scrobbleTypes": "", "services": [{"identifier": "metadata-dev", "endpoint": "https://epg.provider.plex.tv", "token": "DjoMtqFAGRL1uVtCyF1dKIorTbShJeqv", "secret": "string", "status": "online"}], "subscription": {"features": ["Android - Dolby Vision"], "active": true, "subscribedAt": "2021-04-12T18:21:12Z", "status": "Inactive", "paymentService": "string", "plan": "string"}, "subscriptionDescription": "string", "subscriptions": [{"features": ["Android - Dolby Vision"], "active": true, "subscribedAt": "2021-04-12T18:21:12Z", "status": "Inactive", "paymentService": "string", "plan": "string"}], "thumb": "https://plex.tv/users/a4f43c1ebfde43a5/avatar?c=8372075101", "title": "UsernameTitle", "twoFactorEnabled": false, "username": "Username", "uuid": "dae343c1f45beb4f", "attributionPartner": null}
|
||||
"400":
|
||||
application/json: {"errors": []}
|
||||
"401":
|
||||
|
||||
@@ -12,7 +12,7 @@ generation:
|
||||
auth:
|
||||
oAuth2ClientCredentialsEnabled: true
|
||||
typescript:
|
||||
version: 0.25.1
|
||||
version: 0.30.0
|
||||
additionalDependencies:
|
||||
dependencies: {}
|
||||
devDependencies: {}
|
||||
@@ -20,6 +20,7 @@ typescript:
|
||||
additionalPackageJSON: {}
|
||||
author: LukeHagar
|
||||
clientServerStatusCodesAsErrors: true
|
||||
defaultErrorName: SDKError
|
||||
enumFormat: enum
|
||||
flattenGlobalSecurity: true
|
||||
flatteningOrder: body-first
|
||||
|
||||
@@ -9,8 +9,8 @@ sources:
|
||||
- main
|
||||
plexapi:
|
||||
sourceNamespace: plexapi
|
||||
sourceRevisionDigest: sha256:c6ab8f13847c7cdc4ab3752f517164d7da08266726255aa0d614b1eaea66fb0e
|
||||
sourceBlobDigest: sha256:64c7694915a0828aeb256d10d2fa0ea477681785b818916b6681be8cc5ffb93b
|
||||
sourceRevisionDigest: sha256:37c6bfb15f4154eb89b112465107f20757411f22bd1cc7d0a04335df7127fcb4
|
||||
sourceBlobDigest: sha256:290473ebc909cada80ff428c685b897f4621cf121397e1417355e06d334e7206
|
||||
tags:
|
||||
- latest
|
||||
- main
|
||||
@@ -18,10 +18,10 @@ targets:
|
||||
plexjs:
|
||||
source: plexapi
|
||||
sourceNamespace: plexapi
|
||||
sourceRevisionDigest: sha256:c6ab8f13847c7cdc4ab3752f517164d7da08266726255aa0d614b1eaea66fb0e
|
||||
sourceBlobDigest: sha256:64c7694915a0828aeb256d10d2fa0ea477681785b818916b6681be8cc5ffb93b
|
||||
sourceRevisionDigest: sha256:37c6bfb15f4154eb89b112465107f20757411f22bd1cc7d0a04335df7127fcb4
|
||||
sourceBlobDigest: sha256:290473ebc909cada80ff428c685b897f4621cf121397e1417355e06d334e7206
|
||||
codeSamplesNamespace: code-samples-typescript-plexjs
|
||||
codeSamplesRevisionDigest: sha256:9667534090efff73eeec1ce4a99b4aebdd251a5eac0cfa5c78ddc0def4d4624e
|
||||
codeSamplesRevisionDigest: sha256:1360b0489d1911ecbe6a0e2bcea617dc8c8d8cba49f2d3b505cef056dd668081
|
||||
workflow:
|
||||
workflowVersion: 1.0.0
|
||||
speakeasyVersion: latest
|
||||
|
||||
32
RELEASES.md
32
RELEASES.md
@@ -1108,4 +1108,34 @@ Based on:
|
||||
### Generated
|
||||
- [typescript v0.25.1] .
|
||||
### Releases
|
||||
- [NPM v0.25.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.25.1 - .
|
||||
- [NPM v0.25.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.25.1 - .
|
||||
|
||||
## 2024-10-03 12:26:50
|
||||
### Changes
|
||||
Based on:
|
||||
- OpenAPI Doc
|
||||
- Speakeasy CLI 1.406.0 (2.429.0) https://github.com/speakeasy-api/speakeasy
|
||||
### Generated
|
||||
- [typescript v0.26.1] .
|
||||
### Releases
|
||||
- [NPM v0.26.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.26.1 - .
|
||||
|
||||
## 2024-11-11 20:28:21
|
||||
### Changes
|
||||
Based on:
|
||||
- OpenAPI Doc
|
||||
- Speakeasy CLI 1.405.6 (2.428.1) https://github.com/speakeasy-api/speakeasy
|
||||
### Generated
|
||||
- [typescript v0.28.0] .
|
||||
### Releases
|
||||
- [NPM v0.28.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.28.0 - .
|
||||
|
||||
## 2024-11-14 00:09:39
|
||||
### Changes
|
||||
Based on:
|
||||
- OpenAPI Doc
|
||||
- Speakeasy CLI 1.405.6 (2.428.1) https://github.com/speakeasy-api/speakeasy
|
||||
### Generated
|
||||
- [typescript v0.30.0] .
|
||||
### Releases
|
||||
- [NPM v0.30.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.30.0 - .
|
||||
@@ -380,5 +380,5 @@ let value: GetLibraryItemsMediaContainer = {
|
||||
| `viewGroup` | *string* | :heavy_check_mark: | N/A | movie |
|
||||
| `viewMode` | *number* | :heavy_minus_sign: | N/A | 65592 |
|
||||
| `mixedParents` | *boolean* | :heavy_minus_sign: | N/A | true |
|
||||
| `metadata` | [operations.GetLibraryItemsMetadata](../../../sdk/models/operations/getlibraryitemsmetadata.md)[] | :heavy_check_mark: | N/A | |
|
||||
| `metadata` | [operations.GetLibraryItemsMetadata](../../../sdk/models/operations/getlibraryitemsmetadata.md)[] | :heavy_minus_sign: | N/A | |
|
||||
| `meta` | [operations.GetLibraryItemsMeta](../../../sdk/models/operations/getlibraryitemsmeta.md) | :heavy_minus_sign: | The Meta object is only included in the response if the `includeMeta` parameter is set to `1`.<br/> | |
|
||||
@@ -23,4 +23,5 @@ let value: GetLibraryItemsQueryParamType = GetLibraryItemsQueryParamType.TvShow;
|
||||
| `Movie` | 1 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Episode` | 4 |
|
||||
| `Audio` | 8 |
|
||||
@@ -24,4 +24,5 @@ let value: GetPlaylistContentsQueryParamType =
|
||||
| `Movie` | 1 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Episode` | 4 |
|
||||
| `Audio` | 8 |
|
||||
@@ -24,4 +24,5 @@ let value: GetSearchLibraryQueryParamType =
|
||||
| `Movie` | 1 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Episode` | 4 |
|
||||
| `Audio` | 8 |
|
||||
File diff suppressed because one or more lines are too long
@@ -19,33 +19,22 @@ import {
|
||||
} from "@lukehagar/plexjs/sdk/models/operations";
|
||||
|
||||
let value: GetTokenDetailsUserPlexAccount = {
|
||||
adsConsent: true,
|
||||
adsConsentReminderAt: new Date("2019-08-24T14:15:22Z"),
|
||||
adsConsentSetAt: new Date("2019-08-24T14:15:22Z"),
|
||||
anonymous: false,
|
||||
adsConsent: false,
|
||||
adsConsentReminderAt: 1556281940,
|
||||
adsConsentSetAt: 1556281940,
|
||||
authToken: "CxoUzBTSV5hsxjTpFKaf",
|
||||
backupCodesCreated: false,
|
||||
confirmed: false,
|
||||
country: "US",
|
||||
email: "username@email.com",
|
||||
emailOnlyAuth: false,
|
||||
experimentalFeatures: false,
|
||||
friendlyName: "friendlyUsername",
|
||||
entitlements: [
|
||||
"[]",
|
||||
],
|
||||
guest: false,
|
||||
hasPassword: true,
|
||||
home: false,
|
||||
homeAdmin: false,
|
||||
homeSize: 1,
|
||||
id: 13692262,
|
||||
joinedAt: 1721154902,
|
||||
locale: null,
|
||||
mailingListActive: false,
|
||||
mailingListStatus: MailingListStatus.Unsubscribed,
|
||||
joinedAt: 1556281940,
|
||||
locale: "ar",
|
||||
mailingListStatus: MailingListStatus.Active,
|
||||
maxHomeSize: 15,
|
||||
pin: "string",
|
||||
profile: {
|
||||
autoSelectAudio: true,
|
||||
defaultAudioLanguage: "ja",
|
||||
@@ -56,48 +45,32 @@ let value: GetTokenDetailsUserPlexAccount = {
|
||||
watchedIndicator: WatchedIndicator.Enable,
|
||||
mediaReviewsVisibility: MediaReviewsVisibility.Enable,
|
||||
},
|
||||
protected: false,
|
||||
rememberExpiresAt: 1722364046,
|
||||
restricted: false,
|
||||
roles: [
|
||||
"string",
|
||||
],
|
||||
scrobbleTypes: "",
|
||||
rememberExpiresAt: 1556281940,
|
||||
scrobbleTypes: "<value>",
|
||||
services: [
|
||||
{
|
||||
identifier: "metadata-dev",
|
||||
endpoint: "https://epg.provider.plex.tv",
|
||||
token: "DjoMtqFAGRL1uVtCyF1dKIorTbShJeqv",
|
||||
secret: "string",
|
||||
secret: "<value>",
|
||||
status: GetTokenDetailsStatus.Online,
|
||||
},
|
||||
],
|
||||
subscription: {
|
||||
features: [
|
||||
"Android - Dolby Vision",
|
||||
],
|
||||
active: true,
|
||||
subscribedAt: "2021-04-12T18:21:12Z",
|
||||
status: GetTokenDetailsAuthenticationStatus.Inactive,
|
||||
paymentService: "string",
|
||||
plan: "string",
|
||||
},
|
||||
subscriptionDescription: "string",
|
||||
subscriptionDescription: "<value>",
|
||||
subscriptions: [
|
||||
{
|
||||
features: [
|
||||
"Android - Dolby Vision",
|
||||
],
|
||||
active: true,
|
||||
subscribedAt: "2021-04-12T18:21:12Z",
|
||||
status: GetTokenDetailsAuthenticationResponseStatus.Inactive,
|
||||
paymentService: "string",
|
||||
plan: "string",
|
||||
},
|
||||
],
|
||||
thumb: "https://plex.tv/users/a4f43c1ebfde43a5/avatar?c=8372075101",
|
||||
title: "UsernameTitle",
|
||||
twoFactorEnabled: false,
|
||||
username: "Username",
|
||||
uuid: "dae343c1f45beb4f",
|
||||
attributionPartner: null,
|
||||
@@ -109,8 +82,8 @@ let value: GetTokenDetailsUserPlexAccount = {
|
||||
| Field | Type | Required | Description | Example |
|
||||
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `adsConsent` | *boolean* | :heavy_check_mark: | Unknown | |
|
||||
| `adsConsentReminderAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | Unknown | |
|
||||
| `adsConsentSetAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | Unknown | |
|
||||
| `adsConsentReminderAt` | *number* | :heavy_check_mark: | N/A | 1556281940 |
|
||||
| `adsConsentSetAt` | *number* | :heavy_check_mark: | N/A | 1556281940 |
|
||||
| `anonymous` | *boolean* | :heavy_minus_sign: | Unknown | |
|
||||
| `authToken` | *string* | :heavy_check_mark: | The account token | CxoUzBTSV5hsxjTpFKaf |
|
||||
| `backupCodesCreated` | *boolean* | :heavy_minus_sign: | If the two-factor authentication backup codes have been created | |
|
||||
|
||||
@@ -24,4 +24,5 @@ let value: GetTopWatchedContentQueryParamType =
|
||||
| `Movie` | 1 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Episode` | 4 |
|
||||
| `Audio` | 8 |
|
||||
File diff suppressed because one or more lines are too long
@@ -20,33 +20,22 @@ import {
|
||||
} from "@lukehagar/plexjs/sdk/models/operations";
|
||||
|
||||
let value: PostUsersSignInDataUserPlexAccount = {
|
||||
adsConsent: true,
|
||||
adsConsentReminderAt: new Date("2019-08-24T14:15:22Z"),
|
||||
adsConsentSetAt: new Date("2019-08-24T14:15:22Z"),
|
||||
anonymous: false,
|
||||
adsConsent: false,
|
||||
adsConsentReminderAt: 1556281940,
|
||||
adsConsentSetAt: 1556281940,
|
||||
authToken: "CxoUzBTSV5hsxjTpFKaf",
|
||||
backupCodesCreated: false,
|
||||
confirmed: false,
|
||||
country: "US",
|
||||
email: "username@email.com",
|
||||
emailOnlyAuth: false,
|
||||
experimentalFeatures: false,
|
||||
friendlyName: "friendlyUsername",
|
||||
entitlements: [
|
||||
"[]",
|
||||
],
|
||||
guest: false,
|
||||
hasPassword: true,
|
||||
home: false,
|
||||
homeAdmin: false,
|
||||
homeSize: 1,
|
||||
id: 13692262,
|
||||
joinedAt: 1721154902,
|
||||
locale: null,
|
||||
mailingListActive: false,
|
||||
joinedAt: 1556281940,
|
||||
locale: "pt",
|
||||
mailingListStatus: PostUsersSignInDataMailingListStatus.Active,
|
||||
maxHomeSize: 15,
|
||||
pin: "string",
|
||||
profile: {
|
||||
autoSelectAudio: true,
|
||||
defaultAudioLanguage: "ja",
|
||||
@@ -58,66 +47,50 @@ let value: PostUsersSignInDataUserPlexAccount = {
|
||||
watchedIndicator: PostUsersSignInDataWatchedIndicator.Enable,
|
||||
mediaReviewsVisibility: PostUsersSignInDataMediaReviewsVisibility.Enable,
|
||||
},
|
||||
protected: false,
|
||||
rememberExpiresAt: 1722364046,
|
||||
restricted: false,
|
||||
roles: [
|
||||
"string",
|
||||
],
|
||||
scrobbleTypes: "",
|
||||
rememberExpiresAt: 1556281940,
|
||||
scrobbleTypes: "<value>",
|
||||
services: [
|
||||
{
|
||||
identifier: "metadata-dev",
|
||||
endpoint: "https://epg.provider.plex.tv",
|
||||
token: "DjoMtqFAGRL1uVtCyF1dKIorTbShJeqv",
|
||||
secret: "string",
|
||||
secret: "<value>",
|
||||
status: PostUsersSignInDataStatus.Online,
|
||||
},
|
||||
],
|
||||
subscription: {
|
||||
features: [
|
||||
"Android - Dolby Vision",
|
||||
],
|
||||
active: true,
|
||||
subscribedAt: "2021-04-12T18:21:12Z",
|
||||
status: PostUsersSignInDataAuthenticationStatus.Inactive,
|
||||
paymentService: "string",
|
||||
plan: "string",
|
||||
},
|
||||
subscriptionDescription: "string",
|
||||
subscriptionDescription: "<value>",
|
||||
subscriptions: [
|
||||
{
|
||||
features: [
|
||||
"Android - Dolby Vision",
|
||||
],
|
||||
active: true,
|
||||
subscribedAt: "2021-04-12T18:21:12Z",
|
||||
status: PostUsersSignInDataAuthenticationResponseStatus.Inactive,
|
||||
paymentService: "string",
|
||||
plan: "string",
|
||||
},
|
||||
],
|
||||
thumb: "https://plex.tv/users/a4f43c1ebfde43a5/avatar?c=8372075101",
|
||||
title: "UsernameTitle",
|
||||
twoFactorEnabled: false,
|
||||
username: "Username",
|
||||
uuid: "dae343c1f45beb4f",
|
||||
attributionPartner: null,
|
||||
pastSubscriptions: [
|
||||
{
|
||||
id: "string",
|
||||
mode: "string",
|
||||
renewsAt: string,
|
||||
id: "<id>",
|
||||
mode: "<value>",
|
||||
renewsAt: 1556281940,
|
||||
endsAt: 1556281940,
|
||||
canceled: true,
|
||||
gracePeriod: true,
|
||||
onHold: true,
|
||||
canReactivate: true,
|
||||
canUpgrade: true,
|
||||
canDowngrade: true,
|
||||
canConvert: true,
|
||||
canceled: false,
|
||||
gracePeriod: false,
|
||||
onHold: false,
|
||||
canReactivate: false,
|
||||
canUpgrade: false,
|
||||
canDowngrade: false,
|
||||
canConvert: false,
|
||||
type: "plexpass",
|
||||
transfer: "string",
|
||||
transfer: "<value>",
|
||||
state: PostUsersSignInDataState.Ended,
|
||||
billing: {
|
||||
internalPaymentMethod: {},
|
||||
@@ -136,8 +109,8 @@ let value: PostUsersSignInDataUserPlexAccount = {
|
||||
| Field | Type | Required | Description | Example |
|
||||
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `adsConsent` | *boolean* | :heavy_check_mark: | Unknown | |
|
||||
| `adsConsentReminderAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | Unknown | |
|
||||
| `adsConsentSetAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | Unknown | |
|
||||
| `adsConsentReminderAt` | *number* | :heavy_check_mark: | N/A | 1556281940 |
|
||||
| `adsConsentSetAt` | *number* | :heavy_check_mark: | N/A | 1556281940 |
|
||||
| `anonymous` | *boolean* | :heavy_minus_sign: | Unknown | |
|
||||
| `authToken` | *string* | :heavy_check_mark: | The account token | CxoUzBTSV5hsxjTpFKaf |
|
||||
| `backupCodesCreated` | *boolean* | :heavy_minus_sign: | If the two-factor authentication backup codes have been created | |
|
||||
|
||||
@@ -23,4 +23,5 @@ let value: QueryParamType = QueryParamType.TvShow;
|
||||
| `Movie` | 1 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Episode` | 4 |
|
||||
| `Audio` | 8 |
|
||||
@@ -23,4 +23,5 @@ let value: Type = Type.TvShow;
|
||||
| `Movie` | 1 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Episode` | 4 |
|
||||
| `Audio` | 8 |
|
||||
2
jsr.json
2
jsr.json
@@ -2,7 +2,7 @@
|
||||
|
||||
{
|
||||
"name": "@lukehagar/plexjs",
|
||||
"version": "0.25.1",
|
||||
"version": "0.30.0",
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./sdk/models/errors": "./src/sdk/models/errors/index.ts",
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@lukehagar/plexjs",
|
||||
"version": "0.25.1",
|
||||
"version": "0.30.0",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@lukehagar/plexjs",
|
||||
"version": "0.25.1",
|
||||
"version": "0.30.0",
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^7.7.1",
|
||||
"@typescript-eslint/parser": "^7.7.1",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lukehagar/plexjs",
|
||||
"version": "0.25.1",
|
||||
"version": "0.30.0",
|
||||
"author": "LukeHagar",
|
||||
"main": "./index.js",
|
||||
"sideEffects": false,
|
||||
|
||||
@@ -101,18 +101,8 @@ export async function activitiesCancelServerActivities(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -74,18 +74,8 @@ export async function activitiesGetServerActivities(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -102,18 +102,8 @@ export async function authenticationGetSourceConnectionInformation(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -79,18 +79,8 @@ export async function authenticationGetTokenDetails(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -101,18 +101,8 @@ export async function authenticationGetTransientToken(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -144,18 +144,8 @@ export async function authenticationPostUsersSignInData(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -74,18 +74,8 @@ export async function butlerGetButlerTasks(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -78,18 +78,8 @@ export async function butlerStartAllTasks(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -104,18 +104,8 @@ export async function butlerStartTask(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -74,18 +74,8 @@ export async function butlerStopAllTasks(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -100,18 +100,8 @@ export async function butlerStopTask(
|
||||
context,
|
||||
errorCodes: ["400", "401", "404", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -101,18 +101,8 @@ export async function hubsGetGlobalHubs(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -110,18 +110,8 @@ export async function hubsGetLibraryHubs(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -99,18 +99,8 @@ export async function hubsGetRecentlyAdded(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -100,18 +100,8 @@ export async function libraryDeleteLibrary(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -79,18 +79,8 @@ export async function libraryGetAllLibraries(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -101,18 +101,8 @@ export async function libraryGetFileHash(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -145,18 +145,8 @@ export async function libraryGetLibraryDetails(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -130,18 +130,8 @@ export async function libraryGetLibraryItems(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -101,18 +101,8 @@ export async function libraryGetMetaDataByRatingKey(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -108,18 +108,8 @@ export async function libraryGetMetadataChildren(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -74,18 +74,8 @@ export async function libraryGetOnDeck(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -103,18 +103,8 @@ export async function libraryGetRecentlyAddedLibrary(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -108,18 +108,8 @@ export async function libraryGetRefreshLibraryMetadata(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -115,18 +115,8 @@ export async function libraryGetSearchAllLibraries(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -124,18 +124,8 @@ export async function libraryGetSearchLibrary(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -102,18 +102,8 @@ export async function libraryGetTopWatchedContent(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -74,18 +74,8 @@ export async function logEnablePaperTrail(
|
||||
context,
|
||||
errorCodes: ["400", "401", "403", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -104,18 +104,8 @@ export async function logLogLine(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -112,18 +112,8 @@ export async function logLogMultiLine(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -110,18 +110,8 @@ export async function mediaGetBannerImage(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -110,18 +110,8 @@ export async function mediaGetThumbImage(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -98,18 +98,8 @@ export async function mediaMarkPlayed(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -98,18 +98,8 @@ export async function mediaMarkUnplayed(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -104,18 +104,8 @@ export async function mediaUpdatePlayProgress(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -112,18 +112,8 @@ export async function playlistsAddPlaylistContents(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -101,18 +101,8 @@ export async function playlistsClearPlaylistContents(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -102,18 +102,8 @@ export async function playlistsCreatePlaylist(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -100,18 +100,8 @@ export async function playlistsDeletePlaylist(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -101,18 +101,8 @@ export async function playlistsGetPlaylist(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -111,18 +111,8 @@ export async function playlistsGetPlaylistContents(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -101,18 +101,8 @@ export async function playlistsGetPlaylists(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -110,18 +110,8 @@ export async function playlistsUpdatePlaylist(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -104,18 +104,8 @@ export async function playlistsUploadPlaylist(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -81,18 +81,8 @@ export async function plexGetCompanionsData(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -74,18 +74,8 @@ export async function plexGetGeoData(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -74,18 +74,8 @@ export async function plexGetHomeData(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -141,18 +141,8 @@ export async function plexGetPin(
|
||||
context,
|
||||
errorCodes: ["400", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -123,18 +123,8 @@ export async function plexGetServerResources(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -144,18 +144,8 @@ export async function plexGetTokenByPinId(
|
||||
context,
|
||||
errorCodes: ["400", "404", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -79,18 +79,8 @@ export async function plexGetUserFriends(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -98,18 +98,8 @@ export async function searchGetSearchResults(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -115,18 +115,8 @@ export async function searchPerformSearch(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -107,18 +107,8 @@ export async function searchPerformVoiceSearch(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -74,18 +74,8 @@ export async function serverGetAvailableClients(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -74,18 +74,8 @@ export async function serverGetDevices(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -97,18 +97,8 @@ export async function serverGetMediaProviders(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -74,18 +74,8 @@ export async function serverGetMyPlexAccount(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -102,18 +102,8 @@ export async function serverGetResizedPhoto(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -74,18 +74,8 @@ export async function serverGetServerCapabilities(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -68,18 +68,8 @@ export async function serverGetServerIdentity(
|
||||
context,
|
||||
errorCodes: ["408", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -74,18 +74,8 @@ export async function serverGetServerList(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -74,18 +74,8 @@ export async function serverGetServerPreferences(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -107,18 +107,8 @@ export async function sessionsGetSessionHistory(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -74,18 +74,8 @@ export async function sessionsGetSessions(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -74,18 +74,8 @@ export async function sessionsGetTranscodeSessions(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -101,18 +101,8 @@ export async function sessionsStopTranscodeSession(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -65,7 +65,7 @@ export async function statisticsGetBandwidthStatistics(
|
||||
const path = pathToFunc("/statistics/bandwidth")();
|
||||
|
||||
const query = encodeFormQuery({
|
||||
"Timespan": payload.Timespan,
|
||||
"timespan": payload.timespan,
|
||||
});
|
||||
|
||||
const headers = new Headers({
|
||||
@@ -99,18 +99,8 @@ export async function statisticsGetBandwidthStatistics(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -65,7 +65,7 @@ export async function statisticsGetResourcesStatistics(
|
||||
const path = pathToFunc("/statistics/resources")();
|
||||
|
||||
const query = encodeFormQuery({
|
||||
"Timespan": payload.Timespan,
|
||||
"timespan": payload.timespan,
|
||||
});
|
||||
|
||||
const headers = new Headers({
|
||||
@@ -99,18 +99,8 @@ export async function statisticsGetResourcesStatistics(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -64,7 +64,7 @@ export async function statisticsGetStatistics(
|
||||
const path = pathToFunc("/statistics/media")();
|
||||
|
||||
const query = encodeFormQuery({
|
||||
"Timespan": payload.Timespan,
|
||||
"timespan": payload.timespan,
|
||||
});
|
||||
|
||||
const headers = new Headers({
|
||||
@@ -98,18 +98,8 @@ export async function statisticsGetStatistics(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -101,18 +101,8 @@ export async function updaterApplyUpdates(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "500", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -98,18 +98,8 @@ export async function updaterCheckForUpdates(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -74,18 +74,8 @@ export async function updaterGetUpdateStatus(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -105,18 +105,8 @@ export async function videoGetTimeline(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -112,18 +112,8 @@ export async function videoStartUniversalTranscode(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -118,18 +118,8 @@ export async function watchlistGetWatchList(
|
||||
context,
|
||||
errorCodes: ["400", "401", "4XX", "5XX"],
|
||||
retryConfig: options?.retries
|
||||
|| client._options.retryConfig
|
||||
|| {
|
||||
strategy: "backoff",
|
||||
backoff: {
|
||||
initialInterval: 500,
|
||||
maxInterval: 60000,
|
||||
exponent: 1.5,
|
||||
maxElapsedTime: 3600000,
|
||||
},
|
||||
retryConnectionErrors: true,
|
||||
},
|
||||
retryCodes: options?.retryCodes || ["5XX"],
|
||||
|| client._options.retryConfig,
|
||||
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
||||
});
|
||||
if (!doResult.ok) {
|
||||
return doResult;
|
||||
|
||||
@@ -115,7 +115,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
||||
export const SDK_METADATA = {
|
||||
language: "typescript",
|
||||
openapiDocVersion: "0.0.3",
|
||||
sdkVersion: "0.25.1",
|
||||
sdkVersion: "0.30.0",
|
||||
genVersion: "2.428.1",
|
||||
userAgent: "speakeasy-sdk/typescript 0.25.1 2.428.1 0.0.3 @lukehagar/plexjs",
|
||||
userAgent: "speakeasy-sdk/typescript 0.30.0 2.428.1 0.0.3 @lukehagar/plexjs",
|
||||
} as const;
|
||||
|
||||
@@ -82,16 +82,12 @@ export const GetBandwidthStatisticsRequest$inboundSchema: z.ZodType<
|
||||
z.ZodTypeDef,
|
||||
unknown
|
||||
> = z.object({
|
||||
Timespan: z.number().int().optional(),
|
||||
}).transform((v) => {
|
||||
return remap$(v, {
|
||||
"Timespan": "timespan",
|
||||
});
|
||||
timespan: z.number().int().optional(),
|
||||
});
|
||||
|
||||
/** @internal */
|
||||
export type GetBandwidthStatisticsRequest$Outbound = {
|
||||
Timespan?: number | undefined;
|
||||
timespan?: number | undefined;
|
||||
};
|
||||
|
||||
/** @internal */
|
||||
@@ -101,10 +97,6 @@ export const GetBandwidthStatisticsRequest$outboundSchema: z.ZodType<
|
||||
GetBandwidthStatisticsRequest
|
||||
> = z.object({
|
||||
timespan: z.number().int().optional(),
|
||||
}).transform((v) => {
|
||||
return remap$(v, {
|
||||
timespan: "Timespan",
|
||||
});
|
||||
});
|
||||
|
||||
/**
|
||||
|
||||
@@ -56,6 +56,7 @@ export enum GetLibraryItemsQueryParamType {
|
||||
TvShow = 2,
|
||||
Season = 3,
|
||||
Episode = 4,
|
||||
Audio = 8,
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -755,7 +756,7 @@ export type GetLibraryItemsMediaContainer = {
|
||||
viewGroup: string;
|
||||
viewMode?: number | undefined;
|
||||
mixedParents?: boolean | undefined;
|
||||
metadata: Array<GetLibraryItemsMetadata>;
|
||||
metadata?: Array<GetLibraryItemsMetadata> | undefined;
|
||||
/**
|
||||
* The Meta object is only included in the response if the `includeMeta` parameter is set to `1`.
|
||||
*
|
||||
@@ -2937,7 +2938,8 @@ export const GetLibraryItemsMediaContainer$inboundSchema: z.ZodType<
|
||||
viewGroup: z.string(),
|
||||
viewMode: z.number().int().optional(),
|
||||
mixedParents: z.boolean().optional(),
|
||||
Metadata: z.array(z.lazy(() => GetLibraryItemsMetadata$inboundSchema)),
|
||||
Metadata: z.array(z.lazy(() => GetLibraryItemsMetadata$inboundSchema))
|
||||
.optional(),
|
||||
Meta: z.lazy(() => GetLibraryItemsMeta$inboundSchema).optional(),
|
||||
}).transform((v) => {
|
||||
return remap$(v, {
|
||||
@@ -2971,7 +2973,7 @@ export type GetLibraryItemsMediaContainer$Outbound = {
|
||||
viewGroup: string;
|
||||
viewMode?: number | undefined;
|
||||
mixedParents?: boolean | undefined;
|
||||
Metadata: Array<GetLibraryItemsMetadata$Outbound>;
|
||||
Metadata?: Array<GetLibraryItemsMetadata$Outbound> | undefined;
|
||||
Meta?: GetLibraryItemsMeta$Outbound | undefined;
|
||||
};
|
||||
|
||||
@@ -3003,7 +3005,8 @@ export const GetLibraryItemsMediaContainer$outboundSchema: z.ZodType<
|
||||
viewGroup: z.string(),
|
||||
viewMode: z.number().int().optional(),
|
||||
mixedParents: z.boolean().optional(),
|
||||
metadata: z.array(z.lazy(() => GetLibraryItemsMetadata$outboundSchema)),
|
||||
metadata: z.array(z.lazy(() => GetLibraryItemsMetadata$outboundSchema))
|
||||
.optional(),
|
||||
meta: z.lazy(() => GetLibraryItemsMeta$outboundSchema).optional(),
|
||||
}).transform((v) => {
|
||||
return remap$(v, {
|
||||
|
||||
@@ -21,6 +21,7 @@ export enum GetPlaylistContentsQueryParamType {
|
||||
TvShow = 2,
|
||||
Season = 3,
|
||||
Episode = 4,
|
||||
Audio = 8,
|
||||
}
|
||||
|
||||
export type GetPlaylistContentsRequest = {
|
||||
|
||||
@@ -21,6 +21,7 @@ export enum Type {
|
||||
TvShow = 2,
|
||||
Season = 3,
|
||||
Episode = 4,
|
||||
Audio = 8,
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -20,6 +20,7 @@ export enum QueryParamType {
|
||||
TvShow = 2,
|
||||
Season = 3,
|
||||
Episode = 4,
|
||||
Audio = 8,
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user