Skip to content

Commit 0d5d32b

Browse files
chore: 🐝 Update SDK - Generate 4.31.0 (#229)
1 parent 9724347 commit 0d5d32b

31 files changed

+339
-238
lines changed

.speakeasy/gen.lock

Lines changed: 17 additions & 15 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: 21c11f7c050af85acbab5f81ad6e7ce4
4+
docChecksum: 43b75c4ea50f77d47aed029ccc0c9c5e
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.639.2
7-
generationVersion: 2.730.5
8-
releaseVersion: 4.30.0
9-
configChecksum: 5bcb81b4928797f361a70af503fb7546
6+
speakeasyVersion: 1.644.0
7+
generationVersion: 2.733.1
8+
releaseVersion: 4.31.0
9+
configChecksum: 7746b67f990c1c5004cf88cd9660d737
1010
repoURL: https://github.com/StackOneHQ/stackone-client-typescript.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/StackOneHQ/stackone-client-typescript
@@ -15,16 +15,17 @@ features:
1515
typescript:
1616
acceptHeaders: 2.81.2
1717
additionalDependencies: 0.1.0
18+
additionalProperties: 0.1.2
1819
constsAndDefaults: 0.1.12
19-
core: 3.24.1
20+
core: 3.24.2
2021
defaultEnabledRetries: 0.1.0
2122
deprecations: 2.81.1
2223
enumUnions: 0.1.0
2324
envVarSecurityUsage: 0.1.2
2425
examples: 2.82.3
2526
globalSecurity: 2.82.14
2627
globalSecurityCallbacks: 0.1.0
27-
globalServerURLs: 2.82.5
28+
globalServerURLs: 2.83.0
2829
groups: 2.81.3
2930
methodSecurity: 2.82.6
3031
nameOverrides: 2.81.2
@@ -834,7 +835,6 @@ generatedFiles:
834835
- docs/sdk/models/shared/actionsmetapaginated.md
835836
- docs/sdk/models/shared/actionsrpcrequestdto.md
836837
- docs/sdk/models/shared/actionsrpcresponse.md
837-
- docs/sdk/models/shared/actionsrpcresponse2.md
838838
- docs/sdk/models/shared/actionsrpcresponsedata.md
839839
- docs/sdk/models/shared/active.md
840840
- docs/sdk/models/shared/actor.md
@@ -1409,6 +1409,7 @@ generatedFiles:
14091409
- docs/sdk/models/shared/hierarchy.md
14101410
- docs/sdk/models/shared/homelocation.md
14111411
- docs/sdk/models/shared/hrisbankdetails.md
1412+
- docs/sdk/models/shared/hrisbankdetails2.md
14121413
- docs/sdk/models/shared/hrisbankdetails4.md
14131414
- docs/sdk/models/shared/hrisbankdetailscurrencycode.md
14141415
- docs/sdk/models/shared/hrisbankdetailsschemas4.md
@@ -1880,6 +1881,7 @@ generatedFiles:
18801881
- docs/sdk/models/shared/inviteemployeeresult.md
18811882
- docs/sdk/models/shared/isbotuser.md
18821883
- docs/sdk/models/shared/ispaid.md
1884+
- docs/sdk/models/shared/isprimary.md
18831885
- docs/sdk/models/shared/isroot.md
18841886
- docs/sdk/models/shared/issuedby.md
18851887
- docs/sdk/models/shared/isunlimited.md
@@ -2079,7 +2081,6 @@ generatedFiles:
20792081
- docs/sdk/models/shared/offersresult.md
20802082
- docs/sdk/models/shared/offerstatus.md
20812083
- docs/sdk/models/shared/offervalue.md
2082-
- docs/sdk/models/shared/one.md
20832084
- docs/sdk/models/shared/organization.md
20842085
- docs/sdk/models/shared/overallrecommendation.md
20852086
- docs/sdk/models/shared/package.md
@@ -2122,6 +2123,7 @@ generatedFiles:
21222123
- docs/sdk/models/shared/pushtemplate.md
21232124
- docs/sdk/models/shared/pushtemplateresult.md
21242125
- docs/sdk/models/shared/pushtemplatespaginated.md
2126+
- docs/sdk/models/shared/query.md
21252127
- docs/sdk/models/shared/question.md
21262128
- docs/sdk/models/shared/question2.md
21272129
- docs/sdk/models/shared/question4.md
@@ -4425,7 +4427,7 @@ examples:
44254427
id: "<id>"
44264428
subResourceId: "<id>"
44274429
query:
4428-
fields: "id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history,unified_custom_fields"
4430+
fields: "id,remote_id,application_id,remote_application_id,start_date,offer_status,salary,currency,created_at,updated_at,offer_history,unified_custom_fields"
44294431
header:
44304432
x-account-id: "<id>"
44314433
responses:
@@ -5155,7 +5157,7 @@ examples:
51555157
path:
51565158
id: "<id>"
51575159
query:
5158-
fields: "id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history,unified_custom_fields"
5160+
fields: "id,remote_id,application_id,remote_application_id,start_date,offer_status,salary,currency,created_at,updated_at,offer_history,unified_custom_fields"
51595161
header:
51605162
x-account-id: "<id>"
51615163
responses:
@@ -5452,7 +5454,7 @@ examples:
54525454
path:
54535455
id: "<id>"
54545456
query:
5455-
fields: "id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history,unified_custom_fields"
5457+
fields: "id,remote_id,application_id,remote_application_id,start_date,offer_status,salary,currency,created_at,updated_at,offer_history,unified_custom_fields"
54565458
filter: {"updated_after": "2020-01-01T00:00:00.000Z"}
54575459
updated_after: "2020-01-01T00:00:00.000Z"
54585460
header:
@@ -6035,7 +6037,7 @@ examples:
60356037
speakeasy-default-ats-list-offers:
60366038
parameters:
60376039
query:
6038-
fields: "id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history,unified_custom_fields"
6040+
fields: "id,remote_id,application_id,remote_application_id,start_date,offer_status,salary,currency,created_at,updated_at,offer_history,unified_custom_fields"
60396041
filter: {"updated_after": "2020-01-01T00:00:00.000Z"}
60406042
updated_after: "2020-01-01T00:00:00.000Z"
60416043
header:
@@ -14486,7 +14488,7 @@ examples:
1448614488
stackone_rpc_action:
1448714489
speakeasy-default-stackone-rpc-action:
1448814490
requestBody:
14489-
application/json: {"action": "create_employee", "body": {"data": "example"}, "headers": {"Content-Type": "application/json"}, "path": {"id": "123"}, "query": {"param1": "value1", "param2": "value2"}}
14491+
application/json: {"action": "create_employee", "body": {"data": "example"}, "headers": {"Content-Type": "application/json"}, "path": {"id": "123"}, "query": {"debug": false}}
1449014492
responses:
1449114493
"200":
1449214494
application/json: {}
@@ -14585,4 +14587,4 @@ examples:
1458514587
application/json: {"message": "Bad Gateway", "statusCode": 502, "timestamp": "2023-05-30T00:00:00.000Z"}
1458614588
examplesVersion: 1.0.2
1458714589
generatedTests: {}
14588-
releaseNotes: "## Typescript SDK Changes Detected:\n* `stackone.lms.createUserAssignment()`: \n * `request.lmsCreateAssignmentRequestDto.learningObjectExternalReference` **Changed** **Breaking** :warning:\n* `stackone.accounts.getAccount()`: `response.setup_information` **Changed** **Breaking** :warning:\n* `stackone.accounts.listLinkedAccounts()`: `response.[].setupInformation` **Changed** **Breaking** :warning:\n* `stackone.accounts.updateAccount()`: `response.setup_information` **Changed** **Breaking** :warning:\n* `stackone.lms.batchUpsertContent()`: \n * `request.lmsBatchUpsertContentRequestDto.items.[].externalReference` **Changed** **Breaking** :warning:\n* `stackone.accounts.deleteAccount()`: `response.setup_information` **Changed** **Breaking** :warning:\n* `stackone.lms.createUserCompletion()`: \n * `request.lmsCreateCompletionRequestDto.learningObjectExternalReference` **Changed** **Breaking** :warning:\n* `stackone.lms.updateContent()`: \n * `request.lmsCreateContentRequestDto.externalReference` **Changed** **Breaking** :warning:\n* `stackone.lms.upsertContent()`: \n * `request.lmsUpsertContentRequestDto.externalReference` **Changed** **Breaking** :warning:\n* `stackone.ats.getCandidate()`: `response.data.tags` **Added**\n* `stackone.ats.listCandidates()`: `response.data.[].tags` **Added**\n* `stackone.hris.getEmployee()`: `response.data.bankDetails` **Added**\n* `stackone.hris.listEmployees()`: `response.data.[].bankDetails` **Added**\n"
14590+
releaseNotes: "## Typescript SDK Changes Detected:\n* `stackone.actions.rpcAction()`: \n * `request.query` **Changed** **Breaking** :warning:\n * `response.data` **Changed**\n* `stackone.hris.getEmployee()`: `response.data.bankDetails.[].isPrimary` **Changed** **Breaking** :warning:\n* `stackone.hris.listEmployees()`: `response.data.[].bankDetails.[].isPrimary` **Changed** **Breaking** :warning:\n"

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.639.2
1+
speakeasyVersion: 1.644.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:95ba30678541dbf21f97328b01e26f69287141c5d918018f1fb90170c21b7d4c
6-
sourceBlobDigest: sha256:4a7179ee460f2815f2aa0f24460792e15010b6c4985871d8b2ddffd37b999173
5+
sourceRevisionDigest: sha256:c5069173ebfe59e42f43f1a2411011b8df2472da290956f8b91e30a10a4480a9
6+
sourceBlobDigest: sha256:f9d5da4e137088e2424dae11844b60aeb7f1c60f336bf5d030cc94be8df9013e
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1761308888
9+
- speakeasy-sdk-regen-1761932023
1010
- 1.0.0
1111
targets:
1212
StackOneTypeScriptClient:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:95ba30678541dbf21f97328b01e26f69287141c5d918018f1fb90170c21b7d4c
16-
sourceBlobDigest: sha256:4a7179ee460f2815f2aa0f24460792e15010b6c4985871d8b2ddffd37b999173
15+
sourceRevisionDigest: sha256:c5069173ebfe59e42f43f1a2411011b8df2472da290956f8b91e30a10a4480a9
16+
sourceBlobDigest: sha256:f9d5da4e137088e2424dae11844b60aeb7f1c60f336bf5d030cc94be8df9013e
1717
codeSamplesNamespace: code-samples-typescript-stackonetypescriptclient
18-
codeSamplesRevisionDigest: sha256:c3a7957d4176f99630d8292e0941232574038029433ee05ba8f5facd2f4cdc3d
18+
codeSamplesRevisionDigest: sha256:dfae24cfc52bbb5a2c51df92df92d31b8fd6d2be940a755cc72ff9a71fbfcca6
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1986,4 +1986,14 @@ Based on:
19861986
### Generated
19871987
- [typescript v4.30.0] .
19881988
### Releases
1989-
- [NPM v4.30.0] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.30.0 - .
1989+
- [NPM v4.30.0] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.30.0 - .
1990+
1991+
## 2025-10-31 17:33:19
1992+
### Changes
1993+
Based on:
1994+
- OpenAPI Doc
1995+
- Speakeasy CLI 1.644.0 (2.733.1) https://github.com/speakeasy-api/speakeasy
1996+
### Generated
1997+
- [typescript v4.31.0] .
1998+
### Releases
1999+
- [NPM v4.31.0] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.31.0 - .

codeSamples.yaml

Lines changed: 5 additions & 5 deletions
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 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();"
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 debug: false,\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":
@@ -272,13 +272,13 @@ actions:
272272
"x-codeSamples":
273273
- "lang": "typescript"
274274
"label": "ats_list_applications_offers"
275-
"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.ats.listApplicationsOffers({\n id: \"<id>\",\n fields: \"id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history,unified_custom_fields\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"<id>\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();"
275+
"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.ats.listApplicationsOffers({\n id: \"<id>\",\n fields: \"id,remote_id,application_id,remote_application_id,start_date,offer_status,salary,currency,created_at,updated_at,offer_history,unified_custom_fields\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"<id>\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();"
276276
- target: $["paths"]["/unified/ats/applications/{id}/offers/{subResourceId}"]["get"]
277277
update:
278278
"x-codeSamples":
279279
- "lang": "typescript"
280280
"label": "ats_get_application_offer"
281-
"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.ats.getApplicationOffer({\n id: \"<id>\",\n subResourceId: \"<id>\",\n fields: \"id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history,unified_custom_fields\",\n xAccountId: \"<id>\",\n });\n\n console.log(result);\n}\n\nrun();"
281+
"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.ats.getApplicationOffer({\n id: \"<id>\",\n subResourceId: \"<id>\",\n fields: \"id,remote_id,application_id,remote_application_id,start_date,offer_status,salary,currency,created_at,updated_at,offer_history,unified_custom_fields\",\n xAccountId: \"<id>\",\n });\n\n console.log(result);\n}\n\nrun();"
282282
- target: $["paths"]["/unified/ats/applications/{id}/reject"]["post"]
283283
update:
284284
"x-codeSamples":
@@ -566,7 +566,7 @@ actions:
566566
"x-codeSamples":
567567
- "lang": "typescript"
568568
"label": "ats_list_offers"
569-
"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.ats.listOffers({\n fields: \"id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history,unified_custom_fields\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"<id>\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();"
569+
"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.ats.listOffers({\n fields: \"id,remote_id,application_id,remote_application_id,start_date,offer_status,salary,currency,created_at,updated_at,offer_history,unified_custom_fields\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n xAccountId: \"<id>\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();"
570570
- target: $["paths"]["/unified/ats/offers"]["post"]
571571
update:
572572
"x-codeSamples":
@@ -578,7 +578,7 @@ actions:
578578
"x-codeSamples":
579579
- "lang": "typescript"
580580
"label": "ats_get_offer"
581-
"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.ats.getOffer({\n id: \"<id>\",\n fields: \"id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history,unified_custom_fields\",\n xAccountId: \"<id>\",\n });\n\n console.log(result);\n}\n\nrun();"
581+
"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.ats.getOffer({\n id: \"<id>\",\n fields: \"id,remote_id,application_id,remote_application_id,start_date,offer_status,salary,currency,created_at,updated_at,offer_history,unified_custom_fields\",\n xAccountId: \"<id>\",\n });\n\n console.log(result);\n}\n\nrun();"
582582
- target: $["paths"]["/unified/ats/rejected_reasons"]["get"]
583583
update:
584584
"x-codeSamples":

0 commit comments

Comments
 (0)