Compare commits

...

5 Commits

Author SHA1 Message Date
speakeasybot
6c314bea48 ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.213.0 2024-03-20 00:27:47 +00:00
speakeasybot
9e28d57f15 ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.209.3 2024-03-15 15:04:11 +00:00
Luke Hagar
9da9389549 migrated speakeasy to v15 2024-03-15 09:56:46 -05:00
speakeasy-github
fd886229c2 chore: update dependencies 2024-03-14 00:27:53 +00:00
speakeasybot
8a8615f241 ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.209.2 2024-03-14 00:26:50 +00:00
68 changed files with 166 additions and 63 deletions

View File

@@ -1,31 +1,26 @@
name: Generate name: Generate
permissions: permissions:
checks: write checks: write
contents: write contents: write
pull-requests: write pull-requests: write
statuses: write statuses: write
"on": "on":
workflow_dispatch: workflow_dispatch:
inputs: inputs:
force: force:
description: Force generation of SDKs description: Force generation of SDKs
type: boolean type: boolean
default: false default: false
schedule: schedule:
- cron: 0 0 * * * - cron: 0 0 * * *
jobs: jobs:
generate: generate:
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14 uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
with: with:
force: ${{ github.event.inputs.force }} force: ${{ github.event.inputs.force }}
languages: | mode: direct
- typescript speakeasy_version: latest
mode: direct secrets:
openapi_docs: | github_access_token: ${{ secrets.GITHUB_TOKEN }}
- https://raw.githubusercontent.com/LukeHagar/plex-api-spec/main/plex-media-server-spec-dereferenced.yaml npm_token: ${{ secrets.NPM_TOKEN }}
publish_typescript: true speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
speakeasy_version: latest
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
npm_token: ${{ secrets.NPM_TOKEN }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

View File

@@ -3,10 +3,10 @@ id: 16f22cbf-f23f-4419-8924-3a4b06381947
management: management:
docChecksum: e34dac84738ebf2d447ea2b9055a6eeb docChecksum: e34dac84738ebf2d447ea2b9055a6eeb
docVersion: 0.0.3 docVersion: 0.0.3
speakeasyVersion: 1.207.1 speakeasyVersion: 1.213.0
generationVersion: 2.280.6 generationVersion: 2.283.1
releaseVersion: 0.10.1 releaseVersion: 0.10.4
configChecksum: 726b0f7d4f020a007a232a1cfe026ef0 configChecksum: 79121d7caddd1a69343bca5df91689af
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,13 +14,13 @@ management:
features: features:
typescript: typescript:
constsAndDefaults: 0.1.5 constsAndDefaults: 0.1.5
core: 3.6.1 core: 3.6.3
flattening: 2.81.1 flattening: 2.81.1
globalSecurity: 2.82.4 globalSecurity: 2.82.8
globalServerURLs: 2.82.4 globalServerURLs: 2.82.4
methodServerURLs: 2.82.1 methodServerURLs: 2.82.1
nameOverrides: 2.81.1 nameOverrides: 2.81.1
responseFormat: 0.2.1 responseFormat: 0.2.2
generatedFiles: generatedFiles:
- src/sdk/server.ts - src/sdk/server.ts
- src/sdk/media.ts - src/sdk/media.ts

12
.speakeasy/workflow.yaml Normal file
View File

@@ -0,0 +1,12 @@
workflowVersion: 1.0.0
sources:
my-source:
inputs:
- location: https://raw.githubusercontent.com/LukeHagar/plex-api-spec/main/plex-media-server-spec-dereferenced.yaml
targets:
plexjs:
target: typescript
source: my-source
publish:
npm:
token: $NPM_TOKEN

View File

@@ -239,3 +239,33 @@ Based on:
- [typescript v0.10.1] . - [typescript v0.10.1] .
### Releases ### Releases
- [NPM v0.10.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.10.1 - . - [NPM v0.10.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.10.1 - .
## 2024-03-14 00:25:24
### Changes
Based on:
- OpenAPI Doc 0.0.3
- Speakeasy CLI 1.209.2 (2.281.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.10.2] .
### Releases
- [NPM v0.10.2] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.10.2 - .
## 2024-03-15 15:02:11
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.209.3 (2.281.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.10.3] .
### Releases
- [NPM v0.10.3] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.10.3 - .
## 2024-03-20 00:25:49
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.213.0 (2.283.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.10.4] .
### Releases
- [NPM v0.10.4] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.10.4 - .

View File

@@ -12,7 +12,7 @@ generation:
auth: auth:
oAuth2ClientCredentialsEnabled: false oAuth2ClientCredentialsEnabled: false
typescript: typescript:
version: 0.10.1 version: 0.10.4
additionalDependencies: additionalDependencies:
dependencies: {} dependencies: {}
devDependencies: {} devDependencies: {}

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "@lukehagar/plexjs", "name": "@lukehagar/plexjs",
"version": "0.10.1", "version": "0.10.4",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lukehagar/plexjs", "name": "@lukehagar/plexjs",
"version": "0.10.1", "version": "0.10.4",
"devDependencies": { "devDependencies": {
"@types/jsonpath": "^0.2.4", "@types/jsonpath": "^0.2.4",
"@typescript-eslint/eslint-plugin": "^6.13.2", "@typescript-eslint/eslint-plugin": "^6.13.2",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@lukehagar/plexjs", "name": "@lukehagar/plexjs",
"version": "0.10.1", "version": "0.10.4",
"author": "LukeHagar", "author": "LukeHagar",
"main": "./index.js", "main": "./index.js",
"sideEffects": false, "sideEffects": false,

View File

@@ -82,7 +82,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
export const SDK_METADATA = Object.freeze({ export const SDK_METADATA = Object.freeze({
language: "typescript", language: "typescript",
openapiDocVersion: "0.0.3", openapiDocVersion: "0.0.3",
sdkVersion: "0.10.1", sdkVersion: "0.10.4",
genVersion: "2.280.6", genVersion: "2.283.1",
userAgent: "speakeasy-sdk/typescript 0.10.1 2.280.6 0.0.3 @lukehagar/plexjs", userAgent: "speakeasy-sdk/typescript 0.10.4 2.283.1 0.0.3 @lukehagar/plexjs",
}); });

View File

@@ -71,10 +71,10 @@ export class ClientSDK {
const headers = new Headers(opHeaders); const headers = new Headers(opHeaders);
const username = security?.basic.username || ""; const username = security?.basic.username;
const password = security?.basic.password || ""; const password = security?.basic.password;
if (username) { if (username != null || password != null) {
const encoded = stringToBase64([username, password].join(":")); const encoded = stringToBase64([username || "", password || ""].join(":"));
headers.set("Authorization", `Basic ${encoded}`); headers.set("Authorization", `Basic ${encoded}`);
} }

View File

@@ -30,21 +30,15 @@ export class SecurityError extends Error {
} }
export type SecurityState = { export type SecurityState = {
basic: { username: string; password?: string }; basic: { username?: string | undefined; password?: string | undefined };
headers: Record<string, string>; headers: Record<string, string>;
queryParams: Record<string, string>; queryParams: Record<string, string>;
cookies: Record<string, string>; cookies: Record<string, string>;
}; };
type SecurityInputBasicPacked = {
type: "http:basic";
value: { username: string; password?: string } | null | undefined;
};
type SecurityInputBasic = { type SecurityInputBasic = {
type: "http:basic"; type: "http:basic";
value: string | null | undefined; value: { username?: string | undefined; password?: string | undefined } | null | undefined;
fieldName: "username" | "password";
}; };
type SecurityInputBearer = { type SecurityInputBearer = {
@@ -79,7 +73,6 @@ type SecurityInputOAuth2ClientCredentials = {
export type SecurityInput = export type SecurityInput =
| SecurityInputBasic | SecurityInputBasic
| SecurityInputBasicPacked
| SecurityInputBearer | SecurityInputBearer
| SecurityInputAPIKey | SecurityInputAPIKey
| SecurityInputOAuth2 | SecurityInputOAuth2
@@ -94,7 +87,22 @@ export function resolveSecurity(...options: SecurityInput[][]): SecurityState |
cookies: {}, cookies: {},
}; };
const option = options.find((opts) => opts.every((o) => Boolean(o.value))); const option = options.find((opts) => {
return opts.every((o) => {
switch (true) {
case o.value == null:
return false;
case o.type === "http:basic":
return o.value.username != null || o.value.password != null;
case typeof o.value === "string":
return !!o.value;
default:
throw new Error(
`Unrecognized security type: ${o.type} (value type: ${typeof o.value})`
);
}
});
});
if (option == null) { if (option == null) {
return null; return null;
} }
@@ -139,16 +147,12 @@ export function resolveSecurity(...options: SecurityInput[][]): SecurityState |
return state; return state;
} }
function applyBasic(state: SecurityState, spec: SecurityInputBasic | SecurityInputBasicPacked) { function applyBasic(state: SecurityState, spec: SecurityInputBasic) {
if (spec.value == null) { if (spec.value == null) {
return; return;
} }
if ("fieldName" in spec) { state.basic = spec.value;
state.basic[spec.fieldName] = spec.value;
} else {
state.basic = spec.value;
}
} }
function applyBearer( function applyBearer(
@@ -168,6 +172,10 @@ function applyBearer(
} }
export function resolveGlobalSecurity(security: Partial<components.Security> | null | undefined) { export function resolveGlobalSecurity(security: Partial<components.Security> | null | undefined) {
return resolveSecurity([ return resolveSecurity([
{ value: security?.accessToken, fieldName: "X-Plex-Token", type: "apiKey:header" }, {
fieldName: "X-Plex-Token",
type: "apiKey:header",
value: security?.accessToken,
},
]); ]);
} }

View File

@@ -116,6 +116,7 @@ export namespace AddPlaylistContentsResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<AddPlaylistContentsErrors$.Outbound> | undefined; errors?: Array<AddPlaylistContentsErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace ApplyUpdatesResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<ApplyUpdatesErrors$.Outbound> | undefined; errors?: Array<ApplyUpdatesErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -119,6 +119,7 @@ export namespace CancelServerActivitiesResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<CancelServerActivitiesErrors$.Outbound> | undefined; errors?: Array<CancelServerActivitiesErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace CheckForUpdatesResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<CheckForUpdatesErrors$.Outbound> | undefined; errors?: Array<CheckForUpdatesErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -119,6 +119,7 @@ export namespace ClearPlaylistContentsResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<ClearPlaylistContentsErrors$.Outbound> | undefined; errors?: Array<ClearPlaylistContentsErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace CreatePlaylistResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<CreatePlaylistErrors$.Outbound> | undefined; errors?: Array<CreatePlaylistErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace DeleteLibraryResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<DeleteLibraryErrors$.Outbound> | undefined; errors?: Array<DeleteLibraryErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace DeletePlaylistResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<DeletePlaylistErrors$.Outbound> | undefined; errors?: Array<DeletePlaylistErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace EnablePaperTrailResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<EnablePaperTrailErrors$.Outbound> | undefined; errors?: Array<EnablePaperTrailErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -116,6 +116,7 @@ export namespace GetAvailableClientsResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetAvailableClientsErrors$.Outbound> | undefined; errors?: Array<GetAvailableClientsErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace GetButlerTasksResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetButlerTasksErrors$.Outbound> | undefined; errors?: Array<GetButlerTasksErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace GetDevicesResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetDevicesErrors$.Outbound> | undefined; errors?: Array<GetDevicesErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace GetFileHashResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetFileHashErrors$.Outbound> | undefined; errors?: Array<GetFileHashErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace GetGlobalHubsResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetGlobalHubsErrors$.Outbound> | undefined; errors?: Array<GetGlobalHubsErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace GetLibrariesResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetLibrariesErrors$.Outbound> | undefined; errors?: Array<GetLibrariesErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace GetLibraryResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetLibraryErrors$.Outbound> | undefined; errors?: Array<GetLibraryErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace GetLibraryHubsResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetLibraryHubsErrors$.Outbound> | undefined; errors?: Array<GetLibraryHubsErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace GetMetadataResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetMetadataErrors$.Outbound> | undefined; errors?: Array<GetMetadataErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -116,6 +116,7 @@ export namespace GetMetadataChildrenResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetMetadataChildrenErrors$.Outbound> | undefined; errors?: Array<GetMetadataChildrenErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace GetMyPlexAccountResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetMyPlexAccountErrors$.Outbound> | undefined; errors?: Array<GetMyPlexAccountErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace GetOnDeckResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetOnDeckErrors$.Outbound> | undefined; errors?: Array<GetOnDeckErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace GetPinResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetPinErrors$.Outbound> | undefined; errors?: Array<GetPinErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace GetPlaylistResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetPlaylistErrors$.Outbound> | undefined; errors?: Array<GetPlaylistErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -116,6 +116,7 @@ export namespace GetPlaylistContentsResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetPlaylistContentsErrors$.Outbound> | undefined; errors?: Array<GetPlaylistContentsErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace GetPlaylistsResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetPlaylistsErrors$.Outbound> | undefined; errors?: Array<GetPlaylistsErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace GetRecentlyAddedResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetRecentlyAddedErrors$.Outbound> | undefined; errors?: Array<GetRecentlyAddedErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace GetResizedPhotoResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetResizedPhotoErrors$.Outbound> | undefined; errors?: Array<GetResizedPhotoErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace GetSearchResultsResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetSearchResultsErrors$.Outbound> | undefined; errors?: Array<GetSearchResultsErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -116,6 +116,7 @@ export namespace GetServerActivitiesResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetServerActivitiesErrors$.Outbound> | undefined; errors?: Array<GetServerActivitiesErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -119,6 +119,7 @@ export namespace GetServerCapabilitiesResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<Errors$.Outbound> | undefined; errors?: Array<Errors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace GetServerIdentityResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetServerIdentityErrors$.Outbound> | undefined; errors?: Array<GetServerIdentityErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace GetServerListResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetServerListErrors$.Outbound> | undefined; errors?: Array<GetServerListErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -116,6 +116,7 @@ export namespace GetServerPreferencesResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetServerPreferencesErrors$.Outbound> | undefined; errors?: Array<GetServerPreferencesErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace GetSessionHistoryResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetSessionHistoryErrors$.Outbound> | undefined; errors?: Array<GetSessionHistoryErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace GetSessionsResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetSessionsErrors$.Outbound> | undefined; errors?: Array<GetSessionsErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -129,6 +129,7 @@ export namespace GetSourceConnectionInformationResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetSourceConnectionInformationErrors$.Outbound> | undefined; errors?: Array<GetSourceConnectionInformationErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace GetStatisticsResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetStatisticsErrors$.Outbound> | undefined; errors?: Array<GetStatisticsErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace GetTimelineResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetTimelineErrors$.Outbound> | undefined; errors?: Array<GetTimelineErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace GetTokenResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetTokenErrors$.Outbound> | undefined; errors?: Array<GetTokenErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -116,6 +116,7 @@ export namespace GetTranscodeSessionsResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetTranscodeSessionsErrors$.Outbound> | undefined; errors?: Array<GetTranscodeSessionsErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace GetTransientTokenResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetTransientTokenErrors$.Outbound> | undefined; errors?: Array<GetTransientTokenErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace GetUpdateStatusResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<GetUpdateStatusErrors$.Outbound> | undefined; errors?: Array<GetUpdateStatusErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace LogLineResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<LogLineErrors$.Outbound> | undefined; errors?: Array<LogLineErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace LogMultiLineResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<LogMultiLineErrors$.Outbound> | undefined; errors?: Array<LogMultiLineErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace MarkPlayedResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<MarkPlayedErrors$.Outbound> | undefined; errors?: Array<MarkPlayedErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace MarkUnplayedResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<MarkUnplayedErrors$.Outbound> | undefined; errors?: Array<MarkUnplayedErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace PerformSearchResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<PerformSearchErrors$.Outbound> | undefined; errors?: Array<PerformSearchErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace PerformVoiceSearchResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<PerformVoiceSearchErrors$.Outbound> | undefined; errors?: Array<PerformVoiceSearchErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace RefreshLibraryResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<RefreshLibraryErrors$.Outbound> | undefined; errors?: Array<RefreshLibraryErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace StartAllTasksResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<StartAllTasksErrors$.Outbound> | undefined; errors?: Array<StartAllTasksErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace StartTaskResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<StartTaskErrors$.Outbound> | undefined; errors?: Array<StartTaskErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -120,6 +120,7 @@ export namespace StartUniversalTranscodeResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<StartUniversalTranscodeErrors$.Outbound> | undefined; errors?: Array<StartUniversalTranscodeErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace StopAllTasksResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<StopAllTasksErrors$.Outbound> | undefined; errors?: Array<StopAllTasksErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace StopTaskResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<StopTaskErrors$.Outbound> | undefined; errors?: Array<StopTaskErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -116,6 +116,7 @@ export namespace StopTranscodeSessionResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<StopTranscodeSessionErrors$.Outbound> | undefined; errors?: Array<StopTranscodeSessionErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace UpdatePlaylistResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<UpdatePlaylistErrors$.Outbound> | undefined; errors?: Array<UpdatePlaylistErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace UpdatePlayProgressResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<UpdatePlayProgressErrors$.Outbound> | undefined; errors?: Array<UpdatePlayProgressErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;

View File

@@ -115,6 +115,7 @@ export namespace UploadPlaylistResponseBody$ {
...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }), ...(v.RawResponse === undefined ? null : { rawResponse: v.RawResponse }),
}); });
}); });
export type Outbound = { export type Outbound = {
errors?: Array<UploadPlaylistErrors$.Outbound> | undefined; errors?: Array<UploadPlaylistErrors$.Outbound> | undefined;
RawResponse?: never | undefined; RawResponse?: never | undefined;