Skip to content

Commit 0ae5626

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.441.0
1 parent 3427f58 commit 0ae5626

21 files changed

+62
-54
lines changed

.devcontainer/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ mkdir samples
1010
npm install
1111
npm install -g ts-node
1212
npm link
13-
npm link @speakeasy-api/code-samples
13+
npm link @speakeasyapi/code-samples
1414
TS_CONFIG_CONTENT=$(cat <<EOL
1515
{
1616
"compilerOptions": {

.speakeasy/gen.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ management:
55
docVersion: 0.4.0
66
speakeasyVersion: 1.441.0
77
generationVersion: 2.460.1
8-
releaseVersion: 0.36.2
9-
configChecksum: 923ab35f1537aa02e8028558d4b98e48
8+
releaseVersion: 0.36.3
9+
configChecksum: 42d8e06cecc178f1d88d31b051e107ce
1010
repoURL: https://github.com/speakeasy-sdks/code-sample-api.git
1111
installationURL: https://github.com/speakeasy-sdks/code-sample-api
1212
features:

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ generation:
1616
oAuth2ClientCredentialsEnabled: false
1717
oAuth2PasswordEnabled: false
1818
typescript:
19-
version: 0.36.2
19+
version: 0.36.3
2020
additionalDependencies:
2121
dependencies: {}
2222
devDependencies: {}

.speakeasy/workflow.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ speakeasyVersion: 1.441.0
22
sources:
33
speakeasy-OAS:
44
sourceNamespace: speakeasy-oas
5-
sourceRevisionDigest: sha256:f2d257c7b8eeeaa296d7a348c474f3832d7dd3cf944d3e660feb534293898e25
5+
sourceRevisionDigest: sha256:ffd8950e7508a049b709334a47673aec3d77ef5340633a381b07197f741b2102
66
sourceBlobDigest: sha256:785a83db337cb309aac27c4a805335396096391c489e7140d753840935ef8e55
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1732044743
9+
- speakeasy-sdk-regen-1732054858
1010
targets:
1111
code_samples_typescript_sdk:
1212
source: speakeasy-OAS
1313
sourceNamespace: speakeasy-oas
14-
sourceRevisionDigest: sha256:f2d257c7b8eeeaa296d7a348c474f3832d7dd3cf944d3e660feb534293898e25
14+
sourceRevisionDigest: sha256:ffd8950e7508a049b709334a47673aec3d77ef5340633a381b07197f741b2102
1515
sourceBlobDigest: sha256:785a83db337cb309aac27c4a805335396096391c489e7140d753840935ef8e55
1616
codeSamplesNamespace: speakeasy-oas-code-samples
17-
codeSamplesRevisionDigest: sha256:68bbddcc7e609731394611bdb83f79a0f2942da7bca5f10c9292b47c324c20ae
17+
codeSamplesRevisionDigest: sha256:fff797fefbfc5316e9903ae72852aa94e844d8d37175d65d357e5744c81b0aa0
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: latest

FUNCTIONS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ specific category of applications.
1919
## Example
2020

2121
```typescript
22-
import { SDKCore } from "@speakeasy-api/code-samples/core.js";
23-
import { codesamplesPreview } from "@speakeasy-api/code-samples/funcs/codesamplesPreview.js";
24-
import { SDKValidationError } from "@speakeasy-api/code-samples/models/errors/sdkvalidationerror.js";
22+
import { SDKCore } from "@speakeasyapi/code-samples/core.js";
23+
import { codesamplesPreview } from "@speakeasyapi/code-samples/funcs/codesamplesPreview.js";
24+
import { SDKValidationError } from "@speakeasyapi/code-samples/models/errors/sdkvalidationerror.js";
2525
import { openAsBlob } from "node:fs";
2626

2727
// Use `SDKCore` for best tree-shaking performance.

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ run();
114114
### Example
115115

116116
```typescript
117-
import { SDK } from "@speakeasy-api/code-samples";
117+
import { SDK } from "@speakeasyapi/code-samples";
118118
import { openAsBlob } from "node:fs";
119119

120120
const sdk = new SDK({
@@ -193,7 +193,7 @@ Certain SDK methods accept files as part of a multi-part request. It is possible
193193
> - **Node.js v18:** A file stream can be created using the `fileFrom` helper from [`fetch-blob/from.js`](https://www.npmjs.com/package/fetch-blob).
194194
195195
```typescript
196-
import { SDK } from "@speakeasy-api/code-samples";
196+
import { SDK } from "@speakeasyapi/code-samples";
197197
import { openAsBlob } from "node:fs";
198198

199199
const sdk = new SDK({
@@ -226,7 +226,7 @@ Some of the endpoints in this SDK support retries. If you use the SDK without a
226226

227227
To change the default retry strategy for a single API call, simply provide a retryConfig object to the call:
228228
```typescript
229-
import { SDK } from "@speakeasy-api/code-samples";
229+
import { SDK } from "@speakeasyapi/code-samples";
230230
import { openAsBlob } from "node:fs";
231231

232232
const sdk = new SDK({
@@ -264,7 +264,7 @@ run();
264264

265265
If you'd like to override the default retry strategy for all operations that support retries, you can provide a retryConfig at SDK initialization:
266266
```typescript
267-
import { SDK } from "@speakeasy-api/code-samples";
267+
import { SDK } from "@speakeasyapi/code-samples";
268268
import { openAsBlob } from "node:fs";
269269

270270
const sdk = new SDK({
@@ -322,11 +322,11 @@ In addition, when custom error responses are specified for an operation, the SDK
322322
| errors.ErrorT | 4XX, 5XX | application/json |
323323

324324
```typescript
325-
import { SDK } from "@speakeasy-api/code-samples";
325+
import { SDK } from "@speakeasyapi/code-samples";
326326
import {
327327
ErrorT,
328328
SDKValidationError,
329-
} from "@speakeasy-api/code-samples/models/errors";
329+
} from "@speakeasyapi/code-samples/models/errors";
330330
import { openAsBlob } from "node:fs";
331331

332332
const sdk = new SDK({
@@ -389,7 +389,7 @@ You can override the default server globally by passing a server name to the `se
389389
#### Example
390390

391391
```typescript
392-
import { SDK } from "@speakeasy-api/code-samples";
392+
import { SDK } from "@speakeasyapi/code-samples";
393393
import { openAsBlob } from "node:fs";
394394

395395
const sdk = new SDK({
@@ -419,7 +419,7 @@ run();
419419

420420
The default server can also be overridden globally by passing a URL to the `serverURL: string` optional parameter when initializing the SDK client instance. For example:
421421
```typescript
422-
import { SDK } from "@speakeasy-api/code-samples";
422+
import { SDK } from "@speakeasyapi/code-samples";
423423
import { openAsBlob } from "node:fs";
424424

425425
const sdk = new SDK({
@@ -464,8 +464,8 @@ custom header and a timeout to requests and how to use the `"requestError"` hook
464464
to log errors:
465465

466466
```typescript
467-
import { SDK } from "@speakeasy-api/code-samples";
468-
import { HTTPClient } from "@speakeasy-api/code-samples/lib/http";
467+
import { SDK } from "@speakeasyapi/code-samples";
468+
import { HTTPClient } from "@speakeasyapi/code-samples/lib/http";
469469

470470
const httpClient = new HTTPClient({
471471
// fetcher takes a function that has the same signature as native `fetch`.
@@ -510,7 +510,7 @@ This SDK supports the following security schemes globally:
510510

511511
You can set the security parameters through the `security` optional parameter when initializing the SDK client instance. The selected scheme will be used by default to authenticate with the API for all operations that support it. For example:
512512
```typescript
513-
import { SDK } from "@speakeasy-api/code-samples";
513+
import { SDK } from "@speakeasyapi/code-samples";
514514
import { openAsBlob } from "node:fs";
515515

516516
const sdk = new SDK({
@@ -547,7 +547,7 @@ You can pass a logger that matches `console`'s interface as an SDK option.
547547
> Beware that debug logging will reveal secrets, like API tokens in headers, in log messages printed to a console or files. It's recommended to use this feature only during local development and not in production.
548548
549549
```typescript
550-
import { SDK } from "@speakeasy-api/code-samples";
550+
import { SDK } from "@speakeasyapi/code-samples";
551551

552552
const sdk = new SDK({ debugLogger: console });
553553
```

RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,12 @@ Based on:
1414
- OpenAPI Doc
1515
- Speakeasy CLI 1.441.0 (2.460.1) https://github.com/speakeasy-api/speakeasy
1616
### Generated
17-
- [typescript v0.36.2] .
17+
- [typescript v0.36.2] .
18+
19+
## 2024-11-19 22:20:55
20+
### Changes
21+
Based on:
22+
- OpenAPI Doc
23+
- Speakeasy CLI 1.441.0 (2.460.1) https://github.com/speakeasy-api/speakeasy
24+
### Generated
25+
- [typescript v0.36.3] .

USAGE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- Start SDK Example Usage [usage] -->
22
```typescript
3-
import { SDK } from "@speakeasy-api/code-samples";
3+
import { SDK } from "@speakeasyapi/code-samples";
44
import { openAsBlob } from "node:fs";
55

66
const sdk = new SDK({

docs/models/components/codesampleschemainput.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Example Usage
44

55
```typescript
6-
import { CodeSampleSchemaInput } from "@speakeasy-api/code-samples/models/components";
6+
import { CodeSampleSchemaInput } from "@speakeasyapi/code-samples/models/components";
77

88
// No examples available for this model
99
```

docs/models/components/codesamplesjobstatus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The current status of the job. Possible values are `pending` or `running`.
55
## Example Usage
66

77
```typescript
8-
import { CodeSamplesJobStatus } from "@speakeasy-api/code-samples/models/components";
8+
import { CodeSamplesJobStatus } from "@speakeasyapi/code-samples/models/components";
99

1010
let value: CodeSamplesJobStatus = CodeSamplesJobStatus.Running;
1111
```

0 commit comments

Comments
 (0)