Skip to content

Commit 47bdf9f

Browse files
Merge pull request #14 from firehydrant/speakeasy-sdk-regen-1745434787
chore: 🐝 Update SDK - Generate 1.0.0
2 parents a680559 + aa1973b commit 47bdf9f

File tree

3,713 files changed

+177540
-144582
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,713 files changed

+177540
-144582
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 firehydrant-typescript-sdk
13+
npm link firehydrant
1414
TS_CONFIG_CONTENT=$(cat <<EOL
1515
{
1616
"compilerOptions": {

.eslintrc.cjs

Lines changed: 0 additions & 28 deletions
This file was deleted.

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/mcp-server
2+
/bin
3+
/.eslintcache
4+
.DS_Store
5+
**/.speakeasy/temp/
6+
**/.speakeasy/logs/
7+
.DS_Store
18
/.speakeasy/reports
29
/models
310
/models/errors

.npmignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44
!/REACT_QUERY.md
55
!/**/*.ts
66
!/**/*.js
7+
!/**/*.mjs
8+
!/**/*.json
79
!/**/*.map
810

9-
/.eslintrc.js
11+
/eslint.config.mjs
1012
/cjs
1113
/.tshy
1214
/.tshy-*

.speakeasy/gen.lock

Lines changed: 3649 additions & 7062 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ generation:
1919
oAuth2ClientCredentialsEnabled: true
2020
oAuth2PasswordEnabled: true
2121
typescript:
22-
version: 0.1.13
22+
version: 1.0.0
2323
additionalDependencies:
2424
dependencies: {}
2525
devDependencies: {}

.speakeasy/workflow.lock

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.465.1
1+
speakeasyVersion: 1.543.4
22
sources:
33
firehydrant-oas:
44
sourceNamespace: firehydrant-oas
5-
sourceRevisionDigest: sha256:e512d73a7a46a2f2c3619032e3b2f10ddf25a609b2d6f02175595d3392240980
6-
sourceBlobDigest: sha256:f6ffe4d71cbc8f195cf28218fe7c5a6212053a7fa58a4e0aa275374cfcf3c675
5+
sourceRevisionDigest: sha256:9ea407d00bbdbe45cdedc31a2fea7f227d9b6748bf26b8ec1d3e4163f8f7c29c
6+
sourceBlobDigest: sha256:b7e17ea5065fa99817b5397ccc5460e2410b92a032d7b95d60f2d4aa5ba580a2
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1735863790
9+
- speakeasy-sdk-regen-1745434787
1010
- 0.0.1
1111
firehydrant-typescript-sdk-OAS:
1212
sourceNamespace: firehydrant-typescript-sdk-oas
@@ -19,20 +19,17 @@ targets:
1919
firehydrant-typescript-sdk:
2020
source: firehydrant-oas
2121
sourceNamespace: firehydrant-oas
22-
sourceRevisionDigest: sha256:e512d73a7a46a2f2c3619032e3b2f10ddf25a609b2d6f02175595d3392240980
23-
sourceBlobDigest: sha256:f6ffe4d71cbc8f195cf28218fe7c5a6212053a7fa58a4e0aa275374cfcf3c675
22+
sourceRevisionDigest: sha256:9ea407d00bbdbe45cdedc31a2fea7f227d9b6748bf26b8ec1d3e4163f8f7c29c
23+
sourceBlobDigest: sha256:b7e17ea5065fa99817b5397ccc5460e2410b92a032d7b95d60f2d4aa5ba580a2
2424
codeSamplesNamespace: firehydrant-typescript-sdk-oas-code-samples
25-
codeSamplesRevisionDigest: sha256:91c6eb6c8fcf0eba140b3cf4dfb4da432f53f34b7f39b10f77f2e08baaf30784
25+
codeSamplesRevisionDigest: sha256:287c59a646472087833053d43964b5f983e07c66c42b4a66576d371ff507aeb7
2626
workflow:
2727
workflowVersion: 1.0.0
2828
speakeasyVersion: latest
2929
sources:
3030
firehydrant-oas:
3131
inputs:
32-
- location: ./openapi.yaml
33-
overlays:
34-
- location: .speakeasy/speakeasy-modifications-overlay.yaml
35-
- location: errors-overlay.yaml
32+
- location: ${GITHUB_WORKSPACE}/openapi.json
3633
registry:
3734
location: registry.speakeasyapi.dev/firehydrant/firehydrant/firehydrant-oas
3835
targets:

FUNCTIONS.md

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

2121
```typescript
22-
import { FirehydrantTypescriptSDKCore } from "firehydrant-typescript-sdk/core.js";
23-
import { accountSettingsGetAiPreferences } from "firehydrant-typescript-sdk/funcs/accountSettingsGetAiPreferences.js";
24-
import { SDKValidationError } from "firehydrant-typescript-sdk/models/errors/sdkvalidationerror.js";
22+
import { FirehydrantCore } from "firehydrant/core.js";
23+
import { accountSettingsPing } from "firehydrant/funcs/accountSettingsPing.js";
24+
import { SDKValidationError } from "firehydrant/models/errors/sdkvalidationerror.js";
2525

26-
// Use `FirehydrantTypescriptSDKCore` for best tree-shaking performance.
26+
// Use `FirehydrantCore` for best tree-shaking performance.
2727
// You can create one instance of it to use across an application.
28-
const firehydrantTypescriptSDK = new FirehydrantTypescriptSDKCore({
29-
apiKey: process.env["FIREHYDRANTTYPESCRIPTSDK_API_KEY"] ?? "",
28+
const firehydrant = new FirehydrantCore({
29+
apiKey: process.env["FIREHYDRANT_API_KEY"] ?? "",
3030
});
3131

3232
async function run() {
33-
const res = await accountSettingsGetAiPreferences(firehydrantTypescriptSDK);
33+
const res = await accountSettingsPing(firehydrant);
3434

3535
switch (true) {
3636
case res.ok:

0 commit comments

Comments
 (0)