@kombo-api/sdk 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -3
- package/esm/funcs/assessmentGetOpenOrders.js.map +1 -1
- package/esm/funcs/assessmentUpdateOrderResult.js.map +1 -1
- package/esm/funcs/atsAddApplicationAttachment.js.map +1 -1
- package/esm/funcs/atsAddApplicationNote.js.map +1 -1
- package/esm/funcs/atsAddApplicationResultLink.js.map +1 -1
- package/esm/funcs/atsAddCandidateAttachment.js.map +1 -1
- package/esm/funcs/atsAddCandidateResultLink.js.map +1 -1
- package/esm/funcs/atsAddCandidateTag.js.map +1 -1
- package/esm/funcs/atsCreateApplication.js.map +1 -1
- package/esm/funcs/atsGetApplicationAttachments.js.map +1 -1
- package/esm/funcs/atsGetApplicationStages.js.map +1 -1
- package/esm/funcs/atsGetApplications.js.map +1 -1
- package/esm/funcs/atsGetCandidateAttachments.js.map +1 -1
- package/esm/funcs/atsGetCandidates.js.map +1 -1
- package/esm/funcs/atsGetInterviews.js.map +1 -1
- package/esm/funcs/atsGetJobs.js.map +1 -1
- package/esm/funcs/atsGetOffers.js.map +1 -1
- package/esm/funcs/atsGetRejectionReasons.js.map +1 -1
- package/esm/funcs/atsGetRoles.d.ts +25 -0
- package/esm/funcs/atsGetRoles.d.ts.map +1 -0
- package/esm/funcs/atsGetRoles.js +125 -0
- package/esm/funcs/atsGetRoles.js.map +1 -0
- package/esm/funcs/atsGetTags.js.map +1 -1
- package/esm/funcs/atsGetUsers.js.map +1 -1
- package/esm/funcs/atsMoveApplicationToStage.d.ts +2 -1
- package/esm/funcs/atsMoveApplicationToStage.d.ts.map +1 -1
- package/esm/funcs/atsMoveApplicationToStage.js +2 -1
- package/esm/funcs/atsMoveApplicationToStage.js.map +1 -1
- package/esm/funcs/atsRejectApplication.js.map +1 -1
- package/esm/funcs/atsRemoveCandidateTag.js.map +1 -1
- package/esm/funcs/connectGetIntegrationByToken.js.map +1 -1
- package/esm/funcs/generalCreateReconnectionLink.js.map +1 -1
- package/esm/funcs/generalDeleteIntegration.js.map +1 -1
- package/esm/funcs/generalGetCustomFields.js.map +1 -1
- package/esm/funcs/generalGetIntegrationDetails.js.map +1 -1
- package/esm/funcs/generalGetIntegrationFields.js.map +1 -1
- package/esm/funcs/generalGetTools.js.map +1 -1
- package/esm/funcs/generalSendPassthroughRequest.d.ts +18 -5
- package/esm/funcs/generalSendPassthroughRequest.d.ts.map +1 -1
- package/esm/funcs/generalSendPassthroughRequest.js +18 -5
- package/esm/funcs/generalSendPassthroughRequest.js.map +1 -1
- package/esm/funcs/generalSetIntegrationEnabled.js.map +1 -1
- package/esm/funcs/generalUpdateCustomFieldMapping.js.map +1 -1
- package/esm/funcs/generalUpdateIntegrationField.js.map +1 -1
- package/esm/funcs/hrisAddEmployeeDocument.js.map +1 -1
- package/esm/funcs/hrisDeleteAbsence.js.map +1 -1
- package/esm/funcs/hrisGetAbsenceTypes.js.map +1 -1
- package/esm/funcs/hrisGetAbsences.js.map +1 -1
- package/esm/funcs/hrisGetEmployeeDocumentCategories.js.map +1 -1
- package/esm/funcs/hrisGetEmployees.js.map +1 -1
- package/esm/funcs/hrisGetEmployments.js.map +1 -1
- package/esm/funcs/hrisGetGroups.js.map +1 -1
- package/esm/funcs/hrisGetLegalEntities.js.map +1 -1
- package/esm/funcs/hrisGetLocations.js.map +1 -1
- package/esm/funcs/hrisGetPerformanceReviewCycles.d.ts +0 -2
- package/esm/funcs/hrisGetPerformanceReviewCycles.d.ts.map +1 -1
- package/esm/funcs/hrisGetPerformanceReviewCycles.js +0 -2
- package/esm/funcs/hrisGetPerformanceReviewCycles.js.map +1 -1
- package/esm/funcs/hrisGetPerformanceReviews.d.ts +0 -2
- package/esm/funcs/hrisGetPerformanceReviews.d.ts.map +1 -1
- package/esm/funcs/hrisGetPerformanceReviews.js +0 -2
- package/esm/funcs/hrisGetPerformanceReviews.js.map +1 -1
- package/esm/funcs/hrisGetStaffingEntities.d.ts +33 -0
- package/esm/funcs/hrisGetStaffingEntities.d.ts.map +1 -0
- package/esm/funcs/hrisGetStaffingEntities.js +134 -0
- package/esm/funcs/hrisGetStaffingEntities.js.map +1 -0
- package/esm/funcs/hrisGetTimeOffBalances.js.map +1 -1
- package/esm/funcs/hrisGetTimesheets.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/config.js.map +1 -1
- package/esm/lib/encodings.d.ts.map +1 -1
- package/esm/lib/encodings.js +20 -5
- package/esm/lib/encodings.js.map +1 -1
- package/esm/lib/files.d.ts +13 -0
- package/esm/lib/files.d.ts.map +1 -1
- package/esm/lib/files.js +18 -0
- package/esm/lib/files.js.map +1 -1
- package/esm/lib/matchers.d.ts.map +1 -1
- package/esm/lib/matchers.js +0 -1
- package/esm/lib/matchers.js.map +1 -1
- package/esm/lib/sdks.d.ts.map +1 -1
- package/esm/lib/sdks.js +8 -4
- package/esm/lib/sdks.js.map +1 -1
- package/esm/lib/security.d.ts.map +1 -1
- package/esm/lib/security.js +1 -2
- package/esm/lib/security.js.map +1 -1
- package/esm/lib/url.d.ts.map +1 -1
- package/esm/lib/url.js +4 -2
- package/esm/lib/url.js.map +1 -1
- package/esm/models/assessmentorderreceivedwebhookpayload.d.ts +5 -2
- package/esm/models/assessmentorderreceivedwebhookpayload.d.ts.map +1 -1
- package/esm/models/assessmentorderreceivedwebhookpayload.js +5 -2
- package/esm/models/assessmentorderreceivedwebhookpayload.js.map +1 -1
- package/esm/models/datachangedwebhookpayload.d.ts +7 -0
- package/esm/models/datachangedwebhookpayload.d.ts.map +1 -1
- package/esm/models/datachangedwebhookpayload.js +7 -0
- package/esm/models/datachangedwebhookpayload.js.map +1 -1
- package/esm/models/getassessmentordersopenpositiveresponse.d.ts +4 -1
- package/esm/models/getassessmentordersopenpositiveresponse.d.ts.map +1 -1
- package/esm/models/getassessmentordersopenpositiveresponse.js +4 -1
- package/esm/models/getassessmentordersopenpositiveresponse.js.map +1 -1
- package/esm/models/getatsjobspositiveresponse.d.ts +67 -1
- package/esm/models/getatsjobspositiveresponse.d.ts.map +1 -1
- package/esm/models/getatsjobspositiveresponse.js +36 -0
- package/esm/models/getatsjobspositiveresponse.js.map +1 -1
- package/esm/models/getatsrolespositiveresponse.d.ts +85 -0
- package/esm/models/getatsrolespositiveresponse.d.ts.map +1 -0
- package/esm/models/getatsrolespositiveresponse.js +57 -0
- package/esm/models/getatsrolespositiveresponse.js.map +1 -0
- package/esm/models/getatsuserspositiveresponse.d.ts +61 -0
- package/esm/models/getatsuserspositiveresponse.d.ts.map +1 -1
- package/esm/models/getatsuserspositiveresponse.js +33 -0
- package/esm/models/getatsuserspositiveresponse.js.map +1 -1
- package/esm/models/gethrisemployeespositiveresponse.d.ts +12 -12
- package/esm/models/gethrisemployeespositiveresponse.d.ts.map +1 -1
- package/esm/models/gethrisemployeespositiveresponse.js +12 -13
- package/esm/models/gethrisemployeespositiveresponse.js.map +1 -1
- package/esm/models/gethrisstaffingentitiespositiveresponse.d.ts +261 -0
- package/esm/models/gethrisstaffingentitiespositiveresponse.d.ts.map +1 -0
- package/esm/models/gethrisstaffingentitiespositiveresponse.js +143 -0
- package/esm/models/gethrisstaffingentitiespositiveresponse.js.map +1 -0
- package/esm/models/index.d.ts +2 -0
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +2 -0
- package/esm/models/index.js.map +1 -1
- package/esm/models/inlineassessmentorderreceivedwebhookpayload.d.ts +5 -2
- package/esm/models/inlineassessmentorderreceivedwebhookpayload.d.ts.map +1 -1
- package/esm/models/inlineassessmentorderreceivedwebhookpayload.js +5 -2
- package/esm/models/inlineassessmentorderreceivedwebhookpayload.js.map +1 -1
- package/esm/models/komboatserror.d.ts +1 -0
- package/esm/models/komboatserror.d.ts.map +1 -1
- package/esm/models/komboatserror.js +1 -0
- package/esm/models/komboatserror.js.map +1 -1
- package/esm/models/kombogeneralerror.d.ts +1 -0
- package/esm/models/kombogeneralerror.d.ts.map +1 -1
- package/esm/models/kombogeneralerror.js +1 -0
- package/esm/models/kombogeneralerror.js.map +1 -1
- package/esm/models/kombohriserror.d.ts +1 -0
- package/esm/models/kombohriserror.d.ts.map +1 -1
- package/esm/models/kombohriserror.js +1 -0
- package/esm/models/kombohriserror.js.map +1 -1
- package/esm/models/operations/getatsapplications.d.ts +9 -0
- package/esm/models/operations/getatsapplications.d.ts.map +1 -1
- package/esm/models/operations/getatsapplications.js.map +1 -1
- package/esm/models/operations/getatsapplicationstages.d.ts +2 -0
- package/esm/models/operations/getatsapplicationstages.d.ts.map +1 -1
- package/esm/models/operations/getatsapplicationstages.js.map +1 -1
- package/esm/models/operations/getatscandidates.d.ts +8 -0
- package/esm/models/operations/getatscandidates.d.ts.map +1 -1
- package/esm/models/operations/getatscandidates.js.map +1 -1
- package/esm/models/operations/getatsinterviews.d.ts +8 -0
- package/esm/models/operations/getatsinterviews.d.ts.map +1 -1
- package/esm/models/operations/getatsinterviews.js.map +1 -1
- package/esm/models/operations/getatsjobs.d.ts +11 -0
- package/esm/models/operations/getatsjobs.d.ts.map +1 -1
- package/esm/models/operations/getatsjobs.js.map +1 -1
- package/esm/models/operations/getatsoffers.d.ts +6 -0
- package/esm/models/operations/getatsoffers.d.ts.map +1 -1
- package/esm/models/operations/getatsoffers.js.map +1 -1
- package/esm/models/operations/getatsrejectionreasons.d.ts +2 -0
- package/esm/models/operations/getatsrejectionreasons.d.ts.map +1 -1
- package/esm/models/operations/getatsrejectionreasons.js.map +1 -1
- package/esm/models/operations/getatsroles.d.ts +79 -0
- package/esm/models/operations/getatsroles.d.ts.map +1 -0
- package/esm/models/operations/getatsroles.js +33 -0
- package/esm/models/operations/getatsroles.js.map +1 -0
- package/esm/models/operations/getatstags.d.ts +2 -0
- package/esm/models/operations/getatstags.d.ts.map +1 -1
- package/esm/models/operations/getatstags.js.map +1 -1
- package/esm/models/operations/getatsusers.d.ts +5 -0
- package/esm/models/operations/getatsusers.d.ts.map +1 -1
- package/esm/models/operations/getatsusers.js.map +1 -1
- package/esm/models/operations/gethrisabsences.d.ts +4 -0
- package/esm/models/operations/gethrisabsences.d.ts.map +1 -1
- package/esm/models/operations/gethrisabsences.js.map +1 -1
- package/esm/models/operations/gethrisabsencetypes.d.ts +2 -0
- package/esm/models/operations/gethrisabsencetypes.d.ts.map +1 -1
- package/esm/models/operations/gethrisabsencetypes.js.map +1 -1
- package/esm/models/operations/gethrisemployeedocumentcategories.d.ts +2 -0
- package/esm/models/operations/gethrisemployeedocumentcategories.d.ts.map +1 -1
- package/esm/models/operations/gethrisemployeedocumentcategories.js.map +1 -1
- package/esm/models/operations/gethrisemployees.d.ts +10 -0
- package/esm/models/operations/gethrisemployees.d.ts.map +1 -1
- package/esm/models/operations/gethrisemployees.js.map +1 -1
- package/esm/models/operations/gethrisemployments.d.ts +2 -0
- package/esm/models/operations/gethrisemployments.d.ts.map +1 -1
- package/esm/models/operations/gethrisemployments.js.map +1 -1
- package/esm/models/operations/gethrisgroups.d.ts +2 -0
- package/esm/models/operations/gethrisgroups.d.ts.map +1 -1
- package/esm/models/operations/gethrisgroups.js.map +1 -1
- package/esm/models/operations/gethrislegalentities.d.ts +2 -0
- package/esm/models/operations/gethrislegalentities.d.ts.map +1 -1
- package/esm/models/operations/gethrislegalentities.js.map +1 -1
- package/esm/models/operations/gethrislocations.d.ts +2 -0
- package/esm/models/operations/gethrislocations.d.ts.map +1 -1
- package/esm/models/operations/gethrislocations.js.map +1 -1
- package/esm/models/operations/gethrisperformancereviewcycles.d.ts +2 -0
- package/esm/models/operations/gethrisperformancereviewcycles.d.ts.map +1 -1
- package/esm/models/operations/gethrisperformancereviewcycles.js.map +1 -1
- package/esm/models/operations/gethrisperformancereviews.d.ts +6 -0
- package/esm/models/operations/gethrisperformancereviews.d.ts.map +1 -1
- package/esm/models/operations/gethrisperformancereviews.js.map +1 -1
- package/esm/models/operations/gethrisstaffingentities.d.ts +93 -0
- package/esm/models/operations/gethrisstaffingentities.d.ts.map +1 -0
- package/esm/models/operations/gethrisstaffingentities.js +34 -0
- package/esm/models/operations/gethrisstaffingentities.js.map +1 -0
- package/esm/models/operations/gethristimeoffbalances.d.ts +4 -0
- package/esm/models/operations/gethristimeoffbalances.d.ts.map +1 -1
- package/esm/models/operations/gethristimeoffbalances.js.map +1 -1
- package/esm/models/operations/gethristimesheets.d.ts +2 -0
- package/esm/models/operations/gethristimesheets.d.ts.map +1 -1
- package/esm/models/operations/gethristimesheets.js.map +1 -1
- package/esm/models/operations/index.d.ts +2 -0
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +2 -0
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/postatsapplicationsapplicationidnotesrequestbody.d.ts +21 -0
- package/esm/models/postatsapplicationsapplicationidnotesrequestbody.d.ts.map +1 -1
- package/esm/models/postatsapplicationsapplicationidnotesrequestbody.js +8 -0
- package/esm/models/postatsapplicationsapplicationidnotesrequestbody.js.map +1 -1
- package/esm/models/postatscandidatesrequestbody.d.ts +60 -0
- package/esm/models/postatscandidatesrequestbody.d.ts.map +1 -1
- package/esm/models/postatscandidatesrequestbody.js +30 -0
- package/esm/models/postatscandidatesrequestbody.js.map +1 -1
- package/esm/models/postatsjobsjobidapplicationsrequestbody.d.ts +60 -0
- package/esm/models/postatsjobsjobidapplicationsrequestbody.d.ts.map +1 -1
- package/esm/models/postatsjobsjobidapplicationsrequestbody.js +30 -0
- package/esm/models/postatsjobsjobidapplicationsrequestbody.js.map +1 -1
- package/esm/models/postconnectcreatelinkrequestbody.d.ts +4 -0
- package/esm/models/postconnectcreatelinkrequestbody.d.ts.map +1 -1
- package/esm/models/postconnectcreatelinkrequestbody.js +4 -0
- package/esm/models/postconnectcreatelinkrequestbody.js.map +1 -1
- package/esm/models/putassessmentordersassessmentorderidresultrequestbody.d.ts +15 -0
- package/esm/models/putassessmentordersassessmentorderidresultrequestbody.d.ts.map +1 -1
- package/esm/models/putassessmentordersassessmentorderidresultrequestbody.js +9 -0
- package/esm/models/putassessmentordersassessmentorderidresultrequestbody.js.map +1 -1
- package/esm/models/putatsapplicationsapplicationidstagerequestbody.d.ts +40 -0
- package/esm/models/putatsapplicationsapplicationidstagerequestbody.d.ts.map +1 -1
- package/esm/models/putatsapplicationsapplicationidstagerequestbody.js +24 -0
- package/esm/models/putatsapplicationsapplicationidstagerequestbody.js.map +1 -1
- package/esm/sdk/ats.d.ts +15 -1
- package/esm/sdk/ats.d.ts.map +1 -1
- package/esm/sdk/ats.js +16 -1
- package/esm/sdk/ats.js.map +1 -1
- package/esm/sdk/general.d.ts +18 -5
- package/esm/sdk/general.d.ts.map +1 -1
- package/esm/sdk/general.js +18 -5
- package/esm/sdk/general.js.map +1 -1
- package/esm/sdk/hris.d.ts +21 -4
- package/esm/sdk/hris.d.ts.map +1 -1
- package/esm/sdk/hris.js +22 -4
- package/esm/sdk/hris.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/assessmentGetOpenOrders.ts +1 -1
- package/src/funcs/assessmentUpdateOrderResult.ts +0 -1
- package/src/funcs/atsAddApplicationAttachment.ts +0 -1
- package/src/funcs/atsAddApplicationNote.ts +0 -1
- package/src/funcs/atsAddApplicationResultLink.ts +0 -1
- package/src/funcs/atsAddCandidateAttachment.ts +0 -1
- package/src/funcs/atsAddCandidateResultLink.ts +0 -1
- package/src/funcs/atsAddCandidateTag.ts +0 -1
- package/src/funcs/atsCreateApplication.ts +0 -1
- package/src/funcs/atsGetApplicationAttachments.ts +0 -1
- package/src/funcs/atsGetApplicationStages.ts +1 -1
- package/src/funcs/atsGetApplications.ts +1 -1
- package/src/funcs/atsGetCandidateAttachments.ts +0 -1
- package/src/funcs/atsGetCandidates.ts +1 -1
- package/src/funcs/atsGetInterviews.ts +1 -1
- package/src/funcs/atsGetJobs.ts +1 -1
- package/src/funcs/atsGetOffers.ts +1 -1
- package/src/funcs/atsGetRejectionReasons.ts +1 -1
- package/src/funcs/atsGetRoles.ts +256 -0
- package/src/funcs/atsGetTags.ts +1 -1
- package/src/funcs/atsGetUsers.ts +1 -1
- package/src/funcs/atsMoveApplicationToStage.ts +2 -2
- package/src/funcs/atsRejectApplication.ts +0 -1
- package/src/funcs/atsRemoveCandidateTag.ts +0 -1
- package/src/funcs/connectGetIntegrationByToken.ts +0 -1
- package/src/funcs/generalCreateReconnectionLink.ts +0 -1
- package/src/funcs/generalDeleteIntegration.ts +0 -1
- package/src/funcs/generalGetCustomFields.ts +0 -1
- package/src/funcs/generalGetIntegrationDetails.ts +0 -1
- package/src/funcs/generalGetIntegrationFields.ts +0 -1
- package/src/funcs/generalGetTools.ts +0 -1
- package/src/funcs/generalSendPassthroughRequest.ts +18 -6
- package/src/funcs/generalSetIntegrationEnabled.ts +0 -1
- package/src/funcs/generalUpdateCustomFieldMapping.ts +0 -1
- package/src/funcs/generalUpdateIntegrationField.ts +0 -1
- package/src/funcs/hrisAddEmployeeDocument.ts +0 -1
- package/src/funcs/hrisDeleteAbsence.ts +0 -1
- package/src/funcs/hrisGetAbsenceTypes.ts +1 -1
- package/src/funcs/hrisGetAbsences.ts +1 -1
- package/src/funcs/hrisGetEmployeeDocumentCategories.ts +1 -1
- package/src/funcs/hrisGetEmployees.ts +1 -1
- package/src/funcs/hrisGetEmployments.ts +1 -1
- package/src/funcs/hrisGetGroups.ts +1 -1
- package/src/funcs/hrisGetLegalEntities.ts +1 -1
- package/src/funcs/hrisGetLocations.ts +1 -1
- package/src/funcs/hrisGetPerformanceReviewCycles.ts +1 -3
- package/src/funcs/hrisGetPerformanceReviews.ts +1 -3
- package/src/funcs/hrisGetStaffingEntities.ts +267 -0
- package/src/funcs/hrisGetTimeOffBalances.ts +1 -1
- package/src/funcs/hrisGetTimesheets.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +23 -4
- package/src/lib/files.ts +22 -0
- package/src/lib/matchers.ts +3 -2
- package/src/lib/sdks.ts +7 -5
- package/src/lib/security.ts +1 -2
- package/src/lib/url.ts +16 -14
- package/src/models/assessmentorderreceivedwebhookpayload.ts +7 -4
- package/src/models/datachangedwebhookpayload.ts +8 -0
- package/src/models/getassessmentordersopenpositiveresponse.ts +5 -2
- package/src/models/getatsjobspositiveresponse.ts +100 -1
- package/src/models/getatsrolespositiveresponse.ts +167 -0
- package/src/models/getatsuserspositiveresponse.ts +97 -0
- package/src/models/gethrisemployeespositiveresponse.ts +55 -37
- package/src/models/gethrisstaffingentitiespositiveresponse.ts +509 -0
- package/src/models/index.ts +2 -0
- package/src/models/inlineassessmentorderreceivedwebhookpayload.ts +7 -4
- package/src/models/komboatserror.ts +1 -0
- package/src/models/kombogeneralerror.ts +1 -0
- package/src/models/kombohriserror.ts +1 -0
- package/src/models/operations/getatsapplications.ts +9 -0
- package/src/models/operations/getatsapplicationstages.ts +2 -0
- package/src/models/operations/getatscandidates.ts +8 -0
- package/src/models/operations/getatsinterviews.ts +8 -0
- package/src/models/operations/getatsjobs.ts +11 -0
- package/src/models/operations/getatsoffers.ts +6 -0
- package/src/models/operations/getatsrejectionreasons.ts +2 -0
- package/src/models/operations/getatsroles.ts +129 -0
- package/src/models/operations/getatstags.ts +2 -0
- package/src/models/operations/getatsusers.ts +5 -0
- package/src/models/operations/gethrisabsences.ts +4 -0
- package/src/models/operations/gethrisabsencetypes.ts +2 -0
- package/src/models/operations/gethrisemployeedocumentcategories.ts +2 -0
- package/src/models/operations/gethrisemployees.ts +10 -0
- package/src/models/operations/gethrisemployments.ts +2 -0
- package/src/models/operations/gethrisgroups.ts +2 -0
- package/src/models/operations/gethrislegalentities.ts +2 -0
- package/src/models/operations/gethrislocations.ts +2 -0
- package/src/models/operations/gethrisperformancereviewcycles.ts +2 -0
- package/src/models/operations/gethrisperformancereviews.ts +6 -0
- package/src/models/operations/gethrisstaffingentities.ts +146 -0
- package/src/models/operations/gethristimeoffbalances.ts +4 -0
- package/src/models/operations/gethristimesheets.ts +2 -0
- package/src/models/operations/index.ts +2 -0
- package/src/models/postatsapplicationsapplicationidnotesrequestbody.ts +46 -0
- package/src/models/postatscandidatesrequestbody.ts +110 -0
- package/src/models/postatsjobsjobidapplicationsrequestbody.ts +114 -0
- package/src/models/postconnectcreatelinkrequestbody.ts +4 -0
- package/src/models/putassessmentordersassessmentorderidresultrequestbody.ts +42 -0
- package/src/models/putatsapplicationsapplicationidstagerequestbody.ts +74 -0
- package/src/sdk/ats.ts +24 -1
- package/src/sdk/general.ts +18 -5
- package/src/sdk/hris.ts +32 -4
- package/_speakeasy/.github/action-inputs-config.json +0 -53
- package/_speakeasy/.github/action-security-config.json +0 -88
- package/examples/package-lock.json +0 -613
- package/examples/package.json +0 -18
- package/tsconfig.json +0 -40
|
@@ -390,7 +390,7 @@ export type Manager = {
|
|
|
390
390
|
/**
|
|
391
391
|
* Type of the group.
|
|
392
392
|
*/
|
|
393
|
-
export const
|
|
393
|
+
export const GetHrisEmployeesPositiveResponseGroupType = {
|
|
394
394
|
Department: "DEPARTMENT",
|
|
395
395
|
Team: "TEAM",
|
|
396
396
|
CostCenter: "COST_CENTER",
|
|
@@ -398,9 +398,11 @@ export const GroupType = {
|
|
|
398
398
|
/**
|
|
399
399
|
* Type of the group.
|
|
400
400
|
*/
|
|
401
|
-
export type
|
|
401
|
+
export type GetHrisEmployeesPositiveResponseGroupType = ClosedEnum<
|
|
402
|
+
typeof GetHrisEmployeesPositiveResponseGroupType
|
|
403
|
+
>;
|
|
402
404
|
|
|
403
|
-
export type
|
|
405
|
+
export type GetHrisEmployeesPositiveResponseGroup = {
|
|
404
406
|
/**
|
|
405
407
|
* The globally unique ID of this object generated by Kombo. We recommend using this as a stable primary key for syncing.
|
|
406
408
|
*/
|
|
@@ -416,7 +418,7 @@ export type Group = {
|
|
|
416
418
|
/**
|
|
417
419
|
* Type of the group.
|
|
418
420
|
*/
|
|
419
|
-
type:
|
|
421
|
+
type: GetHrisEmployeesPositiveResponseGroupType | null;
|
|
420
422
|
};
|
|
421
423
|
|
|
422
424
|
/**
|
|
@@ -441,7 +443,7 @@ export type LegalEntityAddress = {
|
|
|
441
443
|
zip_code?: string | null | undefined;
|
|
442
444
|
};
|
|
443
445
|
|
|
444
|
-
export type
|
|
446
|
+
export type GetHrisEmployeesPositiveResponseLegalEntity = {
|
|
445
447
|
/**
|
|
446
448
|
* The globally unique ID of this object generated by Kombo. We recommend using this as a stable primary key for syncing.
|
|
447
449
|
*/
|
|
@@ -670,8 +672,8 @@ export type GetHrisEmployeesPositiveResponseResult = {
|
|
|
670
672
|
employments: Array<Employment>;
|
|
671
673
|
time_off_balances: Array<TimeOffBalance>;
|
|
672
674
|
manager: Manager | null;
|
|
673
|
-
groups: Array<
|
|
674
|
-
legal_entity:
|
|
675
|
+
groups: Array<GetHrisEmployeesPositiveResponseGroup>;
|
|
676
|
+
legal_entity: GetHrisEmployeesPositiveResponseLegalEntity | null;
|
|
675
677
|
work_location: WorkLocation | null;
|
|
676
678
|
};
|
|
677
679
|
|
|
@@ -939,25 +941,30 @@ export function managerFromJSON(
|
|
|
939
941
|
}
|
|
940
942
|
|
|
941
943
|
/** @internal */
|
|
942
|
-
export const
|
|
943
|
-
.
|
|
944
|
+
export const GetHrisEmployeesPositiveResponseGroupType$inboundSchema:
|
|
945
|
+
z.ZodNativeEnum<typeof GetHrisEmployeesPositiveResponseGroupType> = z
|
|
946
|
+
.nativeEnum(GetHrisEmployeesPositiveResponseGroupType);
|
|
944
947
|
|
|
945
948
|
/** @internal */
|
|
946
|
-
export const
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
949
|
+
export const GetHrisEmployeesPositiveResponseGroup$inboundSchema: z.ZodType<
|
|
950
|
+
GetHrisEmployeesPositiveResponseGroup,
|
|
951
|
+
z.ZodTypeDef,
|
|
952
|
+
unknown
|
|
953
|
+
> = z.object({
|
|
954
|
+
id: z.string(),
|
|
955
|
+
remote_id: z.string(),
|
|
956
|
+
name: z.nullable(z.string()),
|
|
957
|
+
type: z.nullable(GetHrisEmployeesPositiveResponseGroupType$inboundSchema),
|
|
958
|
+
});
|
|
953
959
|
|
|
954
|
-
export function
|
|
960
|
+
export function getHrisEmployeesPositiveResponseGroupFromJSON(
|
|
955
961
|
jsonString: string,
|
|
956
|
-
): SafeParseResult<
|
|
962
|
+
): SafeParseResult<GetHrisEmployeesPositiveResponseGroup, SDKValidationError> {
|
|
957
963
|
return safeParse(
|
|
958
964
|
jsonString,
|
|
959
|
-
(x) =>
|
|
960
|
-
|
|
965
|
+
(x) =>
|
|
966
|
+
GetHrisEmployeesPositiveResponseGroup$inboundSchema.parse(JSON.parse(x)),
|
|
967
|
+
`Failed to parse 'GetHrisEmployeesPositiveResponseGroup' from JSON`,
|
|
961
968
|
);
|
|
962
969
|
}
|
|
963
970
|
|
|
@@ -987,25 +994,32 @@ export function legalEntityAddressFromJSON(
|
|
|
987
994
|
}
|
|
988
995
|
|
|
989
996
|
/** @internal */
|
|
990
|
-
export const
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
.
|
|
1000
|
-
|
|
997
|
+
export const GetHrisEmployeesPositiveResponseLegalEntity$inboundSchema:
|
|
998
|
+
z.ZodType<
|
|
999
|
+
GetHrisEmployeesPositiveResponseLegalEntity,
|
|
1000
|
+
z.ZodTypeDef,
|
|
1001
|
+
unknown
|
|
1002
|
+
> = z.object({
|
|
1003
|
+
id: z.string(),
|
|
1004
|
+
remote_id: z.nullable(z.string()),
|
|
1005
|
+
name: z.nullable(z.string()),
|
|
1006
|
+
address: z.nullable(z.lazy(() => LegalEntityAddress$inboundSchema))
|
|
1007
|
+
.optional(),
|
|
1008
|
+
});
|
|
1001
1009
|
|
|
1002
|
-
export function
|
|
1010
|
+
export function getHrisEmployeesPositiveResponseLegalEntityFromJSON(
|
|
1003
1011
|
jsonString: string,
|
|
1004
|
-
): SafeParseResult<
|
|
1012
|
+
): SafeParseResult<
|
|
1013
|
+
GetHrisEmployeesPositiveResponseLegalEntity,
|
|
1014
|
+
SDKValidationError
|
|
1015
|
+
> {
|
|
1005
1016
|
return safeParse(
|
|
1006
1017
|
jsonString,
|
|
1007
|
-
(x) =>
|
|
1008
|
-
|
|
1018
|
+
(x) =>
|
|
1019
|
+
GetHrisEmployeesPositiveResponseLegalEntity$inboundSchema.parse(
|
|
1020
|
+
JSON.parse(x),
|
|
1021
|
+
),
|
|
1022
|
+
`Failed to parse 'GetHrisEmployeesPositiveResponseLegalEntity' from JSON`,
|
|
1009
1023
|
);
|
|
1010
1024
|
}
|
|
1011
1025
|
|
|
@@ -1117,8 +1131,12 @@ export const GetHrisEmployeesPositiveResponseResult$inboundSchema: z.ZodType<
|
|
|
1117
1131
|
employments: z.array(z.lazy(() => Employment$inboundSchema)),
|
|
1118
1132
|
time_off_balances: z.array(z.lazy(() => TimeOffBalance$inboundSchema)),
|
|
1119
1133
|
manager: z.nullable(z.lazy(() => Manager$inboundSchema)),
|
|
1120
|
-
groups: z.array(
|
|
1121
|
-
|
|
1134
|
+
groups: z.array(
|
|
1135
|
+
z.lazy(() => GetHrisEmployeesPositiveResponseGroup$inboundSchema),
|
|
1136
|
+
),
|
|
1137
|
+
legal_entity: z.nullable(
|
|
1138
|
+
z.lazy(() => GetHrisEmployeesPositiveResponseLegalEntity$inboundSchema),
|
|
1139
|
+
),
|
|
1122
1140
|
work_location: z.nullable(z.lazy(() => WorkLocation$inboundSchema)),
|
|
1123
1141
|
});
|
|
1124
1142
|
|
|
@@ -0,0 +1,509 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* The remote model type of the record. Possible values are "JOB", "POSITION" or "REQUISITION". We recommend that users of our `create employee` endpoint ask the customer whether they want to hire into positions or requisitions.
|
|
13
|
+
*/
|
|
14
|
+
export const ModelType = {
|
|
15
|
+
Job: "JOB",
|
|
16
|
+
Position: "POSITION",
|
|
17
|
+
Requisition: "REQUISITION",
|
|
18
|
+
} as const;
|
|
19
|
+
/**
|
|
20
|
+
* The remote model type of the record. Possible values are "JOB", "POSITION" or "REQUISITION". We recommend that users of our `create employee` endpoint ask the customer whether they want to hire into positions or requisitions.
|
|
21
|
+
*/
|
|
22
|
+
export type ModelType = ClosedEnum<typeof ModelType>;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* The status of the staffing entity.
|
|
26
|
+
*
|
|
27
|
+
* @remarks
|
|
28
|
+
* OPEN_LIMITED: The staffing entity is open and has a limited number of openings. Refer to the `number_of_openings` field to get the number of openings.
|
|
29
|
+
* OPEN_UNLIMITED: The staffing entity is open and has an unlimited number of openings. Some enterprise systems refer to this as "Evergreen".
|
|
30
|
+
* PENDING: The staffing entity is pending approval or is waiting to be published.
|
|
31
|
+
* FROZEN: The staffing entity is frozen (hiring freeze) and does not accept applications/hires.
|
|
32
|
+
* FILLED: The staffing entity is filled (to its maximum capacity) and not available for new hires.
|
|
33
|
+
* CLOSED: The staffing entity is closed and not available for new hires.
|
|
34
|
+
*/
|
|
35
|
+
export const GetHrisStaffingEntitiesPositiveResponseStatus = {
|
|
36
|
+
OpenLimited: "OPEN_LIMITED",
|
|
37
|
+
OpenUnlimited: "OPEN_UNLIMITED",
|
|
38
|
+
Pending: "PENDING",
|
|
39
|
+
Frozen: "FROZEN",
|
|
40
|
+
Filled: "FILLED",
|
|
41
|
+
Closed: "CLOSED",
|
|
42
|
+
} as const;
|
|
43
|
+
/**
|
|
44
|
+
* The status of the staffing entity.
|
|
45
|
+
*
|
|
46
|
+
* @remarks
|
|
47
|
+
* OPEN_LIMITED: The staffing entity is open and has a limited number of openings. Refer to the `number_of_openings` field to get the number of openings.
|
|
48
|
+
* OPEN_UNLIMITED: The staffing entity is open and has an unlimited number of openings. Some enterprise systems refer to this as "Evergreen".
|
|
49
|
+
* PENDING: The staffing entity is pending approval or is waiting to be published.
|
|
50
|
+
* FROZEN: The staffing entity is frozen (hiring freeze) and does not accept applications/hires.
|
|
51
|
+
* FILLED: The staffing entity is filled (to its maximum capacity) and not available for new hires.
|
|
52
|
+
* CLOSED: The staffing entity is closed and not available for new hires.
|
|
53
|
+
*/
|
|
54
|
+
export type GetHrisStaffingEntitiesPositiveResponseStatus = ClosedEnum<
|
|
55
|
+
typeof GetHrisStaffingEntitiesPositiveResponseStatus
|
|
56
|
+
>;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* The unified type, how Kombo categorize this label.
|
|
60
|
+
*/
|
|
61
|
+
export const GetHrisStaffingEntitiesPositiveResponseUnifiedType = {
|
|
62
|
+
FullTime: "FULL_TIME",
|
|
63
|
+
PartTime: "PART_TIME",
|
|
64
|
+
Contract: "CONTRACT",
|
|
65
|
+
Internship: "INTERNSHIP",
|
|
66
|
+
Freelance: "FREELANCE",
|
|
67
|
+
WorkingStudent: "WORKING_STUDENT",
|
|
68
|
+
Apprenticeship: "APPRENTICESHIP",
|
|
69
|
+
Training: "TRAINING",
|
|
70
|
+
} as const;
|
|
71
|
+
/**
|
|
72
|
+
* The unified type, how Kombo categorize this label.
|
|
73
|
+
*/
|
|
74
|
+
export type GetHrisStaffingEntitiesPositiveResponseUnifiedType = ClosedEnum<
|
|
75
|
+
typeof GetHrisStaffingEntitiesPositiveResponseUnifiedType
|
|
76
|
+
>;
|
|
77
|
+
|
|
78
|
+
export type GetHrisStaffingEntitiesPositiveResponseEmploymentType = {
|
|
79
|
+
/**
|
|
80
|
+
* The label of the employment type how it appears in the remote system.
|
|
81
|
+
*/
|
|
82
|
+
remote_label: string;
|
|
83
|
+
/**
|
|
84
|
+
* The unified type, how Kombo categorize this label.
|
|
85
|
+
*/
|
|
86
|
+
unified_type: GetHrisStaffingEntitiesPositiveResponseUnifiedType | null;
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
export type GetHrisStaffingEntitiesPositiveResponseLocation = {
|
|
90
|
+
/**
|
|
91
|
+
* The globally unique ID of this object generated by Kombo. We recommend using this as a stable primary key for syncing.
|
|
92
|
+
*/
|
|
93
|
+
id: string;
|
|
94
|
+
/**
|
|
95
|
+
* The raw ID of the object in the remote system. We don't recommend using this as a primary key on your side as it might sometimes be compromised of multiple identifiers if a system doesn't provide a clear primary key.
|
|
96
|
+
*/
|
|
97
|
+
remote_id: string | null;
|
|
98
|
+
/**
|
|
99
|
+
* The work location’s name
|
|
100
|
+
*/
|
|
101
|
+
name: string | null;
|
|
102
|
+
/**
|
|
103
|
+
* The work location’s type. A freeform string.
|
|
104
|
+
*/
|
|
105
|
+
type: string | null;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
export type GetHrisStaffingEntitiesPositiveResponseLegalEntity = {
|
|
109
|
+
/**
|
|
110
|
+
* The globally unique ID of this object generated by Kombo. We recommend using this as a stable primary key for syncing.
|
|
111
|
+
*/
|
|
112
|
+
id: string;
|
|
113
|
+
/**
|
|
114
|
+
* The raw ID of the object in the remote system. We don't recommend using this as a primary key on your side as it might sometimes be compromised of multiple identifiers if a system doesn't provide a clear primary key.
|
|
115
|
+
*/
|
|
116
|
+
remote_id: string | null;
|
|
117
|
+
/**
|
|
118
|
+
* The legal entity’s name.
|
|
119
|
+
*/
|
|
120
|
+
name: string | null;
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Type of the group.
|
|
125
|
+
*/
|
|
126
|
+
export const GetHrisStaffingEntitiesPositiveResponseType = {
|
|
127
|
+
Department: "DEPARTMENT",
|
|
128
|
+
Team: "TEAM",
|
|
129
|
+
CostCenter: "COST_CENTER",
|
|
130
|
+
} as const;
|
|
131
|
+
/**
|
|
132
|
+
* Type of the group.
|
|
133
|
+
*/
|
|
134
|
+
export type GetHrisStaffingEntitiesPositiveResponseType = ClosedEnum<
|
|
135
|
+
typeof GetHrisStaffingEntitiesPositiveResponseType
|
|
136
|
+
>;
|
|
137
|
+
|
|
138
|
+
export type GetHrisStaffingEntitiesPositiveResponseGroup = {
|
|
139
|
+
/**
|
|
140
|
+
* The globally unique ID of this object generated by Kombo. We recommend using this as a stable primary key for syncing.
|
|
141
|
+
*/
|
|
142
|
+
id: string;
|
|
143
|
+
/**
|
|
144
|
+
* The raw ID of the object in the remote system. We don't recommend using this as a primary key on your side as it might sometimes be compromised of multiple identifiers if a system doesn't provide a clear primary key.
|
|
145
|
+
*/
|
|
146
|
+
remote_id: string;
|
|
147
|
+
/**
|
|
148
|
+
* The name of the group.
|
|
149
|
+
*/
|
|
150
|
+
name: string | null;
|
|
151
|
+
/**
|
|
152
|
+
* Type of the group.
|
|
153
|
+
*/
|
|
154
|
+
type: GetHrisStaffingEntitiesPositiveResponseType | null;
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
export type GetHrisStaffingEntitiesPositiveResponseResult = {
|
|
158
|
+
/**
|
|
159
|
+
* The globally unique ID of this object generated by Kombo. We recommend using this as a stable primary key for syncing.
|
|
160
|
+
*/
|
|
161
|
+
id: string;
|
|
162
|
+
/**
|
|
163
|
+
* The raw ID of the object in the remote system. We don't recommend using this as a primary key on your side as it might sometimes be compromised of multiple identifiers if a system doesn't provide a clear primary key.
|
|
164
|
+
*/
|
|
165
|
+
remote_id: string;
|
|
166
|
+
/**
|
|
167
|
+
* The name/title of the staffing entity.
|
|
168
|
+
*/
|
|
169
|
+
name: string | null;
|
|
170
|
+
/**
|
|
171
|
+
* The remote model type of the record. Possible values are "JOB", "POSITION" or "REQUISITION". We recommend that users of our `create employee` endpoint ask the customer whether they want to hire into positions or requisitions.
|
|
172
|
+
*/
|
|
173
|
+
model_type: ModelType | null;
|
|
174
|
+
/**
|
|
175
|
+
* A text description of the staffing entity — typically covering responsibilities, requirements, and scope. Commonly referred to as the "job description" in HRIS systems. May contain HTML, depending on the source system.
|
|
176
|
+
*/
|
|
177
|
+
description: string | null;
|
|
178
|
+
/**
|
|
179
|
+
* The status of the staffing entity.
|
|
180
|
+
*
|
|
181
|
+
* @remarks
|
|
182
|
+
* OPEN_LIMITED: The staffing entity is open and has a limited number of openings. Refer to the `number_of_openings` field to get the number of openings.
|
|
183
|
+
* OPEN_UNLIMITED: The staffing entity is open and has an unlimited number of openings. Some enterprise systems refer to this as "Evergreen".
|
|
184
|
+
* PENDING: The staffing entity is pending approval or is waiting to be published.
|
|
185
|
+
* FROZEN: The staffing entity is frozen (hiring freeze) and does not accept applications/hires.
|
|
186
|
+
* FILLED: The staffing entity is filled (to its maximum capacity) and not available for new hires.
|
|
187
|
+
* CLOSED: The staffing entity is closed and not available for new hires.
|
|
188
|
+
*/
|
|
189
|
+
status: GetHrisStaffingEntitiesPositiveResponseStatus | null;
|
|
190
|
+
/**
|
|
191
|
+
* The employment types available for/used by the staffing entity. Use the `remote_label` for display in your UI as it is consistent with the language of the remote system. Use the `unified_type` for internal categorization as it is unified across all tools.
|
|
192
|
+
*/
|
|
193
|
+
employment_types:
|
|
194
|
+
| Array<GetHrisStaffingEntitiesPositiveResponseEmploymentType>
|
|
195
|
+
| null;
|
|
196
|
+
/**
|
|
197
|
+
* The number of openings for the staffing entity. Only meaningful for staffing entities with the status "OPEN_LIMITED".
|
|
198
|
+
*/
|
|
199
|
+
number_of_openings: number | null;
|
|
200
|
+
/**
|
|
201
|
+
* The Kombo ID of the staffing entity’s parent. Usually it’s the position/job that was used to create the requisition. The ID can be used to retrieve the parent staffing entity from the `get staffing entity` endpoint.
|
|
202
|
+
*/
|
|
203
|
+
parent_id: string | null;
|
|
204
|
+
/**
|
|
205
|
+
* URL to the staffing entity in the HRIS system. Use this to implement backlinks into the HRIS/Enterprise System.
|
|
206
|
+
*/
|
|
207
|
+
remote_url: string | null;
|
|
208
|
+
/**
|
|
209
|
+
* The date and time the object was created in the remote system.
|
|
210
|
+
*/
|
|
211
|
+
remote_created_at: Date | null;
|
|
212
|
+
/**
|
|
213
|
+
* A timestamp retrieved from the remote system, describing when the resource was last updated.
|
|
214
|
+
*/
|
|
215
|
+
remote_updated_at: Date | null;
|
|
216
|
+
/**
|
|
217
|
+
* The timestamp when this specific record was last modified. This field only updates when properties directly on this record change, NOT when related or nested models change. For filtering that considers nested data changes, use the `updated_after` parameter which will return records when either the record itself OR its related models have been updated.
|
|
218
|
+
*/
|
|
219
|
+
changed_at: Date;
|
|
220
|
+
/**
|
|
221
|
+
* The date and time the object was deleted in the remote system. Objects are automatically marked as deleted when Kombo can't retrieve them from the remote system anymore. Kombo will also anonymize entries 14 days after they disappear.
|
|
222
|
+
*/
|
|
223
|
+
remote_deleted_at: Date | null;
|
|
224
|
+
/**
|
|
225
|
+
* A key-value store of fields not covered by the schema. [Read more](/custom-fields)
|
|
226
|
+
*/
|
|
227
|
+
custom_fields: { [k: string]: any } | null;
|
|
228
|
+
/**
|
|
229
|
+
* The physical work locations associated with this staffing entity. A position or requisition can be linked to one or more offices or sites where the role is to be filled.
|
|
230
|
+
*/
|
|
231
|
+
locations: Array<GetHrisStaffingEntitiesPositiveResponseLocation>;
|
|
232
|
+
/**
|
|
233
|
+
* The legal entities (companies or sub-companies) associated with this staffing entity. Indicates which employing entities within the organization the position or requisition belongs to.
|
|
234
|
+
*/
|
|
235
|
+
legal_entities: Array<GetHrisStaffingEntitiesPositiveResponseLegalEntity>;
|
|
236
|
+
/**
|
|
237
|
+
* The organizational groups (such as departments, teams, or cost centers) associated with this staffing entity.
|
|
238
|
+
*/
|
|
239
|
+
groups: Array<GetHrisStaffingEntitiesPositiveResponseGroup>;
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
export type GetHrisStaffingEntitiesPositiveResponseData = {
|
|
243
|
+
/**
|
|
244
|
+
* Cursor string that can be passed to the `cursor` query parameter to get the next page. If this is `null`, then there are no more pages.
|
|
245
|
+
*/
|
|
246
|
+
next: string | null;
|
|
247
|
+
results: Array<GetHrisStaffingEntitiesPositiveResponseResult>;
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
export type GetHrisStaffingEntitiesPositiveResponse = {
|
|
251
|
+
status: "success";
|
|
252
|
+
data: GetHrisStaffingEntitiesPositiveResponseData;
|
|
253
|
+
};
|
|
254
|
+
|
|
255
|
+
/** @internal */
|
|
256
|
+
export const ModelType$inboundSchema: z.ZodNativeEnum<typeof ModelType> = z
|
|
257
|
+
.nativeEnum(ModelType);
|
|
258
|
+
|
|
259
|
+
/** @internal */
|
|
260
|
+
export const GetHrisStaffingEntitiesPositiveResponseStatus$inboundSchema:
|
|
261
|
+
z.ZodNativeEnum<typeof GetHrisStaffingEntitiesPositiveResponseStatus> = z
|
|
262
|
+
.nativeEnum(GetHrisStaffingEntitiesPositiveResponseStatus);
|
|
263
|
+
|
|
264
|
+
/** @internal */
|
|
265
|
+
export const GetHrisStaffingEntitiesPositiveResponseUnifiedType$inboundSchema:
|
|
266
|
+
z.ZodNativeEnum<typeof GetHrisStaffingEntitiesPositiveResponseUnifiedType> = z
|
|
267
|
+
.nativeEnum(GetHrisStaffingEntitiesPositiveResponseUnifiedType);
|
|
268
|
+
|
|
269
|
+
/** @internal */
|
|
270
|
+
export const GetHrisStaffingEntitiesPositiveResponseEmploymentType$inboundSchema:
|
|
271
|
+
z.ZodType<
|
|
272
|
+
GetHrisStaffingEntitiesPositiveResponseEmploymentType,
|
|
273
|
+
z.ZodTypeDef,
|
|
274
|
+
unknown
|
|
275
|
+
> = z.object({
|
|
276
|
+
remote_label: z.string(),
|
|
277
|
+
unified_type: z.nullable(
|
|
278
|
+
GetHrisStaffingEntitiesPositiveResponseUnifiedType$inboundSchema,
|
|
279
|
+
),
|
|
280
|
+
});
|
|
281
|
+
|
|
282
|
+
export function getHrisStaffingEntitiesPositiveResponseEmploymentTypeFromJSON(
|
|
283
|
+
jsonString: string,
|
|
284
|
+
): SafeParseResult<
|
|
285
|
+
GetHrisStaffingEntitiesPositiveResponseEmploymentType,
|
|
286
|
+
SDKValidationError
|
|
287
|
+
> {
|
|
288
|
+
return safeParse(
|
|
289
|
+
jsonString,
|
|
290
|
+
(x) =>
|
|
291
|
+
GetHrisStaffingEntitiesPositiveResponseEmploymentType$inboundSchema.parse(
|
|
292
|
+
JSON.parse(x),
|
|
293
|
+
),
|
|
294
|
+
`Failed to parse 'GetHrisStaffingEntitiesPositiveResponseEmploymentType' from JSON`,
|
|
295
|
+
);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/** @internal */
|
|
299
|
+
export const GetHrisStaffingEntitiesPositiveResponseLocation$inboundSchema:
|
|
300
|
+
z.ZodType<
|
|
301
|
+
GetHrisStaffingEntitiesPositiveResponseLocation,
|
|
302
|
+
z.ZodTypeDef,
|
|
303
|
+
unknown
|
|
304
|
+
> = z.object({
|
|
305
|
+
id: z.string(),
|
|
306
|
+
remote_id: z.nullable(z.string()),
|
|
307
|
+
name: z.nullable(z.string()),
|
|
308
|
+
type: z.nullable(z.string()),
|
|
309
|
+
});
|
|
310
|
+
|
|
311
|
+
export function getHrisStaffingEntitiesPositiveResponseLocationFromJSON(
|
|
312
|
+
jsonString: string,
|
|
313
|
+
): SafeParseResult<
|
|
314
|
+
GetHrisStaffingEntitiesPositiveResponseLocation,
|
|
315
|
+
SDKValidationError
|
|
316
|
+
> {
|
|
317
|
+
return safeParse(
|
|
318
|
+
jsonString,
|
|
319
|
+
(x) =>
|
|
320
|
+
GetHrisStaffingEntitiesPositiveResponseLocation$inboundSchema.parse(
|
|
321
|
+
JSON.parse(x),
|
|
322
|
+
),
|
|
323
|
+
`Failed to parse 'GetHrisStaffingEntitiesPositiveResponseLocation' from JSON`,
|
|
324
|
+
);
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
/** @internal */
|
|
328
|
+
export const GetHrisStaffingEntitiesPositiveResponseLegalEntity$inboundSchema:
|
|
329
|
+
z.ZodType<
|
|
330
|
+
GetHrisStaffingEntitiesPositiveResponseLegalEntity,
|
|
331
|
+
z.ZodTypeDef,
|
|
332
|
+
unknown
|
|
333
|
+
> = z.object({
|
|
334
|
+
id: z.string(),
|
|
335
|
+
remote_id: z.nullable(z.string()),
|
|
336
|
+
name: z.nullable(z.string()),
|
|
337
|
+
});
|
|
338
|
+
|
|
339
|
+
export function getHrisStaffingEntitiesPositiveResponseLegalEntityFromJSON(
|
|
340
|
+
jsonString: string,
|
|
341
|
+
): SafeParseResult<
|
|
342
|
+
GetHrisStaffingEntitiesPositiveResponseLegalEntity,
|
|
343
|
+
SDKValidationError
|
|
344
|
+
> {
|
|
345
|
+
return safeParse(
|
|
346
|
+
jsonString,
|
|
347
|
+
(x) =>
|
|
348
|
+
GetHrisStaffingEntitiesPositiveResponseLegalEntity$inboundSchema.parse(
|
|
349
|
+
JSON.parse(x),
|
|
350
|
+
),
|
|
351
|
+
`Failed to parse 'GetHrisStaffingEntitiesPositiveResponseLegalEntity' from JSON`,
|
|
352
|
+
);
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
/** @internal */
|
|
356
|
+
export const GetHrisStaffingEntitiesPositiveResponseType$inboundSchema:
|
|
357
|
+
z.ZodNativeEnum<typeof GetHrisStaffingEntitiesPositiveResponseType> = z
|
|
358
|
+
.nativeEnum(GetHrisStaffingEntitiesPositiveResponseType);
|
|
359
|
+
|
|
360
|
+
/** @internal */
|
|
361
|
+
export const GetHrisStaffingEntitiesPositiveResponseGroup$inboundSchema:
|
|
362
|
+
z.ZodType<
|
|
363
|
+
GetHrisStaffingEntitiesPositiveResponseGroup,
|
|
364
|
+
z.ZodTypeDef,
|
|
365
|
+
unknown
|
|
366
|
+
> = z.object({
|
|
367
|
+
id: z.string(),
|
|
368
|
+
remote_id: z.string(),
|
|
369
|
+
name: z.nullable(z.string()),
|
|
370
|
+
type: z.nullable(GetHrisStaffingEntitiesPositiveResponseType$inboundSchema),
|
|
371
|
+
});
|
|
372
|
+
|
|
373
|
+
export function getHrisStaffingEntitiesPositiveResponseGroupFromJSON(
|
|
374
|
+
jsonString: string,
|
|
375
|
+
): SafeParseResult<
|
|
376
|
+
GetHrisStaffingEntitiesPositiveResponseGroup,
|
|
377
|
+
SDKValidationError
|
|
378
|
+
> {
|
|
379
|
+
return safeParse(
|
|
380
|
+
jsonString,
|
|
381
|
+
(x) =>
|
|
382
|
+
GetHrisStaffingEntitiesPositiveResponseGroup$inboundSchema.parse(
|
|
383
|
+
JSON.parse(x),
|
|
384
|
+
),
|
|
385
|
+
`Failed to parse 'GetHrisStaffingEntitiesPositiveResponseGroup' from JSON`,
|
|
386
|
+
);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/** @internal */
|
|
390
|
+
export const GetHrisStaffingEntitiesPositiveResponseResult$inboundSchema:
|
|
391
|
+
z.ZodType<
|
|
392
|
+
GetHrisStaffingEntitiesPositiveResponseResult,
|
|
393
|
+
z.ZodTypeDef,
|
|
394
|
+
unknown
|
|
395
|
+
> = z.object({
|
|
396
|
+
id: z.string(),
|
|
397
|
+
remote_id: z.string(),
|
|
398
|
+
name: z.nullable(z.string()),
|
|
399
|
+
model_type: z.nullable(ModelType$inboundSchema),
|
|
400
|
+
description: z.nullable(z.string()),
|
|
401
|
+
status: z.nullable(
|
|
402
|
+
GetHrisStaffingEntitiesPositiveResponseStatus$inboundSchema,
|
|
403
|
+
),
|
|
404
|
+
employment_types: z.nullable(
|
|
405
|
+
z.array(z.lazy(() =>
|
|
406
|
+
GetHrisStaffingEntitiesPositiveResponseEmploymentType$inboundSchema
|
|
407
|
+
)),
|
|
408
|
+
),
|
|
409
|
+
number_of_openings: z.nullable(z.number()),
|
|
410
|
+
parent_id: z.nullable(z.string()),
|
|
411
|
+
remote_url: z.nullable(z.string()),
|
|
412
|
+
remote_created_at: z.nullable(
|
|
413
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
414
|
+
),
|
|
415
|
+
remote_updated_at: z.nullable(
|
|
416
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
417
|
+
),
|
|
418
|
+
changed_at: z.string().datetime({ offset: true }).transform(v =>
|
|
419
|
+
new Date(v)
|
|
420
|
+
),
|
|
421
|
+
remote_deleted_at: z.nullable(
|
|
422
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
423
|
+
),
|
|
424
|
+
custom_fields: z.nullable(z.record(z.any())),
|
|
425
|
+
locations: z.array(
|
|
426
|
+
z.lazy(() =>
|
|
427
|
+
GetHrisStaffingEntitiesPositiveResponseLocation$inboundSchema
|
|
428
|
+
),
|
|
429
|
+
),
|
|
430
|
+
legal_entities: z.array(
|
|
431
|
+
z.lazy(() =>
|
|
432
|
+
GetHrisStaffingEntitiesPositiveResponseLegalEntity$inboundSchema
|
|
433
|
+
),
|
|
434
|
+
),
|
|
435
|
+
groups: z.array(
|
|
436
|
+
z.lazy(() => GetHrisStaffingEntitiesPositiveResponseGroup$inboundSchema),
|
|
437
|
+
),
|
|
438
|
+
});
|
|
439
|
+
|
|
440
|
+
export function getHrisStaffingEntitiesPositiveResponseResultFromJSON(
|
|
441
|
+
jsonString: string,
|
|
442
|
+
): SafeParseResult<
|
|
443
|
+
GetHrisStaffingEntitiesPositiveResponseResult,
|
|
444
|
+
SDKValidationError
|
|
445
|
+
> {
|
|
446
|
+
return safeParse(
|
|
447
|
+
jsonString,
|
|
448
|
+
(x) =>
|
|
449
|
+
GetHrisStaffingEntitiesPositiveResponseResult$inboundSchema.parse(
|
|
450
|
+
JSON.parse(x),
|
|
451
|
+
),
|
|
452
|
+
`Failed to parse 'GetHrisStaffingEntitiesPositiveResponseResult' from JSON`,
|
|
453
|
+
);
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
/** @internal */
|
|
457
|
+
export const GetHrisStaffingEntitiesPositiveResponseData$inboundSchema:
|
|
458
|
+
z.ZodType<
|
|
459
|
+
GetHrisStaffingEntitiesPositiveResponseData,
|
|
460
|
+
z.ZodTypeDef,
|
|
461
|
+
unknown
|
|
462
|
+
> = z.object({
|
|
463
|
+
next: z.nullable(z.string()),
|
|
464
|
+
results: z.array(
|
|
465
|
+
z.lazy(() => GetHrisStaffingEntitiesPositiveResponseResult$inboundSchema),
|
|
466
|
+
),
|
|
467
|
+
});
|
|
468
|
+
|
|
469
|
+
export function getHrisStaffingEntitiesPositiveResponseDataFromJSON(
|
|
470
|
+
jsonString: string,
|
|
471
|
+
): SafeParseResult<
|
|
472
|
+
GetHrisStaffingEntitiesPositiveResponseData,
|
|
473
|
+
SDKValidationError
|
|
474
|
+
> {
|
|
475
|
+
return safeParse(
|
|
476
|
+
jsonString,
|
|
477
|
+
(x) =>
|
|
478
|
+
GetHrisStaffingEntitiesPositiveResponseData$inboundSchema.parse(
|
|
479
|
+
JSON.parse(x),
|
|
480
|
+
),
|
|
481
|
+
`Failed to parse 'GetHrisStaffingEntitiesPositiveResponseData' from JSON`,
|
|
482
|
+
);
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
/** @internal */
|
|
486
|
+
export const GetHrisStaffingEntitiesPositiveResponse$inboundSchema: z.ZodType<
|
|
487
|
+
GetHrisStaffingEntitiesPositiveResponse,
|
|
488
|
+
z.ZodTypeDef,
|
|
489
|
+
unknown
|
|
490
|
+
> = z.object({
|
|
491
|
+
status: z.literal("success"),
|
|
492
|
+
data: z.lazy(() => GetHrisStaffingEntitiesPositiveResponseData$inboundSchema),
|
|
493
|
+
});
|
|
494
|
+
|
|
495
|
+
export function getHrisStaffingEntitiesPositiveResponseFromJSON(
|
|
496
|
+
jsonString: string,
|
|
497
|
+
): SafeParseResult<
|
|
498
|
+
GetHrisStaffingEntitiesPositiveResponse,
|
|
499
|
+
SDKValidationError
|
|
500
|
+
> {
|
|
501
|
+
return safeParse(
|
|
502
|
+
jsonString,
|
|
503
|
+
(x) =>
|
|
504
|
+
GetHrisStaffingEntitiesPositiveResponse$inboundSchema.parse(
|
|
505
|
+
JSON.parse(x),
|
|
506
|
+
),
|
|
507
|
+
`Failed to parse 'GetHrisStaffingEntitiesPositiveResponse' from JSON`,
|
|
508
|
+
);
|
|
509
|
+
}
|
package/src/models/index.ts
CHANGED
|
@@ -22,6 +22,7 @@ export * from "./getatsinterviewspositiveresponse.js";
|
|
|
22
22
|
export * from "./getatsjobspositiveresponse.js";
|
|
23
23
|
export * from "./getatsofferspositiveresponse.js";
|
|
24
24
|
export * from "./getatsrejectionreasonspositiveresponse.js";
|
|
25
|
+
export * from "./getatsrolespositiveresponse.js";
|
|
25
26
|
export * from "./getatstagspositiveresponse.js";
|
|
26
27
|
export * from "./getatsuserspositiveresponse.js";
|
|
27
28
|
export * from "./getcheckapikeypositiveresponse.js";
|
|
@@ -37,6 +38,7 @@ export * from "./gethrislegalentitiespositiveresponse.js";
|
|
|
37
38
|
export * from "./gethrislocationspositiveresponse.js";
|
|
38
39
|
export * from "./gethrisperformancereviewcyclespositiveresponse.js";
|
|
39
40
|
export * from "./gethrisperformancereviewspositiveresponse.js";
|
|
41
|
+
export * from "./gethrisstaffingentitiespositiveresponse.js";
|
|
40
42
|
export * from "./gethristimeoffbalancespositiveresponse.js";
|
|
41
43
|
export * from "./gethristimesheetspositiveresponse.js";
|
|
42
44
|
export * from "./getintegrationsintegrationidcustomfieldspositiveresponse.js";
|