From 8a2d3e04abc6d3975cd815f1e4ce2ee7f614a1f7 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 14 Nov 2024 00:11:57 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.405.6 --- .speakeasy/gen.lock | 9 ++++++--- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 10 +++++----- RELEASES.md | 12 +++++++++++- jsr.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- src/funcs/statisticsGetBandwidthStatistics.ts | 2 +- src/funcs/statisticsGetResourcesStatistics.ts | 2 +- src/funcs/statisticsGetStatistics.ts | 2 +- src/lib/config.ts | 4 ++-- src/sdk/models/operations/getbandwidthstatistics.ts | 12 ++---------- src/sdk/models/operations/getresourcesstatistics.ts | 12 ++---------- src/sdk/models/operations/getstatistics.ts | 12 ++---------- 14 files changed, 38 insertions(+), 49 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index a3409bc7..a9515f91 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 16f22cbf-f23f-4419-8924-3a4b06381947 management: - docChecksum: af45c1ae70f7fc6589adb3f8075cb275 + docChecksum: 2554ade61ed4d42b8e095168765d7dc0 docVersion: 0.0.3 speakeasyVersion: 1.405.6 generationVersion: 2.428.1 - releaseVersion: 0.28.0 - configChecksum: 1558fe481c2d07382c2fdc43c87b9baf + 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": []}} diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index aeed5f48..906bb8b3 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: true typescript: - version: 0.28.0 + version: 0.30.0 additionalDependencies: dependencies: {} devDependencies: {} diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 2da457a9..ad0455e8 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -9,8 +9,8 @@ sources: - main plexapi: sourceNamespace: plexapi - sourceRevisionDigest: sha256:15e040d800921ded49cf84650ef2bc8fb1acf32c885ee193c42e838d754bf345 - sourceBlobDigest: sha256:c178be2b4bfefb37d76c0fdaef37c51f9b6ab1410422d3698a41bb6a8d79a79f + sourceRevisionDigest: sha256:37c6bfb15f4154eb89b112465107f20757411f22bd1cc7d0a04335df7127fcb4 + sourceBlobDigest: sha256:290473ebc909cada80ff428c685b897f4621cf121397e1417355e06d334e7206 tags: - latest - main @@ -18,10 +18,10 @@ targets: plexjs: source: plexapi sourceNamespace: plexapi - sourceRevisionDigest: sha256:15e040d800921ded49cf84650ef2bc8fb1acf32c885ee193c42e838d754bf345 - sourceBlobDigest: sha256:c178be2b4bfefb37d76c0fdaef37c51f9b6ab1410422d3698a41bb6a8d79a79f + sourceRevisionDigest: sha256:37c6bfb15f4154eb89b112465107f20757411f22bd1cc7d0a04335df7127fcb4 + sourceBlobDigest: sha256:290473ebc909cada80ff428c685b897f4621cf121397e1417355e06d334e7206 codeSamplesNamespace: code-samples-typescript-plexjs - codeSamplesRevisionDigest: sha256:5c54699020b321aaa58525ef206ddf19e67e8cd6eb452f7a064169fdef2170a9 + codeSamplesRevisionDigest: sha256:1360b0489d1911ecbe6a0e2bcea617dc8c8d8cba49f2d3b505cef056dd668081 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index 1afa772c..679d81b4 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1128,4 +1128,14 @@ Based on: ### Generated - [typescript v0.28.0] . ### Releases -- [NPM v0.28.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.28.0 - . \ No newline at end of file +- [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 - . \ No newline at end of file diff --git a/jsr.json b/jsr.json index 83fcfe1e..e77e7371 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "@lukehagar/plexjs", - "version": "0.28.0", + "version": "0.30.0", "exports": { ".": "./src/index.ts", "./sdk/models/errors": "./src/sdk/models/errors/index.ts", diff --git a/package-lock.json b/package-lock.json index 0c0d9567..5a4671f5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@lukehagar/plexjs", - "version": "0.28.0", + "version": "0.30.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@lukehagar/plexjs", - "version": "0.28.0", + "version": "0.30.0", "devDependencies": { "@typescript-eslint/eslint-plugin": "^7.7.1", "@typescript-eslint/parser": "^7.7.1", diff --git a/package.json b/package.json index d6a4e898..8734330e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lukehagar/plexjs", - "version": "0.28.0", + "version": "0.30.0", "author": "LukeHagar", "main": "./index.js", "sideEffects": false, diff --git a/src/funcs/statisticsGetBandwidthStatistics.ts b/src/funcs/statisticsGetBandwidthStatistics.ts index a368e002..fbddca01 100644 --- a/src/funcs/statisticsGetBandwidthStatistics.ts +++ b/src/funcs/statisticsGetBandwidthStatistics.ts @@ -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({ diff --git a/src/funcs/statisticsGetResourcesStatistics.ts b/src/funcs/statisticsGetResourcesStatistics.ts index 60eab53c..befc1475 100644 --- a/src/funcs/statisticsGetResourcesStatistics.ts +++ b/src/funcs/statisticsGetResourcesStatistics.ts @@ -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({ diff --git a/src/funcs/statisticsGetStatistics.ts b/src/funcs/statisticsGetStatistics.ts index d87de25f..2a42cd82 100644 --- a/src/funcs/statisticsGetStatistics.ts +++ b/src/funcs/statisticsGetStatistics.ts @@ -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({ diff --git a/src/lib/config.ts b/src/lib/config.ts index 4c0c3f59..25fc40b5 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -115,7 +115,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "0.0.3", - sdkVersion: "0.28.0", + sdkVersion: "0.30.0", genVersion: "2.428.1", - userAgent: "speakeasy-sdk/typescript 0.28.0 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; diff --git a/src/sdk/models/operations/getbandwidthstatistics.ts b/src/sdk/models/operations/getbandwidthstatistics.ts index 09625585..4dc4f592 100644 --- a/src/sdk/models/operations/getbandwidthstatistics.ts +++ b/src/sdk/models/operations/getbandwidthstatistics.ts @@ -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", - }); }); /** diff --git a/src/sdk/models/operations/getresourcesstatistics.ts b/src/sdk/models/operations/getresourcesstatistics.ts index 252a2fae..cf7b70a5 100644 --- a/src/sdk/models/operations/getresourcesstatistics.ts +++ b/src/sdk/models/operations/getresourcesstatistics.ts @@ -61,16 +61,12 @@ export const GetResourcesStatisticsRequest$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 GetResourcesStatisticsRequest$Outbound = { - Timespan?: number | undefined; + timespan?: number | undefined; }; /** @internal */ @@ -80,10 +76,6 @@ export const GetResourcesStatisticsRequest$outboundSchema: z.ZodType< GetResourcesStatisticsRequest > = z.object({ timespan: z.number().int().optional(), -}).transform((v) => { - return remap$(v, { - timespan: "Timespan", - }); }); /** diff --git a/src/sdk/models/operations/getstatistics.ts b/src/sdk/models/operations/getstatistics.ts index be89bae3..46e43edf 100644 --- a/src/sdk/models/operations/getstatistics.ts +++ b/src/sdk/models/operations/getstatistics.ts @@ -83,16 +83,12 @@ export const GetStatisticsRequest$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 GetStatisticsRequest$Outbound = { - Timespan?: number | undefined; + timespan?: number | undefined; }; /** @internal */ @@ -102,10 +98,6 @@ export const GetStatisticsRequest$outboundSchema: z.ZodType< GetStatisticsRequest > = z.object({ timespan: z.number().int().optional(), -}).transform((v) => { - return remap$(v, { - timespan: "Timespan", - }); }); /**