ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.231.1

This commit is contained in:
speakeasybot
2024-04-02 00:28:18 +00:00
parent eeadc8c329
commit 0d73a769fb
7 changed files with 33 additions and 24 deletions

View File

@@ -3,10 +3,10 @@ id: 16f22cbf-f23f-4419-8924-3a4b06381947
management:
docChecksum: a91eaf9ec1e6a3a6f4bf0571f5b18bae
docVersion: 0.0.3
speakeasyVersion: 1.228.1
generationVersion: 2.292.0
releaseVersion: 0.12.0
configChecksum: 96c0b6a9e85b7682aef0863ada1e00a7
speakeasyVersion: 1.231.1
generationVersion: 2.295.1
releaseVersion: 0.12.1
configChecksum: 8d21b1fe71b049ddde2e7694c17c983b
repoURL: https://github.com/LukeHagar/plexjs.git
repoSubDirectory: .
installationURL: https://github.com/LukeHagar/plexjs
@@ -16,7 +16,7 @@ features:
constsAndDefaults: 0.1.5
core: 3.7.0
flattening: 2.81.1
globalSecurity: 2.82.8
globalSecurity: 2.82.9
globalServerURLs: 2.82.4
globals: 2.82.1
methodServerURLs: 2.82.1

View File

@@ -288,4 +288,14 @@ Based on:
### Generated
- [typescript v0.12.0] .
### Releases
- [NPM v0.12.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.12.0 - .
- [NPM v0.12.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.12.0 - .
## 2024-04-02 00:26:20
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.231.1 (2.295.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.12.1] .
### Releases
- [NPM v0.12.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.12.1 - .

View File

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

4
package-lock.json generated
View File

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

View File

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

View File

@@ -87,7 +87,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
export const SDK_METADATA = Object.freeze({
language: "typescript",
openapiDocVersion: "0.0.3",
sdkVersion: "0.12.0",
genVersion: "2.292.0",
userAgent: "speakeasy-sdk/typescript 0.12.0 2.292.0 0.0.3 @lukehagar/plexjs",
sdkVersion: "0.12.1",
genVersion: "2.295.1",
userAgent: "speakeasy-sdk/typescript 0.12.1 2.295.1 0.0.3 @lukehagar/plexjs",
});

View File

@@ -89,17 +89,16 @@ export function resolveSecurity(...options: SecurityInput[][]): SecurityState |
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 (o.value == null) {
return false;
} else if (o.type === "http:basic") {
return o.value.username != null || o.value.password != null;
} else if (typeof o.value === "string") {
return !!o.value;
} else {
throw new Error(
`Unrecognized security type: ${o.type} (value type: ${typeof o.value})`
);
}
});
});