diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 9f27d60..1d6b5b4 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,19 +1,19 @@ lockVersion: 2.0.0 id: 79567c4a-05f9-4d65-864d-dfe107aa4e9d management: - docChecksum: 9b05a214555fdbadc6d870c22f2384d3 + docChecksum: 1cc4bf6cc021bf7b052965e033518354 docVersion: 1.0.0 - speakeasyVersion: 1.680.1 + speakeasyVersion: 1.680.3 generationVersion: 2.788.5 - releaseVersion: 0.3.2 - configChecksum: be599b2d12a12a0946ed0328cfd725be + releaseVersion: 0.3.3 + configChecksum: 6ed14e9f0a5c60bdc6b76746ee732b84 repoURL: https://github.com/kombohq/typescript-sdk.git installationURL: https://github.com/kombohq/typescript-sdk published: true persistentEdits: - generation_id: 442e78c0-3b7f-407a-8251-e1f8e9018d72 - pristine_commit_hash: 34a50490a32305c66048bb5c560e7e5ec9428549 - pristine_tree_hash: 3de71c6f72efec8f957bcec20118d1bffd424b2a + generation_id: ff477b84-8919-4ed1-8cc3-509e27d416df + pristine_commit_hash: 11b6ed410e7a774bf460689540ee96baddfb156a + pristine_tree_hash: 723ed69104963f251a5eec87851c24cb34073bf3 features: typescript: additionalDependencies: 0.1.0 @@ -3926,8 +3926,8 @@ trackedFiles: pristine_git_object: d43861ef762bb1804f699387e1bd274ad2c06ae7 docs/sdks/general/README.md: id: ce0ada6fa2e1 - last_write_checksum: sha1:24471bcf906816c5b56965e43fc526a1cdb6c355 - pristine_git_object: cf78b1f1c9d1f82224d859312b06af84e4498d42 + last_write_checksum: sha1:51a3713fe652c78cfaa7b38f69dd2073886133ef + pristine_git_object: 531d8a086a49088c3508796403c9cad118e00c45 docs/sdks/hris/README.md: id: 0baa868a038c last_write_checksum: sha1:dfe1fb5c3d8b533809f977f48db350fe51794c8b @@ -3954,12 +3954,12 @@ trackedFiles: pristine_git_object: 29289cf79efbc687c7daf5b66266980eb719cdc8 jsr.json: id: 7f6ab7767282 - last_write_checksum: sha1:751a6c9fbe56e0babb7af5388cff69c0947ca129 - pristine_git_object: bde65652ac62da8f40aa25b8837b44fe2b61dfba + last_write_checksum: sha1:4c87edd259dd6e1e52650be09663cd8a176fc2fc + pristine_git_object: 401d38df867694d9b7a69eb8ba4eaad205a0461f package.json: id: 7030d0b2f71b - last_write_checksum: sha1:b6702b82c3d13e30dcb2348b23ca57b02e8d252b - pristine_git_object: 479cef426275680e93c48f658b03801b249c81e3 + last_write_checksum: sha1:717cca19279aebbca52060b96786107ac804cda9 + pristine_git_object: 4c19ec5719c3fe83bdccdd13c725407569314e66 src/core.ts: id: f431fdbcd144 last_write_checksum: sha1:b9f55b890c4f9f22b9bd199cce5fcc6fb3d15661 @@ -4110,8 +4110,8 @@ trackedFiles: pristine_git_object: dcc1ae133939886be24e52b8f9ebd8d3d1636ae0 src/funcs/generalSendPassthroughRequest.ts: id: 1e5308bfaf76 - last_write_checksum: sha1:e22687109494cdaaacbd19d7e4f1e28f2367ec97 - pristine_git_object: 9ba92133231fc99c78a18930fa8bf7e8f179616a + last_write_checksum: sha1:a59eb956b10e21d4177e03500aa7dc629f8d5327 + pristine_git_object: b71df6fc6c7cd94c6ced97dccf61decb84fea09d src/funcs/generalTriggerSync.ts: id: ffdb99b1aa6c last_write_checksum: sha1:4f6fe3e48433262ce9388a27eda7db1b66abba5d @@ -4218,8 +4218,8 @@ trackedFiles: pristine_git_object: 0aebd8b0a4867e35cb3348fc52921c3c0b4725b7 src/lib/config.ts: id: 320761608fb3 - last_write_checksum: sha1:b562a5c6ad7e11dfb6e88cfc84effdc961b5ce1a - pristine_git_object: 8ac781865e4d490a2ef50f5b6f354e0301cff491 + last_write_checksum: sha1:b1903a88047fee56aa91e69f69b939fb91bdc574 + pristine_git_object: 3ab15e8aeb4b82c8bcd8d3ecc7a2fc07c3368c02 src/lib/dlv.ts: id: b1988214835a last_write_checksum: sha1:1dd3e3fbb4550c4bf31f5ef997faff355d6f3250 @@ -4990,8 +4990,8 @@ trackedFiles: pristine_git_object: 30ddcd1e5e8fd53a3cc600c52dd3a6003ca48015 src/sdk/general.ts: id: 48cc986e19c8 - last_write_checksum: sha1:f45b72fd64853d116735f6d359023ffe2b892759 - pristine_git_object: f54f9eba878dda7d76652c5b28a0b438084db94c + last_write_checksum: sha1:68a98e969b2dd43f7c36a9e1e2f633a884fe7228 + pristine_git_object: 8b4f165c669ac624f87be81357f238abf91c835a src/sdk/hris.ts: id: b7831a6209ac last_write_checksum: sha1:fe59781790ae9671911f69a0dcae1c11ed89d9eb diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 78ad803..eb35814 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -28,7 +28,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: false typescript: - version: 0.3.2 + version: 0.3.3 acceptHeaderEnum: true additionalDependencies: dependencies: {} diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 0bf598e..5530f84 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,21 +1,21 @@ -speakeasyVersion: 1.680.1 +speakeasyVersion: 1.680.3 sources: kombo-prepared-spec: sourceNamespace: kombo-api - sourceRevisionDigest: sha256:fcf67d7c843299a5593a23052142af93f881f9e7cbe671fbd2ced6b3cd1ec248 - sourceBlobDigest: sha256:2eca6082deff96b56739183cd7c1ae8132b75b0e89de922a52af6bbc37202c38 + sourceRevisionDigest: sha256:d05958290f1c1fec3d923d6fbee40741680dfdd08964bb8bfdd093aa0b083495 + sourceBlobDigest: sha256:023dbc84e1fcbb823ee65c314ecdf582eba148c0983a8836f0d06cd159d62e17 tags: - latest - - speakeasy-sdk-regen-1766059866 + - speakeasy-sdk-regen-1766102547 - 1.0.0 targets: kombo-typescript: source: kombo-prepared-spec sourceNamespace: kombo-api - sourceRevisionDigest: sha256:fcf67d7c843299a5593a23052142af93f881f9e7cbe671fbd2ced6b3cd1ec248 - sourceBlobDigest: sha256:2eca6082deff96b56739183cd7c1ae8132b75b0e89de922a52af6bbc37202c38 + sourceRevisionDigest: sha256:d05958290f1c1fec3d923d6fbee40741680dfdd08964bb8bfdd093aa0b083495 + sourceBlobDigest: sha256:023dbc84e1fcbb823ee65c314ecdf582eba148c0983a8836f0d06cd159d62e17 codeSamplesNamespace: kombo-api-typescript-code-samples - codeSamplesRevisionDigest: sha256:acf58684b5ff7dec697357c7a97ef5bc3b1fd0278fe6ee25016661d91fb5dcea + codeSamplesRevisionDigest: sha256:7ca3fb500f98f1866b7418112c8177b371b644522f117d5ed8de79397d312b50 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index 0b50dae..727e7a3 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -88,4 +88,14 @@ Based on: ### Generated - [typescript v0.3.2] . ### Releases -- [NPM v0.3.2] https://www.npmjs.com/package/@kombo-api/sdk/v/0.3.2 - . \ No newline at end of file +- [NPM v0.3.2] https://www.npmjs.com/package/@kombo-api/sdk/v/0.3.2 - . + +## 2025-12-22 00:02:09 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.680.3 (2.788.5) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.3.3] . +### Releases +- [NPM v0.3.3] https://www.npmjs.com/package/@kombo-api/sdk/v/0.3.3 - . \ No newline at end of file diff --git a/docs/sdks/general/README.md b/docs/sdks/general/README.md index cf78b1f..531d8a0 100644 --- a/docs/sdks/general/README.md +++ b/docs/sdks/general/README.md @@ -176,6 +176,7 @@ To get started, please pick the relevant API (some tools provide multiple to due |Workday|`workday/soap`|[Workday's SOAP API](https://community.workday.com/sites/default/files/file-hosting/productionapi/index.html). We automatically authenticate all requests. Set `data` to your raw xml string. Use `/` as your `path`, as we will always send requests to `https://\{domain\}/ccx/service/\{tenant\}/\{service_name\}`. Set your `method` to `POST`. You need to specify the `api_options` object and set `service_name` to the name of the service you want to call. Find all available services [here](https://community.workday.com/sites/default/files/file-hosting/productionapi/versions/v41.0/index.html). The string that you submit as `data` will be the content of the `soapenv:Body` tag in the request. You can set the `service_version` to any valid Workday service version (the default is `38.2`).| |Workday|`workday/rest`|[Workday's REST API](https://community.workday.com/sites/default/files/file-hosting/restapi/index.html). We automatically authenticate all requests and use the correct Workday REST base URL for your tenant. The base URL follows the format: https://\{domain\}/api/\{service_name\}/\{version\}/\{tenant\}. You can specify any valid REST endpoint and method. See the Workday REST API documentation for available endpoints. You must specify the `api_options` object and set `service_name` to the name of the service you want to call. You can also specify the `version` (e.g., "v1", "v2"); if omitted, it defaults to "v1".| |SAP SuccessFactors|`successfactors/odata-v2`|[SuccessFactors' OData V2 API](https://help.sap.com/doc/74597e67f54d4f448252bad4c2b601c9/2211/en-US/SF_HCM_OData_API_REF_en.pdf). We automatically authenticate all requests and use `https://\{api_domain\}\{path?\}/odata/v2` as the base URL (the optional `\{path\}` is used when connecting via proxied/gateway domains).| +|SAP SuccessFactors|`successfactors/lms-odata-v4`|We use `https://\{api_domain\}/learning/odatav4` as the base URL. Find the official docs [here](https://help.sap.com/docs/successfactors-learning/sap-successfactors-learning-odata-apis).| |SmartRecruiters|`smartrecruiters/default`|Smartrecruiters [API](https://developers.smartrecruiters.com/reference/apply-api). We automatically authenticate all requests using OAuth and use `https://api.smartrecruiters.com` as the base URL.| |SmartRecruiters|`smartrecruiters/default`|Smartrecruiters [API](https://developers.smartrecruiters.com/reference/apply-api). We automatically authenticate all requests using the credentials supplied by the customer and use `https://api.smartrecruiters.com` as the base URL.| |Factorial|`factorial/api`|Factorial's [API](https://apidoc.factorialhr.com/). We automatically authenticate all requests and use `https://api.factorialhr.com/api` or `https://api.demo.factorial.dev/api` as the base URL, depending on the connected instance.| diff --git a/examples/package-lock.json b/examples/package-lock.json index c23a0b6..208be39 100644 --- a/examples/package-lock.json +++ b/examples/package-lock.json @@ -18,7 +18,7 @@ }, "..": { "name": "@kombo-api/sdk", - "version": "0.3.2", + "version": "0.3.3", "license": "MIT", "dependencies": { "zod": "^3.25.0 || ^4.0.0" diff --git a/jsr.json b/jsr.json index bde6565..401d38d 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "@kombo-api/sdk", - "version": "0.3.2", + "version": "0.3.3", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/package-lock.json b/package-lock.json index 191b35e..907d8af 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@kombo-api/sdk", - "version": "0.3.2", + "version": "0.3.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@kombo-api/sdk", - "version": "0.3.2", + "version": "0.3.3", "license": "MIT", "dependencies": { "zod": "^3.25.0 || ^4.0.0" diff --git a/package.json b/package.json index 479cef4..4c19ec5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kombo-api/sdk", - "version": "0.3.2", + "version": "0.3.3", "author": "Kombo Technologies GmbH (https://www.kombo.dev)", "description": "The official TypeScript/JavaScript SDK for the Kombo Unified API", "homepage": "https://github.com/kombohq/typescript-sdk#readme", diff --git a/src/funcs/generalSendPassthroughRequest.ts b/src/funcs/generalSendPassthroughRequest.ts index 9ba9213..b71df6f 100644 --- a/src/funcs/generalSendPassthroughRequest.ts +++ b/src/funcs/generalSendPassthroughRequest.ts @@ -45,6 +45,7 @@ import { Result } from "../types/fp.js"; * |Workday|`workday/soap`|[Workday's SOAP API](https://community.workday.com/sites/default/files/file-hosting/productionapi/index.html). We automatically authenticate all requests. Set `data` to your raw xml string. Use `/` as your `path`, as we will always send requests to `https://\{domain\}/ccx/service/\{tenant\}/\{service_name\}`. Set your `method` to `POST`. You need to specify the `api_options` object and set `service_name` to the name of the service you want to call. Find all available services [here](https://community.workday.com/sites/default/files/file-hosting/productionapi/versions/v41.0/index.html). The string that you submit as `data` will be the content of the `soapenv:Body` tag in the request. You can set the `service_version` to any valid Workday service version (the default is `38.2`).| * |Workday|`workday/rest`|[Workday's REST API](https://community.workday.com/sites/default/files/file-hosting/restapi/index.html). We automatically authenticate all requests and use the correct Workday REST base URL for your tenant. The base URL follows the format: https://\{domain\}/api/\{service_name\}/\{version\}/\{tenant\}. You can specify any valid REST endpoint and method. See the Workday REST API documentation for available endpoints. You must specify the `api_options` object and set `service_name` to the name of the service you want to call. You can also specify the `version` (e.g., "v1", "v2"); if omitted, it defaults to "v1".| * |SAP SuccessFactors|`successfactors/odata-v2`|[SuccessFactors' OData V2 API](https://help.sap.com/doc/74597e67f54d4f448252bad4c2b601c9/2211/en-US/SF_HCM_OData_API_REF_en.pdf). We automatically authenticate all requests and use `https://\{api_domain\}\{path?\}/odata/v2` as the base URL (the optional `\{path\}` is used when connecting via proxied/gateway domains).| + * |SAP SuccessFactors|`successfactors/lms-odata-v4`|We use `https://\{api_domain\}/learning/odatav4` as the base URL. Find the official docs [here](https://help.sap.com/docs/successfactors-learning/sap-successfactors-learning-odata-apis).| * |SmartRecruiters|`smartrecruiters/default`|Smartrecruiters [API](https://developers.smartrecruiters.com/reference/apply-api). We automatically authenticate all requests using OAuth and use `https://api.smartrecruiters.com` as the base URL.| * |SmartRecruiters|`smartrecruiters/default`|Smartrecruiters [API](https://developers.smartrecruiters.com/reference/apply-api). We automatically authenticate all requests using the credentials supplied by the customer and use `https://api.smartrecruiters.com` as the base URL.| * |Factorial|`factorial/api`|Factorial's [API](https://apidoc.factorialhr.com/). We automatically authenticate all requests and use `https://api.factorialhr.com/api` or `https://api.demo.factorial.dev/api` as the base URL, depending on the connected instance.| diff --git a/src/lib/config.ts b/src/lib/config.ts index 8ac7818..3ab15e8 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -69,7 +69,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "1.0.0", - sdkVersion: "0.3.2", + sdkVersion: "0.3.3", genVersion: "2.788.5", - userAgent: "speakeasy-sdk/typescript 0.3.2 2.788.5 1.0.0 @kombo-api/sdk", + userAgent: "speakeasy-sdk/typescript 0.3.3 2.788.5 1.0.0 @kombo-api/sdk", } as const; diff --git a/src/sdk/general.ts b/src/sdk/general.ts index f54f9eb..8b4f165 100644 --- a/src/sdk/general.ts +++ b/src/sdk/general.ts @@ -73,6 +73,7 @@ export class General extends ClientSDK { * |Workday|`workday/soap`|[Workday's SOAP API](https://community.workday.com/sites/default/files/file-hosting/productionapi/index.html). We automatically authenticate all requests. Set `data` to your raw xml string. Use `/` as your `path`, as we will always send requests to `https://\{domain\}/ccx/service/\{tenant\}/\{service_name\}`. Set your `method` to `POST`. You need to specify the `api_options` object and set `service_name` to the name of the service you want to call. Find all available services [here](https://community.workday.com/sites/default/files/file-hosting/productionapi/versions/v41.0/index.html). The string that you submit as `data` will be the content of the `soapenv:Body` tag in the request. You can set the `service_version` to any valid Workday service version (the default is `38.2`).| * |Workday|`workday/rest`|[Workday's REST API](https://community.workday.com/sites/default/files/file-hosting/restapi/index.html). We automatically authenticate all requests and use the correct Workday REST base URL for your tenant. The base URL follows the format: https://\{domain\}/api/\{service_name\}/\{version\}/\{tenant\}. You can specify any valid REST endpoint and method. See the Workday REST API documentation for available endpoints. You must specify the `api_options` object and set `service_name` to the name of the service you want to call. You can also specify the `version` (e.g., "v1", "v2"); if omitted, it defaults to "v1".| * |SAP SuccessFactors|`successfactors/odata-v2`|[SuccessFactors' OData V2 API](https://help.sap.com/doc/74597e67f54d4f448252bad4c2b601c9/2211/en-US/SF_HCM_OData_API_REF_en.pdf). We automatically authenticate all requests and use `https://\{api_domain\}\{path?\}/odata/v2` as the base URL (the optional `\{path\}` is used when connecting via proxied/gateway domains).| + * |SAP SuccessFactors|`successfactors/lms-odata-v4`|We use `https://\{api_domain\}/learning/odatav4` as the base URL. Find the official docs [here](https://help.sap.com/docs/successfactors-learning/sap-successfactors-learning-odata-apis).| * |SmartRecruiters|`smartrecruiters/default`|Smartrecruiters [API](https://developers.smartrecruiters.com/reference/apply-api). We automatically authenticate all requests using OAuth and use `https://api.smartrecruiters.com` as the base URL.| * |SmartRecruiters|`smartrecruiters/default`|Smartrecruiters [API](https://developers.smartrecruiters.com/reference/apply-api). We automatically authenticate all requests using the credentials supplied by the customer and use `https://api.smartrecruiters.com` as the base URL.| * |Factorial|`factorial/api`|Factorial's [API](https://apidoc.factorialhr.com/). We automatically authenticate all requests and use `https://api.factorialhr.com/api` or `https://api.demo.factorial.dev/api` as the base URL, depending on the connected instance.|