Skip to content

Commit 54e170b

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 4.22.0 (#194)
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.580.1 * 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 0bf8c06 commit 54e170b

File tree

323 files changed

+6561
-263
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

323 files changed

+6561
-263
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/examples/node_modules
2+
.env
3+
.env.local
4+
.env.*.local
15
**/.speakeasy/temp/
26
**/.speakeasy/logs/
37
.speakeasy/temp/

.speakeasy/gen.lock

Lines changed: 93 additions & 7 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: a9c34a3456d4142a1c5ad42d51df21fd
4+
docChecksum: 89dda538c50aded838ef9a4745515920
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.575.5
7-
generationVersion: 2.648.7
8-
releaseVersion: 4.21.2
9-
configChecksum: dec9f6a3c32724f356e850a6ce7375bb
6+
speakeasyVersion: 1.580.1
7+
generationVersion: 2.656.3
8+
releaseVersion: 4.22.0
9+
configChecksum: 365b6161725b360431d3cfe4342bb1ef
1010
repoURL: https://github.com/StackOneHQ/stackone-client-typescript.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/StackOneHQ/stackone-client-typescript
@@ -15,13 +15,13 @@ features:
1515
typescript:
1616
additionalDependencies: 0.1.0
1717
constsAndDefaults: 0.1.12
18-
core: 3.21.13
18+
core: 3.21.14
1919
defaultEnabledRetries: 0.1.0
2020
deprecations: 2.81.1
2121
downloadStreams: 0.1.1
2222
enumUnions: 0.1.0
2323
envVarSecurityUsage: 0.1.2
24-
examples: 2.81.5
24+
examples: 2.82.1
2525
globalSecurity: 2.82.13
2626
globalSecurityCallbacks: 0.1.0
2727
globalServerURLs: 2.82.5
@@ -326,6 +326,8 @@ generatedFiles:
326326
- docs/sdk/models/operations/hrisgetlocationresponse.md
327327
- docs/sdk/models/operations/hrisgetpositionrequest.md
328328
- docs/sdk/models/operations/hrisgetpositionresponse.md
329+
- docs/sdk/models/operations/hrisgettaskrequest.md
330+
- docs/sdk/models/operations/hrisgettaskresponse.md
329331
- docs/sdk/models/operations/hrisgetteamgrouprequest.md
330332
- docs/sdk/models/operations/hrisgetteamgroupresponse.md
331333
- docs/sdk/models/operations/hrisgettimeentriesrequest.md
@@ -398,6 +400,9 @@ generatedFiles:
398400
- docs/sdk/models/operations/hrislistpositionsqueryparamfilter.md
399401
- docs/sdk/models/operations/hrislistpositionsrequest.md
400402
- docs/sdk/models/operations/hrislistpositionsresponse.md
403+
- docs/sdk/models/operations/hrislisttasksqueryparamfilter.md
404+
- docs/sdk/models/operations/hrislisttasksrequest.md
405+
- docs/sdk/models/operations/hrislisttasksresponse.md
401406
- docs/sdk/models/operations/hrislistteamgroupsqueryparamfilter.md
402407
- docs/sdk/models/operations/hrislistteamgroupsrequest.md
403408
- docs/sdk/models/operations/hrislistteamgroupsresponse.md
@@ -2090,6 +2095,10 @@ generatedFiles:
20902095
- docs/sdks/stackone/README.md
20912096
- docs/sdks/ticketing/README.md
20922097
- eslint.config.mjs
2098+
- examples/.env.template
2099+
- examples/README.md
2100+
- examples/hrisListEmployees.example.ts
2101+
- examples/package.json
20932102
- jsr.json
20942103
- package.json
20952104
- src/core.ts
@@ -2218,6 +2227,7 @@ generatedFiles:
22182227
- src/funcs/hrisGetJob.ts
22192228
- src/funcs/hrisGetLocation.ts
22202229
- src/funcs/hrisGetPosition.ts
2230+
- src/funcs/hrisGetTask.ts
22212231
- src/funcs/hrisGetTeamGroup.ts
22222232
- src/funcs/hrisGetTimeEntries.ts
22232233
- src/funcs/hrisGetTimeOffPolicy.ts
@@ -2244,6 +2254,7 @@ generatedFiles:
22442254
- src/funcs/hrisListJobs.ts
22452255
- src/funcs/hrisListLocations.ts
22462256
- src/funcs/hrisListPositions.ts
2257+
- src/funcs/hrisListTasks.ts
22472258
- src/funcs/hrisListTeamGroups.ts
22482259
- src/funcs/hrisListTimeEntries.ts
22492260
- src/funcs/hrisListTimeOffPolicies.ts
@@ -2499,6 +2510,7 @@ generatedFiles:
24992510
- src/sdk/models/operations/hrisgetjob.ts
25002511
- src/sdk/models/operations/hrisgetlocation.ts
25012512
- src/sdk/models/operations/hrisgetposition.ts
2513+
- src/sdk/models/operations/hrisgettask.ts
25022514
- src/sdk/models/operations/hrisgetteamgroup.ts
25032515
- src/sdk/models/operations/hrisgettimeentries.ts
25042516
- src/sdk/models/operations/hrisgettimeoffpolicy.ts
@@ -2525,6 +2537,7 @@ generatedFiles:
25252537
- src/sdk/models/operations/hrislistjobs.ts
25262538
- src/sdk/models/operations/hrislistlocations.ts
25272539
- src/sdk/models/operations/hrislistpositions.ts
2540+
- src/sdk/models/operations/hrislisttasks.ts
25282541
- src/sdk/models/operations/hrislistteamgroups.ts
25292542
- src/sdk/models/operations/hrislisttimeentries.ts
25302543
- src/sdk/models/operations/hrislisttimeoffpolicies.ts
@@ -12010,5 +12023,78 @@ examples:
1201012023
application/json: {"message": "Not Implemented", "statusCode": 501, "timestamp": "2023-05-30T00:00:00.000Z"}
1201112024
"502":
1201212025
application/json: {"message": "Bad Gateway", "statusCode": 502, "timestamp": "2023-05-30T00:00:00.000Z"}
12026+
hris_get_task:
12027+
speakeasy-default-hris-get-task:
12028+
parameters:
12029+
path:
12030+
id: "<id>"
12031+
query:
12032+
fields: "id,remote_id,employee_id,remote_employee_id,name,description,type,status,due_date,completion_date,assigned_by_employee_id,remote_assigned_by_employee_id,assigned_by_employee_name,link_to_task,extracted_links,next_task_id,remote_next_task_id,parent_process_name,comments,attachments,created_at,updated_at"
12033+
expand: "attachments"
12034+
header:
12035+
x-account-id: "<id>"
12036+
responses:
12037+
"200":
12038+
application/json: {"data": [{"assigned_by_employee_id": "cx280928938", "assigned_by_employee_name": "John Smith", "attachments": [{"category": {}, "category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "application/pdf", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "updated_at": "2021-01-02T01:01:01.000Z"}], "comments": [{"comment": "Approved based on in-person assessment", "created_at": "2024-03-15T10:00:00.000Z"}], "completion_date": "2024-03-19T15:30:00.000Z", "created_at": "2024-03-15T10:00:00.000Z", "description": "Please complete all required onboarding documents in the employee portal", "due_date": "2024-03-20T23:59:59.000Z", "employee_id": "cx280928937", "extracted_links": ["https://provider.com/docs/1", "https://provider.com/forms/2"], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "link_to_task": "https://provider.com/tasks/123", "name": "Complete onboarding documents", "next_task_id": "cx280928939", "parent_process_name": "Onboarding Tasks", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "status": {"value": "open"}, "type": {"value": "action"}, "updated_at": "2024-03-19T15:30:00.000Z"}]}
12039+
"400":
12040+
application/json: {"data": {"headers": {}, "message": "Bad Request", "statusCode": 400}, "message": "Bad Request", "provider_errors": [{"headers": {}, "raw": {}, "status": 400, "url": "https://api.provider.com/v1/resource"}], "statusCode": 400, "timestamp": "2023-05-30T00:00:00.000Z"}
12041+
"401":
12042+
application/json: {"message": "Unauthorized", "statusCode": 401, "timestamp": "2023-05-30T00:00:00.000Z"}
12043+
"403":
12044+
application/json: {"message": "Forbidden resource", "statusCode": 403, "timestamp": "2023-05-30T00:00:00.000Z"}
12045+
"404":
12046+
application/json: {"message": "Not Found", "statusCode": 404, "timestamp": "2023-05-30T00:00:00.000Z"}
12047+
"408":
12048+
application/json: {"message": "Request timed out", "statusCode": 408, "timestamp": "2023-05-30T00:00:00.000Z"}
12049+
"409":
12050+
application/json: {"message": "Conflict", "statusCode": 409, "timestamp": "2023-05-30T00:00:00.000Z"}
12051+
"412":
12052+
application/json: {"message": "Precondition failed", "statusCode": 412, "timestamp": "2023-05-30T00:00:00.000Z"}
12053+
"422":
12054+
application/json: {"message": "Unprocessable Entity", "statusCode": 422, "timestamp": "2023-05-30T00:00:00.000Z"}
12055+
"429":
12056+
application/json: {"message": "Too many requests", "statusCode": 429, "timestamp": "2023-05-30T00:00:00.000Z"}
12057+
"500":
12058+
application/json: {"message": "Internal server error", "statusCode": 500, "timestamp": "2023-05-30T00:00:00.000Z"}
12059+
"501":
12060+
application/json: {"message": "Not Implemented", "statusCode": 501, "timestamp": "2023-05-30T00:00:00.000Z"}
12061+
"502":
12062+
application/json: {"message": "Bad Gateway", "statusCode": 502, "timestamp": "2023-05-30T00:00:00.000Z"}
12063+
hris_list_tasks:
12064+
speakeasy-default-hris-list-tasks:
12065+
parameters:
12066+
query:
12067+
fields: "id,remote_id,employee_id,remote_employee_id,name,description,type,status,due_date,completion_date,assigned_by_employee_id,remote_assigned_by_employee_id,assigned_by_employee_name,link_to_task,extracted_links,next_task_id,remote_next_task_id,parent_process_name,comments,attachments,created_at,updated_at"
12068+
filter: {"updated_after": "2020-01-01T00:00:00.000Z"}
12069+
expand: "attachments"
12070+
header:
12071+
x-account-id: "<id>"
12072+
responses:
12073+
"200":
12074+
application/json: {"data": [{"assigned_by_employee_id": "cx280928938", "assigned_by_employee_name": "John Smith", "attachments": [{"category": {}, "category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "application/pdf", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "updated_at": "2021-01-02T01:01:01.000Z"}], "comments": null, "completion_date": "2024-03-19T15:30:00.000Z", "created_at": "2024-03-15T10:00:00.000Z", "description": "Please complete all required onboarding documents in the employee portal", "due_date": "2024-03-20T23:59:59.000Z", "employee_id": "cx280928937", "extracted_links": ["https://provider.com/docs/1", "https://provider.com/forms/2"], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "link_to_task": "https://provider.com/tasks/123", "name": "Complete onboarding documents", "next_task_id": "cx280928939", "parent_process_name": "Onboarding Tasks", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "status": {"value": "open"}, "type": null, "updated_at": "2024-03-19T15:30:00.000Z"}]}
12075+
"400":
12076+
application/json: {"data": {"headers": {}, "message": "Bad Request", "statusCode": 400}, "message": "Bad Request", "provider_errors": [{"headers": {}, "raw": {}, "status": 400, "url": "https://api.provider.com/v1/resource"}], "statusCode": 400, "timestamp": "2023-05-30T00:00:00.000Z"}
12077+
"401":
12078+
application/json: {"message": "Unauthorized", "statusCode": 401, "timestamp": "2023-05-30T00:00:00.000Z"}
12079+
"403":
12080+
application/json: {"message": "Forbidden resource", "statusCode": 403, "timestamp": "2023-05-30T00:00:00.000Z"}
12081+
"404":
12082+
application/json: {"message": "Not Found", "statusCode": 404, "timestamp": "2023-05-30T00:00:00.000Z"}
12083+
"408":
12084+
application/json: {"message": "Request timed out", "statusCode": 408, "timestamp": "2023-05-30T00:00:00.000Z"}
12085+
"409":
12086+
application/json: {"message": "Conflict", "statusCode": 409, "timestamp": "2023-05-30T00:00:00.000Z"}
12087+
"412":
12088+
application/json: {"message": "Precondition failed", "statusCode": 412, "timestamp": "2023-05-30T00:00:00.000Z"}
12089+
"422":
12090+
application/json: {"message": "Unprocessable Entity", "statusCode": 422, "timestamp": "2023-05-30T00:00:00.000Z"}
12091+
"429":
12092+
application/json: {"message": "Too many requests", "statusCode": 429, "timestamp": "2023-05-30T00:00:00.000Z"}
12093+
"500":
12094+
application/json: {"message": "Internal server error", "statusCode": 500, "timestamp": "2023-05-30T00:00:00.000Z"}
12095+
"501":
12096+
application/json: {"message": "Not Implemented", "statusCode": 501, "timestamp": "2023-05-30T00:00:00.000Z"}
12097+
"502":
12098+
application/json: {"message": "Bad Gateway", "statusCode": 502, "timestamp": "2023-05-30T00:00:00.000Z"}
1201312099
examplesVersion: 1.0.2
1201412100
generatedTests: {}

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.575.5
1+
speakeasyVersion: 1.580.1
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:e5ff793421c66587a717e4388b2b8d18a7a5a45215b8303f7af03dd37d1dee20
6-
sourceBlobDigest: sha256:4bf240540d0fc5d08996915072c0463faca5acd640e74e8b8996bb7764e3129f
5+
sourceRevisionDigest: sha256:20c37b6a711c86f0d2b5bc57af540613b7160751fb0ea77f2a102c3d370194e5
6+
sourceBlobDigest: sha256:2efd3bd48c63e6db200d5318adc5b77cad06e6213c06027556f2c42c12ca05f9
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1751879333
9+
- speakeasy-sdk-regen-1752101363
1010
- 1.0.0
1111
targets:
1212
StackOneTypeScriptClient:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:e5ff793421c66587a717e4388b2b8d18a7a5a45215b8303f7af03dd37d1dee20
16-
sourceBlobDigest: sha256:4bf240540d0fc5d08996915072c0463faca5acd640e74e8b8996bb7764e3129f
15+
sourceRevisionDigest: sha256:20c37b6a711c86f0d2b5bc57af540613b7160751fb0ea77f2a102c3d370194e5
16+
sourceBlobDigest: sha256:2efd3bd48c63e6db200d5318adc5b77cad06e6213c06027556f2c42c12ca05f9
1717
codeSamplesNamespace: code-samples-typescript-stackonetypescriptclient
18-
codeSamplesRevisionDigest: sha256:f0514f0d4356ca6fdb0575970624502ac46942401add41ea2b2366ab64cd9558
18+
codeSamplesRevisionDigest: sha256:52da87bcc14f4f29cad51ef94b370d4a4ca601d47ccdc6f36e6e04805de8ce24
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ run();
250250
* [getJob](docs/sdks/hris/README.md#getjob) - Get Job
251251
* [getLocation](docs/sdks/hris/README.md#getlocation) - Get Work Location
252252
* [getPosition](docs/sdks/hris/README.md#getposition) - Get Position
253+
* [getTask](docs/sdks/hris/README.md#gettask) - Get Task
253254
* [getTeamGroup](docs/sdks/hris/README.md#getteamgroup) - Get Team Group
254255
* [getTimeEntries](docs/sdks/hris/README.md#gettimeentries) - Get Time Entry
255256
* [getTimeOffPolicy](docs/sdks/hris/README.md#gettimeoffpolicy) - Get Time Off Policy
@@ -276,6 +277,7 @@ run();
276277
* [listJobs](docs/sdks/hris/README.md#listjobs) - List Jobs
277278
* [listLocations](docs/sdks/hris/README.md#listlocations) - List Work Locations
278279
* [listPositions](docs/sdks/hris/README.md#listpositions) - List Positions
280+
* [listTasks](docs/sdks/hris/README.md#listtasks) - List Tasks
279281
* [listTeamGroups](docs/sdks/hris/README.md#listteamgroups) - List Team Groups
280282
* [listTimeEntries](docs/sdks/hris/README.md#listtimeentries) - List Time Entries
281283
* [listTimeOffPolicies](docs/sdks/hris/README.md#listtimeoffpolicies) - List Time Off Policies
@@ -835,6 +837,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
835837
- [`hrisGetJob`](docs/sdks/hris/README.md#getjob) - Get Job
836838
- [`hrisGetLocation`](docs/sdks/hris/README.md#getlocation) - Get Work Location
837839
- [`hrisGetPosition`](docs/sdks/hris/README.md#getposition) - Get Position
840+
- [`hrisGetTask`](docs/sdks/hris/README.md#gettask) - Get Task
838841
- [`hrisGetTeamGroup`](docs/sdks/hris/README.md#getteamgroup) - Get Team Group
839842
- [`hrisGetTimeEntries`](docs/sdks/hris/README.md#gettimeentries) - Get Time Entry
840843
- [`hrisGetTimeOffPolicy`](docs/sdks/hris/README.md#gettimeoffpolicy) - Get Time Off Policy
@@ -860,6 +863,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
860863
- [`hrisListJobs`](docs/sdks/hris/README.md#listjobs) - List Jobs
861864
- [`hrisListLocations`](docs/sdks/hris/README.md#listlocations) - List Work Locations
862865
- [`hrisListPositions`](docs/sdks/hris/README.md#listpositions) - List Positions
866+
- [`hrisListTasks`](docs/sdks/hris/README.md#listtasks) - List Tasks
863867
- [`hrisListTeamGroups`](docs/sdks/hris/README.md#listteamgroups) - List Team Groups
864868
- [`hrisListTimeEntries`](docs/sdks/hris/README.md#listtimeentries) - List Time Entries
865869
- [`hrisListTimeOffPolicies`](docs/sdks/hris/README.md#listtimeoffpolicies) - List Time Off Policies

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1706,4 +1706,14 @@ Based on:
17061706
### Generated
17071707
- [typescript v4.21.2] .
17081708
### Releases
1709-
- [NPM v4.21.2] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.21.2 - .
1709+
- [NPM v4.21.2] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.21.2 - .
1710+
1711+
## 2025-07-09 22:49:00
1712+
### Changes
1713+
Based on:
1714+
- OpenAPI Doc
1715+
- Speakeasy CLI 1.580.1 (2.656.3) https://github.com/speakeasy-api/speakeasy
1716+
### Generated
1717+
- [typescript v4.22.0] .
1718+
### Releases
1719+
- [NPM v4.22.0] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.22.0 - .

codeSamples.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -939,6 +939,18 @@ actions:
939939
- "lang": "typescript"
940940
"label": "hris_get_position"
941941
"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.hris.getPosition({\n id: \"<id>\",\n xAccountId: \"<id>\",\n });\n\n console.log(result);\n}\n\nrun();"
942+
- target: $["paths"]["/unified/hris/tasks"]["get"]
943+
update:
944+
"x-codeSamples":
945+
- "lang": "typescript"
946+
"label": "hris_list_tasks"
947+
"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.hris.listTasks({\n fields: \"id,remote_id,employee_id,remote_employee_id,name,description,type,status,due_date,completion_date,assigned_by_employee_id,remote_assigned_by_employee_id,assigned_by_employee_name,link_to_task,extracted_links,next_task_id,remote_next_task_id,parent_process_name,comments,attachments,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n expand: \"attachments\",\n xAccountId: \"<id>\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();"
948+
- target: $["paths"]["/unified/hris/tasks/{id}"]["get"]
949+
update:
950+
"x-codeSamples":
951+
- "lang": "typescript"
952+
"label": "hris_get_task"
953+
"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.hris.getTask({\n id: \"<id>\",\n fields: \"id,remote_id,employee_id,remote_employee_id,name,description,type,status,due_date,completion_date,assigned_by_employee_id,remote_assigned_by_employee_id,assigned_by_employee_name,link_to_task,extracted_links,next_task_id,remote_next_task_id,parent_process_name,comments,attachments,created_at,updated_at\",\n expand: \"attachments\",\n xAccountId: \"<id>\",\n });\n\n console.log(result);\n}\n\nrun();"
942954
- target: $["paths"]["/unified/hris/time_entries"]["get"]
943955
update:
944956
"x-codeSamples":

docs/sdk/models/operations/atscreateapplicationnoterequest.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,24 @@
44

55
```typescript
66
import { AtsCreateApplicationNoteRequest } from "@stackone/stackone-client-ts/sdk/models/operations";
7+
import { AtsCreateNotesRequestDtoValue } from "@stackone/stackone-client-ts/sdk/models/shared";
78

89
let value: AtsCreateApplicationNoteRequest = {
10+
atsCreateNotesRequestDto: {
11+
authorId: "1234567890",
12+
content: [
13+
{
14+
body: "This candidate seems like a good fit for the role",
15+
},
16+
],
17+
passthrough: {
18+
"other_known_names": "John Doe",
19+
},
20+
visibility: {
21+
sourceValue: "Public",
22+
value: AtsCreateNotesRequestDtoValue.Public,
23+
},
24+
},
925
id: "<id>",
1026
xAccountId: "<id>",
1127
};

docs/sdk/models/operations/atscreateapplicationnoteresponse.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,21 @@
55
```typescript
66
import { AtsCreateApplicationNoteResponse } from "@stackone/stackone-client-ts/sdk/models/operations";
77

8-
let value: AtsCreateApplicationNoteResponse = {};
8+
let value: AtsCreateApplicationNoteResponse = {
9+
contentType: "<value>",
10+
headers: {
11+
"key": [
12+
"<value 1>",
13+
"<value 2>",
14+
],
15+
"key1": [
16+
"<value 1>",
17+
"<value 2>",
18+
"<value 3>",
19+
],
20+
},
21+
statusCode: 943334,
22+
};
923
```
1024

1125
## Fields

0 commit comments

Comments
 (0)