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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 23 additions & 23 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
lockVersion: 2.0.0
id: 7fa83af8-9e8e-4410-b7e2-cf1d0eaf688b
management:
docChecksum: b7e066c5b3be81c2d8269a69257b8408
docChecksum: 8b6de23c6d4626e6a540c61f90d4c04d
docVersion: 1.0.0
speakeasyVersion: 1.709.1
generationVersion: 2.812.2
releaseVersion: 4.34.0
configChecksum: 8ef1f1c6848b6615ee4cc9fb7efbe307
speakeasyVersion: 1.718.0
generationVersion: 2.824.1
releaseVersion: 4.34.1
configChecksum: f658032e63a64c2c48390b93c8d3f2a0
repoURL: https://github.com/StackOneHQ/stackone-client-typescript.git
repoSubDirectory: .
installationURL: https://github.com/StackOneHQ/stackone-client-typescript
published: true
persistentEdits:
generation_id: 984af5da-b7bc-46a3-a1fb-99b1757401a9
pristine_commit_hash: ac7fcda5999aa7eda678ff3c0c3528e5098c7a94
pristine_tree_hash: 16be32ef0e73c8be3aaa7135ea762bf7af054845
generation_id: 0b73bbf0-988b-4408-88e2-199761c42705
pristine_commit_hash: 831d91fc6db32947ed50863da6cd424a5f21a7cc
pristine_tree_hash: 91016874c88ddbf2412c916ffc67c09b7c9aaeef
features:
typescript:
acceptHeaders: 2.81.2
Expand Down Expand Up @@ -7739,8 +7739,8 @@ trackedFiles:
pristine_git_object: 87b5a7495ef6119c368e2c6a9116afd410beb2ea
docs/sdk/models/shared/linkedaccount.md:
id: 75ce68768ccc
last_write_checksum: sha1:8971108f136137e632be89fdef3be23488d186cc
pristine_git_object: 556fb758000f6dd688249ad65b1e874d5e6352eb
last_write_checksum: sha1:118a9f9c8f173bfbcf4c9f0de7fbff0f474563ee
pristine_git_object: 4198c64266e2b48d874e316112c8b8eba97a8506
docs/sdk/models/shared/linkedaccountmeta.md:
id: 80b01a0a27a3
last_write_checksum: sha1:bced5eba43128f6ae05c801832e20b75ff198783
Expand Down Expand Up @@ -8279,8 +8279,8 @@ trackedFiles:
pristine_git_object: a7568cba2323751f4ae1760c4fe44336358d0580
docs/sdk/models/shared/patchaccountexternaldto.md:
id: c82a303c1cfa
last_write_checksum: sha1:28812ef44fb8147d82a7b3bf1c35f3a8662250e8
pristine_git_object: 0d4fdf86f7e79c4a57e89b362c370e3cad9fc3a3
last_write_checksum: sha1:985f661976bc011d9d0d9e85a27675f43e0f742b
pristine_git_object: 53daa8ce31d724fa0449eff6b3228dc702f144fb
docs/sdk/models/shared/patchaccountexternaldtocredentials.md:
id: 386e12541cc7
last_write_checksum: sha1:ba4179e01db6fe7ad2c4948cfae0720ed75f671a
Expand Down Expand Up @@ -9899,12 +9899,12 @@ trackedFiles:
pristine_git_object: 59b07d716a5a829bb20315725a027a555c897fad
jsr.json:
id: 7f6ab7767282
last_write_checksum: sha1:0002b801cc7bcf8205e6cc87cb256152e1c3da20
pristine_git_object: 2200332d9d633ccb58a349b7f5e6702ee9f4ac9e
last_write_checksum: sha1:1022bf02ae01b6f7ac22d1d0d1503c50e24033f3
pristine_git_object: 5cdef410f2eafbe07b41c575ceebed4c83d3ce80
package.json:
id: 7030d0b2f71b
last_write_checksum: sha1:5c3e1753b86b725601fefad42f197a9da0d1deab
pristine_git_object: 13f36a38dc098864f85c4f18770ec26cd4a0d7a0
last_write_checksum: sha1:10edc45d5d8ecc978e9f1436869fc57365d7693c
pristine_git_object: ec80113b0dc58925dd5c0fd586fe4826f46b472b
src/core.ts:
id: f431fdbcd144
last_write_checksum: sha1:548d01dbd4f51d5b691421fd49f593b899550bd5
Expand Down Expand Up @@ -11099,8 +11099,8 @@ trackedFiles:
pristine_git_object: 0aebd8b0a4867e35cb3348fc52921c3c0b4725b7
src/lib/config.ts:
id: 320761608fb3
last_write_checksum: sha1:ebe1db48d76ffe04696284041f47040ebcf700a8
pristine_git_object: 9c39d1b6fa6626aded41ec88aca80fdd7dae01be
last_write_checksum: sha1:a2f331c7683d0f83c58dd078e11d56a14bf804d7
pristine_git_object: af37571f6537d08fc0d3f0046a1acb3d1a3f7c55
src/lib/dlv.ts:
id: b1988214835a
last_write_checksum: sha1:1dd3e3fbb4550c4bf31f5ef997faff355d6f3250
Expand Down Expand Up @@ -13471,8 +13471,8 @@ trackedFiles:
pristine_git_object: 6346d54609ea1327e7a693242bc309ce9177d645
src/sdk/models/shared/linkedaccount.ts:
id: 14871a94b1d1
last_write_checksum: sha1:d5bce7a28848a40499d9f3b5cc74a3bb003a2fd2
pristine_git_object: beabca362b603d49422207ec4a1ab5fb5e501b82
last_write_checksum: sha1:6fb83434276d8c216170881d4b49e346edb351b0
pristine_git_object: a1615272cd332b9706a90c02d5b38fdbbda5b3ab
src/sdk/models/shared/linkedaccountmeta.ts:
id: bf7414ca6d79
last_write_checksum: sha1:ece521411a46af410a1a4c4f54b32af3ce7e97f8
Expand Down Expand Up @@ -13643,8 +13643,8 @@ trackedFiles:
pristine_git_object: 5ac959e6848b80f7f05cefe6102e8d8892f1904a
src/sdk/models/shared/patchaccountexternaldto.ts:
id: 4facd0f2ba62
last_write_checksum: sha1:66614f67749c48841e37b2f2e0edda2d62e82c3f
pristine_git_object: 113d71de990091b6b4ff5af8d0cf6ed6cb4d4383
last_write_checksum: sha1:0b1497d9000edc7888b79965190a2cfb9fd796cd
pristine_git_object: 8d4b84f5f1320a5c29f796cf776ac5971e0ce85e
src/sdk/models/shared/phonenumber.ts:
id: 8d3e3b17bfc0
last_write_checksum: sha1:48a4235f26646c390fb23f973d7739e43d636879
Expand Down Expand Up @@ -25665,7 +25665,7 @@ examples:
application/json: {"message": "Bad Gateway", "statusCode": 502, "timestamp": "2023-05-30T00:00:00.000Z"}
examplesVersion: 1.0.2
generatedTests: {}
releaseNotes: "## Typescript SDK Changes:\n* `stackone.actions.buildActionEmbeddings()`: `response` **Changed** (Breaking ⚠️)\n* `stackone.connectSessions.authenticateConnectSession()`: `response.organizationId` **Changed** (Breaking ⚠️)\n* `stackone.connectSessions.createConnectSession()`: `response.organizationId` **Changed** (Breaking ⚠️)\n* `stackone.actions.listActionsMeta()`: \n * `request.include` **Changed**\n * `response.data[].actions[].authentication[].support` **Added**\n"
releaseNotes: "## Typescript SDK Changes:\n* `stackone.accounts.deleteAccount()`: `response.shared` **Added**\n* `stackone.accounts.getAccount()`: `response.shared` **Added**\n* `stackone.accounts.listLinkedAccounts()`: `response.[].shared` **Added**\n* `stackone.accounts.updateAccount()`: \n * `request.patchAccountExternalDto.shared` **Added**\n * `response.shared` **Added**\n"
generatedFiles:
- .gitattributes
- .npmignore
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.709.1
speakeasyVersion: 1.718.0
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:5d51018e6191c7d8a81be97d7ce96e94001ee7a6f875d62c623ffb653528bec0
sourceBlobDigest: sha256:7de4c3285442658014c21ce18cfc3295c11f98d999e7df9ce2c747f75c310e9d
sourceRevisionDigest: sha256:10795a3705f5d0ac43cb920fc6800c28483f6454314a5f98e3222828f92c3059
sourceBlobDigest: sha256:a378d55f377d7ab6f9bc5fa00c896131fb5c8acdc2258552cbc96a7d4fc7b1c3
tags:
- latest
- speakeasy-sdk-regen-1770024140
- speakeasy-sdk-regen-1771233905
- 1.0.0
targets:
StackOneTypeScriptClient:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:5d51018e6191c7d8a81be97d7ce96e94001ee7a6f875d62c623ffb653528bec0
sourceBlobDigest: sha256:7de4c3285442658014c21ce18cfc3295c11f98d999e7df9ce2c747f75c310e9d
sourceRevisionDigest: sha256:10795a3705f5d0ac43cb920fc6800c28483f6454314a5f98e3222828f92c3059
sourceBlobDigest: sha256:a378d55f377d7ab6f9bc5fa00c896131fb5c8acdc2258552cbc96a7d4fc7b1c3
codeSamplesNamespace: code-samples-typescript-stackonetypescriptclient
codeSamplesRevisionDigest: sha256:a0b27926e0456bcaa198f6b0fdf4a9868bb419696296a8efa19affa0e7139b93
codeSamplesRevisionDigest: sha256:324820a77cef37b9bccb2777919da219b43da708095db8d874d27af3c4d3a234
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
31 changes: 23 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,18 @@
<!-- Start Summary [summary] -->
## Summary

Accounting: The documentation for the StackOne Unified API - ACCOUNTING
Accounting: The documentation for the StackOne API
The documentation for the StackOne Unified API - HRIS
The documentation for the StackOne Unified API - ATS
The documentation for the StackOne Unified API - CRM
The documentation for the StackOne Unified API - IAM
The documentation for the StackOne Unified API - MARKETING
The documentation for the StackOne Unified API - LMS
The documentation for the StackOne Unified API - TICKETING
The documentation for the StackOne Unified API - DOCUMENTS
The documentation for the StackOne Unified API - SCREENING
The documentation for the StackOne Unified API - MESSAGING
The documentation for the StackOne Unified API - ACCOUNTING
<!-- End Summary [summary] -->

<!-- Start Table of Contents [toc] -->
Expand Down Expand Up @@ -614,19 +625,23 @@ The `HTTPClient` constructor takes an optional `fetcher` argument that can be
used to integrate a third-party HTTP client or when writing tests to mock out
the HTTP client and feed in fixtures.

The following example shows how to use the `"beforeRequest"` hook to to add a
custom header and a timeout to requests and how to use the `"requestError"` hook
to log errors:
The following example shows how to:
- route requests through a proxy server using [undici](https://www.npmjs.com/package/undici)'s ProxyAgent
- use the `"beforeRequest"` hook to add a custom header and a timeout to requests
- use the `"requestError"` hook to log errors

```typescript
import { StackOne } from "@stackone/stackone-client-ts";
import { ProxyAgent } from "undici";
import { HTTPClient } from "@stackone/stackone-client-ts/lib/http";

const dispatcher = new ProxyAgent("http://proxy.example.com:8080");

const httpClient = new HTTPClient({
// fetcher takes a function that has the same signature as native `fetch`.
fetcher: (request) => {
return fetch(request);
}
// 'fetcher' takes a function that has the same signature as native 'fetch'.
fetcher: (input, init) =>
// 'dispatcher' is specific to undici and not part of the standard Fetch API.
fetch(input, { ...init, dispatcher } as RequestInit),
});

httpClient.addHook("beforeRequest", (request) => {
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2066,4 +2066,14 @@ Based on:
### Generated
- [typescript v4.34.0] .
### Releases
- [NPM v4.34.0] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.34.0 - .
- [NPM v4.34.0] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.34.0 - .

## 2026-02-16 09:24:38
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.718.0 (2.824.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v4.34.1] .
### Releases
- [NPM v4.34.1] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.34.1 - .
Loading