ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.596.0

This commit is contained in:
speakeasybot
2025-08-02 00:33:32 +00:00
parent 8dbe73c1db
commit 83420d4364
271 changed files with 4902 additions and 3553 deletions

View File

@@ -13,6 +13,7 @@
### Example Usage
<!-- UsageSnippet language="typescript" operationID="get_/api/v1/config/downloadclient/{id}" method="get" path="/api/v1/config/downloadclient/{id}" -->
```typescript
import { Prowlarr } from "prowlarr";
@@ -27,7 +28,6 @@ async function run() {
id: 300484,
});
// Handle the result
console.log(result);
}
@@ -54,15 +54,12 @@ async function run() {
const res = await downloadClientConfigGetApiV1ConfigDownloadclientId(prowlarr, {
id: 300484,
});
if (!res.ok) {
throw res.error;
if (res.ok) {
const { value: result } = res;
console.log(result);
} else {
console.log("downloadClientConfigGetApiV1ConfigDownloadclientId failed:", res.error);
}
const { value: result } = res;
// Handle the result
console.log(result);
}
run();
@@ -91,6 +88,7 @@ run();
### Example Usage
<!-- UsageSnippet language="typescript" operationID="put_/api/v1/config/downloadclient/{id}" method="put" path="/api/v1/config/downloadclient/{id}" -->
```typescript
import { Prowlarr } from "prowlarr";
@@ -105,7 +103,6 @@ async function run() {
id: "<id>",
});
// Handle the result
console.log(result);
}
@@ -132,15 +129,12 @@ async function run() {
const res = await downloadClientConfigPutApiV1ConfigDownloadclientId(prowlarr, {
id: "<id>",
});
if (!res.ok) {
throw res.error;
if (res.ok) {
const { value: result } = res;
console.log(result);
} else {
console.log("downloadClientConfigPutApiV1ConfigDownloadclientId failed:", res.error);
}
const { value: result } = res;
// Handle the result
console.log(result);
}
run();
@@ -169,6 +163,7 @@ run();
### Example Usage
<!-- UsageSnippet language="typescript" operationID="get_/api/v1/config/downloadclient" method="get" path="/api/v1/config/downloadclient" -->
```typescript
import { Prowlarr } from "prowlarr";
@@ -181,7 +176,6 @@ const prowlarr = new Prowlarr({
async function run() {
const result = await prowlarr.downloadClientConfig.getApiV1ConfigDownloadclient();
// Handle the result
console.log(result);
}
@@ -206,15 +200,12 @@ const prowlarr = new ProwlarrCore({
async function run() {
const res = await downloadClientConfigGetApiV1ConfigDownloadclient(prowlarr);
if (!res.ok) {
throw res.error;
if (res.ok) {
const { value: result } = res;
console.log(result);
} else {
console.log("downloadClientConfigGetApiV1ConfigDownloadclient failed:", res.error);
}
const { value: result } = res;
// Handle the result
console.log(result);
}
run();