Skip to content

Commit 5b5ae6c

Browse files
Merge pull request #1 from speakeasy-sdks/speakeasy-sdk-regen-1731978512
chore: 🐝 Update SDK - Generate 0.35.0
2 parents 21a8d21 + a8d84cf commit 5b5ae6c

File tree

9 files changed

+155
-21
lines changed

9 files changed

+155
-21
lines changed

.speakeasy/gen.lock

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
lockVersion: 2.0.0
2+
id: 0b10fb19-edaf-4d42-80e4-b7824c042733
3+
management:
4+
docChecksum: c43b59c2013089d85388de072b9a0283
5+
docVersion: 0.4.0
6+
speakeasyVersion: 1.441.0
7+
generationVersion: 2.460.1
8+
releaseVersion: 0.35.0
9+
configChecksum: 1de1cbeadb9ebd16f441a50fda7f87b9
10+
repoURL: https://github.com/speakeasy-sdks/code-sample-api.git
11+
installationURL: https://github.com/speakeasy-sdks/code-sample-api
12+
features:
13+
typescript:
14+
acceptHeaders: 2.81.2
15+
additionalDependencies: 0.1.0
16+
core: 3.18.5
17+
defaultEnabledRetries: 0.1.0
18+
downloadStreams: 0.1.1
19+
enumUnions: 0.1.0
20+
envVarSecurityUsage: 0.1.2
21+
flattening: 2.82.0
22+
globalSecurity: 2.82.11
23+
globalSecurityCallbacks: 0.1.0
24+
globalServerURLs: 2.82.4
25+
globals: 2.82.1
26+
groups: 2.81.2
27+
nameOverrides: 2.81.2
28+
responseFormat: 0.2.3
29+
retries: 2.83.0
30+
sdkHooks: 0.2.0
31+
serverIDs: 2.81.2
32+
tests: 0.7.0
33+
uploadStreams: 0.1.0
34+
generatedFiles:
35+
- .eslintrc.cjs
36+
- .gitattributes
37+
- .npmignore
38+
- FUNCTIONS.md
39+
- RUNTIMES.md
40+
- USAGE.md
41+
- docs/lib/utils/retryconfig.md
42+
- docs/models/components/codesampleschemainput.md
43+
- docs/models/components/codesamplesjobstatus.md
44+
- docs/models/components/schemafile.md
45+
- docs/models/components/security.md
46+
- docs/models/errors/errort.md
47+
- docs/models/operations/generatecodesamplepreviewasyncresponsebody.md
48+
- docs/models/operations/generatecodesamplepreviewresponse.md
49+
- docs/models/operations/getcodesamplepreviewasyncrequest.md
50+
- docs/models/operations/getcodesamplepreviewasyncresponse.md
51+
- docs/models/operations/getcodesamplepreviewasyncresponsebody.md
52+
- docs/sdks/codesamples/README.md
53+
- docs/sdks/sdk/README.md
54+
- jsr.json
55+
- package.json
56+
- src/core.ts
57+
- src/funcs/codesamplesGetAsync.ts
58+
- src/funcs/codesamplesPreview.ts
59+
- src/funcs/codesamplesPreviewAsync.ts
60+
- src/hooks/hooks.ts
61+
- src/hooks/index.ts
62+
- src/hooks/types.ts
63+
- src/index.ts
64+
- src/lib/base64.ts
65+
- src/lib/config.ts
66+
- src/lib/dlv.ts
67+
- src/lib/encodings.ts
68+
- src/lib/files.ts
69+
- src/lib/http.ts
70+
- src/lib/is-plain-object.ts
71+
- src/lib/logger.ts
72+
- src/lib/matchers.ts
73+
- src/lib/primitives.ts
74+
- src/lib/retries.ts
75+
- src/lib/schemas.ts
76+
- src/lib/sdks.ts
77+
- src/lib/security.ts
78+
- src/lib/url.ts
79+
- src/models/components/codesampleschemainput.ts
80+
- src/models/components/codesamplesjobstatus.ts
81+
- src/models/components/index.ts
82+
- src/models/components/security.ts
83+
- src/models/errors/apierror.ts
84+
- src/models/errors/error.ts
85+
- src/models/errors/httpclienterrors.ts
86+
- src/models/errors/index.ts
87+
- src/models/errors/sdkvalidationerror.ts
88+
- src/models/operations/generatecodesamplepreview.ts
89+
- src/models/operations/generatecodesamplepreviewasync.ts
90+
- src/models/operations/getcodesamplepreviewasync.ts
91+
- src/models/operations/index.ts
92+
- src/sdk/codesamples.ts
93+
- src/sdk/index.ts
94+
- src/sdk/sdk.ts
95+
- src/types/blobs.ts
96+
- src/types/constdatetime.ts
97+
- src/types/enums.ts
98+
- src/types/fp.ts
99+
- src/types/index.ts
100+
- src/types/operations.ts
101+
- src/types/rfcdate.ts
102+
- src/types/streams.ts
103+
- tsconfig.json
104+
examples:
105+
generateCodeSamplePreview:
106+
speakeasy-default-generate-code-sample-preview:
107+
requestBody:
108+
multipart/form-data: {"languages": ["<value>"], "schema_file": {}}
109+
responses:
110+
4XX:
111+
application/json: {"message": "<value>", "status_code": 159498}
112+
generateCodeSamplePreviewAsync:
113+
speakeasy-default-generate-code-sample-preview-async:
114+
requestBody:
115+
multipart/form-data: {"languages": ["<value>", "<value>"], "schema_file": {}}
116+
responses:
117+
"202":
118+
application/json: {"job_id": "<id>", "status": "pending"}
119+
4XX:
120+
application/json: {"message": "<value>", "status_code": 677743}
121+
getCodeSamplePreviewAsync:
122+
speakeasy-default-get-code-sample-preview-async:
123+
parameters:
124+
path:
125+
jobID: "<id>"
126+
responses:
127+
"202":
128+
application/json: {"status": "pending"}
129+
4XX:
130+
application/json: {"message": "<value>", "status_code": 893724}

.speakeasy/workflow.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,7 @@ workflow:
3131
code_samples_typescript_sdk:
3232
target: typescript
3333
source: speakeasy-OAS
34+
codeSamples:
35+
registry:
36+
location: registry.speakeasyapi.dev/speakeasy-self/speakeasy-self/speakeasy-oas-code-samples
37+
blocking: false

.speakeasy/workflow.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ targets:
1616
code_samples_typescript_sdk:
1717
target: typescript
1818
source: speakeasy-OAS
19-
# publish:
20-
# npm:
21-
# token: $npm_token
19+
codeSamples:
20+
registry:
21+
location: registry.speakeasyapi.dev/speakeasy-self/speakeasy-self/speakeasy-oas-code-samples
22+
blocking: false

FUNCTIONS.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ async function run() {
3636
const res = await codesamplesPreview(sdk, {
3737
languages: [
3838
"<value>",
39-
"<value>",
4039
],
4140
schemaFile: await openAsBlob("example.file"),
4241
});

README.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,25 +47,25 @@ The SDK can be installed with either [npm](https://www.npmjs.com/), [pnpm](https
4747
### NPM
4848

4949
```bash
50-
npm add <UNSET>
50+
npm add https://github.com/speakeasy-sdks/code-sample-api
5151
```
5252

5353
### PNPM
5454

5555
```bash
56-
pnpm add <UNSET>
56+
pnpm add https://github.com/speakeasy-sdks/code-sample-api
5757
```
5858

5959
### Bun
6060

6161
```bash
62-
bun add <UNSET>
62+
bun add https://github.com/speakeasy-sdks/code-sample-api
6363
```
6464

6565
### Yarn
6666

6767
```bash
68-
yarn add <UNSET> zod
68+
yarn add https://github.com/speakeasy-sdks/code-sample-api zod
6969

7070
# Note that Yarn does not install peer dependencies automatically. You will need
7171
# to install zod as shown above.
@@ -97,7 +97,6 @@ async function run() {
9797
const result = await sdk.codesamples.preview({
9898
languages: [
9999
"<value>",
100-
"<value>",
101100
],
102101
schemaFile: await openAsBlob("example.file"),
103102
});
@@ -177,7 +176,6 @@ async function run() {
177176
const result = await sdk.codesamples.preview({
178177
languages: [
179178
"<value>",
180-
"<value>",
181179
],
182180
schemaFile: await openAsBlob("example.file"),
183181
});
@@ -211,7 +209,6 @@ async function run() {
211209
const result = await sdk.codesamples.preview({
212210
languages: [
213211
"<value>",
214-
"<value>",
215212
],
216213
schemaFile: await openAsBlob("example.file"),
217214
}, {
@@ -260,7 +257,6 @@ async function run() {
260257
const result = await sdk.codesamples.preview({
261258
languages: [
262259
"<value>",
263-
"<value>",
264260
],
265261
schemaFile: await openAsBlob("example.file"),
266262
});
@@ -315,7 +311,6 @@ async function run() {
315311
result = await sdk.codesamples.preview({
316312
languages: [
317313
"<value>",
318-
"<value>",
319314
],
320315
schemaFile: await openAsBlob("example.file"),
321316
});
@@ -378,7 +373,6 @@ async function run() {
378373
const result = await sdk.codesamples.preview({
379374
languages: [
380375
"<value>",
381-
"<value>",
382376
],
383377
schemaFile: await openAsBlob("example.file"),
384378
});
@@ -409,7 +403,6 @@ async function run() {
409403
const result = await sdk.codesamples.preview({
410404
languages: [
411405
"<value>",
412-
"<value>",
413406
],
414407
schemaFile: await openAsBlob("example.file"),
415408
});
@@ -500,7 +493,6 @@ async function run() {
500493
const result = await sdk.codesamples.preview({
501494
languages: [
502495
"<value>",
503-
"<value>",
504496
],
505497
schemaFile: await openAsBlob("example.file"),
506498
});

RELEASES.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
3+
## 2024-11-19 01:08:29
4+
### Changes
5+
Based on:
6+
- OpenAPI Doc
7+
- Speakeasy CLI 1.441.0 (2.460.1) https://github.com/speakeasy-api/speakeasy
8+
### Generated
9+
- [typescript v0.35.0] .

USAGE.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ async function run() {
1313
const result = await sdk.codesamples.preview({
1414
languages: [
1515
"<value>",
16-
"<value>",
1716
],
1817
schemaFile: await openAsBlob("example.file"),
1918
});

docs/sdks/codesamples/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ async function run() {
2929
const result = await sdk.codesamples.preview({
3030
languages: [
3131
"<value>",
32-
"<value>",
3332
],
3433
schemaFile: await openAsBlob("example.file"),
3534
});
@@ -62,7 +61,6 @@ async function run() {
6261
const res = await codesamplesPreview(sdk, {
6362
languages: [
6463
"<value>",
65-
"<value>",
6664
],
6765
schemaFile: await openAsBlob("example.file"),
6866
});
@@ -120,7 +118,6 @@ async function run() {
120118
languages: [
121119
"<value>",
122120
"<value>",
123-
"<value>",
124121
],
125122
schemaFile: await openAsBlob("example.file"),
126123
});
@@ -154,7 +151,6 @@ async function run() {
154151
languages: [
155152
"<value>",
156153
"<value>",
157-
"<value>",
158154
],
159155
schemaFile: await openAsBlob("example.file"),
160156
});

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
"author": "Speakeasy",
55
"main": "./index.js",
66
"sideEffects": false,
7+
"repository": {
8+
"type": "git",
9+
"url": "https://github.com/speakeasy-sdks/code-sample-api.git"
10+
},
711
"scripts": {
812
"lint": "eslint --max-warnings=0 src",
913
"build": "tsc",

0 commit comments

Comments
 (0)