Skip to content

Commit

Permalink
Merge pull request #13 from panoratech/speakeasy-sdk-regen-1722707037
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 0.4.2
  • Loading branch information
naelob authored Aug 3, 2024
2 parents af86841 + 35e7646 commit b21aff1
Show file tree
Hide file tree
Showing 641 changed files with 7,505 additions and 24,005 deletions.
792 changes: 286 additions & 506 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
typescript:
version: 0.4.1
version: 0.4.2
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
speakeasyVersion: 1.352.0
speakeasyVersion: 1.352.1
sources:
panora-open-api-swagger:
sourceNamespace: panora-open-api-swagger
sourceRevisionDigest: sha256:361400a538f79ea697ed07b6cad0a77ac235ea2ee5a25977c39afa58cb57ad7d
sourceBlobDigest: sha256:3e515880c49dcbff333453ebeba6850d8d51a76f24cda62c5a56062f0bfc238e
sourceRevisionDigest: sha256:8174039ddb04010d0946738af22aa8ba1729ccef182cd7ffc2def526fed56be1
sourceBlobDigest: sha256:6044d83fd5d0be8e89ea525b1a13257c84dffe81930191268d3eb8f3f12aacca
tags:
- latest
- main
targets:
my-first-target:
source: panora-open-api-swagger
sourceNamespace: panora-open-api-swagger
sourceRevisionDigest: sha256:361400a538f79ea697ed07b6cad0a77ac235ea2ee5a25977c39afa58cb57ad7d
sourceBlobDigest: sha256:3e515880c49dcbff333453ebeba6850d8d51a76f24cda62c5a56062f0bfc238e
sourceRevisionDigest: sha256:8174039ddb04010d0946738af22aa8ba1729ccef182cd7ffc2def526fed56be1
sourceBlobDigest: sha256:6044d83fd5d0be8e89ea525b1a13257c84dffe81930191268d3eb8f3f12aacca
codeSamplesNamespace: code-samples-typescript-my-first-target
codeSamplesRevisionDigest: sha256:df005c7dbc0570b7f1354e6db840c4247cf6055b1293fa465e85ee9474f347d9
codeSamplesRevisionDigest: sha256:e47be1438ffd8c90d29c42920fdc88056369186283a6884fd6dcd5ba117b9b9b
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ For supported JavaScript runtimes, please consult [RUNTIMES.md](RUNTIMES.md).
import { Panora } from "@panora/sdk";

const panora = new Panora({
bearer: process.env.BEARER,
apiKey: process.env.API_KEY,
});

async function run() {
Expand Down Expand Up @@ -591,7 +591,7 @@ import { Panora } from "@panora/sdk";
import { SDKValidationError } from "@panora/sdk/models/errors";

const panora = new Panora({
bearer: process.env.BEARER,
apiKey: process.env.API_KEY,
});

async function run() {
Expand Down Expand Up @@ -640,7 +640,7 @@ import { Panora } from "@panora/sdk";

const panora = new Panora({
serverIdx: 2,
bearer: process.env.BEARER,
apiKey: process.env.API_KEY,
});

async function run() {
Expand All @@ -664,7 +664,7 @@ import { Panora } from "@panora/sdk";

const panora = new Panora({
serverURL: "https://api.panora.dev",
bearer: process.env.BEARER,
apiKey: process.env.API_KEY,
});

async function run() {
Expand Down Expand Up @@ -738,7 +738,7 @@ To change the default retry strategy for a single API call, simply provide a ret
import { Panora } from "@panora/sdk";

const panora = new Panora({
bearer: process.env.BEARER,
apiKey: process.env.API_KEY,
});

async function run() {
Expand Down Expand Up @@ -778,7 +778,7 @@ const panora = new Panora({
},
retryConnectionErrors: false,
},
bearer: process.env.BEARER,
apiKey: process.env.API_KEY,
});

async function run() {
Expand All @@ -800,16 +800,16 @@ run();

This SDK supports the following security scheme globally:

| Name | Type | Scheme |
| ----------- | ----------- | ----------- |
| `bearer` | http | HTTP Bearer |
| Name | Type | Scheme |
| -------- | -------- | -------- |
| `apiKey` | apiKey | API key |

To authenticate with the API the `bearer` parameter must be set when initializing the SDK client instance. For example:
To authenticate with the API the `apiKey` parameter must be set when initializing the SDK client instance. For example:
```typescript
import { Panora } from "@panora/sdk";

const panora = new Panora({
bearer: process.env.BEARER,
apiKey: process.env.API_KEY,
});

async function run() {
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,14 @@ Based on:
### Generated
- [typescript v0.4.1] .
### Releases
- [NPM v0.4.1] https://www.npmjs.com/package/@panora/sdk/v/0.4.1 - .
- [NPM v0.4.1] https://www.npmjs.com/package/@panora/sdk/v/0.4.1 - .

## 2024-08-03 17:43:54
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.352.1 (2.385.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.4.2] .
### Releases
- [NPM v0.4.2] https://www.npmjs.com/package/@panora/sdk/v/0.4.2 - .
2 changes: 1 addition & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { Panora } from "@panora/sdk";

const panora = new Panora({
bearer: process.env.BEARER,
apiKey: process.env.API_KEY,
});

async function run() {
Expand Down
Loading

0 comments on commit b21aff1

Please sign in to comment.