Skip to content

Commit ce04aaf

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 4.27.6 (#224)
* ## Typescript SDK Changes Detected: * `stackone.hris.listShifts()`: * `request.filter` **Changed** **Breaking** ⚠️ * `stackone.hris.getEmployeeShift()`: **Added** * `stackone.hris.listEmployeeShifts()`: **Added** * `stackone.hris.listEmployeeTimeOffRequests()`: * `request.filter` **Changed** * `stackone.hris.listTimeOffRequests()`: * `request.filter` **Changed** * 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 84f8ed6 commit ce04aaf

File tree

166 files changed

+4296
-2512
lines changed

Some content is hidden

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

166 files changed

+4296
-2512
lines changed

.speakeasy/gen.lock

Lines changed: 94 additions & 15 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.628.3
1+
speakeasyVersion: 1.631.4
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:43d905df94336eb7fb4a505e0792eeb29dfffcddf4a7ce509cc804f2434528cf
6-
sourceBlobDigest: sha256:a5931f2826f8c189864260033a4ede5b0fa863c985d57581ea5b1709479d3f63
5+
sourceRevisionDigest: sha256:88f5a2e886bc233554469ff3d2b30c1daca017b1394bdea87d5a71aee8ea3717
6+
sourceBlobDigest: sha256:11fad8e59e1e59e1f0d48338934864afff5cf6fd5e57c31faa521d49962a9812
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1758794413
9+
- speakeasy-sdk-regen-1759136237
1010
- 1.0.0
1111
targets:
1212
StackOneTypeScriptClient:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:43d905df94336eb7fb4a505e0792eeb29dfffcddf4a7ce509cc804f2434528cf
16-
sourceBlobDigest: sha256:a5931f2826f8c189864260033a4ede5b0fa863c985d57581ea5b1709479d3f63
15+
sourceRevisionDigest: sha256:88f5a2e886bc233554469ff3d2b30c1daca017b1394bdea87d5a71aee8ea3717
16+
sourceBlobDigest: sha256:11fad8e59e1e59e1f0d48338934864afff5cf6fd5e57c31faa521d49962a9812
1717
codeSamplesNamespace: code-samples-typescript-stackonetypescriptclient
18-
codeSamplesRevisionDigest: sha256:666aa8322c3e702e46a835709dc12486cfe248011a4196b7b5865d217b587c4f
18+
codeSamplesRevisionDigest: sha256:f5d823df645d7f1dd3543d88709bdab1a634352b26b6b5f86d8aff4a3a250dcc
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
@@ -260,6 +260,7 @@ run();
260260
* [getEmployeeDocument](docs/sdks/hris/README.md#getemployeedocument) - Get Employee Document
261261
* [getEmployeeDocumentCategory](docs/sdks/hris/README.md#getemployeedocumentcategory) - Get Employee Document Category
262262
* [getEmployeeEmployment](docs/sdks/hris/README.md#getemployeeemployment) - Get Employee Employment
263+
* [getEmployeeShift](docs/sdks/hris/README.md#getemployeeshift) - Get Employee Shift
263264
* [getEmployeeSkill](docs/sdks/hris/README.md#getemployeeskill) - Get Employee Skill
264265
* [getEmployeeTask](docs/sdks/hris/README.md#getemployeetask) - Get Employee Task
265266
* [getEmployeeTimeOffBalance](docs/sdks/hris/README.md#getemployeetimeoffbalance) - Get Employee Time Off Balance
@@ -288,6 +289,7 @@ run();
288289
* [listEmployeeCustomFieldDefinitions](docs/sdks/hris/README.md#listemployeecustomfielddefinitions) - List employee Custom Field Definitions
289290
* [listEmployeeDocuments](docs/sdks/hris/README.md#listemployeedocuments) - List Employee Documents
290291
* [listEmployeeEmployments](docs/sdks/hris/README.md#listemployeeemployments) - List Employee Employments
292+
* [listEmployeeShifts](docs/sdks/hris/README.md#listemployeeshifts) - List Employee Shifts
291293
* [listEmployeeSkills](docs/sdks/hris/README.md#listemployeeskills) - List Employee Skills
292294
* [listEmployeeTasks](docs/sdks/hris/README.md#listemployeetasks) - List Employee Tasks
293295
* [listEmployeeTimeOffBalances](docs/sdks/hris/README.md#listemployeetimeoffbalances) - List Employee Time Off Balances
@@ -921,6 +923,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
921923
- [`hrisGetEmployeeDocument`](docs/sdks/hris/README.md#getemployeedocument) - Get Employee Document
922924
- [`hrisGetEmployeeDocumentCategory`](docs/sdks/hris/README.md#getemployeedocumentcategory) - Get Employee Document Category
923925
- [`hrisGetEmployeeEmployment`](docs/sdks/hris/README.md#getemployeeemployment) - Get Employee Employment
926+
- [`hrisGetEmployeeShift`](docs/sdks/hris/README.md#getemployeeshift) - Get Employee Shift
924927
- [`hrisGetEmployeeSkill`](docs/sdks/hris/README.md#getemployeeskill) - Get Employee Skill
925928
- [`hrisGetEmployeesTimeOffRequest`](docs/sdks/hris/README.md#getemployeestimeoffrequest) - Get Employees Time Off Request
926929
- [`hrisGetEmployeesWorkEligibility`](docs/sdks/hris/README.md#getemployeesworkeligibility) - Get Employees Work Eligibility
@@ -949,6 +952,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
949952
- [`hrisListEmployeeDocuments`](docs/sdks/hris/README.md#listemployeedocuments) - List Employee Documents
950953
- [`hrisListEmployeeEmployments`](docs/sdks/hris/README.md#listemployeeemployments) - List Employee Employments
951954
- [`hrisListEmployees`](docs/sdks/hris/README.md#listemployees) - List Employees
955+
- [`hrisListEmployeeShifts`](docs/sdks/hris/README.md#listemployeeshifts) - List Employee Shifts
952956
- [`hrisListEmployeeSkills`](docs/sdks/hris/README.md#listemployeeskills) - List Employee Skills
953957
- [`hrisListEmployeeTasks`](docs/sdks/hris/README.md#listemployeetasks) - List Employee Tasks
954958
- [`hrisListEmployeeTimeOffBalances`](docs/sdks/hris/README.md#listemployeetimeoffbalances) - List Employee Time Off Balances

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1936,4 +1936,14 @@ Based on:
19361936
### Generated
19371937
- [typescript v4.27.5] .
19381938
### Releases
1939-
- [NPM v4.27.5] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.27.5 - .
1939+
- [NPM v4.27.5] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.27.5 - .
1940+
1941+
## 2025-09-29 09:07:39
1942+
### Changes
1943+
Based on:
1944+
- OpenAPI Doc
1945+
- Speakeasy CLI 1.631.4 (2.716.16) https://github.com/speakeasy-api/speakeasy
1946+
### Generated
1947+
- [typescript v4.27.6] .
1948+
### Releases
1949+
- [NPM v4.27.6] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.27.6 - .

codeSamples.yaml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ actions:
818818
"x-codeSamples":
819819
- "lang": "typescript"
820820
"label": "hris_list_employee_employments"
821-
"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.listEmployeeEmployments({\n id: \"<id>\",\n fields: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,type,contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,manager\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n expand: \"groups\",\n xAccountId: \"<id>\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();"
821+
"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.listEmployeeEmployments({\n id: \"<id>\",\n fields: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,type,contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,manager,groups\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n expand: \"groups\",\n xAccountId: \"<id>\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();"
822822
- target: $["paths"]["/unified/hris/employees/{id}/employments"]["post"]
823823
update:
824824
"x-codeSamples":
@@ -830,7 +830,7 @@ actions:
830830
"x-codeSamples":
831831
- "lang": "typescript"
832832
"label": "hris_get_employee_employment"
833-
"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.getEmployeeEmployment({\n id: \"<id>\",\n subResourceId: \"<id>\",\n fields: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,type,contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,manager\",\n expand: \"groups\",\n xAccountId: \"<id>\",\n });\n\n console.log(result);\n}\n\nrun();"
833+
"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.getEmployeeEmployment({\n id: \"<id>\",\n subResourceId: \"<id>\",\n fields: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,type,contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,manager,groups\",\n expand: \"groups\",\n xAccountId: \"<id>\",\n });\n\n console.log(result);\n}\n\nrun();"
834834
- target: $["paths"]["/unified/hris/employees/{id}/employments/{subResourceId}"]["patch"]
835835
update:
836836
"x-codeSamples":
@@ -843,6 +843,18 @@ actions:
843843
- "lang": "typescript"
844844
"label": "hris_invite_employee"
845845
"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.inviteEmployee({\n id: \"<id>\",\n xAccountId: \"<id>\",\n hrisInviteEmployeeRequestDto: {\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n },\n });\n\n console.log(result);\n}\n\nrun();"
846+
- target: $["paths"]["/unified/hris/employees/{id}/shifts"]["get"]
847+
update:
848+
"x-codeSamples":
849+
- "lang": "typescript"
850+
"label": "hris_list_employee_shifts"
851+
"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.listEmployeeShifts({\n id: \"<id>\",\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();"
852+
- target: $["paths"]["/unified/hris/employees/{id}/shifts/{subResourceId}"]["get"]
853+
update:
854+
"x-codeSamples":
855+
- "lang": "typescript"
856+
"label": "hris_get_employee_shift"
857+
"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.getEmployeeShift({\n id: \"<id>\",\n subResourceId: \"<id>\",\n xAccountId: \"<id>\",\n });\n\n console.log(result);\n}\n\nrun();"
846858
- target: $["paths"]["/unified/hris/employees/{id}/skills"]["get"]
847859
update:
848860
"x-codeSamples":
@@ -884,7 +896,7 @@ actions:
884896
"x-codeSamples":
885897
- "lang": "typescript"
886898
"label": "hris_list_employee_time_off_requests"
887-
"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.listEmployeeTimeOffRequests({\n id: \"<id>\",\n fields: \"id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,time_off_policy_id,remote_time_off_policy_id,reason,comment,duration,created_at,updated_at,policy\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n expand: \"policy\",\n xAccountId: \"<id>\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();"
899+
"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.listEmployeeTimeOffRequests({\n id: \"<id>\",\n fields: \"id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,time_off_policy_id,remote_time_off_policy_id,reason,comment,duration,created_at,updated_at,policy\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n startDate: new Date(\"2020-01-01T00:00:00.000Z\"),\n endDate: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n expand: \"policy\",\n xAccountId: \"<id>\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();"
888900
- target: $["paths"]["/unified/hris/employees/{id}/time_off"]["post"]
889901
update:
890902
"x-codeSamples":
@@ -956,13 +968,13 @@ actions:
956968
"x-codeSamples":
957969
- "lang": "typescript"
958970
"label": "hris_list_employments"
959-
"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.listEmployments({\n fields: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,type,contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,manager\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n expand: \"groups\",\n xAccountId: \"<id>\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();"
971+
"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.listEmployments({\n fields: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,type,contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,manager,groups\",\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n expand: \"groups\",\n xAccountId: \"<id>\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();"
960972
- target: $["paths"]["/unified/hris/employments/{id}"]["get"]
961973
update:
962974
"x-codeSamples":
963975
- "lang": "typescript"
964976
"label": "hris_get_employment"
965-
"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.getEmployment({\n id: \"<id>\",\n fields: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,type,contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,manager\",\n expand: \"groups\",\n xAccountId: \"<id>\",\n });\n\n console.log(result);\n}\n\nrun();"
977+
"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.getEmployment({\n id: \"<id>\",\n fields: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,end_date,employment_type,employment_contract_type,type,contract_type,change_reason,grade,work_time,payroll_code,fte,created_at,updated_at,start_date,active,department,team,cost_center,cost_centers,division,job,manager,groups\",\n expand: \"groups\",\n xAccountId: \"<id>\",\n });\n\n console.log(result);\n}\n\nrun();"
966978
- target: $["paths"]["/unified/hris/groups"]["get"]
967979
update:
968980
"x-codeSamples":
@@ -1064,7 +1076,7 @@ actions:
10641076
"x-codeSamples":
10651077
- "lang": "typescript"
10661078
"label": "hris_list_positions"
1067-
"source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport { Status } from \"@stackone/stackone-client-ts/sdk/models/operations\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listPositions({\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n status: Status.Open,\n xAccountId: \"<id>\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();"
1079+
"source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport { QueryParamStatus } from \"@stackone/stackone-client-ts/sdk/models/operations\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listPositions({\n filter: {\n updatedAfter: new Date(\"2020-01-01T00:00:00.000Z\"),\n },\n status: QueryParamStatus.Open,\n xAccountId: \"<id>\",\n });\n\n for await (const page of result) {\n console.log(page);\n }\n}\n\nrun();"
10681080
- target: $["paths"]["/unified/hris/positions/{id}"]["get"]
10691081
update:
10701082
"x-codeSamples":

0 commit comments

Comments
 (0)