Skip to content

Commit 68c414b

Browse files
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.440.1 (#152)
Co-authored-by: speakeasybot <[email protected]>
1 parent e1b68ff commit 68c414b

File tree

929 files changed

+27024
-1488
lines changed

Some content is hidden

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

929 files changed

+27024
-1488
lines changed

.speakeasy/gen.lock

Lines changed: 119 additions & 54 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,20 +1,20 @@
1-
speakeasyVersion: 1.436.0
1+
speakeasyVersion: 1.440.1
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:c4ba847c868fd528cf18809cca152437c41650478ae147729858f07c2cec04eb
6-
sourceBlobDigest: sha256:89cfcbcd378ce1ad21572caa9bec2359608e5718ff78e69ff724e7d866d9ee45
5+
sourceRevisionDigest: sha256:caeae843de2204f6c9296452bded4812dbdc45fe7be81579c5b5916db845e387
6+
sourceBlobDigest: sha256:9e8c4b74c39bf4dd506253b2e57e56fdc1074fb10ec55f4a76828e38fa1b351b
77
tags:
88
- latest
9-
- main
9+
- speakeasy-sdk-regen-1731920800
1010
targets:
1111
StackOneTypeScriptClient:
1212
source: my-source
1313
sourceNamespace: my-source
14-
sourceRevisionDigest: sha256:c4ba847c868fd528cf18809cca152437c41650478ae147729858f07c2cec04eb
15-
sourceBlobDigest: sha256:89cfcbcd378ce1ad21572caa9bec2359608e5718ff78e69ff724e7d866d9ee45
14+
sourceRevisionDigest: sha256:caeae843de2204f6c9296452bded4812dbdc45fe7be81579c5b5916db845e387
15+
sourceBlobDigest: sha256:9e8c4b74c39bf4dd506253b2e57e56fdc1074fb10ec55f4a76828e38fa1b351b
1616
codeSamplesNamespace: code-samples-typescript-stackonetypescriptclient
17-
codeSamplesRevisionDigest: sha256:8bba205c4e9e176b683c161217ae823acf27e0458625c78201b3e9ab41b23769
17+
codeSamplesRevisionDigest: sha256:4599dfdef64dfaa1127d0374f27b5857a428167a29f579377d21d397840fc84d
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: latest

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ run();
210210
* [getCostCenterGroup](docs/sdks/hris/README.md#getcostcentergroup) - Get Cost Center Group
211211
* [getDepartmentGroup](docs/sdks/hris/README.md#getdepartmentgroup) - Get Department Group
212212
* [getEmployee](docs/sdks/hris/README.md#getemployee) - Get Employee
213+
* [getEmployeeCustomFieldDefinition](docs/sdks/hris/README.md#getemployeecustomfielddefinition) - Get employee Custom Field Definition
213214
* [getEmployeeDocument](docs/sdks/hris/README.md#getemployeedocument) - Get Employee Document
214215
* [getEmployeeDocumentCategory](docs/sdks/hris/README.md#getemployeedocumentcategory) - Get Employee Document Category
215216
* [getEmployeeEmployment](docs/sdks/hris/README.md#getemployeeemployment) - Get Employee Employment
@@ -220,11 +221,13 @@ run();
220221
* [getJob](docs/sdks/hris/README.md#getjob) - Get Job
221222
* [getLocation](docs/sdks/hris/README.md#getlocation) - Get Location
222223
* [getTimeOffRequest](docs/sdks/hris/README.md#gettimeoffrequest) - Get time off request
224+
* [getTimeOffType](docs/sdks/hris/README.md#gettimeofftype) - Get time off type
223225
* [listBenefits](docs/sdks/hris/README.md#listbenefits) - List benefits
224226
* [listCompanies](docs/sdks/hris/README.md#listcompanies) - List Companies
225227
* [listCostCenterGroups](docs/sdks/hris/README.md#listcostcentergroups) - List Cost Center Groups
226228
* [listDepartmentGroups](docs/sdks/hris/README.md#listdepartmentgroups) - List Department Groups
227229
* [listEmployeeCategories](docs/sdks/hris/README.md#listemployeecategories) - List Employee Document Categories
230+
* [listEmployeeCustomFieldDefinitions](docs/sdks/hris/README.md#listemployeecustomfielddefinitions) - List employee Custom Field Definitions
228231
* [listEmployeeDocuments](docs/sdks/hris/README.md#listemployeedocuments) - List Employee Documents
229232
* [listEmployeeEmployments](docs/sdks/hris/README.md#listemployeeemployments) - List Employee Employments
230233
* [listEmployeeTimeOffRequests](docs/sdks/hris/README.md#listemployeetimeoffrequests) - List Employee Time Off Requests
@@ -235,6 +238,7 @@ run();
235238
* [listJobs](docs/sdks/hris/README.md#listjobs) - List Jobs
236239
* [listLocations](docs/sdks/hris/README.md#listlocations) - List locations
237240
* [listTimeOffRequests](docs/sdks/hris/README.md#listtimeoffrequests) - List time off requests
241+
* [listTimeOffTypes](docs/sdks/hris/README.md#listtimeofftypes) - List time off types
238242
* [updateEmployee](docs/sdks/hris/README.md#updateemployee) - Updates an employee
239243
* [updateEmployeeEmployment](docs/sdks/hris/README.md#updateemployeeemployment) - Update Employee Employment
240244
* [updateEmployeeWorkEligibilityRequest](docs/sdks/hris/README.md#updateemployeeworkeligibilityrequest) - Update Employee Work Eligibility Request
@@ -706,6 +710,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
706710
- [`hrisGetCostCenterGroup`](docs/sdks/hris/README.md#getcostcentergroup) - Get Cost Center Group
707711
- [`hrisGetDepartmentGroup`](docs/sdks/hris/README.md#getdepartmentgroup) - Get Department Group
708712
- [`hrisGetEmployee`](docs/sdks/hris/README.md#getemployee) - Get Employee
713+
- [`hrisGetEmployeeCustomFieldDefinition`](docs/sdks/hris/README.md#getemployeecustomfielddefinition) - Get employee Custom Field Definition
709714
- [`hrisGetEmployeeDocument`](docs/sdks/hris/README.md#getemployeedocument) - Get Employee Document
710715
- [`hrisGetEmployeeDocumentCategory`](docs/sdks/hris/README.md#getemployeedocumentcategory) - Get Employee Document Category
711716
- [`hrisGetEmployeeEmployment`](docs/sdks/hris/README.md#getemployeeemployment) - Get Employee Employment
@@ -716,11 +721,13 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
716721
- [`hrisGetJob`](docs/sdks/hris/README.md#getjob) - Get Job
717722
- [`hrisGetLocation`](docs/sdks/hris/README.md#getlocation) - Get Location
718723
- [`hrisGetTimeOffRequest`](docs/sdks/hris/README.md#gettimeoffrequest) - Get time off request
724+
- [`hrisGetTimeOffType`](docs/sdks/hris/README.md#gettimeofftype) - Get time off type
719725
- [`hrisListBenefits`](docs/sdks/hris/README.md#listbenefits) - List benefits
720726
- [`hrisListCompanies`](docs/sdks/hris/README.md#listcompanies) - List Companies
721727
- [`hrisListCostCenterGroups`](docs/sdks/hris/README.md#listcostcentergroups) - List Cost Center Groups
722728
- [`hrisListDepartmentGroups`](docs/sdks/hris/README.md#listdepartmentgroups) - List Department Groups
723729
- [`hrisListEmployeeCategories`](docs/sdks/hris/README.md#listemployeecategories) - List Employee Document Categories
730+
- [`hrisListEmployeeCustomFieldDefinitions`](docs/sdks/hris/README.md#listemployeecustomfielddefinitions) - List employee Custom Field Definitions
724731
- [`hrisListEmployeeDocuments`](docs/sdks/hris/README.md#listemployeedocuments) - List Employee Documents
725732
- [`hrisListEmployeeEmployments`](docs/sdks/hris/README.md#listemployeeemployments) - List Employee Employments
726733
- [`hrisListEmployees`](docs/sdks/hris/README.md#listemployees) - List Employees
@@ -731,6 +738,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
731738
- [`hrisListJobs`](docs/sdks/hris/README.md#listjobs) - List Jobs
732739
- [`hrisListLocations`](docs/sdks/hris/README.md#listlocations) - List locations
733740
- [`hrisListTimeOffRequests`](docs/sdks/hris/README.md#listtimeoffrequests) - List time off requests
741+
- [`hrisListTimeOffTypes`](docs/sdks/hris/README.md#listtimeofftypes) - List time off types
734742
- [`hrisUpdateEmployee`](docs/sdks/hris/README.md#updateemployee) - Updates an employee
735743
- [`hrisUpdateEmployeeEmployment`](docs/sdks/hris/README.md#updateemployeeemployment) - Update Employee Employment
736744
- [`hrisUpdateEmployeeWorkEligibilityRequest`](docs/sdks/hris/README.md#updateemployeeworkeligibilityrequest) - Update Employee Work Eligibility Request

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1326,4 +1326,14 @@ Based on:
13261326
### Generated
13271327
- [typescript v4.17.0] .
13281328
### Releases
1329-
- [NPM v4.17.0] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.17.0 - .
1329+
- [NPM v4.17.0] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.17.0 - .
1330+
1331+
## 2024-11-18 09:06:33
1332+
### Changes
1333+
Based on:
1334+
- OpenAPI Doc
1335+
- Speakeasy CLI 1.440.1 (2.460.1) https://github.com/speakeasy-api/speakeasy
1336+
### Generated
1337+
- [typescript v4.17.1] .
1338+
### Releases
1339+
- [NPM v4.17.1] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.17.1 - .

codeSamples.yaml

Lines changed: 122 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2724,6 +2724,67 @@ actions:
27242724
console.log(result);
27252725
}
27262726
2727+
run();
2728+
- target: $["paths"]["/unified/hris/custom_field_definitions/employees"]["get"]
2729+
update:
2730+
x-codeSamples:
2731+
- lang: typescript
2732+
label: hris_list_employee_custom_field_definitions
2733+
source: |-
2734+
import { StackOne } from "@stackone/stackone-client-ts";
2735+
2736+
const stackOne = new StackOne({
2737+
security: {
2738+
username: "",
2739+
password: "",
2740+
},
2741+
});
2742+
2743+
async function run() {
2744+
const result = await stackOne.hris.listEmployeeCustomFieldDefinitions({
2745+
fields: "id,remote_id,name,description,type,options",
2746+
filter: {
2747+
updatedAfter: "2020-01-01T00:00:00.000Z",
2748+
},
2749+
updatedAfter: "2020-01-01T00:00:00.000Z",
2750+
xAccountId: "<id>",
2751+
});
2752+
2753+
// Handle the result
2754+
console.log(result);
2755+
}
2756+
2757+
run();
2758+
- target: $["paths"]["/unified/hris/custom_field_definitions/employees/{id}"]["get"]
2759+
update:
2760+
x-codeSamples:
2761+
- lang: typescript
2762+
label: hris_get_employee_custom_field_definition
2763+
source: |-
2764+
import { StackOne } from "@stackone/stackone-client-ts";
2765+
2766+
const stackOne = new StackOne({
2767+
security: {
2768+
username: "",
2769+
password: "",
2770+
},
2771+
});
2772+
2773+
async function run() {
2774+
const result = await stackOne.hris.getEmployeeCustomFieldDefinition({
2775+
id: "<id>",
2776+
fields: "id,remote_id,name,description,type,options",
2777+
filter: {
2778+
updatedAfter: "2020-01-01T00:00:00.000Z",
2779+
},
2780+
updatedAfter: "2020-01-01T00:00:00.000Z",
2781+
xAccountId: "<id>",
2782+
});
2783+
2784+
// Handle the result
2785+
console.log(result);
2786+
}
2787+
27272788
run();
27282789
- target: $["paths"]["/unified/hris/documents/employee_categories"]["get"]
27292790
update:
@@ -4336,6 +4397,63 @@ actions:
43364397
console.log(result);
43374398
}
43384399
4400+
run();
4401+
- target: $["paths"]["/unified/hris/time_off_types"]["get"]
4402+
update:
4403+
x-codeSamples:
4404+
- lang: typescript
4405+
label: hris_list_time_off_types
4406+
source: |-
4407+
import { StackOne } from "@stackone/stackone-client-ts";
4408+
4409+
const stackOne = new StackOne({
4410+
security: {
4411+
username: "",
4412+
password: "",
4413+
},
4414+
});
4415+
4416+
async function run() {
4417+
const result = await stackOne.hris.listTimeOffTypes({
4418+
fields: "id,remote_id,name,active",
4419+
filter: {
4420+
updatedAfter: "2020-01-01T00:00:00.000Z",
4421+
},
4422+
updatedAfter: "2020-01-01T00:00:00.000Z",
4423+
xAccountId: "<id>",
4424+
});
4425+
4426+
// Handle the result
4427+
console.log(result);
4428+
}
4429+
4430+
run();
4431+
- target: $["paths"]["/unified/hris/time_off_types/{id}"]["get"]
4432+
update:
4433+
x-codeSamples:
4434+
- lang: typescript
4435+
label: hris_get_time_off_type
4436+
source: |-
4437+
import { StackOne } from "@stackone/stackone-client-ts";
4438+
4439+
const stackOne = new StackOne({
4440+
security: {
4441+
username: "",
4442+
password: "",
4443+
},
4444+
});
4445+
4446+
async function run() {
4447+
const result = await stackOne.hris.getTimeOffType({
4448+
id: "<id>",
4449+
fields: "id,remote_id,name,active",
4450+
xAccountId: "<id>",
4451+
});
4452+
4453+
// Handle the result
4454+
console.log(result);
4455+
}
4456+
43394457
run();
43404458
- target: $["paths"]["/unified/iam/groups"]["get"]
43414459
update:
@@ -4880,7 +4998,7 @@ actions:
48804998
48814999
async function run() {
48825000
const result = await stackOne.lms.listContent({
4883-
fields: "id,remote_id,external_reference,course_ids,remote_course_ids,title,description,languages,content_url,content_type,cover_url,active,duration,order,content_launch_method,categories,skills,updated_at,created_at",
5001+
fields: "id,remote_id,external_reference,course_ids,remote_course_ids,title,description,languages,content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at",
48845002
filter: {
48855003
updatedAfter: "2020-01-01T00:00:00.000Z",
48865004
},
@@ -4939,7 +5057,6 @@ actions:
49395057
name: "Information-Technology",
49405058
},
49415059
],
4942-
contentLaunchMethod: {},
49435060
order: 1,
49445061
categories: [
49455062
{
@@ -5009,7 +5126,6 @@ actions:
50095126
name: "Information-Technology",
50105127
},
50115128
],
5012-
contentLaunchMethod: {},
50135129
order: 1,
50145130
categories: [
50155131
{
@@ -5048,7 +5164,6 @@ actions:
50485164
name: "Information-Technology",
50495165
},
50505166
],
5051-
contentLaunchMethod: {},
50525167
order: 1,
50535168
categories: [
50545169
{
@@ -5087,7 +5202,7 @@ actions:
50875202
async function run() {
50885203
const result = await stackOne.lms.getContent({
50895204
id: "<id>",
5090-
fields: "id,remote_id,external_reference,course_ids,remote_course_ids,title,description,languages,content_url,content_type,cover_url,active,duration,order,content_launch_method,categories,skills,updated_at,created_at",
5205+
fields: "id,remote_id,external_reference,course_ids,remote_course_ids,title,description,languages,content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at",
50915206
xAccountId: "<id>",
50925207
});
50935208
@@ -5172,8 +5287,6 @@ actions:
51725287
name: "Information-Technology",
51735288
},
51745289
],
5175-
updatedAt: "2021-07-21T14:00:00.000Z",
5176-
createdAt: "2021-07-21T14:00:00.000Z",
51775290
categories: [
51785291
{
51795292
unifiedCustomFields: {
@@ -5247,8 +5360,6 @@ actions:
52475360
name: "Information-Technology",
52485361
},
52495362
],
5250-
updatedAt: "2021-07-21T14:00:00.000Z",
5251-
createdAt: "2021-07-21T14:00:00.000Z",
52525363
categories: [
52535364
{
52545365
unifiedCustomFields: {
@@ -5303,8 +5414,6 @@ actions:
53035414
name: "Information-Technology",
53045415
},
53055416
],
5306-
updatedAt: "2021-07-21T14:00:00.000Z",
5307-
createdAt: "2021-07-21T14:00:00.000Z",
53085417
categories: [
53095418
{
53105419
unifiedCustomFields: {
@@ -5587,10 +5696,9 @@ actions:
55875696
passthrough: {
55885697
"other_known_names": "John Doe",
55895698
},
5590-
externalId: "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1-COMPLETION",
5591-
contentExternalReference: "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1-CONTENT",
5592-
contentId: "16873-ENG-VIDEO-1",
55935699
completedAt: "2021-07-21T14:00:00.000Z",
5700+
learningObjectId: "e3gd34-23tr21-er234-345er56",
5701+
learningObjectExternalReference: "learning-content-123",
55945702
},
55955703
});
55965704

docs/sdk/models/operations/atscreateapplicationresponse.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ let value: AtsCreateApplicationResponse = {
99
contentType: "<value>",
1010
createResult: {
1111
data: {
12-
externalReference: "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1",
1312
id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
1413
remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
1514
},

docs/sdk/models/operations/atscreatecandidatenoteresponse.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ let value: AtsCreateCandidateNoteResponse = {
99
contentType: "<value>",
1010
createResult: {
1111
data: {
12-
externalReference: "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1",
1312
id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
1413
remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
1514
},

docs/sdk/models/operations/atscreatecandidateresponse.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ let value: AtsCreateCandidateResponse = {
99
contentType: "<value>",
1010
createResult: {
1111
data: {
12-
externalReference: "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1",
1312
id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
1413
remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
1514
},

docs/sdk/models/operations/atscreatejobresponse.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ let value: AtsCreateJobResponse = {
99
contentType: "<value>",
1010
createResult: {
1111
data: {
12-
externalReference: "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1",
1312
id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
1413
remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
1514
},

docs/sdk/models/operations/atscreateofferresponse.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ let value: AtsCreateOfferResponse = {
99
contentType: "<value>",
1010
createResult: {
1111
data: {
12-
externalReference: "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1",
1312
id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
1413
remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
1514
},

0 commit comments

Comments
 (0)