ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.405.6

This commit is contained in:
speakeasybot
2024-11-14 00:11:57 +00:00
parent 6c8a73ae84
commit 8a2d3e04ab
14 changed files with 38 additions and 49 deletions

View File

@@ -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": []}}

View File

@@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
typescript:
version: 0.28.0
version: 0.30.0
additionalDependencies:
dependencies: {}
devDependencies: {}

View File

@@ -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

View File

@@ -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 - .
- [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 - .

View File

@@ -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",

4
package-lock.json generated
View File

@@ -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",

View File

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

View File

@@ -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({

View File

@@ -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({

View File

@@ -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({

View File

@@ -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;

View File

@@ -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",
});
});
/**

View File

@@ -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",
});
});
/**

View File

@@ -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",
});
});
/**