Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 5 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@
!/**/*.ts
!/**/*.js
!/**/*.mjs
!/**/*.json
!/package.json
!/jsr.json
!/dist/**/*.json
!/esm/**/*.json
!/**/*.map

/eslint.config.mjs
/.oxlintrc.json
/cjs
/.tshy
/.tshy-*
Expand Down
1,906 changes: 957 additions & 949 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
speakeasyVersion: 1.724.0
speakeasyVersion: 1.759.1
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:8bb7ab7723cbc38f04ddb717ed437b9badeceac12656d0c82e1930ab367105d2
sourceBlobDigest: sha256:a112202df1d9a4d6d26375da6dd20c83e2ef890b08a5e0227cb0a407546580e0
sourceRevisionDigest: sha256:57cabc0f98102cce858018eb039004cb6eda8c8895f59ebc9be555cd9de95b0f
sourceBlobDigest: sha256:fd6dec035d81da0d5ea11c04d1704e3c4794182536193f8061b3c87e81418a68
tags:
- latest
- speakeasy-sdk-regen-1771233905
- 1.0.0
targets:
StackOneTypeScriptClient:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:8bb7ab7723cbc38f04ddb717ed437b9badeceac12656d0c82e1930ab367105d2
sourceBlobDigest: sha256:a112202df1d9a4d6d26375da6dd20c83e2ef890b08a5e0227cb0a407546580e0
sourceRevisionDigest: sha256:57cabc0f98102cce858018eb039004cb6eda8c8895f59ebc9be555cd9de95b0f
sourceBlobDigest: sha256:fd6dec035d81da0d5ea11c04d1704e3c4794182536193f8061b3c87e81418a68
codeSamplesNamespace: code-samples-typescript-stackonetypescriptclient
codeSamplesRevisionDigest: sha256:8d68f25d40c18823f9f3d82007882412f814dc0d4aa37c0d9ed6da0424950810
codeSamplesRevisionDigest: sha256:ccc0aece6d94841224dc69372682facc1a3882e2777a56494cb8a1ddecc683a9
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2076,4 +2076,14 @@ Based on:
### Generated
- [typescript v4.34.1] .
### Releases
- [NPM v4.34.1] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.34.1 - .
- [NPM v4.34.1] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.34.1 - .

## 2026-03-23 09:27:57
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.759.1 (2.869.10) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v4.34.2] .
### Releases
- [NPM v4.34.2] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.34.2 - .
2 changes: 1 addition & 1 deletion codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ actions:
"x-codeSamples":
- "lang": "typescript"
"label": "stackone_rpc_action"
"source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n password: \"\",\n username: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.actions.rpcAction({\n action: \"create_employee\",\n body: {\n \"data\": \"example\",\n },\n headers: {\n \"Content-Type\": \"application/json\",\n },\n path: {\n \"id\": \"123\",\n },\n query: {\n debug: false,\n },\n });\n\n console.log(result);\n}\n\nrun();"
"source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n password: \"\",\n username: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.actions.rpcAction({\n action: \"create_employee\",\n body: {\n \"data\": \"example\",\n },\n defenderEnabled: true,\n headers: {\n \"Content-Type\": \"application/json\",\n },\n path: {\n \"id\": \"123\",\n },\n query: {\n debug: false,\n },\n });\n\n console.log(result);\n}\n\nrun();"
- target: $["paths"]["/actions/search"]["post"]
update:
"x-codeSamples":
Expand Down
4 changes: 2 additions & 2 deletions docs/sdk/models/shared/accountaddressschemasvalue.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ The ISO 3166-1 alpha-2 code of the country.
import { AccountAddressSchemasValue } from "@stackone/stackone-client-ts/sdk/models/shared";

let value: AccountAddressSchemasValue = AccountAddressSchemasValue.Gb;

// Open enum: unrecognized values are captured as Unrecognized<string>
```

## Values

This is an open enum. Unrecognized values will be captured as the `Unrecognized<string>` branded type.

| Name | Value |
| ---------------------- | ---------------------- |
| `Af` | AF |
Expand Down
4 changes: 2 additions & 2 deletions docs/sdk/models/shared/accountaddressvalue.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ The type of the location.
import { AccountAddressValue } from "@stackone/stackone-client-ts/sdk/models/shared";

let value: AccountAddressValue = AccountAddressValue.Home;

// Open enum: unrecognized values are captured as Unrecognized<string>
```

## Values

This is an open enum. Unrecognized values will be captured as the `Unrecognized<string>` branded type.

| Name | Value |
| ---------------------- | ---------------------- |
| `Home` | home |
Expand Down
4 changes: 2 additions & 2 deletions docs/sdk/models/shared/accountingaccountresultvalue.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ Type of account
import { AccountingAccountResultValue } from "@stackone/stackone-client-ts/sdk/models/shared";

let value: AccountingAccountResultValue = AccountingAccountResultValue.Asset;

// Open enum: unrecognized values are captured as Unrecognized<string>
```

## Values

This is an open enum. Unrecognized values will be captured as the `Unrecognized<string>` branded type.

| Name | Value |
| ---------------------- | ---------------------- |
| `Asset` | asset |
Expand Down
4 changes: 2 additions & 2 deletions docs/sdk/models/shared/accountingaccountvalue.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ Type of account
import { AccountingAccountValue } from "@stackone/stackone-client-ts/sdk/models/shared";

let value: AccountingAccountValue = AccountingAccountValue.Asset;

// Open enum: unrecognized values are captured as Unrecognized<string>
```

## Values

This is an open enum. Unrecognized values will be captured as the `Unrecognized<string>` branded type.

| Name | Value |
| ---------------------- | ---------------------- |
| `Asset` | asset |
Expand Down
4 changes: 2 additions & 2 deletions docs/sdk/models/shared/accountingcompanyresultvalue.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ Default currency for the company
import { AccountingCompanyResultValue } from "@stackone/stackone-client-ts/sdk/models/shared";

let value: AccountingCompanyResultValue = AccountingCompanyResultValue.Usd;

// Open enum: unrecognized values are captured as Unrecognized<string>
```

## Values

This is an open enum. Unrecognized values will be captured as the `Unrecognized<string>` branded type.

| Name | Value |
| ---------------------- | ---------------------- |
| `Aed` | AED |
Expand Down
4 changes: 2 additions & 2 deletions docs/sdk/models/shared/accountingcompanyvalue.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ Default currency for the company
import { AccountingCompanyValue } from "@stackone/stackone-client-ts/sdk/models/shared";

let value: AccountingCompanyValue = AccountingCompanyValue.Usd;

// Open enum: unrecognized values are captured as Unrecognized<string>
```

## Values

This is an open enum. Unrecognized values will be captured as the `Unrecognized<string>` branded type.

| Name | Value |
| ---------------------- | ---------------------- |
| `Aed` | AED |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import { AccountingJournalCreateRequestDtoValue } from "@stackone/stackone-clien

let value: AccountingJournalCreateRequestDtoValue =
AccountingJournalCreateRequestDtoValue.Usd;

// Open enum: unrecognized values are captured as Unrecognized<string>
```

## Values

This is an open enum. Unrecognized values will be captured as the `Unrecognized<string>` branded type.

| Name | Value |
| ---------------------- | ---------------------- |
| `Aed` | AED |
Expand Down
4 changes: 2 additions & 2 deletions docs/sdk/models/shared/accountingjournalresultvalue.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ The journal status
import { AccountingJournalResultValue } from "@stackone/stackone-client-ts/sdk/models/shared";

let value: AccountingJournalResultValue = AccountingJournalResultValue.Draft;

// Open enum: unrecognized values are captured as Unrecognized<string>
```

## Values

This is an open enum. Unrecognized values will be captured as the `Unrecognized<string>` branded type.

| Name | Value |
| ---------------------- | ---------------------- |
| `Draft` | draft |
Expand Down
4 changes: 2 additions & 2 deletions docs/sdk/models/shared/accountingjournalvalue.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ The journal status
import { AccountingJournalValue } from "@stackone/stackone-client-ts/sdk/models/shared";

let value: AccountingJournalValue = AccountingJournalValue.Draft;

// Open enum: unrecognized values are captured as Unrecognized<string>
```

## Values

This is an open enum. Unrecognized values will be captured as the `Unrecognized<string>` branded type.

| Name | Value |
| ---------------------- | ---------------------- |
| `Draft` | draft |
Expand Down
11 changes: 6 additions & 5 deletions docs/sdk/models/shared/actionsearchdto.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ let value: ActionSearchDto = {

## Fields

| Field | Type | Required | Description | Example |
| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ |
| `connector` | *string* | :heavy_minus_sign: | Filter by connector key | slack |
| `query` | *string* | :heavy_check_mark: | Search query for finding connector actions | send a message |
| `topK` | *number* | :heavy_minus_sign: | Number of results to return | |
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
| `connector` | *string* | :heavy_minus_sign: | Filter by connector key | slack |
| `minSimilarity` | *number* | :heavy_minus_sign: | Minimum similarity score threshold (0-1). Results below this score are filtered out. | 0.4 |
| `query` | *string* | :heavy_check_mark: | Search query for finding connector actions | send a message |
| `topK` | *number* | :heavy_minus_sign: | Number of results to return | |
16 changes: 9 additions & 7 deletions docs/sdk/models/shared/actionsrpcrequestdto.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ let value: ActionsRpcRequestDto = {
body: {
"data": "example",
},
defenderEnabled: true,
headers: {
"Content-Type": "application/json",
},
Expand All @@ -24,10 +25,11 @@ let value: ActionsRpcRequestDto = {

## Fields

| Field | Type | Required | Description | Example |
| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- |
| `action` | *string* | :heavy_check_mark: | The action to execute | create_employee |
| `body` | Record<string, *any*> | :heavy_minus_sign: | Request body for the action | {<br/>"data": "example"<br/>} |
| `headers` | Record<string, *any*> | :heavy_minus_sign: | Headers for the action | {<br/>"Content-Type": "application/json"<br/>} |
| `path` | Record<string, *any*> | :heavy_minus_sign: | Path parameters for the action | {<br/>"id": "123"<br/>} |
| `query` | [shared.Query](../../../sdk/models/shared/query.md) | :heavy_minus_sign: | Query parameters for the action | |
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| `action` | *string* | :heavy_check_mark: | The action to execute | create_employee |
| `body` | Record<string, *any*> | :heavy_minus_sign: | Request body for the action | {<br/>"data": "example"<br/>} |
| `defenderEnabled` | *boolean* | :heavy_minus_sign: | Override the account-level defender setting for this request | true |
| `headers` | Record<string, *any*> | :heavy_minus_sign: | Headers for the action | {<br/>"Content-Type": "application/json"<br/>} |
| `path` | Record<string, *any*> | :heavy_minus_sign: | Path parameters for the action | {<br/>"id": "123"<br/>} |
| `query` | [shared.Query](../../../sdk/models/shared/query.md) | :heavy_minus_sign: | Query parameters for the action | |
4 changes: 2 additions & 2 deletions docs/sdk/models/shared/answervalue.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ The type of the answer.
import { AnswerValue } from "@stackone/stackone-client-ts/sdk/models/shared";

let value: AnswerValue = AnswerValue.ShortText;

// Open enum: unrecognized values are captured as Unrecognized<string>
```

## Values

This is an open enum. Unrecognized values will be captured as the `Unrecognized<string>` branded type.

| Name | Value |
| ---------------------- | ---------------------- |
| `ShortText` | short_text |
Expand Down
4 changes: 2 additions & 2 deletions docs/sdk/models/shared/applicationattachmentvalue.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ The content type of the attachment.
import { ApplicationAttachmentValue } from "@stackone/stackone-client-ts/sdk/models/shared";

let value: ApplicationAttachmentValue = ApplicationAttachmentValue.Text;

// Open enum: unrecognized values are captured as Unrecognized<string>
```

## Values

This is an open enum. Unrecognized values will be captured as the `Unrecognized<string>` branded type.

| Name | Value |
| ---------------------- | ---------------------- |
| `Text` | text |
Expand Down
4 changes: 2 additions & 2 deletions docs/sdk/models/shared/applicationchangesdatamodelvalue.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import { ApplicationChangesDataModelValue } from "@stackone/stackone-client-ts/s

let value: ApplicationChangesDataModelValue =
ApplicationChangesDataModelValue.Hired;

// Open enum: unrecognized values are captured as Unrecognized<string>
```

## Values

This is an open enum. Unrecognized values will be captured as the `Unrecognized<string>` branded type.

| Name | Value |
| ---------------------- | ---------------------- |
| `Active` | active |
Expand Down
4 changes: 2 additions & 2 deletions docs/sdk/models/shared/applicationchangesvalue.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ The type of change that occurred to the application
import { ApplicationChangesValue } from "@stackone/stackone-client-ts/sdk/models/shared";

let value: ApplicationChangesValue = ApplicationChangesValue.ApplicationStatus;

// Open enum: unrecognized values are captured as Unrecognized<string>
```

## Values

This is an open enum. Unrecognized values will be captured as the `Unrecognized<string>` branded type.

| Name | Value |
| ---------------------- | ---------------------- |
| `ApplicationStatus` | application_status |
Expand Down
4 changes: 2 additions & 2 deletions docs/sdk/models/shared/applicationvalue.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ The status of the application.
import { ApplicationValue } from "@stackone/stackone-client-ts/sdk/models/shared";

let value: ApplicationValue = ApplicationValue.Hired;

// Open enum: unrecognized values are captured as Unrecognized<string>
```

## Values

This is an open enum. Unrecognized values will be captured as the `Unrecognized<string>` branded type.

| Name | Value |
| ---------------------- | ---------------------- |
| `Active` | active |
Expand Down
Loading