mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 12:37:46 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.277.8
This commit is contained in:
@@ -3,10 +3,10 @@ id: 16f22cbf-f23f-4419-8924-3a4b06381947
|
|||||||
management:
|
management:
|
||||||
docChecksum: 7a43cd3413d535205cfaee20a4b6a250
|
docChecksum: 7a43cd3413d535205cfaee20a4b6a250
|
||||||
docVersion: 0.0.3
|
docVersion: 0.0.3
|
||||||
speakeasyVersion: 1.277.0
|
speakeasyVersion: 1.277.8
|
||||||
generationVersion: 2.317.0
|
generationVersion: 2.319.10
|
||||||
releaseVersion: 0.14.1
|
releaseVersion: 0.14.2
|
||||||
configChecksum: 398598dba425aa0436966c866c6282c9
|
configChecksum: 2565798d4bdc6007bc5296ad6dc6ee55
|
||||||
repoURL: https://github.com/LukeHagar/plexjs.git
|
repoURL: https://github.com/LukeHagar/plexjs.git
|
||||||
repoSubDirectory: .
|
repoSubDirectory: .
|
||||||
installationURL: https://github.com/LukeHagar/plexjs
|
installationURL: https://github.com/LukeHagar/plexjs
|
||||||
@@ -14,7 +14,7 @@ management:
|
|||||||
features:
|
features:
|
||||||
typescript:
|
typescript:
|
||||||
constsAndDefaults: 0.1.5
|
constsAndDefaults: 0.1.5
|
||||||
core: 3.9.2
|
core: 3.9.3
|
||||||
flattening: 2.81.1
|
flattening: 2.81.1
|
||||||
globalSecurity: 2.82.9
|
globalSecurity: 2.82.9
|
||||||
globalServerURLs: 2.82.4
|
globalServerURLs: 2.82.4
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ generation:
|
|||||||
auth:
|
auth:
|
||||||
oAuth2ClientCredentialsEnabled: false
|
oAuth2ClientCredentialsEnabled: false
|
||||||
typescript:
|
typescript:
|
||||||
version: 0.14.1
|
version: 0.14.2
|
||||||
additionalDependencies:
|
additionalDependencies:
|
||||||
dependencies: {}
|
dependencies: {}
|
||||||
devDependencies: {}
|
devDependencies: {}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
speakeasyVersion: 1.277.4
|
speakeasyVersion: 1.277.8
|
||||||
sources:
|
sources:
|
||||||
my-source: {}
|
my-source: {}
|
||||||
targets:
|
targets:
|
||||||
|
|||||||
12
RELEASES.md
12
RELEASES.md
@@ -448,4 +448,14 @@ Based on:
|
|||||||
### Generated
|
### Generated
|
||||||
- [typescript v0.14.1] .
|
- [typescript v0.14.1] .
|
||||||
### Releases
|
### Releases
|
||||||
- [NPM v0.14.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.14.1 - .
|
- [NPM v0.14.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.14.1 - .
|
||||||
|
|
||||||
|
## 2024-05-03 00:27:14
|
||||||
|
### Changes
|
||||||
|
Based on:
|
||||||
|
- OpenAPI Doc
|
||||||
|
- Speakeasy CLI 1.277.8 (2.319.10) https://github.com/speakeasy-api/speakeasy
|
||||||
|
### Generated
|
||||||
|
- [typescript v0.14.2] .
|
||||||
|
### Releases
|
||||||
|
- [NPM v0.14.2] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.14.2 - .
|
||||||
1018
codeSamples.yaml
1018
codeSamples.yaml
File diff suppressed because it is too large
Load Diff
2
jsr.json
2
jsr.json
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
"name": "@lukehagar/plexjs",
|
"name": "@lukehagar/plexjs",
|
||||||
"version": "0.14.1",
|
"version": "0.14.2",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": "./src/index.ts",
|
".": "./src/index.ts",
|
||||||
"./models/errors": "./src/models/errors/index.ts",
|
"./models/errors": "./src/models/errors/index.ts",
|
||||||
|
|||||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@lukehagar/plexjs",
|
"name": "@lukehagar/plexjs",
|
||||||
"version": "0.14.1",
|
"version": "0.14.2",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@lukehagar/plexjs",
|
"name": "@lukehagar/plexjs",
|
||||||
"version": "0.14.1",
|
"version": "0.14.2",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jsonpath": "^0.2.4",
|
"@types/jsonpath": "^0.2.4",
|
||||||
"@typescript-eslint/eslint-plugin": "^7.7.1",
|
"@typescript-eslint/eslint-plugin": "^7.7.1",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@lukehagar/plexjs",
|
"name": "@lukehagar/plexjs",
|
||||||
"version": "0.14.1",
|
"version": "0.14.2",
|
||||||
"author": "LukeHagar",
|
"author": "LukeHagar",
|
||||||
"main": "./index.js",
|
"main": "./index.js",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|||||||
export const SDK_METADATA = {
|
export const SDK_METADATA = {
|
||||||
language: "typescript",
|
language: "typescript",
|
||||||
openapiDocVersion: "0.0.3",
|
openapiDocVersion: "0.0.3",
|
||||||
sdkVersion: "0.14.1",
|
sdkVersion: "0.14.2",
|
||||||
genVersion: "2.317.0",
|
genVersion: "2.319.10",
|
||||||
userAgent: "speakeasy-sdk/typescript 0.14.1 2.317.0 0.0.3 @lukehagar/plexjs",
|
userAgent: "speakeasy-sdk/typescript 0.14.2 2.319.10 0.0.3 @lukehagar/plexjs",
|
||||||
} as const;
|
} as const;
|
||||||
|
|||||||
@@ -9,7 +9,17 @@ export type Fetcher = (
|
|||||||
|
|
||||||
export type Awaitable<T> = T | Promise<T>;
|
export type Awaitable<T> = T | Promise<T>;
|
||||||
|
|
||||||
const DEFAULT_FETCHER: Fetcher = (input, init) => fetch(input, init);
|
const DEFAULT_FETCHER: Fetcher = (input, init) => {
|
||||||
|
// If input is a Request and init is undefined, Bun will discard the method,
|
||||||
|
// headers, body and other options that were set on the request object.
|
||||||
|
// Node.js and browers would ignore an undefined init value. This check is
|
||||||
|
// therefore needed for interop with Bun.
|
||||||
|
if (init == null) {
|
||||||
|
return fetch(input);
|
||||||
|
} else {
|
||||||
|
return fetch(input, init);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
export type RequestInput = {
|
export type RequestInput = {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -89,6 +89,7 @@ export class Activities extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -196,6 +197,7 @@ export class Activities extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
|
|||||||
@@ -109,6 +109,7 @@ export class Authentication extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
@@ -212,6 +213,7 @@ export class Authentication extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
|
|||||||
@@ -87,6 +87,7 @@ export class Butler extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -179,6 +180,7 @@ export class Butler extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
@@ -262,6 +264,7 @@ export class Butler extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
@@ -369,6 +372,7 @@ export class Butler extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, [200, 202])) {
|
if (this.matchStatusCode(response, [200, 202])) {
|
||||||
@@ -472,6 +476,7 @@ export class Butler extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
|
|||||||
@@ -111,6 +111,7 @@ export class Hubs extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -231,6 +232,7 @@ export class Hubs extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
|
|||||||
@@ -108,6 +108,7 @@ export class Library extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
@@ -191,6 +192,7 @@ export class Library extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -284,6 +286,7 @@ export class Library extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -439,6 +442,7 @@ export class Library extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -546,6 +550,7 @@ export class Library extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
@@ -674,6 +679,7 @@ export class Library extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -771,6 +777,7 @@ export class Library extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
@@ -899,6 +906,7 @@ export class Library extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -994,6 +1002,7 @@ export class Library extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -1104,6 +1113,7 @@ export class Library extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -1192,6 +1202,7 @@ export class Library extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
|
|||||||
@@ -116,6 +116,7 @@ export class Log extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
@@ -231,6 +232,7 @@ export class Log extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
@@ -314,6 +316,7 @@ export class Log extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
|
|||||||
@@ -105,6 +105,7 @@ export class Media extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
@@ -205,6 +206,7 @@ export class Media extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
@@ -312,6 +314,7 @@ export class Media extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
|
|||||||
@@ -112,6 +112,7 @@ export class Playlists extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -223,6 +224,7 @@ export class Playlists extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -332,6 +334,7 @@ export class Playlists extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -440,6 +443,7 @@ export class Playlists extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
@@ -555,6 +559,7 @@ export class Playlists extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
@@ -667,6 +672,7 @@ export class Playlists extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -775,6 +781,7 @@ export class Playlists extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
@@ -891,6 +898,7 @@ export class Playlists extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -1000,6 +1008,7 @@ export class Playlists extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
|
|||||||
@@ -107,6 +107,7 @@ export class Plex extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -216,6 +217,7 @@ export class Plex extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
|
|||||||
@@ -126,6 +126,7 @@ export class Search extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
@@ -239,6 +240,7 @@ export class Search extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
@@ -339,6 +341,7 @@ export class Search extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
|
|||||||
@@ -89,6 +89,7 @@ export class Server extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -178,6 +179,7 @@ export class Server extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -267,6 +269,7 @@ export class Server extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -354,6 +357,7 @@ export class Server extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -443,6 +447,7 @@ export class Server extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -530,6 +535,7 @@ export class Server extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -648,6 +654,7 @@ export class Server extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
@@ -730,6 +737,7 @@ export class Server extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
|
|||||||
@@ -87,6 +87,7 @@ export class Sessions extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -176,6 +177,7 @@ export class Sessions extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -265,6 +267,7 @@ export class Sessions extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -372,6 +375,7 @@ export class Sessions extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 204)) {
|
if (this.matchStatusCode(response, 204)) {
|
||||||
|
|||||||
@@ -108,6 +108,7 @@ export class Statistics extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
|
|||||||
@@ -87,6 +87,7 @@ export class Updater extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchResponse(response, 200, "application/json")) {
|
if (this.matchResponse(response, 200, "application/json")) {
|
||||||
@@ -195,6 +196,7 @@ export class Updater extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
@@ -302,6 +304,7 @@ export class Updater extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
|
|||||||
@@ -126,6 +126,7 @@ export class Video extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
@@ -280,6 +281,7 @@ export class Video extends ClientSDK {
|
|||||||
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
ContentType: response.headers.get("content-type") ?? "application/octet-stream",
|
||||||
StatusCode: response.status,
|
StatusCode: response.status,
|
||||||
RawResponse: response,
|
RawResponse: response,
|
||||||
|
Headers: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.matchStatusCode(response, 200)) {
|
if (this.matchStatusCode(response, 200)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user