@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
|
@@ -98,6 +98,9 @@ export type InlineAssessmentOrderReceivedWebhookPayloadLocation = {
|
|
|
98
98
|
export const InlineAssessmentOrderReceivedWebhookPayloadHiringTeamRole = {
|
|
99
99
|
Recruiter: "RECRUITER",
|
|
100
100
|
HiringManager: "HIRING_MANAGER",
|
|
101
|
+
Coordinator: "COORDINATOR",
|
|
102
|
+
Sourcer: "SOURCER",
|
|
103
|
+
Interviewer: "INTERVIEWER",
|
|
101
104
|
} as const;
|
|
102
105
|
export type InlineAssessmentOrderReceivedWebhookPayloadHiringTeamRole =
|
|
103
106
|
ClosedEnum<typeof InlineAssessmentOrderReceivedWebhookPayloadHiringTeamRole>;
|
|
@@ -109,7 +112,7 @@ export type InlineAssessmentOrderReceivedWebhookPayloadHiringTeam = {
|
|
|
109
112
|
/**
|
|
110
113
|
* The team member's identifier in the integrated system.
|
|
111
114
|
*/
|
|
112
|
-
remote_id: string;
|
|
115
|
+
remote_id: string | null;
|
|
113
116
|
/**
|
|
114
117
|
* The team member's email address.
|
|
115
118
|
*/
|
|
@@ -413,7 +416,7 @@ export const InlineAssessmentOrderReceivedWebhookPayloadHiringTeam$inboundSchema
|
|
|
413
416
|
z.ZodTypeDef,
|
|
414
417
|
unknown
|
|
415
418
|
> = z.object({
|
|
416
|
-
remote_id: z.string(),
|
|
419
|
+
remote_id: z.nullable(z.string()),
|
|
417
420
|
email: z.nullable(z.string()),
|
|
418
421
|
first_name: z.nullable(z.string()),
|
|
419
422
|
last_name: z.nullable(z.string()),
|
|
@@ -423,7 +426,7 @@ export const InlineAssessmentOrderReceivedWebhookPayloadHiringTeam$inboundSchema
|
|
|
423
426
|
});
|
|
424
427
|
/** @internal */
|
|
425
428
|
export type InlineAssessmentOrderReceivedWebhookPayloadHiringTeam$Outbound = {
|
|
426
|
-
remote_id: string;
|
|
429
|
+
remote_id: string | null;
|
|
427
430
|
email: string | null;
|
|
428
431
|
first_name: string | null;
|
|
429
432
|
last_name: string | null;
|
|
@@ -437,7 +440,7 @@ export const InlineAssessmentOrderReceivedWebhookPayloadHiringTeam$outboundSchem
|
|
|
437
440
|
z.ZodTypeDef,
|
|
438
441
|
InlineAssessmentOrderReceivedWebhookPayloadHiringTeam
|
|
439
442
|
> = z.object({
|
|
440
|
-
remote_id: z.string(),
|
|
443
|
+
remote_id: z.nullable(z.string()),
|
|
441
444
|
email: z.nullable(z.string()),
|
|
442
445
|
first_name: z.nullable(z.string()),
|
|
443
446
|
last_name: z.nullable(z.string()),
|
|
@@ -18,6 +18,7 @@ export type KomboAtsErrorStatus = ClosedEnum<typeof KomboAtsErrorStatus>;
|
|
|
18
18
|
*/
|
|
19
19
|
export const KomboAtsErrorCode = {
|
|
20
20
|
PlatformRateLimitExceeded: "PLATFORM.RATE_LIMIT_EXCEEDED",
|
|
21
|
+
PlatformConcurrencyLimitExceeded: "PLATFORM.CONCURRENCY_LIMIT_EXCEEDED",
|
|
21
22
|
PlatformIntegrationNotFound: "PLATFORM.INTEGRATION_NOT_FOUND",
|
|
22
23
|
PlatformInputInvalid: "PLATFORM.INPUT_INVALID",
|
|
23
24
|
PlatformUnknownError: "PLATFORM.UNKNOWN_ERROR",
|
|
@@ -20,6 +20,7 @@ export type KomboGeneralErrorStatus = ClosedEnum<
|
|
|
20
20
|
*/
|
|
21
21
|
export const KomboGeneralErrorCode = {
|
|
22
22
|
PlatformRateLimitExceeded: "PLATFORM.RATE_LIMIT_EXCEEDED",
|
|
23
|
+
PlatformConcurrencyLimitExceeded: "PLATFORM.CONCURRENCY_LIMIT_EXCEEDED",
|
|
23
24
|
PlatformIntegrationNotFound: "PLATFORM.INTEGRATION_NOT_FOUND",
|
|
24
25
|
PlatformInputInvalid: "PLATFORM.INPUT_INVALID",
|
|
25
26
|
PlatformUnknownError: "PLATFORM.UNKNOWN_ERROR",
|
|
@@ -18,6 +18,7 @@ export type KomboHrisErrorStatus = ClosedEnum<typeof KomboHrisErrorStatus>;
|
|
|
18
18
|
*/
|
|
19
19
|
export const KomboHrisErrorCode = {
|
|
20
20
|
PlatformRateLimitExceeded: "PLATFORM.RATE_LIMIT_EXCEEDED",
|
|
21
|
+
PlatformConcurrencyLimitExceeded: "PLATFORM.CONCURRENCY_LIMIT_EXCEEDED",
|
|
21
22
|
PlatformIntegrationNotFound: "PLATFORM.INTEGRATION_NOT_FOUND",
|
|
22
23
|
PlatformInputInvalid: "PLATFORM.INPUT_INVALID",
|
|
23
24
|
PlatformUnknownError: "PLATFORM.UNKNOWN_ERROR",
|
|
@@ -33,6 +33,15 @@ export type GetAtsApplicationsRequest = {
|
|
|
33
33
|
* If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
|
|
34
34
|
*
|
|
35
35
|
* For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
36
|
+
*
|
|
37
|
+
* For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
|
|
38
|
+
*
|
|
39
|
+
* - ✓ `candidate`
|
|
40
|
+
* - ✗ `tags`
|
|
41
|
+
* - ✓ `current_stage`
|
|
42
|
+
* - ✗ `job`
|
|
43
|
+
* - ✓ `interviews`
|
|
44
|
+
* - ✓ `offers`
|
|
36
45
|
*/
|
|
37
46
|
updated_after?: Date | undefined;
|
|
38
47
|
/**
|
|
@@ -33,6 +33,8 @@ export type GetAtsApplicationStagesRequest = {
|
|
|
33
33
|
* If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
|
|
34
34
|
*
|
|
35
35
|
* For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
36
|
+
*
|
|
37
|
+
* For this endpoint, only changes to the returned record itself are considered.
|
|
36
38
|
*/
|
|
37
39
|
updated_after?: Date | undefined;
|
|
38
40
|
/**
|
|
@@ -33,6 +33,14 @@ export type GetAtsCandidatesRequest = {
|
|
|
33
33
|
* If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
|
|
34
34
|
*
|
|
35
35
|
* For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
36
|
+
*
|
|
37
|
+
* For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
|
|
38
|
+
*
|
|
39
|
+
* - ✓ `applications`
|
|
40
|
+
* - ✗ `current_stage`
|
|
41
|
+
* - ✗ `job`
|
|
42
|
+
* - ✓ `tags`
|
|
43
|
+
* - ✗ `tag`
|
|
36
44
|
*/
|
|
37
45
|
updated_after?: Date | undefined;
|
|
38
46
|
/**
|
|
@@ -33,6 +33,14 @@ export type GetAtsInterviewsRequest = {
|
|
|
33
33
|
* If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
|
|
34
34
|
*
|
|
35
35
|
* For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
36
|
+
*
|
|
37
|
+
* For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
|
|
38
|
+
*
|
|
39
|
+
* - ✓ `interviewers`
|
|
40
|
+
* - ✗ `user`
|
|
41
|
+
* - ✓ `application`
|
|
42
|
+
* - ✗ `candidate`
|
|
43
|
+
* - ✗ `job`
|
|
36
44
|
*/
|
|
37
45
|
updated_after?: Date | undefined;
|
|
38
46
|
/**
|
|
@@ -33,6 +33,17 @@ export type GetAtsJobsRequest = {
|
|
|
33
33
|
* If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
|
|
34
34
|
*
|
|
35
35
|
* For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
36
|
+
*
|
|
37
|
+
* For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
|
|
38
|
+
*
|
|
39
|
+
* - ✓ `application_stages`
|
|
40
|
+
* - ✗ `stage`
|
|
41
|
+
* - ✓ `screening_questions`
|
|
42
|
+
* - ✗ `question`
|
|
43
|
+
* - ✓ `job_postings`
|
|
44
|
+
* - ✓ `hiring_team`
|
|
45
|
+
* - ✗ `user`
|
|
46
|
+
* - ✗ `role_assignments`
|
|
36
47
|
*/
|
|
37
48
|
updated_after?: Date | undefined;
|
|
38
49
|
/**
|
|
@@ -33,6 +33,12 @@ export type GetAtsOffersRequest = {
|
|
|
33
33
|
* If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
|
|
34
34
|
*
|
|
35
35
|
* For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
36
|
+
*
|
|
37
|
+
* For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
|
|
38
|
+
*
|
|
39
|
+
* - ✓ `application`
|
|
40
|
+
* - ✗ `candidate`
|
|
41
|
+
* - ✗ `job`
|
|
36
42
|
*/
|
|
37
43
|
updated_after?: Date | undefined;
|
|
38
44
|
/**
|
|
@@ -33,6 +33,8 @@ export type GetAtsRejectionReasonsRequest = {
|
|
|
33
33
|
* If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
|
|
34
34
|
*
|
|
35
35
|
* For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
36
|
+
*
|
|
37
|
+
* For this endpoint, only changes to the returned record itself are considered.
|
|
36
38
|
*/
|
|
37
39
|
updated_after?: Date | undefined;
|
|
38
40
|
/**
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import * as models from "../index.js";
|
|
11
|
+
|
|
12
|
+
export type GetAtsRolesGlobals = {
|
|
13
|
+
/**
|
|
14
|
+
* ID of the integration you want to interact with.
|
|
15
|
+
*/
|
|
16
|
+
integration_id?: string | undefined;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export type GetAtsRolesRequest = {
|
|
20
|
+
/**
|
|
21
|
+
* An optional cursor string used for pagination. This can be retrieved from the `next` property of the previous page response.
|
|
22
|
+
*/
|
|
23
|
+
cursor?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* The number of results to return per page. Maximum is 250.
|
|
26
|
+
*/
|
|
27
|
+
page_size?: number | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Filter the entries based on the modification date in format `YYYY-MM-DDTHH:mm:ss.sssZ`. Returns records where either the record itself **OR** its nested data has been updated since this timestamp, even if the record's own `changed_at` field remains unchanged.
|
|
30
|
+
*
|
|
31
|
+
* @remarks
|
|
32
|
+
*
|
|
33
|
+
* If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
|
|
34
|
+
*
|
|
35
|
+
* For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
36
|
+
*
|
|
37
|
+
* For this endpoint, only changes to the returned record itself are considered.
|
|
38
|
+
*/
|
|
39
|
+
updated_after?: Date | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* By default, deleted entries are not returned. Use the `include_deleted` query param to include deleted entries too.
|
|
42
|
+
*/
|
|
43
|
+
include_deleted?: boolean | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* When set to `true`, filters targeting fields not supported by this integration will be ignored instead of filtering out all results.
|
|
46
|
+
*/
|
|
47
|
+
ignore_unsupported_filters?: boolean | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* Filter by a comma-separated list of IDs such as `222k7eCGyUdgt2JWZDNnkDs3,B5DVmypWENfU6eMe6gYDyJG3`.
|
|
50
|
+
*/
|
|
51
|
+
ids?: Array<string> | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Filter by a comma-separated list of remote IDs.
|
|
54
|
+
*/
|
|
55
|
+
remote_ids?: Array<string> | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Filter by a comma-separated list of `SYSTEM`, `JOB`
|
|
58
|
+
*
|
|
59
|
+
* @remarks
|
|
60
|
+
* * `SYSTEM`: System-wide roles that apply globally (e.g., an "Admin" role).
|
|
61
|
+
* * `JOB`: Job-scoped roles that apply to specific jobs (e.g., a "Hiring Manager" role).
|
|
62
|
+
*
|
|
63
|
+
* Leave this blank to get results matching all values.
|
|
64
|
+
*/
|
|
65
|
+
scopes?: Array<string> | undefined;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
export type GetAtsRolesResponse = {
|
|
69
|
+
result: models.GetAtsRolesPositiveResponse;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
/** @internal */
|
|
73
|
+
export type GetAtsRolesRequest$Outbound = {
|
|
74
|
+
cursor?: string | undefined;
|
|
75
|
+
page_size: number;
|
|
76
|
+
updated_after?: string | undefined;
|
|
77
|
+
include_deleted: boolean;
|
|
78
|
+
ignore_unsupported_filters: boolean;
|
|
79
|
+
ids?: Array<string> | undefined;
|
|
80
|
+
remote_ids?: Array<string> | undefined;
|
|
81
|
+
scopes?: Array<string> | undefined;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
/** @internal */
|
|
85
|
+
export const GetAtsRolesRequest$outboundSchema: z.ZodType<
|
|
86
|
+
GetAtsRolesRequest$Outbound,
|
|
87
|
+
z.ZodTypeDef,
|
|
88
|
+
GetAtsRolesRequest
|
|
89
|
+
> = z.object({
|
|
90
|
+
cursor: z.string().optional(),
|
|
91
|
+
page_size: z.number().int().default(100),
|
|
92
|
+
updated_after: z.date().transform(v => v.toISOString()).optional(),
|
|
93
|
+
include_deleted: z.boolean().default(false),
|
|
94
|
+
ignore_unsupported_filters: z.boolean().default(false),
|
|
95
|
+
ids: z.array(z.string()).optional(),
|
|
96
|
+
remote_ids: z.array(z.string()).optional(),
|
|
97
|
+
scopes: z.array(z.string()).optional(),
|
|
98
|
+
});
|
|
99
|
+
|
|
100
|
+
export function getAtsRolesRequestToJSON(
|
|
101
|
+
getAtsRolesRequest: GetAtsRolesRequest,
|
|
102
|
+
): string {
|
|
103
|
+
return JSON.stringify(
|
|
104
|
+
GetAtsRolesRequest$outboundSchema.parse(getAtsRolesRequest),
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/** @internal */
|
|
109
|
+
export const GetAtsRolesResponse$inboundSchema: z.ZodType<
|
|
110
|
+
GetAtsRolesResponse,
|
|
111
|
+
z.ZodTypeDef,
|
|
112
|
+
unknown
|
|
113
|
+
> = z.object({
|
|
114
|
+
Result: models.GetAtsRolesPositiveResponse$inboundSchema,
|
|
115
|
+
}).transform((v) => {
|
|
116
|
+
return remap$(v, {
|
|
117
|
+
"Result": "result",
|
|
118
|
+
});
|
|
119
|
+
});
|
|
120
|
+
|
|
121
|
+
export function getAtsRolesResponseFromJSON(
|
|
122
|
+
jsonString: string,
|
|
123
|
+
): SafeParseResult<GetAtsRolesResponse, SDKValidationError> {
|
|
124
|
+
return safeParse(
|
|
125
|
+
jsonString,
|
|
126
|
+
(x) => GetAtsRolesResponse$inboundSchema.parse(JSON.parse(x)),
|
|
127
|
+
`Failed to parse 'GetAtsRolesResponse' from JSON`,
|
|
128
|
+
);
|
|
129
|
+
}
|
|
@@ -33,6 +33,8 @@ export type GetAtsTagsRequest = {
|
|
|
33
33
|
* If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
|
|
34
34
|
*
|
|
35
35
|
* For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
36
|
+
*
|
|
37
|
+
* For this endpoint, only changes to the returned record itself are considered.
|
|
36
38
|
*/
|
|
37
39
|
updated_after?: Date | undefined;
|
|
38
40
|
/**
|
|
@@ -33,6 +33,11 @@ export type GetAtsUsersRequest = {
|
|
|
33
33
|
* If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
|
|
34
34
|
*
|
|
35
35
|
* For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
36
|
+
*
|
|
37
|
+
* For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
|
|
38
|
+
*
|
|
39
|
+
* - ✓ `system_role_assignment`
|
|
40
|
+
* - ✓ `role`
|
|
36
41
|
*/
|
|
37
42
|
updated_after?: Date | undefined;
|
|
38
43
|
/**
|
|
@@ -33,6 +33,10 @@ export type GetHrisAbsencesRequest = {
|
|
|
33
33
|
* If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
|
|
34
34
|
*
|
|
35
35
|
* For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
36
|
+
*
|
|
37
|
+
* For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
|
|
38
|
+
*
|
|
39
|
+
* - ✓ `type`
|
|
36
40
|
*/
|
|
37
41
|
updated_after?: Date | undefined;
|
|
38
42
|
/**
|
|
@@ -33,6 +33,8 @@ export type GetHrisAbsenceTypesRequest = {
|
|
|
33
33
|
* If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
|
|
34
34
|
*
|
|
35
35
|
* For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
36
|
+
*
|
|
37
|
+
* For this endpoint, only changes to the returned record itself are considered.
|
|
36
38
|
*/
|
|
37
39
|
updated_after?: Date | undefined;
|
|
38
40
|
/**
|
|
@@ -33,6 +33,8 @@ export type GetHrisEmployeeDocumentCategoriesRequest = {
|
|
|
33
33
|
* If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
|
|
34
34
|
*
|
|
35
35
|
* For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
36
|
+
*
|
|
37
|
+
* For this endpoint, only changes to the returned record itself are considered.
|
|
36
38
|
*/
|
|
37
39
|
updated_after?: Date | undefined;
|
|
38
40
|
/**
|
|
@@ -33,6 +33,16 @@ export type GetHrisEmployeesRequest = {
|
|
|
33
33
|
* If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
|
|
34
34
|
*
|
|
35
35
|
* For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
36
|
+
*
|
|
37
|
+
* For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
|
|
38
|
+
*
|
|
39
|
+
* - ✓ `employments`
|
|
40
|
+
* - ✓ `time_off_balances`
|
|
41
|
+
* - ✓ `manager`
|
|
42
|
+
* - ✓ `group_memberships`
|
|
43
|
+
* - ✗ `group`
|
|
44
|
+
* - ✓ `legal_entity`
|
|
45
|
+
* - ✓ `work_location`
|
|
36
46
|
*/
|
|
37
47
|
updated_after?: Date | undefined;
|
|
38
48
|
/**
|
|
@@ -33,6 +33,8 @@ export type GetHrisEmploymentsRequest = {
|
|
|
33
33
|
* If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
|
|
34
34
|
*
|
|
35
35
|
* For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
36
|
+
*
|
|
37
|
+
* For this endpoint, only changes to the returned record itself are considered.
|
|
36
38
|
*/
|
|
37
39
|
updated_after?: Date | undefined;
|
|
38
40
|
/**
|
|
@@ -33,6 +33,8 @@ export type GetHrisGroupsRequest = {
|
|
|
33
33
|
* If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
|
|
34
34
|
*
|
|
35
35
|
* For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
36
|
+
*
|
|
37
|
+
* For this endpoint, only changes to the returned record itself are considered.
|
|
36
38
|
*/
|
|
37
39
|
updated_after?: Date | undefined;
|
|
38
40
|
/**
|
|
@@ -33,6 +33,8 @@ export type GetHrisLegalEntitiesRequest = {
|
|
|
33
33
|
* If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
|
|
34
34
|
*
|
|
35
35
|
* For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
36
|
+
*
|
|
37
|
+
* For this endpoint, only changes to the returned record itself are considered.
|
|
36
38
|
*/
|
|
37
39
|
updated_after?: Date | undefined;
|
|
38
40
|
/**
|
|
@@ -33,6 +33,8 @@ export type GetHrisLocationsRequest = {
|
|
|
33
33
|
* If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
|
|
34
34
|
*
|
|
35
35
|
* For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
36
|
+
*
|
|
37
|
+
* For this endpoint, only changes to the returned record itself are considered.
|
|
36
38
|
*/
|
|
37
39
|
updated_after?: Date | undefined;
|
|
38
40
|
/**
|
|
@@ -33,6 +33,8 @@ export type GetHrisPerformanceReviewCyclesRequest = {
|
|
|
33
33
|
* If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
|
|
34
34
|
*
|
|
35
35
|
* For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
36
|
+
*
|
|
37
|
+
* For this endpoint, only changes to the returned record itself are considered.
|
|
36
38
|
*/
|
|
37
39
|
updated_after?: Date | undefined;
|
|
38
40
|
/**
|
|
@@ -33,6 +33,12 @@ export type GetHrisPerformanceReviewsRequest = {
|
|
|
33
33
|
* If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
|
|
34
34
|
*
|
|
35
35
|
* For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
36
|
+
*
|
|
37
|
+
* For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
|
|
38
|
+
*
|
|
39
|
+
* - ✓ `review_cycle`
|
|
40
|
+
* - ✓ `reviewee`
|
|
41
|
+
* - ✓ `reviewer`
|
|
36
42
|
*/
|
|
37
43
|
updated_after?: Date | undefined;
|
|
38
44
|
/**
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import * as models from "../index.js";
|
|
11
|
+
|
|
12
|
+
export type GetHrisStaffingEntitiesGlobals = {
|
|
13
|
+
/**
|
|
14
|
+
* ID of the integration you want to interact with.
|
|
15
|
+
*/
|
|
16
|
+
integration_id?: string | undefined;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export type GetHrisStaffingEntitiesRequest = {
|
|
20
|
+
/**
|
|
21
|
+
* An optional cursor string used for pagination. This can be retrieved from the `next` property of the previous page response.
|
|
22
|
+
*/
|
|
23
|
+
cursor?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* The number of results to return per page. Maximum is 250.
|
|
26
|
+
*/
|
|
27
|
+
page_size?: number | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Filter the entries based on the modification date in format `YYYY-MM-DDTHH:mm:ss.sssZ`. Returns records where either the record itself **OR** its nested data has been updated since this timestamp, even if the record's own `changed_at` field remains unchanged.
|
|
30
|
+
*
|
|
31
|
+
* @remarks
|
|
32
|
+
*
|
|
33
|
+
* If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
|
|
34
|
+
*
|
|
35
|
+
* For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
36
|
+
*
|
|
37
|
+
* For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
|
|
38
|
+
*
|
|
39
|
+
* - ✓ `locations`
|
|
40
|
+
* - ✓ `location`
|
|
41
|
+
* - ✓ `legal_entities`
|
|
42
|
+
* - ✓ `legal_entity`
|
|
43
|
+
* - ✓ `groups`
|
|
44
|
+
* - ✓ `group`
|
|
45
|
+
*/
|
|
46
|
+
updated_after?: Date | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* By default, deleted entries are not returned. Use the `include_deleted` query param to include deleted entries too.
|
|
49
|
+
*/
|
|
50
|
+
include_deleted?: boolean | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* When set to `true`, filters targeting fields not supported by this integration will be ignored instead of filtering out all results.
|
|
53
|
+
*/
|
|
54
|
+
ignore_unsupported_filters?: boolean | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* Filter by a comma-separated list of IDs such as `222k7eCGyUdgt2JWZDNnkDs3,B5DVmypWENfU6eMe6gYDyJG3`.
|
|
57
|
+
*/
|
|
58
|
+
ids?: Array<string> | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* Filter by a comma-separated list of remote IDs.
|
|
61
|
+
*/
|
|
62
|
+
remote_ids?: Array<string> | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* Filter by a comma-separated list of `JOB`, `POSITION`, `REQUISITION`
|
|
65
|
+
*
|
|
66
|
+
* @remarks
|
|
67
|
+
*
|
|
68
|
+
* Leave this blank to get results matching all values.
|
|
69
|
+
*/
|
|
70
|
+
model_types?: Array<string> | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* Filter by a comma-separated list of `OPEN_LIMITED`, `OPEN_UNLIMITED`, `PENDING`, `FROZEN`, `FILLED`, `CLOSED`
|
|
73
|
+
*
|
|
74
|
+
* @remarks
|
|
75
|
+
*
|
|
76
|
+
* Leave this blank to get results matching all values.
|
|
77
|
+
*/
|
|
78
|
+
statuses?: Array<string> | undefined;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
export type GetHrisStaffingEntitiesResponse = {
|
|
82
|
+
result: models.GetHrisStaffingEntitiesPositiveResponse;
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
/** @internal */
|
|
86
|
+
export type GetHrisStaffingEntitiesRequest$Outbound = {
|
|
87
|
+
cursor?: string | undefined;
|
|
88
|
+
page_size: number;
|
|
89
|
+
updated_after?: string | undefined;
|
|
90
|
+
include_deleted: boolean;
|
|
91
|
+
ignore_unsupported_filters: boolean;
|
|
92
|
+
ids?: Array<string> | undefined;
|
|
93
|
+
remote_ids?: Array<string> | undefined;
|
|
94
|
+
model_types?: Array<string> | undefined;
|
|
95
|
+
statuses?: Array<string> | undefined;
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
/** @internal */
|
|
99
|
+
export const GetHrisStaffingEntitiesRequest$outboundSchema: z.ZodType<
|
|
100
|
+
GetHrisStaffingEntitiesRequest$Outbound,
|
|
101
|
+
z.ZodTypeDef,
|
|
102
|
+
GetHrisStaffingEntitiesRequest
|
|
103
|
+
> = z.object({
|
|
104
|
+
cursor: z.string().optional(),
|
|
105
|
+
page_size: z.number().int().default(100),
|
|
106
|
+
updated_after: z.date().transform(v => v.toISOString()).optional(),
|
|
107
|
+
include_deleted: z.boolean().default(false),
|
|
108
|
+
ignore_unsupported_filters: z.boolean().default(false),
|
|
109
|
+
ids: z.array(z.string()).optional(),
|
|
110
|
+
remote_ids: z.array(z.string()).optional(),
|
|
111
|
+
model_types: z.array(z.string()).optional(),
|
|
112
|
+
statuses: z.array(z.string()).optional(),
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
export function getHrisStaffingEntitiesRequestToJSON(
|
|
116
|
+
getHrisStaffingEntitiesRequest: GetHrisStaffingEntitiesRequest,
|
|
117
|
+
): string {
|
|
118
|
+
return JSON.stringify(
|
|
119
|
+
GetHrisStaffingEntitiesRequest$outboundSchema.parse(
|
|
120
|
+
getHrisStaffingEntitiesRequest,
|
|
121
|
+
),
|
|
122
|
+
);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/** @internal */
|
|
126
|
+
export const GetHrisStaffingEntitiesResponse$inboundSchema: z.ZodType<
|
|
127
|
+
GetHrisStaffingEntitiesResponse,
|
|
128
|
+
z.ZodTypeDef,
|
|
129
|
+
unknown
|
|
130
|
+
> = z.object({
|
|
131
|
+
Result: models.GetHrisStaffingEntitiesPositiveResponse$inboundSchema,
|
|
132
|
+
}).transform((v) => {
|
|
133
|
+
return remap$(v, {
|
|
134
|
+
"Result": "result",
|
|
135
|
+
});
|
|
136
|
+
});
|
|
137
|
+
|
|
138
|
+
export function getHrisStaffingEntitiesResponseFromJSON(
|
|
139
|
+
jsonString: string,
|
|
140
|
+
): SafeParseResult<GetHrisStaffingEntitiesResponse, SDKValidationError> {
|
|
141
|
+
return safeParse(
|
|
142
|
+
jsonString,
|
|
143
|
+
(x) => GetHrisStaffingEntitiesResponse$inboundSchema.parse(JSON.parse(x)),
|
|
144
|
+
`Failed to parse 'GetHrisStaffingEntitiesResponse' from JSON`,
|
|
145
|
+
);
|
|
146
|
+
}
|
|
@@ -33,6 +33,10 @@ export type GetHrisTimeOffBalancesRequest = {
|
|
|
33
33
|
* If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
|
|
34
34
|
*
|
|
35
35
|
* For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
36
|
+
*
|
|
37
|
+
* For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
|
|
38
|
+
*
|
|
39
|
+
* - ✓ `type`
|
|
36
40
|
*/
|
|
37
41
|
updated_after?: Date | undefined;
|
|
38
42
|
/**
|
|
@@ -33,6 +33,8 @@ export type GetHrisTimesheetsRequest = {
|
|
|
33
33
|
* If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
|
|
34
34
|
*
|
|
35
35
|
* For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
|
|
36
|
+
*
|
|
37
|
+
* For this endpoint, only changes to the returned record itself are considered.
|
|
36
38
|
*/
|
|
37
39
|
updated_after?: Date | undefined;
|
|
38
40
|
/**
|
|
@@ -16,6 +16,7 @@ export * from "./getatsinterviews.js";
|
|
|
16
16
|
export * from "./getatsjobs.js";
|
|
17
17
|
export * from "./getatsoffers.js";
|
|
18
18
|
export * from "./getatsrejectionreasons.js";
|
|
19
|
+
export * from "./getatsroles.js";
|
|
19
20
|
export * from "./getatstags.js";
|
|
20
21
|
export * from "./getatsusers.js";
|
|
21
22
|
export * from "./getconnectintegrationbytokentoken.js";
|
|
@@ -30,6 +31,7 @@ export * from "./gethrislegalentities.js";
|
|
|
30
31
|
export * from "./gethrislocations.js";
|
|
31
32
|
export * from "./gethrisperformancereviewcycles.js";
|
|
32
33
|
export * from "./gethrisperformancereviews.js";
|
|
34
|
+
export * from "./gethrisstaffingentities.js";
|
|
33
35
|
export * from "./gethristimeoffbalances.js";
|
|
34
36
|
export * from "./gethristimesheets.js";
|
|
35
37
|
export * from "./getintegrationsintegrationid.js";
|