Skip to content

Commit 84f8ed6

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 4.27.5 (#223)
* ## Typescript SDK Changes Detected: * `stackone.actions.rpcAction()`: `request` **Changed** **Breaking** ⚠️ * empty commit to trigger [run-tests] workflow --------- Co-authored-by: speakeasybot <[email protected]> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent b7d1416 commit 84f8ed6

File tree

16 files changed

+102
-170
lines changed

16 files changed

+102
-170
lines changed

β€Ž.speakeasy/gen.lockβ€Ž

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 7fa83af8-9e8e-4410-b7e2-cf1d0eaf688b
33
management:
4-
docChecksum: 61405cf4a5066cddae996c4e637435b8
4+
docChecksum: 03b008664d5150917832f2a13725e284
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.622.1
7-
generationVersion: 2.709.0
8-
releaseVersion: 4.27.4
9-
configChecksum: b148ddf78b4ef60b2d162dba1583b369
6+
speakeasyVersion: 1.628.3
7+
generationVersion: 2.716.4
8+
releaseVersion: 4.27.5
9+
configChecksum: 041c812fabac9c2697dc6f1c36fe6314
1010
repoURL: https://github.com/StackOneHQ/stackone-client-typescript.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/StackOneHQ/stackone-client-typescript
@@ -16,7 +16,7 @@ features:
1616
acceptHeaders: 2.81.2
1717
additionalDependencies: 0.1.0
1818
constsAndDefaults: 0.1.12
19-
core: 3.21.23
19+
core: 3.21.25
2020
defaultEnabledRetries: 0.1.0
2121
deprecations: 2.81.1
2222
enumUnions: 0.1.0
@@ -34,7 +34,7 @@ features:
3434
responseFormat: 0.2.3
3535
retries: 2.83.0
3636
sdkHooks: 0.3.0
37-
unions: 2.85.11
37+
unions: 2.85.12
3838
generatedFiles:
3939
- .gitattributes
4040
- .npmignore
@@ -1836,7 +1836,6 @@ generatedFiles:
18361836
- docs/sdk/models/shared/inapptemplate.md
18371837
- docs/sdk/models/shared/inapptemplateresult.md
18381838
- docs/sdk/models/shared/inapptemplatespaginated.md
1839-
- docs/sdk/models/shared/input.md
18401839
- docs/sdk/models/shared/internal.md
18411840
- docs/sdk/models/shared/interview.md
18421841
- docs/sdk/models/shared/interview4.md
@@ -14454,7 +14453,7 @@ examples:
1445414453
stackone_rpc_action:
1445514454
speakeasy-default-stackone-rpc-action:
1445614455
requestBody:
14457-
application/json: {"action": "create_employee", "input": {"body": {"data": "example"}, "headers": {"Content-Type": "application/json"}, "query": {"param1": "value1", "param2": "value2"}}}
14456+
application/json: {"action": "create_employee", "body": {"data": "example"}, "headers": {"Content-Type": "application/json"}, "path": {"id": "123"}, "query": {"param1": "value1", "param2": "value2"}}
1445814457
responses:
1445914458
"200":
1446014459
application/json: {}
@@ -14484,4 +14483,4 @@ examplesVersion: 1.0.2
1448414483
generatedTests: {}
1448514484
releaseNotes: |
1448614485
## Typescript SDK Changes Detected:
14487-
* `stackone.actions.listActionsMeta()`: `response.data.[].actions.[]` **Changed** **Breaking** :warning:
14486+
* `stackone.actions.rpcAction()`: `request` **Changed** **Breaking** :warning:

β€Ž.speakeasy/workflow.lockβ€Ž

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.622.1
1+
speakeasyVersion: 1.628.3
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:45aed2c5026cf9da26360eccb73e90428b93324e8be9bfd0324c640ce7791d09
6-
sourceBlobDigest: sha256:ac54273adfec9aca3b67140790651cbe79d41da2c396a918019ca4ee90d5ed9d
5+
sourceRevisionDigest: sha256:43d905df94336eb7fb4a505e0792eeb29dfffcddf4a7ce509cc804f2434528cf
6+
sourceBlobDigest: sha256:a5931f2826f8c189864260033a4ede5b0fa863c985d57581ea5b1709479d3f63
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1758632276
9+
- speakeasy-sdk-regen-1758794413
1010
- 1.0.0
1111
targets:
1212
StackOneTypeScriptClient:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:45aed2c5026cf9da26360eccb73e90428b93324e8be9bfd0324c640ce7791d09
16-
sourceBlobDigest: sha256:ac54273adfec9aca3b67140790651cbe79d41da2c396a918019ca4ee90d5ed9d
15+
sourceRevisionDigest: sha256:43d905df94336eb7fb4a505e0792eeb29dfffcddf4a7ce509cc804f2434528cf
16+
sourceBlobDigest: sha256:a5931f2826f8c189864260033a4ede5b0fa863c985d57581ea5b1709479d3f63
1717
codeSamplesNamespace: code-samples-typescript-stackonetypescriptclient
18-
codeSamplesRevisionDigest: sha256:567a18ccf121222482ce01fb1aec9a73d76daa89c975b1ebbe7c614cb61478a6
18+
codeSamplesRevisionDigest: sha256:666aa8322c3e702e46a835709dc12486cfe248011a4196b7b5865d217b587c4f
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

β€ŽREADME.mdβ€Ž

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,7 @@ bun add @stackone/stackone-client-ts
5454
### Yarn
5555

5656
```bash
57-
yarn add @stackone/stackone-client-ts zod
58-
59-
# Note that Yarn does not install peer dependencies automatically. You will need
60-
# to install zod as shown above.
57+
yarn add @stackone/stackone-client-ts
6158
```
6259
<!-- End SDK Installation [installation] -->
6360

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1926,4 +1926,14 @@ Based on:
19261926
### Generated
19271927
- [typescript v4.27.4] .
19281928
### Releases
1929-
- [NPM v4.27.4] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.27.4 - .
1929+
- [NPM v4.27.4] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.27.4 - .
1930+
1931+
## 2025-09-25 09:59:50
1932+
### Changes
1933+
Based on:
1934+
- OpenAPI Doc
1935+
- Speakeasy CLI 1.628.3 (2.716.4) https://github.com/speakeasy-api/speakeasy
1936+
### Generated
1937+
- [typescript v4.27.5] .
1938+
### Releases
1939+
- [NPM v4.27.5] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.27.5 - .

β€ŽcodeSamples.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ actions:
4444
"x-codeSamples":
4545
- "lang": "typescript"
4646
"label": "stackone_rpc_action"
47-
"source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.actions.rpcAction({\n action: \"create_employee\",\n input: {\n query: {\n \"param1\": \"value1\",\n \"param2\": \"value2\",\n },\n headers: {\n \"Content-Type\": \"application/json\",\n },\n body: {\n \"data\": \"example\",\n },\n },\n });\n\n console.log(result);\n}\n\nrun();"
47+
"source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.actions.rpcAction({\n action: \"create_employee\",\n path: {\n \"id\": \"123\",\n },\n query: {\n \"param1\": \"value1\",\n \"param2\": \"value2\",\n },\n headers: {\n \"Content-Type\": \"application/json\",\n },\n body: {\n \"data\": \"example\",\n },\n });\n\n console.log(result);\n}\n\nrun();"
4848
- target: $["paths"]["/connect_sessions"]["post"]
4949
update:
5050
"x-codeSamples":

β€Ždocs/sdk/models/shared/actionsrpcrequestdto.mdβ€Ž

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,28 @@ import { ActionsRpcRequestDto } from "@stackone/stackone-client-ts/sdk/models/sh
77

88
let value: ActionsRpcRequestDto = {
99
action: "create_employee",
10-
input: {
11-
body: {
12-
"data": "example",
13-
},
14-
headers: {
15-
"Content-Type": "application/json",
16-
},
17-
query: {
18-
"param1": "value1",
19-
"param2": "value2",
20-
},
10+
body: {
11+
"data": "example",
12+
},
13+
headers: {
14+
"Content-Type": "application/json",
15+
},
16+
path: {
17+
"id": "123",
18+
},
19+
query: {
20+
"param1": "value1",
21+
"param2": "value2",
2122
},
2223
};
2324
```
2425

2526
## Fields
2627

27-
| Field | Type | Required | Description | Example |
28-
| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- |
29-
| `action` | *string* | :heavy_check_mark: | The action to execute | create_employee |
30-
| `input` | [shared.Input](../../../sdk/models/shared/input.md) | :heavy_minus_sign: | Input parameters for the action | |
28+
| Field | Type | Required | Description | Example |
29+
| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ |
30+
| `action` | *string* | :heavy_check_mark: | The action to execute | create_employee |
31+
| `body` | Record<string, *any*> | :heavy_minus_sign: | Request body for the action | {<br/>"data": "example"<br/>} |
32+
| `headers` | Record<string, *any*> | :heavy_minus_sign: | Headers for the action | {<br/>"Content-Type": "application/json"<br/>} |
33+
| `path` | Record<string, *any*> | :heavy_minus_sign: | Path parameters for the action | {<br/>"id": "123"<br/>} |
34+
| `query` | Record<string, *any*> | :heavy_minus_sign: | Query parameters for the action | {<br/>"param1": "value1",<br/>"param2": "value2"<br/>} |

β€Ždocs/sdk/models/shared/input.mdβ€Ž

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

β€Ždocs/sdks/actions/README.mdβ€Ž

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -142,17 +142,18 @@ const stackOne = new StackOne({
142142
async function run() {
143143
const result = await stackOne.actions.rpcAction({
144144
action: "create_employee",
145-
input: {
146-
body: {
147-
"data": "example",
148-
},
149-
headers: {
150-
"Content-Type": "application/json",
151-
},
152-
query: {
153-
"param1": "value1",
154-
"param2": "value2",
155-
},
145+
body: {
146+
"data": "example",
147+
},
148+
headers: {
149+
"Content-Type": "application/json",
150+
},
151+
path: {
152+
"id": "123",
153+
},
154+
query: {
155+
"param1": "value1",
156+
"param2": "value2",
156157
},
157158
});
158159

@@ -182,17 +183,18 @@ const stackOne = new StackOneCore({
182183
async function run() {
183184
const res = await actionsRpcAction(stackOne, {
184185
action: "create_employee",
185-
input: {
186-
body: {
187-
"data": "example",
188-
},
189-
headers: {
190-
"Content-Type": "application/json",
191-
},
192-
query: {
193-
"param1": "value1",
194-
"param2": "value2",
195-
},
186+
body: {
187+
"data": "example",
188+
},
189+
headers: {
190+
"Content-Type": "application/json",
191+
},
192+
path: {
193+
"id": "123",
194+
},
195+
query: {
196+
"param1": "value1",
197+
"param2": "value2",
196198
},
197199
});
198200
if (res.ok) {

β€Žexamples/package-lock.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žgen.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ generation:
1919
generateNewTests: false
2020
skipResponseBodyAssertions: false
2121
typescript:
22-
version: 4.27.4
22+
version: 4.27.5
2323
additionalDependencies:
2424
dependencies: {}
2525
devDependencies: {}

0 commit comments

Comments
Β (0)