@kombo-api/sdk 0.1.1 → 0.2.1
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 +148 -336
- package/esm/funcs/assessmentUpdateOrderResult.js +1 -1
- package/esm/funcs/assessmentUpdateOrderResult.js.map +1 -1
- package/esm/funcs/atsAddApplicationAttachment.js +1 -1
- package/esm/funcs/atsAddApplicationAttachment.js.map +1 -1
- package/esm/funcs/atsAddApplicationNote.js +1 -1
- package/esm/funcs/atsAddApplicationNote.js.map +1 -1
- package/esm/funcs/atsAddApplicationResultLink.js +1 -1
- package/esm/funcs/atsAddApplicationResultLink.js.map +1 -1
- package/esm/funcs/atsAddCandidateAttachment.js +1 -1
- package/esm/funcs/atsAddCandidateAttachment.js.map +1 -1
- package/esm/funcs/atsAddCandidateResultLink.js +1 -1
- package/esm/funcs/atsAddCandidateResultLink.js.map +1 -1
- package/esm/funcs/atsAddCandidateTag.js +1 -1
- package/esm/funcs/atsAddCandidateTag.js.map +1 -1
- package/esm/funcs/atsCreateApplication.js +1 -1
- package/esm/funcs/atsCreateApplication.js.map +1 -1
- package/esm/funcs/atsMoveApplicationToStage.js +1 -1
- package/esm/funcs/atsMoveApplicationToStage.js.map +1 -1
- package/esm/funcs/atsRejectApplication.js +1 -1
- package/esm/funcs/atsRejectApplication.js.map +1 -1
- package/esm/funcs/atsRemoveCandidateTag.js +1 -1
- package/esm/funcs/atsRemoveCandidateTag.js.map +1 -1
- package/esm/funcs/generalCreateReconnectionLink.js +1 -1
- package/esm/funcs/generalCreateReconnectionLink.js.map +1 -1
- package/esm/funcs/generalDeleteIntegration.js +1 -1
- package/esm/funcs/generalDeleteIntegration.js.map +1 -1
- package/esm/funcs/generalSendPassthroughRequest.d.ts +1 -0
- package/esm/funcs/generalSendPassthroughRequest.d.ts.map +1 -1
- package/esm/funcs/generalSendPassthroughRequest.js +2 -3
- package/esm/funcs/generalSendPassthroughRequest.js.map +1 -1
- package/esm/funcs/generalUpdateCustomFieldMapping.js +1 -1
- package/esm/funcs/generalUpdateCustomFieldMapping.js.map +1 -1
- package/esm/funcs/generalUpdateIntegrationField.js +1 -2
- package/esm/funcs/generalUpdateIntegrationField.js.map +1 -1
- package/esm/funcs/hrisAddEmployeeDocument.js +1 -1
- package/esm/funcs/hrisAddEmployeeDocument.js.map +1 -1
- package/esm/funcs/hrisDeleteAbsence.js +1 -1
- package/esm/funcs/hrisDeleteAbsence.js.map +1 -1
- package/esm/lib/config.d.ts +5 -5
- package/esm/lib/config.js +5 -5
- package/esm/models/assessmentorderreceivedwebhookpayload.d.ts +0 -134
- package/esm/models/assessmentorderreceivedwebhookpayload.d.ts.map +1 -1
- package/esm/models/assessmentorderreceivedwebhookpayload.js +0 -110
- package/esm/models/assessmentorderreceivedwebhookpayload.js.map +1 -1
- package/esm/models/connectionflowfailedwebhookpayload.d.ts +0 -68
- package/esm/models/connectionflowfailedwebhookpayload.d.ts.map +1 -1
- package/esm/models/connectionflowfailedwebhookpayload.js +0 -55
- package/esm/models/connectionflowfailedwebhookpayload.js.map +1 -1
- package/esm/models/datachangedwebhookpayload.d.ts +0 -138
- package/esm/models/datachangedwebhookpayload.d.ts.map +1 -1
- package/esm/models/datachangedwebhookpayload.js +0 -66
- package/esm/models/datachangedwebhookpayload.js.map +1 -1
- package/esm/models/deleteatscandidatescandidateidtagspositiveresponse.d.ts +0 -57
- package/esm/models/deleteatscandidatescandidateidtagspositiveresponse.d.ts.map +1 -1
- package/esm/models/deleteatscandidatescandidateidtagspositiveresponse.js +0 -55
- package/esm/models/deleteatscandidatescandidateidtagspositiveresponse.js.map +1 -1
- package/esm/models/deleteatscandidatescandidateidtagsrequestbody.d.ts +0 -92
- package/esm/models/deleteatscandidatescandidateidtagsrequestbody.d.ts.map +1 -1
- package/esm/models/deleteatscandidatescandidateidtagsrequestbody.js +0 -118
- package/esm/models/deleteatscandidatescandidateidtagsrequestbody.js.map +1 -1
- package/esm/models/deletehrisabsencesabsenceidpositiveresponse.d.ts +0 -104
- package/esm/models/deletehrisabsencesabsenceidpositiveresponse.d.ts.map +1 -1
- package/esm/models/deletehrisabsencesabsenceidpositiveresponse.js +2 -106
- package/esm/models/deletehrisabsencesabsenceidpositiveresponse.js.map +1 -1
- package/esm/models/deletehrisabsencesabsenceidrequestbody.d.ts +0 -47
- package/esm/models/deletehrisabsencesabsenceidrequestbody.d.ts.map +1 -1
- package/esm/models/deletehrisabsencesabsenceidrequestbody.js +0 -55
- package/esm/models/deletehrisabsencesabsenceidrequestbody.js.map +1 -1
- package/esm/models/deleteintegrationsintegrationidpositiveresponse.d.ts +0 -37
- package/esm/models/deleteintegrationsintegrationidpositiveresponse.d.ts.map +1 -1
- package/esm/models/deleteintegrationsintegrationidpositiveresponse.js +0 -35
- package/esm/models/deleteintegrationsintegrationidpositiveresponse.js.map +1 -1
- package/esm/models/deleteintegrationsintegrationidrequestbody.d.ts +0 -17
- package/esm/models/deleteintegrationsintegrationidrequestbody.d.ts.map +1 -1
- package/esm/models/deleteintegrationsintegrationidrequestbody.js +0 -17
- package/esm/models/deleteintegrationsintegrationidrequestbody.js.map +1 -1
- package/esm/models/errors/komboatserror.d.ts +0 -19
- package/esm/models/errors/komboatserror.d.ts.map +1 -1
- package/esm/models/errors/komboatserror.js +0 -18
- package/esm/models/errors/komboatserror.js.map +1 -1
- package/esm/models/errors/kombogeneralerror.d.ts +0 -19
- package/esm/models/errors/kombogeneralerror.d.ts.map +1 -1
- package/esm/models/errors/kombogeneralerror.js +0 -18
- package/esm/models/errors/kombogeneralerror.js.map +1 -1
- package/esm/models/errors/kombohriserror.d.ts +0 -19
- package/esm/models/errors/kombohriserror.d.ts.map +1 -1
- package/esm/models/errors/kombohriserror.js +0 -18
- package/esm/models/errors/kombohriserror.js.map +1 -1
- package/esm/models/getassessmentordersopenpositiveresponse.d.ts +0 -193
- package/esm/models/getassessmentordersopenpositiveresponse.d.ts.map +1 -1
- package/esm/models/getassessmentordersopenpositiveresponse.js +0 -180
- package/esm/models/getassessmentordersopenpositiveresponse.js.map +1 -1
- package/esm/models/getassessmentpackagespositiveresponse.d.ts +0 -86
- package/esm/models/getassessmentpackagespositiveresponse.d.ts.map +1 -1
- package/esm/models/getassessmentpackagespositiveresponse.js +0 -72
- package/esm/models/getassessmentpackagespositiveresponse.js.map +1 -1
- package/esm/models/getatsapplicationsapplicationidattachmentspositiveresponse.d.ts +0 -105
- package/esm/models/getatsapplicationsapplicationidattachmentspositiveresponse.d.ts.map +1 -1
- package/esm/models/getatsapplicationsapplicationidattachmentspositiveresponse.js +0 -98
- package/esm/models/getatsapplicationsapplicationidattachmentspositiveresponse.js.map +1 -1
- package/esm/models/getatsapplicationspositiveresponse.d.ts +0 -787
- package/esm/models/getatsapplicationspositiveresponse.d.ts.map +1 -1
- package/esm/models/getatsapplicationspositiveresponse.js +0 -754
- package/esm/models/getatsapplicationspositiveresponse.js.map +1 -1
- package/esm/models/getatsapplicationstagespositiveresponse.d.ts +0 -63
- package/esm/models/getatsapplicationstagespositiveresponse.d.ts.map +1 -1
- package/esm/models/getatsapplicationstagespositiveresponse.js +0 -60
- package/esm/models/getatsapplicationstagespositiveresponse.js.map +1 -1
- package/esm/models/getatscandidatescandidateidattachmentspositiveresponse.d.ts +0 -107
- package/esm/models/getatscandidatescandidateidattachmentspositiveresponse.d.ts.map +1 -1
- package/esm/models/getatscandidatescandidateidattachmentspositiveresponse.js +0 -99
- package/esm/models/getatscandidatescandidateidattachmentspositiveresponse.js.map +1 -1
- package/esm/models/getatscandidatespositiveresponse.d.ts +0 -279
- package/esm/models/getatscandidatespositiveresponse.d.ts.map +1 -1
- package/esm/models/getatscandidatespositiveresponse.js +0 -259
- package/esm/models/getatscandidatespositiveresponse.js.map +1 -1
- package/esm/models/getatsinterviewspositiveresponse.d.ts +0 -229
- package/esm/models/getatsinterviewspositiveresponse.d.ts.map +1 -1
- package/esm/models/getatsinterviewspositiveresponse.js +0 -213
- package/esm/models/getatsinterviewspositiveresponse.js.map +1 -1
- package/esm/models/getatsjobspositiveresponse.d.ts +0 -670
- package/esm/models/getatsjobspositiveresponse.d.ts.map +1 -1
- package/esm/models/getatsjobspositiveresponse.js +6 -671
- package/esm/models/getatsjobspositiveresponse.js.map +1 -1
- package/esm/models/getatsofferspositiveresponse.d.ts +0 -181
- package/esm/models/getatsofferspositiveresponse.d.ts.map +1 -1
- package/esm/models/getatsofferspositiveresponse.js +0 -159
- package/esm/models/getatsofferspositiveresponse.js.map +1 -1
- package/esm/models/getatsrejectionreasonspositiveresponse.d.ts +0 -63
- package/esm/models/getatsrejectionreasonspositiveresponse.d.ts.map +1 -1
- package/esm/models/getatsrejectionreasonspositiveresponse.js +0 -60
- package/esm/models/getatsrejectionreasonspositiveresponse.js.map +1 -1
- package/esm/models/getatstagspositiveresponse.d.ts +0 -63
- package/esm/models/getatstagspositiveresponse.d.ts.map +1 -1
- package/esm/models/getatstagspositiveresponse.js +0 -60
- package/esm/models/getatstagspositiveresponse.js.map +1 -1
- package/esm/models/getatsuserspositiveresponse.d.ts +0 -84
- package/esm/models/getatsuserspositiveresponse.d.ts.map +1 -1
- package/esm/models/getatsuserspositiveresponse.js +0 -76
- package/esm/models/getatsuserspositiveresponse.js.map +1 -1
- package/esm/models/getcheckapikeypositiveresponse.d.ts +0 -39
- package/esm/models/getcheckapikeypositiveresponse.d.ts.map +1 -1
- package/esm/models/getcheckapikeypositiveresponse.js +0 -37
- package/esm/models/getcheckapikeypositiveresponse.js.map +1 -1
- package/esm/models/getconnectintegrationbytokentokenpositiveresponse.d.ts +0 -64
- package/esm/models/getconnectintegrationbytokentokenpositiveresponse.d.ts.map +1 -1
- package/esm/models/getconnectintegrationbytokentokenpositiveresponse.js +0 -55
- package/esm/models/getconnectintegrationbytokentokenpositiveresponse.js.map +1 -1
- package/esm/models/gethrisabsencespositiveresponse.d.ts +0 -149
- package/esm/models/gethrisabsencespositiveresponse.d.ts.map +1 -1
- package/esm/models/gethrisabsencespositiveresponse.js +2 -146
- package/esm/models/gethrisabsencespositiveresponse.js.map +1 -1
- package/esm/models/gethrisabsencetypespositiveresponse.d.ts +0 -84
- package/esm/models/gethrisabsencetypespositiveresponse.d.ts.map +1 -1
- package/esm/models/gethrisabsencetypespositiveresponse.js +0 -76
- package/esm/models/gethrisabsencetypespositiveresponse.js.map +1 -1
- package/esm/models/gethrisemployeedocumentcategoriespositiveresponse.d.ts +0 -63
- package/esm/models/gethrisemployeedocumentcategoriespositiveresponse.d.ts.map +1 -1
- package/esm/models/gethrisemployeedocumentcategoriespositiveresponse.js +0 -61
- package/esm/models/gethrisemployeedocumentcategoriespositiveresponse.js.map +1 -1
- package/esm/models/gethrisemployeesformpositiveresponse.d.ts +2 -947
- package/esm/models/gethrisemployeesformpositiveresponse.d.ts.map +1 -1
- package/esm/models/gethrisemployeesformpositiveresponse.js +2 -623
- package/esm/models/gethrisemployeesformpositiveresponse.js.map +1 -1
- package/esm/models/gethrisemployeespositiveresponse.d.ts +4 -563
- package/esm/models/gethrisemployeespositiveresponse.d.ts.map +1 -1
- package/esm/models/gethrisemployeespositiveresponse.js +11 -603
- package/esm/models/gethrisemployeespositiveresponse.js.map +1 -1
- package/esm/models/gethrisemploymentspositiveresponse.d.ts +0 -109
- package/esm/models/gethrisemploymentspositiveresponse.d.ts.map +1 -1
- package/esm/models/gethrisemploymentspositiveresponse.js +4 -132
- package/esm/models/gethrisemploymentspositiveresponse.js.map +1 -1
- package/esm/models/gethrisgroupspositiveresponse.d.ts +0 -85
- package/esm/models/gethrisgroupspositiveresponse.d.ts.map +1 -1
- package/esm/models/gethrisgroupspositiveresponse.js +0 -75
- package/esm/models/gethrisgroupspositiveresponse.js.map +1 -1
- package/esm/models/gethrislegalentitiespositiveresponse.d.ts +0 -89
- package/esm/models/gethrislegalentitiespositiveresponse.d.ts.map +1 -1
- package/esm/models/gethrislegalentitiespositiveresponse.js +0 -85
- package/esm/models/gethrislegalentitiespositiveresponse.js.map +1 -1
- package/esm/models/gethrislocationspositiveresponse.d.ts +0 -90
- package/esm/models/gethrislocationspositiveresponse.d.ts.map +1 -1
- package/esm/models/gethrislocationspositiveresponse.js +0 -86
- package/esm/models/gethrislocationspositiveresponse.js.map +1 -1
- package/esm/models/gethrisperformancereviewcyclespositiveresponse.d.ts +0 -64
- package/esm/models/gethrisperformancereviewcyclespositiveresponse.d.ts.map +1 -1
- package/esm/models/gethrisperformancereviewcyclespositiveresponse.js +0 -61
- package/esm/models/gethrisperformancereviewcyclespositiveresponse.js.map +1 -1
- package/esm/models/gethrisperformancereviewspositiveresponse.d.ts +0 -224
- package/esm/models/gethrisperformancereviewspositiveresponse.d.ts.map +1 -1
- package/esm/models/gethrisperformancereviewspositiveresponse.js +0 -212
- package/esm/models/gethrisperformancereviewspositiveresponse.js.map +1 -1
- package/esm/models/gethristimeoffbalancespositiveresponse.d.ts +0 -149
- package/esm/models/gethristimeoffbalancespositiveresponse.d.ts.map +1 -1
- package/esm/models/gethristimeoffbalancespositiveresponse.js +0 -130
- package/esm/models/gethristimeoffbalancespositiveresponse.js.map +1 -1
- package/esm/models/gethristimesheetspositiveresponse.d.ts +0 -96
- package/esm/models/gethristimesheetspositiveresponse.d.ts.map +1 -1
- package/esm/models/gethristimesheetspositiveresponse.js +0 -90
- package/esm/models/gethristimesheetspositiveresponse.js.map +1 -1
- package/esm/models/getintegrationsintegrationidcustomfieldspositiveresponse.d.ts +0 -104
- package/esm/models/getintegrationsintegrationidcustomfieldspositiveresponse.d.ts.map +1 -1
- package/esm/models/getintegrationsintegrationidcustomfieldspositiveresponse.js +0 -99
- package/esm/models/getintegrationsintegrationidcustomfieldspositiveresponse.js.map +1 -1
- package/esm/models/getintegrationsintegrationidintegrationfieldspositiveresponse.d.ts +0 -83
- package/esm/models/getintegrationsintegrationidintegrationfieldspositiveresponse.d.ts.map +1 -1
- package/esm/models/getintegrationsintegrationidintegrationfieldspositiveresponse.js +0 -78
- package/esm/models/getintegrationsintegrationidintegrationfieldspositiveresponse.js.map +1 -1
- package/esm/models/getintegrationsintegrationidpositiveresponse.d.ts +0 -304
- package/esm/models/getintegrationsintegrationidpositiveresponse.d.ts.map +1 -1
- package/esm/models/getintegrationsintegrationidpositiveresponse.js +0 -244
- package/esm/models/getintegrationsintegrationidpositiveresponse.js.map +1 -1
- package/esm/models/gettoolscategoryparametercategory.d.ts +0 -20
- package/esm/models/gettoolscategoryparametercategory.d.ts.map +1 -1
- package/esm/models/gettoolscategoryparametercategory.js +1 -14
- package/esm/models/gettoolscategoryparametercategory.js.map +1 -1
- package/esm/models/gettoolscategorypositiveresponse.d.ts +0 -280
- package/esm/models/gettoolscategorypositiveresponse.d.ts.map +1 -1
- package/esm/models/gettoolscategorypositiveresponse.js +0 -235
- package/esm/models/gettoolscategorypositiveresponse.js.map +1 -1
- package/esm/models/inlineassessmentorderreceivedwebhookpayload.d.ts +0 -134
- package/esm/models/inlineassessmentorderreceivedwebhookpayload.d.ts.map +1 -1
- package/esm/models/inlineassessmentorderreceivedwebhookpayload.js +0 -110
- package/esm/models/inlineassessmentorderreceivedwebhookpayload.js.map +1 -1
- package/esm/models/integrationcreatedwebhookpayload.d.ts +0 -68
- package/esm/models/integrationcreatedwebhookpayload.d.ts.map +1 -1
- package/esm/models/integrationcreatedwebhookpayload.js +0 -55
- package/esm/models/integrationcreatedwebhookpayload.js.map +1 -1
- package/esm/models/integrationdeletedwebhookpayload.d.ts +0 -68
- package/esm/models/integrationdeletedwebhookpayload.d.ts.map +1 -1
- package/esm/models/integrationdeletedwebhookpayload.js +0 -55
- package/esm/models/integrationdeletedwebhookpayload.js.map +1 -1
- package/esm/models/integrationstatechangedwebhookpayload.d.ts +0 -104
- package/esm/models/integrationstatechangedwebhookpayload.d.ts.map +1 -1
- package/esm/models/integrationstatechangedwebhookpayload.js +0 -77
- package/esm/models/integrationstatechangedwebhookpayload.js.map +1 -1
- package/esm/models/komboatserror.d.ts +0 -96
- package/esm/models/komboatserror.d.ts.map +1 -1
- package/esm/models/komboatserror.js +0 -47
- package/esm/models/komboatserror.js.map +1 -1
- package/esm/models/kombogeneralerror.d.ts +0 -64
- package/esm/models/kombogeneralerror.d.ts.map +1 -1
- package/esm/models/kombogeneralerror.js +0 -47
- package/esm/models/kombogeneralerror.js.map +1 -1
- package/esm/models/kombohriserror.d.ts +0 -92
- package/esm/models/kombohriserror.d.ts.map +1 -1
- package/esm/models/kombohriserror.js +0 -47
- package/esm/models/kombohriserror.js.map +1 -1
- package/esm/models/operations/deleteatscandidatescandidateidtags.d.ts +2 -41
- package/esm/models/operations/deleteatscandidatescandidateidtags.d.ts.map +1 -1
- package/esm/models/operations/deleteatscandidatescandidateidtags.js +1 -55
- package/esm/models/operations/deleteatscandidatescandidateidtags.js.map +1 -1
- package/esm/models/operations/deletehrisabsencesabsenceid.d.ts +2 -41
- package/esm/models/operations/deletehrisabsencesabsenceid.d.ts.map +1 -1
- package/esm/models/operations/deletehrisabsencesabsenceid.js +1 -55
- package/esm/models/operations/deletehrisabsencesabsenceid.js.map +1 -1
- package/esm/models/operations/deleteintegrationsintegrationid.d.ts +2 -19
- package/esm/models/operations/deleteintegrationsintegrationid.d.ts.map +1 -1
- package/esm/models/operations/deleteintegrationsintegrationid.js +1 -30
- package/esm/models/operations/deleteintegrationsintegrationid.js.map +1 -1
- package/esm/models/operations/getassessmentordersopen.d.ts +0 -56
- package/esm/models/operations/getassessmentordersopen.d.ts.map +1 -1
- package/esm/models/operations/getassessmentordersopen.js +0 -66
- package/esm/models/operations/getassessmentordersopen.js.map +1 -1
- package/esm/models/operations/getassessmentpackages.d.ts +0 -39
- package/esm/models/operations/getassessmentpackages.d.ts.map +1 -1
- package/esm/models/operations/getassessmentpackages.js +0 -42
- package/esm/models/operations/getassessmentpackages.js.map +1 -1
- package/esm/models/operations/getatsapplications.d.ts +7 -57
- package/esm/models/operations/getatsapplications.d.ts.map +1 -1
- package/esm/models/operations/getatsapplications.js +0 -75
- package/esm/models/operations/getatsapplications.js.map +1 -1
- package/esm/models/operations/getatsapplicationsapplicationidattachments.d.ts +0 -39
- package/esm/models/operations/getatsapplicationsapplicationidattachments.d.ts.map +1 -1
- package/esm/models/operations/getatsapplicationsapplicationidattachments.js +0 -44
- package/esm/models/operations/getatsapplicationsapplicationidattachments.js.map +1 -1
- package/esm/models/operations/getatsapplicationstages.d.ts +7 -57
- package/esm/models/operations/getatsapplicationstages.d.ts.map +1 -1
- package/esm/models/operations/getatsapplicationstages.js +0 -70
- package/esm/models/operations/getatsapplicationstages.js.map +1 -1
- package/esm/models/operations/getatscandidates.d.ts +7 -57
- package/esm/models/operations/getatscandidates.d.ts.map +1 -1
- package/esm/models/operations/getatscandidates.js +0 -74
- package/esm/models/operations/getatscandidates.js.map +1 -1
- package/esm/models/operations/getatscandidatescandidateidattachments.d.ts +0 -39
- package/esm/models/operations/getatscandidatescandidateidattachments.d.ts.map +1 -1
- package/esm/models/operations/getatscandidatescandidateidattachments.js +0 -44
- package/esm/models/operations/getatscandidatescandidateidattachments.js.map +1 -1
- package/esm/models/operations/getatsinterviews.d.ts +7 -57
- package/esm/models/operations/getatsinterviews.d.ts.map +1 -1
- package/esm/models/operations/getatsinterviews.js +0 -71
- package/esm/models/operations/getatsinterviews.js.map +1 -1
- package/esm/models/operations/getatsjobs.d.ts +7 -57
- package/esm/models/operations/getatsjobs.d.ts.map +1 -1
- package/esm/models/operations/getatsjobs.js +0 -77
- package/esm/models/operations/getatsjobs.js.map +1 -1
- package/esm/models/operations/getatsoffers.d.ts +7 -57
- package/esm/models/operations/getatsoffers.d.ts.map +1 -1
- package/esm/models/operations/getatsoffers.js +0 -70
- package/esm/models/operations/getatsoffers.js.map +1 -1
- package/esm/models/operations/getatsrejectionreasons.d.ts +7 -57
- package/esm/models/operations/getatsrejectionreasons.d.ts.map +1 -1
- package/esm/models/operations/getatsrejectionreasons.js +0 -70
- package/esm/models/operations/getatsrejectionreasons.js.map +1 -1
- package/esm/models/operations/getatstags.d.ts +7 -57
- package/esm/models/operations/getatstags.d.ts.map +1 -1
- package/esm/models/operations/getatstags.js +0 -70
- package/esm/models/operations/getatstags.js.map +1 -1
- package/esm/models/operations/getatsusers.d.ts +7 -57
- package/esm/models/operations/getatsusers.d.ts.map +1 -1
- package/esm/models/operations/getatsusers.js +0 -71
- package/esm/models/operations/getatsusers.js.map +1 -1
- package/esm/models/operations/getconnectintegrationbytokentoken.d.ts +0 -17
- package/esm/models/operations/getconnectintegrationbytokentoken.d.ts.map +1 -1
- package/esm/models/operations/getconnectintegrationbytokentoken.js +0 -19
- package/esm/models/operations/getconnectintegrationbytokentoken.js.map +1 -1
- package/esm/models/operations/gethrisabsences.d.ts +7 -57
- package/esm/models/operations/gethrisabsences.d.ts.map +1 -1
- package/esm/models/operations/gethrisabsences.js +0 -76
- package/esm/models/operations/gethrisabsences.js.map +1 -1
- package/esm/models/operations/gethrisabsencetypes.d.ts +7 -57
- package/esm/models/operations/gethrisabsencetypes.d.ts.map +1 -1
- package/esm/models/operations/gethrisabsencetypes.js +0 -70
- package/esm/models/operations/gethrisabsencetypes.js.map +1 -1
- package/esm/models/operations/gethrisemployeedocumentcategories.d.ts +7 -57
- package/esm/models/operations/gethrisemployeedocumentcategories.d.ts.map +1 -1
- package/esm/models/operations/gethrisemployeedocumentcategories.js +0 -70
- package/esm/models/operations/gethrisemployeedocumentcategories.js.map +1 -1
- package/esm/models/operations/gethrisemployees.d.ts +7 -57
- package/esm/models/operations/gethrisemployees.d.ts.map +1 -1
- package/esm/models/operations/gethrisemployees.js +0 -77
- package/esm/models/operations/gethrisemployees.js.map +1 -1
- package/esm/models/operations/gethrisemployeesform.d.ts +0 -39
- package/esm/models/operations/gethrisemployeesform.d.ts.map +1 -1
- package/esm/models/operations/gethrisemployeesform.js +0 -42
- package/esm/models/operations/gethrisemployeesform.js.map +1 -1
- package/esm/models/operations/gethrisemployments.d.ts +7 -57
- package/esm/models/operations/gethrisemployments.d.ts.map +1 -1
- package/esm/models/operations/gethrisemployments.js +0 -70
- package/esm/models/operations/gethrisemployments.js.map +1 -1
- package/esm/models/operations/gethrisgroups.d.ts +7 -57
- package/esm/models/operations/gethrisgroups.d.ts.map +1 -1
- package/esm/models/operations/gethrisgroups.js +0 -72
- package/esm/models/operations/gethrisgroups.js.map +1 -1
- package/esm/models/operations/gethrislegalentities.d.ts +7 -57
- package/esm/models/operations/gethrislegalentities.d.ts.map +1 -1
- package/esm/models/operations/gethrislegalentities.js +0 -71
- package/esm/models/operations/gethrislegalentities.js.map +1 -1
- package/esm/models/operations/gethrislocations.d.ts +7 -57
- package/esm/models/operations/gethrislocations.d.ts.map +1 -1
- package/esm/models/operations/gethrislocations.js +0 -71
- package/esm/models/operations/gethrislocations.js.map +1 -1
- package/esm/models/operations/gethrisperformancereviewcycles.d.ts +7 -57
- package/esm/models/operations/gethrisperformancereviewcycles.d.ts.map +1 -1
- package/esm/models/operations/gethrisperformancereviewcycles.js +0 -70
- package/esm/models/operations/gethrisperformancereviewcycles.js.map +1 -1
- package/esm/models/operations/gethrisperformancereviews.d.ts +7 -57
- package/esm/models/operations/gethrisperformancereviews.d.ts.map +1 -1
- package/esm/models/operations/gethrisperformancereviews.js +0 -73
- package/esm/models/operations/gethrisperformancereviews.js.map +1 -1
- package/esm/models/operations/gethristimeoffbalances.d.ts +7 -57
- package/esm/models/operations/gethristimeoffbalances.d.ts.map +1 -1
- package/esm/models/operations/gethristimeoffbalances.js +0 -71
- package/esm/models/operations/gethristimeoffbalances.js.map +1 -1
- package/esm/models/operations/gethristimesheets.d.ts +7 -57
- package/esm/models/operations/gethristimesheets.d.ts.map +1 -1
- package/esm/models/operations/gethristimesheets.js +0 -76
- package/esm/models/operations/gethristimesheets.js.map +1 -1
- package/esm/models/operations/getintegrationsintegrationid.d.ts +0 -17
- package/esm/models/operations/getintegrationsintegrationid.d.ts.map +1 -1
- package/esm/models/operations/getintegrationsintegrationid.js +0 -19
- package/esm/models/operations/getintegrationsintegrationid.js.map +1 -1
- package/esm/models/operations/getintegrationsintegrationidcustomfields.d.ts +0 -34
- package/esm/models/operations/getintegrationsintegrationidcustomfields.d.ts.map +1 -1
- package/esm/models/operations/getintegrationsintegrationidcustomfields.js +0 -43
- package/esm/models/operations/getintegrationsintegrationidcustomfields.js.map +1 -1
- package/esm/models/operations/getintegrationsintegrationidintegrationfields.d.ts +0 -34
- package/esm/models/operations/getintegrationsintegrationidintegrationfields.d.ts.map +1 -1
- package/esm/models/operations/getintegrationsintegrationidintegrationfields.js +0 -43
- package/esm/models/operations/getintegrationsintegrationidintegrationfields.js.map +1 -1
- package/esm/models/operations/gettoolscategory.d.ts +0 -17
- package/esm/models/operations/gettoolscategory.d.ts.map +1 -1
- package/esm/models/operations/gettoolscategory.js +0 -19
- package/esm/models/operations/gettoolscategory.js.map +1 -1
- package/esm/models/operations/patchintegrationsintegrationidintegrationfieldsintegrationfieldid.d.ts +2 -19
- package/esm/models/operations/patchintegrationsintegrationidintegrationfieldsintegrationfieldid.d.ts.map +1 -1
- package/esm/models/operations/patchintegrationsintegrationidintegrationfieldsintegrationfieldid.js +1 -33
- package/esm/models/operations/patchintegrationsintegrationidintegrationfieldsintegrationfieldid.js.map +1 -1
- package/esm/models/operations/postatsapplicationsapplicationidattachments.d.ts +2 -41
- package/esm/models/operations/postatsapplicationsapplicationidattachments.d.ts.map +1 -1
- package/esm/models/operations/postatsapplicationsapplicationidattachments.js +1 -56
- package/esm/models/operations/postatsapplicationsapplicationidattachments.js.map +1 -1
- package/esm/models/operations/postatsapplicationsapplicationidnotes.d.ts +2 -41
- package/esm/models/operations/postatsapplicationsapplicationidnotes.d.ts.map +1 -1
- package/esm/models/operations/postatsapplicationsapplicationidnotes.js +1 -55
- package/esm/models/operations/postatsapplicationsapplicationidnotes.js.map +1 -1
- package/esm/models/operations/postatsapplicationsapplicationidreject.d.ts +2 -41
- package/esm/models/operations/postatsapplicationsapplicationidreject.d.ts.map +1 -1
- package/esm/models/operations/postatsapplicationsapplicationidreject.js +1 -55
- package/esm/models/operations/postatsapplicationsapplicationidreject.js.map +1 -1
- package/esm/models/operations/postatsapplicationsapplicationidresultlinks.d.ts +2 -41
- package/esm/models/operations/postatsapplicationsapplicationidresultlinks.d.ts.map +1 -1
- package/esm/models/operations/postatsapplicationsapplicationidresultlinks.js +1 -56
- package/esm/models/operations/postatsapplicationsapplicationidresultlinks.js.map +1 -1
- package/esm/models/operations/postatscandidates.d.ts +0 -25
- package/esm/models/operations/postatscandidates.d.ts.map +1 -1
- package/esm/models/operations/postatscandidates.js +1 -27
- package/esm/models/operations/postatscandidates.js.map +1 -1
- package/esm/models/operations/postatscandidatescandidateidattachments.d.ts +2 -41
- package/esm/models/operations/postatscandidatescandidateidattachments.d.ts.map +1 -1
- package/esm/models/operations/postatscandidatescandidateidattachments.js +1 -55
- package/esm/models/operations/postatscandidatescandidateidattachments.js.map +1 -1
- package/esm/models/operations/postatscandidatescandidateidresultlinks.d.ts +2 -41
- package/esm/models/operations/postatscandidatescandidateidresultlinks.d.ts.map +1 -1
- package/esm/models/operations/postatscandidatescandidateidresultlinks.js +1 -55
- package/esm/models/operations/postatscandidatescandidateidresultlinks.js.map +1 -1
- package/esm/models/operations/postatscandidatescandidateidtags.d.ts +2 -41
- package/esm/models/operations/postatscandidatescandidateidtags.d.ts.map +1 -1
- package/esm/models/operations/postatscandidatescandidateidtags.js +1 -55
- package/esm/models/operations/postatscandidatescandidateidtags.js.map +1 -1
- package/esm/models/operations/postatsimporttrackedapplication.d.ts +0 -25
- package/esm/models/operations/postatsimporttrackedapplication.d.ts.map +1 -1
- package/esm/models/operations/postatsimporttrackedapplication.js +1 -27
- package/esm/models/operations/postatsimporttrackedapplication.js.map +1 -1
- package/esm/models/operations/postatsjobsjobidapplications.d.ts +2 -41
- package/esm/models/operations/postatsjobsjobidapplications.d.ts.map +1 -1
- package/esm/models/operations/postatsjobsjobidapplications.js +1 -55
- package/esm/models/operations/postatsjobsjobidapplications.js.map +1 -1
- package/esm/models/operations/postforcesync.d.ts +0 -25
- package/esm/models/operations/postforcesync.d.ts.map +1 -1
- package/esm/models/operations/postforcesync.js +1 -27
- package/esm/models/operations/postforcesync.js.map +1 -1
- package/esm/models/operations/posthrisabsences.d.ts +0 -25
- package/esm/models/operations/posthrisabsences.d.ts.map +1 -1
- package/esm/models/operations/posthrisabsences.js +1 -27
- package/esm/models/operations/posthrisabsences.js.map +1 -1
- package/esm/models/operations/posthrisemployeesemployeeiddocuments.d.ts +2 -41
- package/esm/models/operations/posthrisemployeesemployeeiddocuments.d.ts.map +1 -1
- package/esm/models/operations/posthrisemployeesemployeeiddocuments.js +1 -55
- package/esm/models/operations/posthrisemployeesemployeeiddocuments.js.map +1 -1
- package/esm/models/operations/posthrisemployeesform.d.ts +0 -25
- package/esm/models/operations/posthrisemployeesform.d.ts.map +1 -1
- package/esm/models/operations/posthrisemployeesform.js +1 -27
- package/esm/models/operations/posthrisemployeesform.js.map +1 -1
- package/esm/models/operations/postintegrationsintegrationidrelink.d.ts +2 -19
- package/esm/models/operations/postintegrationsintegrationidrelink.d.ts.map +1 -1
- package/esm/models/operations/postintegrationsintegrationidrelink.js +1 -30
- package/esm/models/operations/postintegrationsintegrationidrelink.js.map +1 -1
- package/esm/models/operations/postpassthroughtoolapi.d.ts +2 -41
- package/esm/models/operations/postpassthroughtoolapi.d.ts.map +1 -1
- package/esm/models/operations/postpassthroughtoolapi.js +1 -56
- package/esm/models/operations/postpassthroughtoolapi.js.map +1 -1
- package/esm/models/operations/putassessmentordersassessmentorderidresult.d.ts +2 -41
- package/esm/models/operations/putassessmentordersassessmentorderidresult.d.ts.map +1 -1
- package/esm/models/operations/putassessmentordersassessmentorderidresult.js +1 -56
- package/esm/models/operations/putassessmentordersassessmentorderidresult.js.map +1 -1
- package/esm/models/operations/putassessmentpackages.d.ts +0 -25
- package/esm/models/operations/putassessmentpackages.d.ts.map +1 -1
- package/esm/models/operations/putassessmentpackages.js +1 -27
- package/esm/models/operations/putassessmentpackages.js.map +1 -1
- package/esm/models/operations/putatsapplicationsapplicationidstage.d.ts +2 -41
- package/esm/models/operations/putatsapplicationsapplicationidstage.d.ts.map +1 -1
- package/esm/models/operations/putatsapplicationsapplicationidstage.js +1 -55
- package/esm/models/operations/putatsapplicationsapplicationidstage.js.map +1 -1
- package/esm/models/operations/putintegrationsintegrationidcustomfieldscustomfieldid.d.ts +2 -19
- package/esm/models/operations/putintegrationsintegrationidcustomfieldscustomfieldid.d.ts.map +1 -1
- package/esm/models/operations/putintegrationsintegrationidcustomfieldscustomfieldid.js +1 -33
- package/esm/models/operations/putintegrationsintegrationidcustomfieldscustomfieldid.js.map +1 -1
- package/esm/models/patchintegrationsintegrationidintegrationfieldsintegrationfieldidpositiveresponse.d.ts +0 -63
- package/esm/models/patchintegrationsintegrationidintegrationfieldsintegrationfieldidpositiveresponse.d.ts.map +1 -1
- package/esm/models/patchintegrationsintegrationidintegrationfieldsintegrationfieldidpositiveresponse.js +0 -58
- package/esm/models/patchintegrationsintegrationidintegrationfieldsintegrationfieldidpositiveresponse.js.map +1 -1
- package/esm/models/patchintegrationsintegrationidintegrationfieldsintegrationfieldidrequestbody.d.ts +0 -17
- package/esm/models/patchintegrationsintegrationidintegrationfieldsintegrationfieldidrequestbody.d.ts.map +1 -1
- package/esm/models/patchintegrationsintegrationidintegrationfieldsintegrationfieldidrequestbody.js +0 -20
- package/esm/models/patchintegrationsintegrationidintegrationfieldsintegrationfieldidrequestbody.js.map +1 -1
- package/esm/models/postatsapplicationsapplicationidattachmentspositiveresponse.d.ts +0 -57
- package/esm/models/postatsapplicationsapplicationidattachmentspositiveresponse.d.ts.map +1 -1
- package/esm/models/postatsapplicationsapplicationidattachmentspositiveresponse.js +0 -57
- package/esm/models/postatsapplicationsapplicationidattachmentspositiveresponse.js.map +1 -1
- package/esm/models/postatsapplicationsapplicationidattachmentsrequestbody.d.ts +0 -149
- package/esm/models/postatsapplicationsapplicationidattachmentsrequestbody.d.ts.map +1 -1
- package/esm/models/postatsapplicationsapplicationidattachmentsrequestbody.js +2 -175
- package/esm/models/postatsapplicationsapplicationidattachmentsrequestbody.js.map +1 -1
- package/esm/models/postatsapplicationsapplicationidnotespositiveresponse.d.ts +0 -57
- package/esm/models/postatsapplicationsapplicationidnotespositiveresponse.d.ts.map +1 -1
- package/esm/models/postatsapplicationsapplicationidnotespositiveresponse.js +0 -56
- package/esm/models/postatsapplicationsapplicationidnotespositiveresponse.js.map +1 -1
- package/esm/models/postatsapplicationsapplicationidnotesrequestbody.d.ts +0 -138
- package/esm/models/postatsapplicationsapplicationidnotesrequestbody.d.ts.map +1 -1
- package/esm/models/postatsapplicationsapplicationidnotesrequestbody.js +1 -177
- package/esm/models/postatsapplicationsapplicationidnotesrequestbody.js.map +1 -1
- package/esm/models/postatsapplicationsapplicationidrejectpositiveresponse.d.ts +0 -57
- package/esm/models/postatsapplicationsapplicationidrejectpositiveresponse.d.ts.map +1 -1
- package/esm/models/postatsapplicationsapplicationidrejectpositiveresponse.js +0 -56
- package/esm/models/postatsapplicationsapplicationidrejectpositiveresponse.js.map +1 -1
- package/esm/models/postatsapplicationsapplicationidrejectrequestbody.d.ts +0 -77
- package/esm/models/postatsapplicationsapplicationidrejectrequestbody.d.ts.map +1 -1
- package/esm/models/postatsapplicationsapplicationidrejectrequestbody.js +0 -102
- package/esm/models/postatsapplicationsapplicationidrejectrequestbody.js.map +1 -1
- package/esm/models/postatsapplicationsapplicationidresultlinkspositiveresponse.d.ts +0 -57
- package/esm/models/postatsapplicationsapplicationidresultlinkspositiveresponse.d.ts.map +1 -1
- package/esm/models/postatsapplicationsapplicationidresultlinkspositiveresponse.js +0 -57
- package/esm/models/postatsapplicationsapplicationidresultlinkspositiveresponse.js.map +1 -1
- package/esm/models/postatsapplicationsapplicationidresultlinksrequestbody.d.ts +0 -159
- package/esm/models/postatsapplicationsapplicationidresultlinksrequestbody.d.ts.map +1 -1
- package/esm/models/postatsapplicationsapplicationidresultlinksrequestbody.js +1 -200
- package/esm/models/postatsapplicationsapplicationidresultlinksrequestbody.js.map +1 -1
- package/esm/models/postatscandidatescandidateidattachmentspositiveresponse.d.ts +0 -57
- package/esm/models/postatscandidatescandidateidattachmentspositiveresponse.d.ts.map +1 -1
- package/esm/models/postatscandidatescandidateidattachmentspositiveresponse.js +0 -57
- package/esm/models/postatscandidatescandidateidattachmentspositiveresponse.js.map +1 -1
- package/esm/models/postatscandidatescandidateidattachmentsrequestbody.d.ts +0 -112
- package/esm/models/postatscandidatescandidateidattachmentsrequestbody.d.ts.map +1 -1
- package/esm/models/postatscandidatescandidateidattachmentsrequestbody.js +1 -138
- package/esm/models/postatscandidatescandidateidattachmentsrequestbody.js.map +1 -1
- package/esm/models/postatscandidatescandidateidresultlinkspositiveresponse.d.ts +0 -57
- package/esm/models/postatscandidatescandidateidresultlinkspositiveresponse.d.ts.map +1 -1
- package/esm/models/postatscandidatescandidateidresultlinkspositiveresponse.js +0 -57
- package/esm/models/postatscandidatescandidateidresultlinkspositiveresponse.js.map +1 -1
- package/esm/models/postatscandidatescandidateidresultlinksrequestbody.d.ts +0 -159
- package/esm/models/postatscandidatescandidateidresultlinksrequestbody.d.ts.map +1 -1
- package/esm/models/postatscandidatescandidateidresultlinksrequestbody.js +1 -199
- package/esm/models/postatscandidatescandidateidresultlinksrequestbody.js.map +1 -1
- package/esm/models/postatscandidatescandidateidtagspositiveresponse.d.ts +0 -57
- package/esm/models/postatscandidatescandidateidtagspositiveresponse.d.ts.map +1 -1
- package/esm/models/postatscandidatescandidateidtagspositiveresponse.js +0 -55
- package/esm/models/postatscandidatescandidateidtagspositiveresponse.js.map +1 -1
- package/esm/models/postatscandidatescandidateidtagsrequestbody.d.ts +0 -92
- package/esm/models/postatscandidatescandidateidtagsrequestbody.d.ts.map +1 -1
- package/esm/models/postatscandidatescandidateidtagsrequestbody.js +0 -117
- package/esm/models/postatscandidatescandidateidtagsrequestbody.js.map +1 -1
- package/esm/models/postatscandidatespositiveresponse.d.ts +0 -279
- package/esm/models/postatscandidatespositiveresponse.d.ts.map +1 -1
- package/esm/models/postatscandidatespositiveresponse.js +0 -259
- package/esm/models/postatscandidatespositiveresponse.js.map +1 -1
- package/esm/models/postatscandidatesrequestbody.d.ts +36 -1089
- package/esm/models/postatscandidatesrequestbody.d.ts.map +1 -1
- package/esm/models/postatscandidatesrequestbody.js +18 -1533
- package/esm/models/postatscandidatesrequestbody.js.map +1 -1
- package/esm/models/postatsimporttrackedapplicationpositiveresponse.d.ts +0 -330
- package/esm/models/postatsimporttrackedapplicationpositiveresponse.d.ts.map +1 -1
- package/esm/models/postatsimporttrackedapplicationpositiveresponse.js +0 -332
- package/esm/models/postatsimporttrackedapplicationpositiveresponse.js.map +1 -1
- package/esm/models/postatsimporttrackedapplicationrequestbody.d.ts +0 -212
- package/esm/models/postatsimporttrackedapplicationrequestbody.d.ts.map +1 -1
- package/esm/models/postatsimporttrackedapplicationrequestbody.js +0 -275
- package/esm/models/postatsimporttrackedapplicationrequestbody.js.map +1 -1
- package/esm/models/postatsjobsjobidapplicationspositiveresponse.d.ts +0 -724
- package/esm/models/postatsjobsjobidapplicationspositiveresponse.d.ts.map +1 -1
- package/esm/models/postatsjobsjobidapplicationspositiveresponse.js +0 -715
- package/esm/models/postatsjobsjobidapplicationspositiveresponse.js.map +1 -1
- package/esm/models/postatsjobsjobidapplicationsrequestbody.d.ts +36 -1074
- package/esm/models/postatsjobsjobidapplicationsrequestbody.d.ts.map +1 -1
- package/esm/models/postatsjobsjobidapplicationsrequestbody.js +19 -1516
- package/esm/models/postatsjobsjobidapplicationsrequestbody.js.map +1 -1
- package/esm/models/postconnectcreatelinkpositiveresponse.d.ts +0 -39
- package/esm/models/postconnectcreatelinkpositiveresponse.d.ts.map +1 -1
- package/esm/models/postconnectcreatelinkpositiveresponse.js +0 -37
- package/esm/models/postconnectcreatelinkpositiveresponse.js.map +1 -1
- package/esm/models/postconnectcreatelinkrequestbody.d.ts +2 -425
- package/esm/models/postconnectcreatelinkrequestbody.d.ts.map +1 -1
- package/esm/models/postconnectcreatelinkrequestbody.js +6 -85
- package/esm/models/postconnectcreatelinkrequestbody.js.map +1 -1
- package/esm/models/postforcesyncpositiveresponse.d.ts +0 -59
- package/esm/models/postforcesyncpositiveresponse.d.ts.map +1 -1
- package/esm/models/postforcesyncpositiveresponse.js +0 -52
- package/esm/models/postforcesyncpositiveresponse.js.map +1 -1
- package/esm/models/postforcesyncrequestbody.d.ts +0 -35
- package/esm/models/postforcesyncrequestbody.d.ts.map +1 -1
- package/esm/models/postforcesyncrequestbody.js +1 -33
- package/esm/models/postforcesyncrequestbody.js.map +1 -1
- package/esm/models/posthrisabsencespositiveresponse.d.ts +0 -104
- package/esm/models/posthrisabsencespositiveresponse.d.ts.map +1 -1
- package/esm/models/posthrisabsencespositiveresponse.js +2 -107
- package/esm/models/posthrisabsencespositiveresponse.js.map +1 -1
- package/esm/models/posthrisabsencesrequestbody.d.ts +0 -83
- package/esm/models/posthrisabsencesrequestbody.d.ts.map +1 -1
- package/esm/models/posthrisabsencesrequestbody.js +2 -96
- package/esm/models/posthrisabsencesrequestbody.js.map +1 -1
- package/esm/models/posthrisemployeesemployeeiddocumentspositiveresponse.d.ts +0 -57
- package/esm/models/posthrisemployeesemployeeiddocumentspositiveresponse.d.ts.map +1 -1
- package/esm/models/posthrisemployeesemployeeiddocumentspositiveresponse.js +0 -56
- package/esm/models/posthrisemployeesemployeeiddocumentspositiveresponse.js.map +1 -1
- package/esm/models/posthrisemployeesemployeeiddocumentsrequestbody.d.ts +0 -32
- package/esm/models/posthrisemployeesemployeeiddocumentsrequestbody.d.ts.map +1 -1
- package/esm/models/posthrisemployeesemployeeiddocumentsrequestbody.js +0 -41
- package/esm/models/posthrisemployeesemployeeiddocumentsrequestbody.js.map +1 -1
- package/esm/models/posthrisemployeesformpositiveresponse.d.ts +0 -59
- package/esm/models/posthrisemployeesformpositiveresponse.d.ts.map +1 -1
- package/esm/models/posthrisemployeesformpositiveresponse.js +0 -56
- package/esm/models/posthrisemployeesformpositiveresponse.js.map +1 -1
- package/esm/models/posthrisemployeesformrequestbody.d.ts +0 -17
- package/esm/models/posthrisemployeesformrequestbody.d.ts.map +1 -1
- package/esm/models/posthrisemployeesformrequestbody.js +1 -20
- package/esm/models/posthrisemployeesformrequestbody.js.map +1 -1
- package/esm/models/postintegrationsintegrationidrelinkpositiveresponse.d.ts +0 -39
- package/esm/models/postintegrationsintegrationidrelinkpositiveresponse.d.ts.map +1 -1
- package/esm/models/postintegrationsintegrationidrelinkpositiveresponse.js +0 -38
- package/esm/models/postintegrationsintegrationidrelinkpositiveresponse.js.map +1 -1
- package/esm/models/postintegrationsintegrationidrelinkrequestbody.d.ts +0 -59
- package/esm/models/postintegrationsintegrationidrelinkrequestbody.d.ts.map +1 -1
- package/esm/models/postintegrationsintegrationidrelinkrequestbody.js +2 -51
- package/esm/models/postintegrationsintegrationidrelinkrequestbody.js.map +1 -1
- package/esm/models/postpassthroughtoolapipositiveresponse.d.ts +0 -81
- package/esm/models/postpassthroughtoolapipositiveresponse.d.ts.map +1 -1
- package/esm/models/postpassthroughtoolapipositiveresponse.js +0 -75
- package/esm/models/postpassthroughtoolapipositiveresponse.js.map +1 -1
- package/esm/models/postpassthroughtoolapirequestbody.d.ts +0 -86
- package/esm/models/postpassthroughtoolapirequestbody.d.ts.map +1 -1
- package/esm/models/postpassthroughtoolapirequestbody.js +1 -98
- package/esm/models/postpassthroughtoolapirequestbody.js.map +1 -1
- package/esm/models/putassessmentordersassessmentorderidresultpositiveresponse.d.ts +0 -57
- package/esm/models/putassessmentordersassessmentorderidresultpositiveresponse.d.ts.map +1 -1
- package/esm/models/putassessmentordersassessmentorderidresultpositiveresponse.js +0 -57
- package/esm/models/putassessmentordersassessmentorderidresultpositiveresponse.js.map +1 -1
- package/esm/models/putassessmentordersassessmentorderidresultrequestbody.d.ts +0 -160
- package/esm/models/putassessmentordersassessmentorderidresultrequestbody.d.ts.map +1 -1
- package/esm/models/putassessmentordersassessmentorderidresultrequestbody.js +2 -202
- package/esm/models/putassessmentordersassessmentorderidresultrequestbody.js.map +1 -1
- package/esm/models/putassessmentpackagespositiveresponse.d.ts +0 -57
- package/esm/models/putassessmentpackagespositiveresponse.d.ts.map +1 -1
- package/esm/models/putassessmentpackagespositiveresponse.js +0 -54
- package/esm/models/putassessmentpackagespositiveresponse.js.map +1 -1
- package/esm/models/putassessmentpackagesrequestbody.d.ts +0 -56
- package/esm/models/putassessmentpackagesrequestbody.d.ts.map +1 -1
- package/esm/models/putassessmentpackagesrequestbody.js +1 -54
- package/esm/models/putassessmentpackagesrequestbody.js.map +1 -1
- package/esm/models/putatsapplicationsapplicationidstagepositiveresponse.d.ts +0 -57
- package/esm/models/putatsapplicationsapplicationidstagepositiveresponse.d.ts.map +1 -1
- package/esm/models/putatsapplicationsapplicationidstagepositiveresponse.js +0 -56
- package/esm/models/putatsapplicationsapplicationidstagepositiveresponse.js.map +1 -1
- package/esm/models/putatsapplicationsapplicationidstagerequestbody.d.ts +0 -77
- package/esm/models/putatsapplicationsapplicationidstagerequestbody.d.ts.map +1 -1
- package/esm/models/putatsapplicationsapplicationidstagerequestbody.js +0 -101
- package/esm/models/putatsapplicationsapplicationidstagerequestbody.js.map +1 -1
- package/esm/models/putintegrationsintegrationidcustomfieldscustomfieldidpositiveresponse.d.ts +0 -84
- package/esm/models/putintegrationsintegrationidcustomfieldscustomfieldidpositiveresponse.d.ts.map +1 -1
- package/esm/models/putintegrationsintegrationidcustomfieldscustomfieldidpositiveresponse.js +0 -79
- package/esm/models/putintegrationsintegrationidcustomfieldscustomfieldidpositiveresponse.js.map +1 -1
- package/esm/models/putintegrationsintegrationidcustomfieldscustomfieldidrequestbody.d.ts +0 -17
- package/esm/models/putintegrationsintegrationidcustomfieldscustomfieldidrequestbody.d.ts.map +1 -1
- package/esm/models/putintegrationsintegrationidcustomfieldscustomfieldidrequestbody.js +0 -20
- package/esm/models/putintegrationsintegrationidcustomfieldscustomfieldidrequestbody.js.map +1 -1
- package/esm/models/schema1.d.ts +0 -17
- package/esm/models/schema1.d.ts.map +1 -1
- package/esm/models/schema1.js +0 -16
- package/esm/models/schema1.js.map +1 -1
- package/esm/models/schema1union1.d.ts +2 -884
- package/esm/models/schema1union1.d.ts.map +1 -1
- package/esm/models/schema1union1.js +2 -557
- package/esm/models/schema1union1.js.map +1 -1
- package/esm/models/schema1union2.d.ts +2 -45
- package/esm/models/schema1union2.d.ts.map +1 -1
- package/esm/models/schema1union2.js +2 -53
- package/esm/models/schema1union2.js.map +1 -1
- package/esm/models/schema2union1.d.ts +1 -883
- package/esm/models/schema2union1.d.ts.map +1 -1
- package/esm/models/schema2union1.js +1 -566
- package/esm/models/schema2union1.js.map +1 -1
- package/esm/models/schema2union2.d.ts +2 -71
- package/esm/models/schema2union2.d.ts.map +1 -1
- package/esm/models/schema2union2.js +2 -86
- package/esm/models/schema2union2.js.map +1 -1
- package/esm/models/schema4.d.ts +0 -17
- package/esm/models/schema4.d.ts.map +1 -1
- package/esm/models/schema4.js +0 -23
- package/esm/models/schema4.js.map +1 -1
- package/esm/models/security.d.ts +0 -17
- package/esm/models/security.d.ts.map +1 -1
- package/esm/models/security.js +0 -23
- package/esm/models/security.js.map +1 -1
- package/esm/models/syncfinishedwebhookpayload.d.ts +0 -68
- package/esm/models/syncfinishedwebhookpayload.d.ts.map +1 -1
- package/esm/models/syncfinishedwebhookpayload.js +0 -55
- package/esm/models/syncfinishedwebhookpayload.js.map +1 -1
- package/esm/models/webhooks/webhookassessmentorderreceivedwebhookpayload.d.ts +2 -14
- package/esm/models/webhooks/webhookassessmentorderreceivedwebhookpayload.d.ts.map +1 -1
- package/esm/models/webhooks/webhookassessmentorderreceivedwebhookpayload.js +2 -15
- package/esm/models/webhooks/webhookassessmentorderreceivedwebhookpayload.js.map +1 -1
- package/esm/models/webhooks/webhookconnectionflowfailedwebhookpayload.d.ts +2 -14
- package/esm/models/webhooks/webhookconnectionflowfailedwebhookpayload.d.ts.map +1 -1
- package/esm/models/webhooks/webhookconnectionflowfailedwebhookpayload.js +2 -15
- package/esm/models/webhooks/webhookconnectionflowfailedwebhookpayload.js.map +1 -1
- package/esm/models/webhooks/webhookdatachangedwebhookpayload.d.ts +2 -14
- package/esm/models/webhooks/webhookdatachangedwebhookpayload.d.ts.map +1 -1
- package/esm/models/webhooks/webhookdatachangedwebhookpayload.js +2 -15
- package/esm/models/webhooks/webhookdatachangedwebhookpayload.js.map +1 -1
- package/esm/models/webhooks/webhookinlineassessmentorderreceivedwebhookpayload.d.ts +2 -14
- package/esm/models/webhooks/webhookinlineassessmentorderreceivedwebhookpayload.d.ts.map +1 -1
- package/esm/models/webhooks/webhookinlineassessmentorderreceivedwebhookpayload.js +2 -15
- package/esm/models/webhooks/webhookinlineassessmentorderreceivedwebhookpayload.js.map +1 -1
- package/esm/models/webhooks/webhookintegrationcreatedwebhookpayload.d.ts +2 -14
- package/esm/models/webhooks/webhookintegrationcreatedwebhookpayload.d.ts.map +1 -1
- package/esm/models/webhooks/webhookintegrationcreatedwebhookpayload.js +2 -15
- package/esm/models/webhooks/webhookintegrationcreatedwebhookpayload.js.map +1 -1
- package/esm/models/webhooks/webhookintegrationdeletedwebhookpayload.d.ts +2 -14
- package/esm/models/webhooks/webhookintegrationdeletedwebhookpayload.d.ts.map +1 -1
- package/esm/models/webhooks/webhookintegrationdeletedwebhookpayload.js +2 -15
- package/esm/models/webhooks/webhookintegrationdeletedwebhookpayload.js.map +1 -1
- package/esm/models/webhooks/webhookintegrationstatechangedwebhookpayload.d.ts +2 -14
- package/esm/models/webhooks/webhookintegrationstatechangedwebhookpayload.d.ts.map +1 -1
- package/esm/models/webhooks/webhookintegrationstatechangedwebhookpayload.js +2 -15
- package/esm/models/webhooks/webhookintegrationstatechangedwebhookpayload.js.map +1 -1
- package/esm/models/webhooks/webhooksyncfinishedwebhookpayload.d.ts +2 -14
- package/esm/models/webhooks/webhooksyncfinishedwebhookpayload.d.ts.map +1 -1
- package/esm/models/webhooks/webhooksyncfinishedwebhookpayload.js +2 -15
- package/esm/models/webhooks/webhooksyncfinishedwebhookpayload.js.map +1 -1
- package/esm/sdk/general.d.ts +1 -0
- package/esm/sdk/general.d.ts.map +1 -1
- package/esm/sdk/general.js +1 -0
- package/esm/sdk/general.js.map +1 -1
- package/esm/types/enums.d.ts +10 -6
- package/esm/types/enums.d.ts.map +1 -1
- package/esm/types/enums.js +38 -1
- package/esm/types/enums.js.map +1 -1
- package/esm/types/index.d.ts +0 -1
- package/esm/types/index.d.ts.map +1 -1
- package/esm/types/index.js +0 -1
- package/esm/types/index.js.map +1 -1
- package/examples/package-lock.json +5 -2
- package/jsr.json +1 -1
- package/package.json +18 -4
- package/src/funcs/assessmentUpdateOrderResult.ts +1 -5
- package/src/funcs/atsAddApplicationAttachment.ts +1 -5
- package/src/funcs/atsAddApplicationNote.ts +1 -5
- package/src/funcs/atsAddApplicationResultLink.ts +1 -5
- package/src/funcs/atsAddCandidateAttachment.ts +1 -5
- package/src/funcs/atsAddCandidateResultLink.ts +1 -5
- package/src/funcs/atsAddCandidateTag.ts +1 -5
- package/src/funcs/atsCreateApplication.ts +1 -5
- package/src/funcs/atsMoveApplicationToStage.ts +1 -5
- package/src/funcs/atsRejectApplication.ts +1 -5
- package/src/funcs/atsRemoveCandidateTag.ts +1 -5
- package/src/funcs/generalCreateReconnectionLink.ts +1 -5
- package/src/funcs/generalDeleteIntegration.ts +1 -5
- package/src/funcs/generalSendPassthroughRequest.ts +2 -3
- package/src/funcs/generalUpdateCustomFieldMapping.ts +1 -5
- package/src/funcs/generalUpdateIntegrationField.ts +1 -6
- package/src/funcs/hrisAddEmployeeDocument.ts +1 -5
- package/src/funcs/hrisDeleteAbsence.ts +1 -5
- package/src/lib/config.ts +5 -5
- package/src/models/assessmentorderreceivedwebhookpayload.ts +0 -164
- package/src/models/connectionflowfailedwebhookpayload.ts +0 -78
- package/src/models/datachangedwebhookpayload.ts +0 -83
- package/src/models/deleteatscandidatescandidateidtagspositiveresponse.ts +0 -135
- package/src/models/deleteatscandidatescandidateidtagsrequestbody.ts +0 -267
- package/src/models/deletehrisabsencesabsenceidpositiveresponse.ts +4 -221
- package/src/models/deletehrisabsencesabsenceidrequestbody.ts +0 -126
- package/src/models/deleteintegrationsintegrationidpositiveresponse.ts +0 -84
- package/src/models/deleteintegrationsintegrationidrequestbody.ts +0 -39
- package/src/models/errors/komboatserror.ts +0 -31
- package/src/models/errors/kombogeneralerror.ts +0 -31
- package/src/models/errors/kombohriserror.ts +0 -31
- package/src/models/getassessmentordersopenpositiveresponse.ts +0 -423
- package/src/models/getassessmentpackagespositiveresponse.ts +0 -151
- package/src/models/getatsapplicationsapplicationidattachmentspositiveresponse.ts +0 -222
- package/src/models/getatsapplicationspositiveresponse.ts +17 -1751
- package/src/models/getatsapplicationstagespositiveresponse.ts +0 -140
- package/src/models/getatscandidatescandidateidattachmentspositiveresponse.ts +0 -224
- package/src/models/getatscandidatespositiveresponse.ts +0 -589
- package/src/models/getatsinterviewspositiveresponse.ts +0 -460
- package/src/models/getatsjobspositiveresponse.ts +9 -1159
- package/src/models/getatsofferspositiveresponse.ts +0 -338
- package/src/models/getatsrejectionreasonspositiveresponse.ts +0 -136
- package/src/models/getatstagspositiveresponse.ts +0 -123
- package/src/models/getatsuserspositiveresponse.ts +0 -149
- package/src/models/getcheckapikeypositiveresponse.ts +0 -77
- package/src/models/getconnectintegrationbytokentokenpositiveresponse.ts +0 -119
- package/src/models/gethrisabsencespositiveresponse.ts +3 -279
- package/src/models/gethrisabsencetypespositiveresponse.ts +0 -158
- package/src/models/gethrisemployeedocumentcategoriespositiveresponse.ts +0 -145
- package/src/models/gethrisemployeesformpositiveresponse.ts +15 -1292
- package/src/models/gethrisemployeespositiveresponse.ts +16 -1013
- package/src/models/gethrisemploymentspositiveresponse.ts +5 -246
- package/src/models/gethrisgroupspositiveresponse.ts +0 -149
- package/src/models/gethrislegalentitiespositiveresponse.ts +0 -194
- package/src/models/gethrislocationspositiveresponse.ts +0 -188
- package/src/models/gethrisperformancereviewcyclespositiveresponse.ts +0 -148
- package/src/models/gethrisperformancereviewspositiveresponse.ts +0 -422
- package/src/models/gethristimeoffbalancespositiveresponse.ts +0 -263
- package/src/models/gethristimesheetspositiveresponse.ts +0 -186
- package/src/models/getintegrationsintegrationidcustomfieldspositiveresponse.ts +0 -225
- package/src/models/getintegrationsintegrationidintegrationfieldspositiveresponse.ts +0 -174
- package/src/models/getintegrationsintegrationidpositiveresponse.ts +0 -482
- package/src/models/gettoolscategoryparametercategory.ts +1 -18
- package/src/models/gettoolscategorypositiveresponse.ts +0 -438
- package/src/models/inlineassessmentorderreceivedwebhookpayload.ts +0 -167
- package/src/models/integrationcreatedwebhookpayload.ts +0 -77
- package/src/models/integrationdeletedwebhookpayload.ts +0 -77
- package/src/models/integrationstatechangedwebhookpayload.ts +0 -103
- package/src/models/komboatserror.ts +0 -73
- package/src/models/kombogeneralerror.ts +0 -73
- package/src/models/kombohriserror.ts +0 -73
- package/src/models/operations/deleteatscandidatescandidateidtags.ts +3 -128
- package/src/models/operations/deletehrisabsencesabsenceid.ts +3 -114
- package/src/models/operations/deleteintegrationsintegrationid.ts +3 -57
- package/src/models/operations/getassessmentordersopen.ts +0 -130
- package/src/models/operations/getassessmentpackages.ts +0 -89
- package/src/models/operations/getatsapplications.ts +7 -140
- package/src/models/operations/getatsapplicationsapplicationidattachments.ts +0 -113
- package/src/models/operations/getatsapplicationstages.ts +7 -137
- package/src/models/operations/getatscandidates.ts +7 -137
- package/src/models/operations/getatscandidatescandidateidattachments.ts +0 -111
- package/src/models/operations/getatsinterviews.ts +7 -134
- package/src/models/operations/getatsjobs.ts +7 -142
- package/src/models/operations/getatsoffers.ts +7 -133
- package/src/models/operations/getatsrejectionreasons.ts +7 -137
- package/src/models/operations/getatstags.ts +7 -133
- package/src/models/operations/getatsusers.ts +7 -134
- package/src/models/operations/getconnectintegrationbytokentoken.ts +0 -43
- package/src/models/operations/gethrisabsences.ts +7 -139
- package/src/models/operations/gethrisabsencetypes.ts +7 -135
- package/src/models/operations/gethrisemployeedocumentcategories.ts +7 -159
- package/src/models/operations/gethrisemployees.ts +7 -140
- package/src/models/operations/gethrisemployeesform.ts +0 -89
- package/src/models/operations/gethrisemployments.ts +7 -133
- package/src/models/operations/gethrisgroups.ts +7 -135
- package/src/models/operations/gethrislegalentities.ts +7 -138
- package/src/models/operations/gethrislocations.ts +7 -134
- package/src/models/operations/gethrisperformancereviewcycles.ts +7 -146
- package/src/models/operations/gethrisperformancereviews.ts +7 -141
- package/src/models/operations/gethristimeoffbalances.ts +7 -138
- package/src/models/operations/gethristimesheets.ts +7 -145
- package/src/models/operations/getintegrationsintegrationid.ts +0 -38
- package/src/models/operations/getintegrationsintegrationidcustomfields.ts +0 -93
- package/src/models/operations/getintegrationsintegrationidintegrationfields.ts +0 -93
- package/src/models/operations/gettoolscategory.ts +0 -35
- package/src/models/operations/patchintegrationsintegrationidintegrationfieldsintegrationfieldid.ts +3 -62
- package/src/models/operations/postatsapplicationsapplicationidattachments.ts +3 -132
- package/src/models/operations/postatsapplicationsapplicationidnotes.ts +3 -129
- package/src/models/operations/postatsapplicationsapplicationidreject.ts +3 -129
- package/src/models/operations/postatsapplicationsapplicationidresultlinks.ts +3 -132
- package/src/models/operations/postatscandidates.ts +0 -59
- package/src/models/operations/postatscandidatescandidateidattachments.ts +3 -131
- package/src/models/operations/postatscandidatescandidateidresultlinks.ts +3 -131
- package/src/models/operations/postatscandidatescandidateidtags.ts +3 -127
- package/src/models/operations/postatsimporttrackedapplication.ts +0 -65
- package/src/models/operations/postatsjobsjobidapplications.ts +3 -116
- package/src/models/operations/postforcesync.ts +0 -59
- package/src/models/operations/posthrisabsences.ts +0 -59
- package/src/models/operations/posthrisemployeesemployeeiddocuments.ts +3 -130
- package/src/models/operations/posthrisemployeesform.ts +0 -61
- package/src/models/operations/postintegrationsintegrationidrelink.ts +3 -60
- package/src/models/operations/postpassthroughtoolapi.ts +3 -110
- package/src/models/operations/putassessmentordersassessmentorderidresult.ts +3 -132
- package/src/models/operations/putassessmentpackages.ts +0 -61
- package/src/models/operations/putatsapplicationsapplicationidstage.ts +3 -130
- package/src/models/operations/putintegrationsintegrationidcustomfieldscustomfieldid.ts +3 -63
- package/src/models/patchintegrationsintegrationidintegrationfieldsintegrationfieldidpositiveresponse.ts +0 -126
- package/src/models/patchintegrationsintegrationidintegrationfieldsintegrationfieldidrequestbody.ts +0 -44
- package/src/models/postatsapplicationsapplicationidattachmentspositiveresponse.ts +0 -137
- package/src/models/postatsapplicationsapplicationidattachmentsrequestbody.ts +2 -358
- package/src/models/postatsapplicationsapplicationidnotespositiveresponse.ts +0 -134
- package/src/models/postatsapplicationsapplicationidnotesrequestbody.ts +1 -373
- package/src/models/postatsapplicationsapplicationidrejectpositiveresponse.ts +0 -134
- package/src/models/postatsapplicationsapplicationidrejectrequestbody.ts +0 -224
- package/src/models/postatsapplicationsapplicationidresultlinkspositiveresponse.ts +0 -137
- package/src/models/postatsapplicationsapplicationidresultlinksrequestbody.ts +1 -426
- package/src/models/postatscandidatescandidateidattachmentspositiveresponse.ts +0 -133
- package/src/models/postatscandidatescandidateidattachmentsrequestbody.ts +1 -290
- package/src/models/postatscandidatescandidateidresultlinkspositiveresponse.ts +0 -133
- package/src/models/postatscandidatescandidateidresultlinksrequestbody.ts +1 -427
- package/src/models/postatscandidatescandidateidtagspositiveresponse.ts +0 -133
- package/src/models/postatscandidatescandidateidtagsrequestbody.ts +0 -268
- package/src/models/postatscandidatespositiveresponse.ts +0 -595
- package/src/models/postatscandidatesrequestbody.ts +95 -2994
- package/src/models/postatsimporttrackedapplicationpositiveresponse.ts +0 -791
- package/src/models/postatsimporttrackedapplicationrequestbody.ts +0 -615
- package/src/models/postatsjobsjobidapplicationspositiveresponse.ts +17 -1732
- package/src/models/postatsjobsjobidapplicationsrequestbody.ts +97 -3212
- package/src/models/postconnectcreatelinkpositiveresponse.ts +0 -82
- package/src/models/postconnectcreatelinkrequestbody.ts +6 -126
- package/src/models/postforcesyncpositiveresponse.ts +0 -98
- package/src/models/postforcesyncrequestbody.ts +1 -52
- package/src/models/posthrisabsencespositiveresponse.ts +3 -205
- package/src/models/posthrisabsencesrequestbody.ts +2 -165
- package/src/models/posthrisemployeesemployeeiddocumentspositiveresponse.ts +0 -134
- package/src/models/posthrisemployeesemployeeiddocumentsrequestbody.ts +0 -81
- package/src/models/posthrisemployeesformpositiveresponse.ts +0 -127
- package/src/models/posthrisemployeesformrequestbody.ts +0 -36
- package/src/models/postintegrationsintegrationidrelinkpositiveresponse.ts +0 -87
- package/src/models/postintegrationsintegrationidrelinkrequestbody.ts +2 -92
- package/src/models/postpassthroughtoolapipositiveresponse.ts +0 -161
- package/src/models/postpassthroughtoolapirequestbody.ts +1 -155
- package/src/models/putassessmentordersassessmentorderidresultpositiveresponse.ts +0 -135
- package/src/models/putassessmentordersassessmentorderidresultrequestbody.ts +2 -368
- package/src/models/putassessmentpackagespositiveresponse.ts +0 -123
- package/src/models/putassessmentpackagesrequestbody.ts +1 -99
- package/src/models/putatsapplicationsapplicationidstagepositiveresponse.ts +0 -134
- package/src/models/putatsapplicationsapplicationidstagerequestbody.ts +0 -223
- package/src/models/putintegrationsintegrationidcustomfieldscustomfieldidpositiveresponse.ts +0 -180
- package/src/models/putintegrationsintegrationidcustomfieldscustomfieldidrequestbody.ts +0 -44
- package/src/models/schema1.ts +0 -27
- package/src/models/schema1union1.ts +2 -974
- package/src/models/schema1union2.ts +1 -114
- package/src/models/schema2union1.ts +1 -987
- package/src/models/schema2union2.ts +1 -173
- package/src/models/schema4.ts +0 -36
- package/src/models/security.ts +0 -39
- package/src/models/syncfinishedwebhookpayload.ts +0 -72
- package/src/models/webhooks/webhookassessmentorderreceivedwebhookpayload.ts +4 -30
- package/src/models/webhooks/webhookconnectionflowfailedwebhookpayload.ts +4 -30
- package/src/models/webhooks/webhookdatachangedwebhookpayload.ts +4 -23
- package/src/models/webhooks/webhookinlineassessmentorderreceivedwebhookpayload.ts +4 -30
- package/src/models/webhooks/webhookintegrationcreatedwebhookpayload.ts +4 -27
- package/src/models/webhooks/webhookintegrationdeletedwebhookpayload.ts +4 -27
- package/src/models/webhooks/webhookintegrationstatechangedwebhookpayload.ts +4 -30
- package/src/models/webhooks/webhooksyncfinishedwebhookpayload.ts +4 -24
- package/src/sdk/general.ts +1 -0
- package/src/types/enums.ts +55 -6
- package/src/types/index.ts +0 -1
- package/tests/basic-behavior.spec.ts +162 -0
- package/tests/error-handling.spec.ts +604 -0
- package/tests/helpers/test-context.ts +147 -0
- package/tests/job-board.spec.ts +32 -0
- package/vitest.config.ts +8 -0
- package/docs/sdks/assessment/README.md +0 -462
- package/docs/sdks/ats/README.md +0 -2513
- package/docs/sdks/connect/README.md +0 -191
- package/docs/sdks/general/README.md +0 -1038
- package/docs/sdks/hris/README.md +0 -1559
- package/examples/README.md +0 -31
package/docs/sdks/ats/README.md
DELETED
|
@@ -1,2513 +0,0 @@
|
|
|
1
|
-
# Ats
|
|
2
|
-
(*ats*)
|
|
3
|
-
|
|
4
|
-
## Overview
|
|
5
|
-
|
|
6
|
-
### Available Operations
|
|
7
|
-
|
|
8
|
-
* [getApplications](#getapplications) - Get applications
|
|
9
|
-
* [moveApplicationToStage](#moveapplicationtostage) - Move application to stage
|
|
10
|
-
* [addApplicationResultLink](#addapplicationresultlink) - Add result link to application
|
|
11
|
-
* [addApplicationNote](#addapplicationnote) - Add note to application
|
|
12
|
-
* [getApplicationAttachments](#getapplicationattachments) - Get application attachments
|
|
13
|
-
* [addApplicationAttachment](#addapplicationattachment) - Add attachment to application
|
|
14
|
-
* [rejectApplication](#rejectapplication) - Reject application
|
|
15
|
-
* [getCandidates](#getcandidates) - Get candidates
|
|
16
|
-
* [createCandidate](#createcandidate) - Create candidate
|
|
17
|
-
* [getCandidateAttachments](#getcandidateattachments) - Get candidate attachments
|
|
18
|
-
* [addCandidateAttachment](#addcandidateattachment) - Add attachment to candidate
|
|
19
|
-
* [addCandidateResultLink](#addcandidateresultlink) - Add result link to candidate
|
|
20
|
-
* [addCandidateTag](#addcandidatetag) - Add tag to candidate
|
|
21
|
-
* [removeCandidateTag](#removecandidatetag) - Remove tag from candidate
|
|
22
|
-
* [getTags](#gettags) - Get tags
|
|
23
|
-
* [getApplicationStages](#getapplicationstages) - Get application stages
|
|
24
|
-
* [getJobs](#getjobs) - Get jobs
|
|
25
|
-
* [createApplication](#createapplication) - Create application
|
|
26
|
-
* [getUsers](#getusers) - Get users
|
|
27
|
-
* [getOffers](#getoffers) - Get offers
|
|
28
|
-
* [getRejectionReasons](#getrejectionreasons) - Get rejection reasons
|
|
29
|
-
* [getInterviews](#getinterviews) - Get interviews
|
|
30
|
-
* [importTrackedApplication](#importtrackedapplication) - Import tracked application
|
|
31
|
-
|
|
32
|
-
## getApplications
|
|
33
|
-
|
|
34
|
-
Retrieve all applications.
|
|
35
|
-
|
|
36
|
-
Visit our in-depth guides to learn more about:
|
|
37
|
-
|
|
38
|
-
- 💡 [Being aware of which applications are tracked](/ats/features/implementation-guide/tracking-created-applications#be-aware-of-which-applications-are-tracked)
|
|
39
|
-
- 🚦 [Hiring signals](/ats/features/implementation-guide/tracking-created-applications#hiring-signals)
|
|
40
|
-
- 📈 [Application stage changes](/ats/features/implementation-guide/tracking-created-applications#application-stage-changes)
|
|
41
|
-
- ❓ [ATS-specific limitations](/ats/features/implementation-guide/tracking-created-applications#ats-specific-limitations)
|
|
42
|
-
|
|
43
|
-
Top level filters use AND, while individual filters use OR if they accept multiple arguments. That means filters will be resolved like this: `(id IN ids) AND (remote_id IN remote_ids)`
|
|
44
|
-
|
|
45
|
-
### Example Usage
|
|
46
|
-
|
|
47
|
-
<!-- UsageSnippet language="typescript" operationID="GetAtsApplications" method="get" path="/ats/applications" -->
|
|
48
|
-
```typescript
|
|
49
|
-
import { Kombo } from "@kombo-api/sdk";
|
|
50
|
-
|
|
51
|
-
const kombo = new Kombo({
|
|
52
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
53
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
54
|
-
});
|
|
55
|
-
|
|
56
|
-
async function run() {
|
|
57
|
-
const result = await kombo.ats.getApplications({});
|
|
58
|
-
|
|
59
|
-
for await (const page of result) {
|
|
60
|
-
console.log(page);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
run();
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
### Standalone function
|
|
68
|
-
|
|
69
|
-
The standalone function version of this method:
|
|
70
|
-
|
|
71
|
-
```typescript
|
|
72
|
-
import { KomboCore } from "@kombo-api/sdk/core.js";
|
|
73
|
-
import { atsGetApplications } from "@kombo-api/sdk/funcs/atsGetApplications.js";
|
|
74
|
-
|
|
75
|
-
// Use `KomboCore` for best tree-shaking performance.
|
|
76
|
-
// You can create one instance of it to use across an application.
|
|
77
|
-
const kombo = new KomboCore({
|
|
78
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
79
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
80
|
-
});
|
|
81
|
-
|
|
82
|
-
async function run() {
|
|
83
|
-
const res = await atsGetApplications(kombo, {});
|
|
84
|
-
if (res.ok) {
|
|
85
|
-
const { value: result } = res;
|
|
86
|
-
for await (const page of result) {
|
|
87
|
-
console.log(page);
|
|
88
|
-
}
|
|
89
|
-
} else {
|
|
90
|
-
console.log("atsGetApplications failed:", res.error);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
run();
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
### Parameters
|
|
98
|
-
|
|
99
|
-
| Parameter | Type | Required | Description |
|
|
100
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
101
|
-
| `request` | [operations.GetAtsApplicationsRequest](../../models/operations/getatsapplicationsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
102
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
103
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
104
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
105
|
-
|
|
106
|
-
### Response
|
|
107
|
-
|
|
108
|
-
**Promise\<[operations.GetAtsApplicationsResponse](../../models/operations/getatsapplicationsresponse.md)\>**
|
|
109
|
-
|
|
110
|
-
### Errors
|
|
111
|
-
|
|
112
|
-
| Error Type | Status Code | Content Type |
|
|
113
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
114
|
-
| errors.KomboAtsError | default | application/json |
|
|
115
|
-
| errors.KomboDefaultError | 4XX, 5XX | \*/\* |
|
|
116
|
-
|
|
117
|
-
## moveApplicationToStage
|
|
118
|
-
|
|
119
|
-
Moves an application to a specified stage. Use job-specific stages from GET /jobs, not the deprecated /application-stages endpoint.
|
|
120
|
-
|
|
121
|
-
<Note>
|
|
122
|
-
This endpoint requires the permission **Set application stage** to be enabled in [your scope config](/scopes).
|
|
123
|
-
</Note>
|
|
124
|
-
|
|
125
|
-
### Example Request Body
|
|
126
|
-
|
|
127
|
-
```json
|
|
128
|
-
{
|
|
129
|
-
"stage_id": "3PJ8PZhZZa1eEdd2DtPNtVup"
|
|
130
|
-
}
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
### Example Usage
|
|
134
|
-
|
|
135
|
-
<!-- UsageSnippet language="typescript" operationID="PutAtsApplicationsApplicationIdStage" method="put" path="/ats/applications/{application_id}/stage" -->
|
|
136
|
-
```typescript
|
|
137
|
-
import { Kombo } from "@kombo-api/sdk";
|
|
138
|
-
|
|
139
|
-
const kombo = new Kombo({
|
|
140
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
141
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
142
|
-
});
|
|
143
|
-
|
|
144
|
-
async function run() {
|
|
145
|
-
const result = await kombo.ats.moveApplicationToStage({
|
|
146
|
-
application_id: "GRKdd9dibYKKCrmGRSMJf3wu",
|
|
147
|
-
put_ats_applications_application_id_stage_request_body: {
|
|
148
|
-
stage_id: "3PJ8PZhZZa1eEdd2DtPNtVup",
|
|
149
|
-
},
|
|
150
|
-
});
|
|
151
|
-
|
|
152
|
-
console.log(result);
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
run();
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
### Standalone function
|
|
159
|
-
|
|
160
|
-
The standalone function version of this method:
|
|
161
|
-
|
|
162
|
-
```typescript
|
|
163
|
-
import { KomboCore } from "@kombo-api/sdk/core.js";
|
|
164
|
-
import { atsMoveApplicationToStage } from "@kombo-api/sdk/funcs/atsMoveApplicationToStage.js";
|
|
165
|
-
|
|
166
|
-
// Use `KomboCore` for best tree-shaking performance.
|
|
167
|
-
// You can create one instance of it to use across an application.
|
|
168
|
-
const kombo = new KomboCore({
|
|
169
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
170
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
171
|
-
});
|
|
172
|
-
|
|
173
|
-
async function run() {
|
|
174
|
-
const res = await atsMoveApplicationToStage(kombo, {
|
|
175
|
-
application_id: "GRKdd9dibYKKCrmGRSMJf3wu",
|
|
176
|
-
put_ats_applications_application_id_stage_request_body: {
|
|
177
|
-
stage_id: "3PJ8PZhZZa1eEdd2DtPNtVup",
|
|
178
|
-
},
|
|
179
|
-
});
|
|
180
|
-
if (res.ok) {
|
|
181
|
-
const { value: result } = res;
|
|
182
|
-
console.log(result);
|
|
183
|
-
} else {
|
|
184
|
-
console.log("atsMoveApplicationToStage failed:", res.error);
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
run();
|
|
189
|
-
```
|
|
190
|
-
|
|
191
|
-
### Parameters
|
|
192
|
-
|
|
193
|
-
| Parameter | Type | Required | Description |
|
|
194
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
195
|
-
| `request` | [operations.PutAtsApplicationsApplicationIdStageRequest](../../models/operations/putatsapplicationsapplicationidstagerequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
196
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
197
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
198
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
199
|
-
|
|
200
|
-
### Response
|
|
201
|
-
|
|
202
|
-
**Promise\<[models.PutAtsApplicationsApplicationIdStagePositiveResponse](../../models/putatsapplicationsapplicationidstagepositiveresponse.md)\>**
|
|
203
|
-
|
|
204
|
-
### Errors
|
|
205
|
-
|
|
206
|
-
| Error Type | Status Code | Content Type |
|
|
207
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
208
|
-
| errors.KomboAtsError | default | application/json |
|
|
209
|
-
| errors.KomboDefaultError | 4XX, 5XX | \*/\* |
|
|
210
|
-
|
|
211
|
-
## addApplicationResultLink
|
|
212
|
-
|
|
213
|
-
Add a result link to an application.
|
|
214
|
-
|
|
215
|
-
This can, for example, be used to link a candidate back to a test result/assessment in your application. As not all ATS tools have a "result link" feature, we sometimes repurpose other fields to expose it.
|
|
216
|
-
|
|
217
|
-
<Note>
|
|
218
|
-
This endpoint requires the permission **Add result links** to be enabled in [your scope config](/scopes).
|
|
219
|
-
</Note>
|
|
220
|
-
|
|
221
|
-
### Example Request Body
|
|
222
|
-
|
|
223
|
-
```json
|
|
224
|
-
{
|
|
225
|
-
"application_id": "8Xi6iZrwusZqJmDGXs49GBmJ",
|
|
226
|
-
"label": "Assessment Result",
|
|
227
|
-
"url": "https://example.com/test-results/5BtP1WC1UboS7CF3yxjKcvjG",
|
|
228
|
-
"details": {
|
|
229
|
-
"custom_field_name_prefix": "Acme:",
|
|
230
|
-
"attributes": [
|
|
231
|
-
{
|
|
232
|
-
"key": "Score",
|
|
233
|
-
"value": "100%"
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
"key": "Time",
|
|
237
|
-
"value": "2:30h"
|
|
238
|
-
}
|
|
239
|
-
]
|
|
240
|
-
},
|
|
241
|
-
"remote_fields": {}
|
|
242
|
-
}
|
|
243
|
-
```
|
|
244
|
-
|
|
245
|
-
### Example Usage
|
|
246
|
-
|
|
247
|
-
<!-- UsageSnippet language="typescript" operationID="PostAtsApplicationsApplicationIdResultLinks" method="post" path="/ats/applications/{application_id}/result-links" -->
|
|
248
|
-
```typescript
|
|
249
|
-
import { Kombo } from "@kombo-api/sdk";
|
|
250
|
-
|
|
251
|
-
const kombo = new Kombo({
|
|
252
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
253
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
254
|
-
});
|
|
255
|
-
|
|
256
|
-
async function run() {
|
|
257
|
-
const result = await kombo.ats.addApplicationResultLink({
|
|
258
|
-
application_id: "8Xi6iZrwusZqJmDGXs49GBmJ",
|
|
259
|
-
post_ats_applications_application_id_result_links_request_body: {
|
|
260
|
-
label: "Assessment Result",
|
|
261
|
-
url: "https://example.com/test-results/5BtP1WC1UboS7CF3yxjKcvjG",
|
|
262
|
-
details: {
|
|
263
|
-
custom_field_name_prefix: "Acme:",
|
|
264
|
-
attributes: [
|
|
265
|
-
{
|
|
266
|
-
key: "Score",
|
|
267
|
-
value: "100%",
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
key: "Time",
|
|
271
|
-
value: "2:30h",
|
|
272
|
-
},
|
|
273
|
-
],
|
|
274
|
-
},
|
|
275
|
-
},
|
|
276
|
-
});
|
|
277
|
-
|
|
278
|
-
console.log(result);
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
run();
|
|
282
|
-
```
|
|
283
|
-
|
|
284
|
-
### Standalone function
|
|
285
|
-
|
|
286
|
-
The standalone function version of this method:
|
|
287
|
-
|
|
288
|
-
```typescript
|
|
289
|
-
import { KomboCore } from "@kombo-api/sdk/core.js";
|
|
290
|
-
import { atsAddApplicationResultLink } from "@kombo-api/sdk/funcs/atsAddApplicationResultLink.js";
|
|
291
|
-
|
|
292
|
-
// Use `KomboCore` for best tree-shaking performance.
|
|
293
|
-
// You can create one instance of it to use across an application.
|
|
294
|
-
const kombo = new KomboCore({
|
|
295
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
296
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
297
|
-
});
|
|
298
|
-
|
|
299
|
-
async function run() {
|
|
300
|
-
const res = await atsAddApplicationResultLink(kombo, {
|
|
301
|
-
application_id: "8Xi6iZrwusZqJmDGXs49GBmJ",
|
|
302
|
-
post_ats_applications_application_id_result_links_request_body: {
|
|
303
|
-
label: "Assessment Result",
|
|
304
|
-
url: "https://example.com/test-results/5BtP1WC1UboS7CF3yxjKcvjG",
|
|
305
|
-
details: {
|
|
306
|
-
custom_field_name_prefix: "Acme:",
|
|
307
|
-
attributes: [
|
|
308
|
-
{
|
|
309
|
-
key: "Score",
|
|
310
|
-
value: "100%",
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
key: "Time",
|
|
314
|
-
value: "2:30h",
|
|
315
|
-
},
|
|
316
|
-
],
|
|
317
|
-
},
|
|
318
|
-
},
|
|
319
|
-
});
|
|
320
|
-
if (res.ok) {
|
|
321
|
-
const { value: result } = res;
|
|
322
|
-
console.log(result);
|
|
323
|
-
} else {
|
|
324
|
-
console.log("atsAddApplicationResultLink failed:", res.error);
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
run();
|
|
329
|
-
```
|
|
330
|
-
|
|
331
|
-
### Parameters
|
|
332
|
-
|
|
333
|
-
| Parameter | Type | Required | Description |
|
|
334
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
335
|
-
| `request` | [operations.PostAtsApplicationsApplicationIdResultLinksRequest](../../models/operations/postatsapplicationsapplicationidresultlinksrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
336
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
337
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
338
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
339
|
-
|
|
340
|
-
### Response
|
|
341
|
-
|
|
342
|
-
**Promise\<[models.PostAtsApplicationsApplicationIdResultLinksPositiveResponse](../../models/postatsapplicationsapplicationidresultlinkspositiveresponse.md)\>**
|
|
343
|
-
|
|
344
|
-
### Errors
|
|
345
|
-
|
|
346
|
-
| Error Type | Status Code | Content Type |
|
|
347
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
348
|
-
| errors.KomboAtsError | default | application/json |
|
|
349
|
-
| errors.KomboDefaultError | 4XX, 5XX | \*/\* |
|
|
350
|
-
|
|
351
|
-
## addApplicationNote
|
|
352
|
-
|
|
353
|
-
Add a note to an application.
|
|
354
|
-
|
|
355
|
-
Add extra information to an application. This can be any extra text information you want to add to an application.
|
|
356
|
-
|
|
357
|
-
<Note>
|
|
358
|
-
This endpoint requires the permission **Add notes** to be enabled in [your scope config](/scopes).
|
|
359
|
-
</Note>
|
|
360
|
-
|
|
361
|
-
### Example Request Body
|
|
362
|
-
|
|
363
|
-
```json
|
|
364
|
-
{
|
|
365
|
-
"content": "A new message from the candidate is available in YourChat!",
|
|
366
|
-
"content_type": "PLAIN_TEXT",
|
|
367
|
-
"remote_fields": {}
|
|
368
|
-
}
|
|
369
|
-
```
|
|
370
|
-
|
|
371
|
-
### Example Usage
|
|
372
|
-
|
|
373
|
-
<!-- UsageSnippet language="typescript" operationID="PostAtsApplicationsApplicationIdNotes" method="post" path="/ats/applications/{application_id}/notes" -->
|
|
374
|
-
```typescript
|
|
375
|
-
import { Kombo } from "@kombo-api/sdk";
|
|
376
|
-
|
|
377
|
-
const kombo = new Kombo({
|
|
378
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
379
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
380
|
-
});
|
|
381
|
-
|
|
382
|
-
async function run() {
|
|
383
|
-
const result = await kombo.ats.addApplicationNote({
|
|
384
|
-
application_id: "8Xi6iZrwusZqJmDGXs49GBmJ",
|
|
385
|
-
post_ats_applications_application_id_notes_request_body: {
|
|
386
|
-
content: "A new message from the candidate is available in YourChat!",
|
|
387
|
-
content_type: "PLAIN_TEXT",
|
|
388
|
-
},
|
|
389
|
-
});
|
|
390
|
-
|
|
391
|
-
console.log(result);
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
run();
|
|
395
|
-
```
|
|
396
|
-
|
|
397
|
-
### Standalone function
|
|
398
|
-
|
|
399
|
-
The standalone function version of this method:
|
|
400
|
-
|
|
401
|
-
```typescript
|
|
402
|
-
import { KomboCore } from "@kombo-api/sdk/core.js";
|
|
403
|
-
import { atsAddApplicationNote } from "@kombo-api/sdk/funcs/atsAddApplicationNote.js";
|
|
404
|
-
|
|
405
|
-
// Use `KomboCore` for best tree-shaking performance.
|
|
406
|
-
// You can create one instance of it to use across an application.
|
|
407
|
-
const kombo = new KomboCore({
|
|
408
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
409
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
410
|
-
});
|
|
411
|
-
|
|
412
|
-
async function run() {
|
|
413
|
-
const res = await atsAddApplicationNote(kombo, {
|
|
414
|
-
application_id: "8Xi6iZrwusZqJmDGXs49GBmJ",
|
|
415
|
-
post_ats_applications_application_id_notes_request_body: {
|
|
416
|
-
content: "A new message from the candidate is available in YourChat!",
|
|
417
|
-
content_type: "PLAIN_TEXT",
|
|
418
|
-
},
|
|
419
|
-
});
|
|
420
|
-
if (res.ok) {
|
|
421
|
-
const { value: result } = res;
|
|
422
|
-
console.log(result);
|
|
423
|
-
} else {
|
|
424
|
-
console.log("atsAddApplicationNote failed:", res.error);
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
run();
|
|
429
|
-
```
|
|
430
|
-
|
|
431
|
-
### Parameters
|
|
432
|
-
|
|
433
|
-
| Parameter | Type | Required | Description |
|
|
434
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
435
|
-
| `request` | [operations.PostAtsApplicationsApplicationIdNotesRequest](../../models/operations/postatsapplicationsapplicationidnotesrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
436
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
437
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
438
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
439
|
-
|
|
440
|
-
### Response
|
|
441
|
-
|
|
442
|
-
**Promise\<[models.PostAtsApplicationsApplicationIdNotesPositiveResponse](../../models/postatsapplicationsapplicationidnotespositiveresponse.md)\>**
|
|
443
|
-
|
|
444
|
-
### Errors
|
|
445
|
-
|
|
446
|
-
| Error Type | Status Code | Content Type |
|
|
447
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
448
|
-
| errors.KomboAtsError | default | application/json |
|
|
449
|
-
| errors.KomboDefaultError | 4XX, 5XX | \*/\* |
|
|
450
|
-
|
|
451
|
-
## getApplicationAttachments
|
|
452
|
-
|
|
453
|
-
Get attachments from a candidate or application.
|
|
454
|
-
|
|
455
|
-
Get attachments from an application. If the ATS stores the attachments on the candidate, it will get the attachments from the corresponding candidate instead.
|
|
456
|
-
|
|
457
|
-
<Note>
|
|
458
|
-
This endpoint requires the permission **Read document attachments** to be enabled in [your scope config](/scopes).
|
|
459
|
-
</Note>
|
|
460
|
-
|
|
461
|
-
### Example Usage
|
|
462
|
-
|
|
463
|
-
<!-- UsageSnippet language="typescript" operationID="GetAtsApplicationsApplicationIdAttachments" method="get" path="/ats/applications/{application_id}/attachments" -->
|
|
464
|
-
```typescript
|
|
465
|
-
import { Kombo } from "@kombo-api/sdk";
|
|
466
|
-
|
|
467
|
-
const kombo = new Kombo({
|
|
468
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
469
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
470
|
-
});
|
|
471
|
-
|
|
472
|
-
async function run() {
|
|
473
|
-
const result = await kombo.ats.getApplicationAttachments({
|
|
474
|
-
application_id: "8Xi6iZrwusZqJmDGXs49GBmJ",
|
|
475
|
-
});
|
|
476
|
-
|
|
477
|
-
console.log(result);
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
run();
|
|
481
|
-
```
|
|
482
|
-
|
|
483
|
-
### Standalone function
|
|
484
|
-
|
|
485
|
-
The standalone function version of this method:
|
|
486
|
-
|
|
487
|
-
```typescript
|
|
488
|
-
import { KomboCore } from "@kombo-api/sdk/core.js";
|
|
489
|
-
import { atsGetApplicationAttachments } from "@kombo-api/sdk/funcs/atsGetApplicationAttachments.js";
|
|
490
|
-
|
|
491
|
-
// Use `KomboCore` for best tree-shaking performance.
|
|
492
|
-
// You can create one instance of it to use across an application.
|
|
493
|
-
const kombo = new KomboCore({
|
|
494
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
495
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
496
|
-
});
|
|
497
|
-
|
|
498
|
-
async function run() {
|
|
499
|
-
const res = await atsGetApplicationAttachments(kombo, {
|
|
500
|
-
application_id: "8Xi6iZrwusZqJmDGXs49GBmJ",
|
|
501
|
-
});
|
|
502
|
-
if (res.ok) {
|
|
503
|
-
const { value: result } = res;
|
|
504
|
-
console.log(result);
|
|
505
|
-
} else {
|
|
506
|
-
console.log("atsGetApplicationAttachments failed:", res.error);
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
run();
|
|
511
|
-
```
|
|
512
|
-
|
|
513
|
-
### Parameters
|
|
514
|
-
|
|
515
|
-
| Parameter | Type | Required | Description |
|
|
516
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
517
|
-
| `request` | [operations.GetAtsApplicationsApplicationIdAttachmentsRequest](../../models/operations/getatsapplicationsapplicationidattachmentsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
518
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
519
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
520
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
521
|
-
|
|
522
|
-
### Response
|
|
523
|
-
|
|
524
|
-
**Promise\<[models.GetAtsApplicationsApplicationIdAttachmentsPositiveResponse](../../models/getatsapplicationsapplicationidattachmentspositiveresponse.md)\>**
|
|
525
|
-
|
|
526
|
-
### Errors
|
|
527
|
-
|
|
528
|
-
| Error Type | Status Code | Content Type |
|
|
529
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
530
|
-
| errors.KomboAtsError | default | application/json |
|
|
531
|
-
| errors.KomboDefaultError | 4XX, 5XX | \*/\* |
|
|
532
|
-
|
|
533
|
-
## addApplicationAttachment
|
|
534
|
-
|
|
535
|
-
Uploads an attachment file for the specified applicant.
|
|
536
|
-
|
|
537
|
-
<Warning>
|
|
538
|
-
If adding an attachment to an application is not supported by the integration, the attachment will be [added to the candidate](/ats/v1/post-candidates-candidate-id-attachments) instead.
|
|
539
|
-
</Warning>
|
|
540
|
-
|
|
541
|
-
<Note>
|
|
542
|
-
This endpoint requires the permission **Add attachments** to be enabled in [your scope config](/scopes).
|
|
543
|
-
</Note>
|
|
544
|
-
|
|
545
|
-
### Example Request Body
|
|
546
|
-
|
|
547
|
-
```json
|
|
548
|
-
{
|
|
549
|
-
"application_id": "GRKdd9dibYKKCrmGRSMJf3wu",
|
|
550
|
-
"attachment": {
|
|
551
|
-
"name": "Frank Doe CV.txt",
|
|
552
|
-
"data": "SGkgdGhlcmUsIEtvbWJvIGlzIGN1cnJlbnRseSBoaXJpbmcgZW5naW5lZXJzIHRoYXQgbG92ZSB0byB3b3JrIG9uIGRldmVsb3BlciBwcm9kdWN0cy4=",
|
|
553
|
-
"type": "CV",
|
|
554
|
-
"content_type": "text/plain"
|
|
555
|
-
},
|
|
556
|
-
"remote_fields": {}
|
|
557
|
-
}
|
|
558
|
-
```
|
|
559
|
-
|
|
560
|
-
### Example Usage
|
|
561
|
-
|
|
562
|
-
<!-- UsageSnippet language="typescript" operationID="PostAtsApplicationsApplicationIdAttachments" method="post" path="/ats/applications/{application_id}/attachments" -->
|
|
563
|
-
```typescript
|
|
564
|
-
import { Kombo } from "@kombo-api/sdk";
|
|
565
|
-
|
|
566
|
-
const kombo = new Kombo({
|
|
567
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
568
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
569
|
-
});
|
|
570
|
-
|
|
571
|
-
async function run() {
|
|
572
|
-
const result = await kombo.ats.addApplicationAttachment({
|
|
573
|
-
application_id: "GRKdd9dibYKKCrmGRSMJf3wu",
|
|
574
|
-
post_ats_applications_application_id_attachments_request_body: {
|
|
575
|
-
attachment: {
|
|
576
|
-
name: "Frank Doe CV.txt",
|
|
577
|
-
content_type: "text/plain",
|
|
578
|
-
data: "SGkgdGhlcmUsIEtvbWJvIGlzIGN1cnJlbnRseSBoaXJpbmcgZW5naW5lZXJzIHRoYXQgbG92ZSB0byB3b3JrIG9uIGRldmVsb3BlciBwcm9kdWN0cy4=",
|
|
579
|
-
type: "CV",
|
|
580
|
-
},
|
|
581
|
-
},
|
|
582
|
-
});
|
|
583
|
-
|
|
584
|
-
console.log(result);
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
run();
|
|
588
|
-
```
|
|
589
|
-
|
|
590
|
-
### Standalone function
|
|
591
|
-
|
|
592
|
-
The standalone function version of this method:
|
|
593
|
-
|
|
594
|
-
```typescript
|
|
595
|
-
import { KomboCore } from "@kombo-api/sdk/core.js";
|
|
596
|
-
import { atsAddApplicationAttachment } from "@kombo-api/sdk/funcs/atsAddApplicationAttachment.js";
|
|
597
|
-
|
|
598
|
-
// Use `KomboCore` for best tree-shaking performance.
|
|
599
|
-
// You can create one instance of it to use across an application.
|
|
600
|
-
const kombo = new KomboCore({
|
|
601
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
602
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
603
|
-
});
|
|
604
|
-
|
|
605
|
-
async function run() {
|
|
606
|
-
const res = await atsAddApplicationAttachment(kombo, {
|
|
607
|
-
application_id: "GRKdd9dibYKKCrmGRSMJf3wu",
|
|
608
|
-
post_ats_applications_application_id_attachments_request_body: {
|
|
609
|
-
attachment: {
|
|
610
|
-
name: "Frank Doe CV.txt",
|
|
611
|
-
content_type: "text/plain",
|
|
612
|
-
data: "SGkgdGhlcmUsIEtvbWJvIGlzIGN1cnJlbnRseSBoaXJpbmcgZW5naW5lZXJzIHRoYXQgbG92ZSB0byB3b3JrIG9uIGRldmVsb3BlciBwcm9kdWN0cy4=",
|
|
613
|
-
type: "CV",
|
|
614
|
-
},
|
|
615
|
-
},
|
|
616
|
-
});
|
|
617
|
-
if (res.ok) {
|
|
618
|
-
const { value: result } = res;
|
|
619
|
-
console.log(result);
|
|
620
|
-
} else {
|
|
621
|
-
console.log("atsAddApplicationAttachment failed:", res.error);
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
run();
|
|
626
|
-
```
|
|
627
|
-
|
|
628
|
-
### Parameters
|
|
629
|
-
|
|
630
|
-
| Parameter | Type | Required | Description |
|
|
631
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
632
|
-
| `request` | [operations.PostAtsApplicationsApplicationIdAttachmentsRequest](../../models/operations/postatsapplicationsapplicationidattachmentsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
633
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
634
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
635
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
636
|
-
|
|
637
|
-
### Response
|
|
638
|
-
|
|
639
|
-
**Promise\<[models.PostAtsApplicationsApplicationIdAttachmentsPositiveResponse](../../models/postatsapplicationsapplicationidattachmentspositiveresponse.md)\>**
|
|
640
|
-
|
|
641
|
-
### Errors
|
|
642
|
-
|
|
643
|
-
| Error Type | Status Code | Content Type |
|
|
644
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
645
|
-
| errors.KomboAtsError | default | application/json |
|
|
646
|
-
| errors.KomboDefaultError | 4XX, 5XX | \*/\* |
|
|
647
|
-
|
|
648
|
-
## rejectApplication
|
|
649
|
-
|
|
650
|
-
Rejects an application with a provided reason.
|
|
651
|
-
|
|
652
|
-
Rejects an application with a provided reason. Optionally, you can provide a free text note. You can get the list of rejection reasons with our [Get rejection reasons endpoint](/ats/v1/get-rejection-reasons).
|
|
653
|
-
|
|
654
|
-
<Note>
|
|
655
|
-
This endpoint requires the permission **Reject applications** to be enabled in [your scope config](/scopes).
|
|
656
|
-
</Note>
|
|
657
|
-
|
|
658
|
-
### Example Request Body
|
|
659
|
-
|
|
660
|
-
```json
|
|
661
|
-
{
|
|
662
|
-
"rejection_reason_id": "3PJ8PZhZZa1eEdd2DtPNtVup",
|
|
663
|
-
"note": "Candidate was a great culture fit but didn't bring the hard skills we need.",
|
|
664
|
-
"remote_fields": {}
|
|
665
|
-
}
|
|
666
|
-
```
|
|
667
|
-
|
|
668
|
-
### Example Usage
|
|
669
|
-
|
|
670
|
-
<!-- UsageSnippet language="typescript" operationID="PostAtsApplicationsApplicationIdReject" method="post" path="/ats/applications/{application_id}/reject" -->
|
|
671
|
-
```typescript
|
|
672
|
-
import { Kombo } from "@kombo-api/sdk";
|
|
673
|
-
|
|
674
|
-
const kombo = new Kombo({
|
|
675
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
676
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
677
|
-
});
|
|
678
|
-
|
|
679
|
-
async function run() {
|
|
680
|
-
const result = await kombo.ats.rejectApplication({
|
|
681
|
-
application_id: "GRKdd9dibYKKCrmGRSMJf3wu",
|
|
682
|
-
post_ats_applications_application_id_reject_request_body: {
|
|
683
|
-
rejection_reason_id: "3PJ8PZhZZa1eEdd2DtPNtVup",
|
|
684
|
-
note: "Candidate was a great culture fit but didn't bring the hard skills we need.",
|
|
685
|
-
},
|
|
686
|
-
});
|
|
687
|
-
|
|
688
|
-
console.log(result);
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
run();
|
|
692
|
-
```
|
|
693
|
-
|
|
694
|
-
### Standalone function
|
|
695
|
-
|
|
696
|
-
The standalone function version of this method:
|
|
697
|
-
|
|
698
|
-
```typescript
|
|
699
|
-
import { KomboCore } from "@kombo-api/sdk/core.js";
|
|
700
|
-
import { atsRejectApplication } from "@kombo-api/sdk/funcs/atsRejectApplication.js";
|
|
701
|
-
|
|
702
|
-
// Use `KomboCore` for best tree-shaking performance.
|
|
703
|
-
// You can create one instance of it to use across an application.
|
|
704
|
-
const kombo = new KomboCore({
|
|
705
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
706
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
707
|
-
});
|
|
708
|
-
|
|
709
|
-
async function run() {
|
|
710
|
-
const res = await atsRejectApplication(kombo, {
|
|
711
|
-
application_id: "GRKdd9dibYKKCrmGRSMJf3wu",
|
|
712
|
-
post_ats_applications_application_id_reject_request_body: {
|
|
713
|
-
rejection_reason_id: "3PJ8PZhZZa1eEdd2DtPNtVup",
|
|
714
|
-
note: "Candidate was a great culture fit but didn't bring the hard skills we need.",
|
|
715
|
-
},
|
|
716
|
-
});
|
|
717
|
-
if (res.ok) {
|
|
718
|
-
const { value: result } = res;
|
|
719
|
-
console.log(result);
|
|
720
|
-
} else {
|
|
721
|
-
console.log("atsRejectApplication failed:", res.error);
|
|
722
|
-
}
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
run();
|
|
726
|
-
```
|
|
727
|
-
|
|
728
|
-
### Parameters
|
|
729
|
-
|
|
730
|
-
| Parameter | Type | Required | Description |
|
|
731
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
732
|
-
| `request` | [operations.PostAtsApplicationsApplicationIdRejectRequest](../../models/operations/postatsapplicationsapplicationidrejectrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
733
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
734
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
735
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
736
|
-
|
|
737
|
-
### Response
|
|
738
|
-
|
|
739
|
-
**Promise\<[models.PostAtsApplicationsApplicationIdRejectPositiveResponse](../../models/postatsapplicationsapplicationidrejectpositiveresponse.md)\>**
|
|
740
|
-
|
|
741
|
-
### Errors
|
|
742
|
-
|
|
743
|
-
| Error Type | Status Code | Content Type |
|
|
744
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
745
|
-
| errors.KomboAtsError | default | application/json |
|
|
746
|
-
| errors.KomboDefaultError | 4XX, 5XX | \*/\* |
|
|
747
|
-
|
|
748
|
-
## getCandidates
|
|
749
|
-
|
|
750
|
-
Retrieve all candidates.
|
|
751
|
-
|
|
752
|
-
Top level filters use AND, while individual filters use OR if they accept multiple arguments. That means filters will be resolved like this: `(id IN ids) AND (remote_id IN remote_ids)`
|
|
753
|
-
|
|
754
|
-
### Example Usage
|
|
755
|
-
|
|
756
|
-
<!-- UsageSnippet language="typescript" operationID="GetAtsCandidates" method="get" path="/ats/candidates" -->
|
|
757
|
-
```typescript
|
|
758
|
-
import { Kombo } from "@kombo-api/sdk";
|
|
759
|
-
|
|
760
|
-
const kombo = new Kombo({
|
|
761
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
762
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
763
|
-
});
|
|
764
|
-
|
|
765
|
-
async function run() {
|
|
766
|
-
const result = await kombo.ats.getCandidates({});
|
|
767
|
-
|
|
768
|
-
for await (const page of result) {
|
|
769
|
-
console.log(page);
|
|
770
|
-
}
|
|
771
|
-
}
|
|
772
|
-
|
|
773
|
-
run();
|
|
774
|
-
```
|
|
775
|
-
|
|
776
|
-
### Standalone function
|
|
777
|
-
|
|
778
|
-
The standalone function version of this method:
|
|
779
|
-
|
|
780
|
-
```typescript
|
|
781
|
-
import { KomboCore } from "@kombo-api/sdk/core.js";
|
|
782
|
-
import { atsGetCandidates } from "@kombo-api/sdk/funcs/atsGetCandidates.js";
|
|
783
|
-
|
|
784
|
-
// Use `KomboCore` for best tree-shaking performance.
|
|
785
|
-
// You can create one instance of it to use across an application.
|
|
786
|
-
const kombo = new KomboCore({
|
|
787
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
788
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
789
|
-
});
|
|
790
|
-
|
|
791
|
-
async function run() {
|
|
792
|
-
const res = await atsGetCandidates(kombo, {});
|
|
793
|
-
if (res.ok) {
|
|
794
|
-
const { value: result } = res;
|
|
795
|
-
for await (const page of result) {
|
|
796
|
-
console.log(page);
|
|
797
|
-
}
|
|
798
|
-
} else {
|
|
799
|
-
console.log("atsGetCandidates failed:", res.error);
|
|
800
|
-
}
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
run();
|
|
804
|
-
```
|
|
805
|
-
|
|
806
|
-
### Parameters
|
|
807
|
-
|
|
808
|
-
| Parameter | Type | Required | Description |
|
|
809
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
810
|
-
| `request` | [operations.GetAtsCandidatesRequest](../../models/operations/getatscandidatesrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
811
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
812
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
813
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
814
|
-
|
|
815
|
-
### Response
|
|
816
|
-
|
|
817
|
-
**Promise\<[operations.GetAtsCandidatesResponse](../../models/operations/getatscandidatesresponse.md)\>**
|
|
818
|
-
|
|
819
|
-
### Errors
|
|
820
|
-
|
|
821
|
-
| Error Type | Status Code | Content Type |
|
|
822
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
823
|
-
| errors.KomboAtsError | default | application/json |
|
|
824
|
-
| errors.KomboDefaultError | 4XX, 5XX | \*/\* |
|
|
825
|
-
|
|
826
|
-
## createCandidate
|
|
827
|
-
|
|
828
|
-
Create a new candidate and application for the specified job.
|
|
829
|
-
|
|
830
|
-
<Warning>
|
|
831
|
-
**We recommend using the [Create application](/ats/v1/post-jobs-job-id-applications) endpoint instead.**
|
|
832
|
-
|
|
833
|
-
We realized that in practice it was always more about creating _applications_ instead of _candidates_, so we created a new, more aptly named one that you should use instead: [Create application](/ats/v1/post-jobs-job-id-applications)
|
|
834
|
-
|
|
835
|
-
Using it also has the benefit that we return the newly created applicant at the root level, so you can easily store its ID.
|
|
836
|
-
</Warning>
|
|
837
|
-
|
|
838
|
-
<Note>
|
|
839
|
-
This endpoint requires the permission **Create applications and candidates** to be enabled in [your scope config](/scopes).
|
|
840
|
-
</Note>
|
|
841
|
-
|
|
842
|
-
### Example Request Body
|
|
843
|
-
|
|
844
|
-
```json
|
|
845
|
-
{
|
|
846
|
-
"candidate": {
|
|
847
|
-
"first_name": "Frank",
|
|
848
|
-
"last_name": "Doe",
|
|
849
|
-
"company": "Acme Inc.",
|
|
850
|
-
"title": "Head of Integrations",
|
|
851
|
-
"email_address": "frank.doe@example.com",
|
|
852
|
-
"phone_number": "+1-541-754-3010",
|
|
853
|
-
"gender": "MALE",
|
|
854
|
-
"salary_expectations": {
|
|
855
|
-
"amount": 100000,
|
|
856
|
-
"period": "YEAR"
|
|
857
|
-
},
|
|
858
|
-
"availability_date": "2021-01-01",
|
|
859
|
-
"location": {
|
|
860
|
-
"city": "New York",
|
|
861
|
-
"country": "US",
|
|
862
|
-
"state": "NY"
|
|
863
|
-
},
|
|
864
|
-
"social_links": [
|
|
865
|
-
{
|
|
866
|
-
"url": "https://www.linkedin.com/in/frank-doe-123456789/"
|
|
867
|
-
},
|
|
868
|
-
{
|
|
869
|
-
"url": "https://twitter.com/frankdoe"
|
|
870
|
-
}
|
|
871
|
-
]
|
|
872
|
-
},
|
|
873
|
-
"application": {
|
|
874
|
-
"job_id": "BDpgnpZ148nrGh4mYHNxJBgx",
|
|
875
|
-
"stage_id": "8x3YKRDcuRnwShdh96ShBNn1"
|
|
876
|
-
},
|
|
877
|
-
"attachments": [
|
|
878
|
-
{
|
|
879
|
-
"name": "Frank Doe CV.txt",
|
|
880
|
-
"data": "SGkgdGhlcmUsIEtvbWJvIGlzIGN1cnJlbnRseSBoaXJpbmcgZW5naW5lZXJzIHRoYXQgbG92ZSB0byB3b3JrIG9uIGRldmVsb3BlciBwcm9kdWN0cy4=",
|
|
881
|
-
"type": "CV",
|
|
882
|
-
"content_type": "text/plain"
|
|
883
|
-
}
|
|
884
|
-
],
|
|
885
|
-
"screening_question_answers": [
|
|
886
|
-
{
|
|
887
|
-
"question_id": "3phFBNXRweGnDmsU9o2vdPuQ",
|
|
888
|
-
"answer": "Yes"
|
|
889
|
-
},
|
|
890
|
-
{
|
|
891
|
-
"question_id": "EYJjhMQT3LtVKXnTbnRT8s6U",
|
|
892
|
-
"answer": [
|
|
893
|
-
"GUzE666zfyjeoCJX6A8n7wh6",
|
|
894
|
-
"5WPHzzKAv8cx97KtHRUV96U8",
|
|
895
|
-
"7yZfKGzWigXxxRTygqAfHvyE"
|
|
896
|
-
]
|
|
897
|
-
}
|
|
898
|
-
],
|
|
899
|
-
"remote_fields": {}
|
|
900
|
-
}
|
|
901
|
-
```
|
|
902
|
-
|
|
903
|
-
### Example Usage
|
|
904
|
-
|
|
905
|
-
<!-- UsageSnippet language="typescript" operationID="PostAtsCandidates" method="post" path="/ats/candidates" -->
|
|
906
|
-
```typescript
|
|
907
|
-
import { Kombo } from "@kombo-api/sdk";
|
|
908
|
-
|
|
909
|
-
const kombo = new Kombo({
|
|
910
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
911
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
912
|
-
});
|
|
913
|
-
|
|
914
|
-
async function run() {
|
|
915
|
-
const result = await kombo.ats.createCandidate({
|
|
916
|
-
candidate: {
|
|
917
|
-
first_name: "Frank",
|
|
918
|
-
last_name: "Doe",
|
|
919
|
-
email_address: "frank.doe@example.com",
|
|
920
|
-
company: "Acme Inc.",
|
|
921
|
-
title: "Head of Integrations",
|
|
922
|
-
phone_number: "+1-541-754-3010",
|
|
923
|
-
location: {
|
|
924
|
-
city: "New York",
|
|
925
|
-
country: "US",
|
|
926
|
-
state: "NY",
|
|
927
|
-
},
|
|
928
|
-
gender: "MALE",
|
|
929
|
-
availability_date: new Date("2021-01-01T00:00:00Z"),
|
|
930
|
-
salary_expectations: {
|
|
931
|
-
period: "YEAR",
|
|
932
|
-
amount: 100000,
|
|
933
|
-
},
|
|
934
|
-
social_links: [
|
|
935
|
-
{
|
|
936
|
-
url: "https://www.linkedin.com/in/frank-doe-123456789/",
|
|
937
|
-
},
|
|
938
|
-
{
|
|
939
|
-
url: "https://twitter.com/frankdoe",
|
|
940
|
-
},
|
|
941
|
-
],
|
|
942
|
-
},
|
|
943
|
-
application: {
|
|
944
|
-
job_id: "BDpgnpZ148nrGh4mYHNxJBgx",
|
|
945
|
-
stage_id: "8x3YKRDcuRnwShdh96ShBNn1",
|
|
946
|
-
},
|
|
947
|
-
screening_question_answers: [
|
|
948
|
-
{
|
|
949
|
-
question_id: "3phFBNXRweGnDmsU9o2vdPuQ",
|
|
950
|
-
answer: "Yes",
|
|
951
|
-
},
|
|
952
|
-
{
|
|
953
|
-
question_id: "EYJjhMQT3LtVKXnTbnRT8s6U",
|
|
954
|
-
answer: [
|
|
955
|
-
"GUzE666zfyjeoCJX6A8n7wh6",
|
|
956
|
-
"5WPHzzKAv8cx97KtHRUV96U8",
|
|
957
|
-
"7yZfKGzWigXxxRTygqAfHvyE",
|
|
958
|
-
],
|
|
959
|
-
},
|
|
960
|
-
],
|
|
961
|
-
attachments: [
|
|
962
|
-
{
|
|
963
|
-
name: "Frank Doe CV.txt",
|
|
964
|
-
content_type: "text/plain",
|
|
965
|
-
data: "SGkgdGhlcmUsIEtvbWJvIGlzIGN1cnJlbnRseSBoaXJpbmcgZW5naW5lZXJzIHRoYXQgbG92ZSB0byB3b3JrIG9uIGRldmVsb3BlciBwcm9kdWN0cy4=",
|
|
966
|
-
type: "CV",
|
|
967
|
-
},
|
|
968
|
-
],
|
|
969
|
-
});
|
|
970
|
-
|
|
971
|
-
console.log(result);
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
run();
|
|
975
|
-
```
|
|
976
|
-
|
|
977
|
-
### Standalone function
|
|
978
|
-
|
|
979
|
-
The standalone function version of this method:
|
|
980
|
-
|
|
981
|
-
```typescript
|
|
982
|
-
import { KomboCore } from "@kombo-api/sdk/core.js";
|
|
983
|
-
import { atsCreateCandidate } from "@kombo-api/sdk/funcs/atsCreateCandidate.js";
|
|
984
|
-
|
|
985
|
-
// Use `KomboCore` for best tree-shaking performance.
|
|
986
|
-
// You can create one instance of it to use across an application.
|
|
987
|
-
const kombo = new KomboCore({
|
|
988
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
989
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
990
|
-
});
|
|
991
|
-
|
|
992
|
-
async function run() {
|
|
993
|
-
const res = await atsCreateCandidate(kombo, {
|
|
994
|
-
candidate: {
|
|
995
|
-
first_name: "Frank",
|
|
996
|
-
last_name: "Doe",
|
|
997
|
-
email_address: "frank.doe@example.com",
|
|
998
|
-
company: "Acme Inc.",
|
|
999
|
-
title: "Head of Integrations",
|
|
1000
|
-
phone_number: "+1-541-754-3010",
|
|
1001
|
-
location: {
|
|
1002
|
-
city: "New York",
|
|
1003
|
-
country: "US",
|
|
1004
|
-
state: "NY",
|
|
1005
|
-
},
|
|
1006
|
-
gender: "MALE",
|
|
1007
|
-
availability_date: new Date("2021-01-01T00:00:00Z"),
|
|
1008
|
-
salary_expectations: {
|
|
1009
|
-
period: "YEAR",
|
|
1010
|
-
amount: 100000,
|
|
1011
|
-
},
|
|
1012
|
-
social_links: [
|
|
1013
|
-
{
|
|
1014
|
-
url: "https://www.linkedin.com/in/frank-doe-123456789/",
|
|
1015
|
-
},
|
|
1016
|
-
{
|
|
1017
|
-
url: "https://twitter.com/frankdoe",
|
|
1018
|
-
},
|
|
1019
|
-
],
|
|
1020
|
-
},
|
|
1021
|
-
application: {
|
|
1022
|
-
job_id: "BDpgnpZ148nrGh4mYHNxJBgx",
|
|
1023
|
-
stage_id: "8x3YKRDcuRnwShdh96ShBNn1",
|
|
1024
|
-
},
|
|
1025
|
-
screening_question_answers: [
|
|
1026
|
-
{
|
|
1027
|
-
question_id: "3phFBNXRweGnDmsU9o2vdPuQ",
|
|
1028
|
-
answer: "Yes",
|
|
1029
|
-
},
|
|
1030
|
-
{
|
|
1031
|
-
question_id: "EYJjhMQT3LtVKXnTbnRT8s6U",
|
|
1032
|
-
answer: [
|
|
1033
|
-
"GUzE666zfyjeoCJX6A8n7wh6",
|
|
1034
|
-
"5WPHzzKAv8cx97KtHRUV96U8",
|
|
1035
|
-
"7yZfKGzWigXxxRTygqAfHvyE",
|
|
1036
|
-
],
|
|
1037
|
-
},
|
|
1038
|
-
],
|
|
1039
|
-
attachments: [
|
|
1040
|
-
{
|
|
1041
|
-
name: "Frank Doe CV.txt",
|
|
1042
|
-
content_type: "text/plain",
|
|
1043
|
-
data: "SGkgdGhlcmUsIEtvbWJvIGlzIGN1cnJlbnRseSBoaXJpbmcgZW5naW5lZXJzIHRoYXQgbG92ZSB0byB3b3JrIG9uIGRldmVsb3BlciBwcm9kdWN0cy4=",
|
|
1044
|
-
type: "CV",
|
|
1045
|
-
},
|
|
1046
|
-
],
|
|
1047
|
-
});
|
|
1048
|
-
if (res.ok) {
|
|
1049
|
-
const { value: result } = res;
|
|
1050
|
-
console.log(result);
|
|
1051
|
-
} else {
|
|
1052
|
-
console.log("atsCreateCandidate failed:", res.error);
|
|
1053
|
-
}
|
|
1054
|
-
}
|
|
1055
|
-
|
|
1056
|
-
run();
|
|
1057
|
-
```
|
|
1058
|
-
|
|
1059
|
-
### Parameters
|
|
1060
|
-
|
|
1061
|
-
| Parameter | Type | Required | Description |
|
|
1062
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1063
|
-
| `request` | [models.PostAtsCandidatesRequestBody](../../models/postatscandidatesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1064
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1065
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
1066
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1067
|
-
|
|
1068
|
-
### Response
|
|
1069
|
-
|
|
1070
|
-
**Promise\<[models.PostAtsCandidatesPositiveResponse](../../models/postatscandidatespositiveresponse.md)\>**
|
|
1071
|
-
|
|
1072
|
-
### Errors
|
|
1073
|
-
|
|
1074
|
-
| Error Type | Status Code | Content Type |
|
|
1075
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1076
|
-
| errors.KomboAtsError | default | application/json |
|
|
1077
|
-
| errors.KomboDefaultError | 4XX, 5XX | \*/\* |
|
|
1078
|
-
|
|
1079
|
-
## getCandidateAttachments
|
|
1080
|
-
|
|
1081
|
-
Get attachments from a candidate, including all attachments of all of their applications.
|
|
1082
|
-
|
|
1083
|
-
<Note>
|
|
1084
|
-
This endpoint requires the permission **Read document attachments** to be enabled in [your scope config](/scopes).
|
|
1085
|
-
</Note>
|
|
1086
|
-
|
|
1087
|
-
### Example Usage
|
|
1088
|
-
|
|
1089
|
-
<!-- UsageSnippet language="typescript" operationID="GetAtsCandidatesCandidateIdAttachments" method="get" path="/ats/candidates/{candidate_id}/attachments" -->
|
|
1090
|
-
```typescript
|
|
1091
|
-
import { Kombo } from "@kombo-api/sdk";
|
|
1092
|
-
|
|
1093
|
-
const kombo = new Kombo({
|
|
1094
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
1095
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1096
|
-
});
|
|
1097
|
-
|
|
1098
|
-
async function run() {
|
|
1099
|
-
const result = await kombo.ats.getCandidateAttachments({
|
|
1100
|
-
candidate_id: "8Xi6iZrwusZqJmDGXs49GBmJ",
|
|
1101
|
-
});
|
|
1102
|
-
|
|
1103
|
-
console.log(result);
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
|
-
run();
|
|
1107
|
-
```
|
|
1108
|
-
|
|
1109
|
-
### Standalone function
|
|
1110
|
-
|
|
1111
|
-
The standalone function version of this method:
|
|
1112
|
-
|
|
1113
|
-
```typescript
|
|
1114
|
-
import { KomboCore } from "@kombo-api/sdk/core.js";
|
|
1115
|
-
import { atsGetCandidateAttachments } from "@kombo-api/sdk/funcs/atsGetCandidateAttachments.js";
|
|
1116
|
-
|
|
1117
|
-
// Use `KomboCore` for best tree-shaking performance.
|
|
1118
|
-
// You can create one instance of it to use across an application.
|
|
1119
|
-
const kombo = new KomboCore({
|
|
1120
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
1121
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1122
|
-
});
|
|
1123
|
-
|
|
1124
|
-
async function run() {
|
|
1125
|
-
const res = await atsGetCandidateAttachments(kombo, {
|
|
1126
|
-
candidate_id: "8Xi6iZrwusZqJmDGXs49GBmJ",
|
|
1127
|
-
});
|
|
1128
|
-
if (res.ok) {
|
|
1129
|
-
const { value: result } = res;
|
|
1130
|
-
console.log(result);
|
|
1131
|
-
} else {
|
|
1132
|
-
console.log("atsGetCandidateAttachments failed:", res.error);
|
|
1133
|
-
}
|
|
1134
|
-
}
|
|
1135
|
-
|
|
1136
|
-
run();
|
|
1137
|
-
```
|
|
1138
|
-
|
|
1139
|
-
### Parameters
|
|
1140
|
-
|
|
1141
|
-
| Parameter | Type | Required | Description |
|
|
1142
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1143
|
-
| `request` | [operations.GetAtsCandidatesCandidateIdAttachmentsRequest](../../models/operations/getatscandidatescandidateidattachmentsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1144
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1145
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
1146
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1147
|
-
|
|
1148
|
-
### Response
|
|
1149
|
-
|
|
1150
|
-
**Promise\<[models.GetAtsCandidatesCandidateIdAttachmentsPositiveResponse](../../models/getatscandidatescandidateidattachmentspositiveresponse.md)\>**
|
|
1151
|
-
|
|
1152
|
-
### Errors
|
|
1153
|
-
|
|
1154
|
-
| Error Type | Status Code | Content Type |
|
|
1155
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1156
|
-
| errors.KomboAtsError | default | application/json |
|
|
1157
|
-
| errors.KomboDefaultError | 4XX, 5XX | \*/\* |
|
|
1158
|
-
|
|
1159
|
-
## addCandidateAttachment
|
|
1160
|
-
|
|
1161
|
-
Uploads an attachment file for the specified candidate.
|
|
1162
|
-
|
|
1163
|
-
<Warning>
|
|
1164
|
-
**We recommend using the [add attachment to application](/ats/v1/post-applications-application-id-attachments) endpoint instead.**
|
|
1165
|
-
|
|
1166
|
-
We realized that in practice it was always more about adding attachments to _applications_ instead of _candidates_, so we created a new, more aptly named one that you should use instead: [add attachment to application](/ats/v1/post-applications-application-id-attachments)
|
|
1167
|
-
</Warning>
|
|
1168
|
-
|
|
1169
|
-
<Note>
|
|
1170
|
-
This endpoint requires the permission **Add attachments** to be enabled in [your scope config](/scopes).
|
|
1171
|
-
</Note>
|
|
1172
|
-
|
|
1173
|
-
### Example Request Body
|
|
1174
|
-
|
|
1175
|
-
```json
|
|
1176
|
-
{
|
|
1177
|
-
"candidate_id": "GRKdd9dibYKKCrmGRSMJf3wu",
|
|
1178
|
-
"attachment": {
|
|
1179
|
-
"name": "Frank Doe CV.txt",
|
|
1180
|
-
"data": "SGkgdGhlcmUsIEtvbWJvIGlzIGN1cnJlbnRseSBoaXJpbmcgZW5naW5lZXJzIHRoYXQgbG92ZSB0byB3b3JrIG9uIGRldmVsb3BlciBwcm9kdWN0cy4=",
|
|
1181
|
-
"type": "CV",
|
|
1182
|
-
"content_type": "text/plain"
|
|
1183
|
-
}
|
|
1184
|
-
}
|
|
1185
|
-
```
|
|
1186
|
-
|
|
1187
|
-
### Example Usage
|
|
1188
|
-
|
|
1189
|
-
<!-- UsageSnippet language="typescript" operationID="PostAtsCandidatesCandidateIdAttachments" method="post" path="/ats/candidates/{candidate_id}/attachments" -->
|
|
1190
|
-
```typescript
|
|
1191
|
-
import { Kombo } from "@kombo-api/sdk";
|
|
1192
|
-
|
|
1193
|
-
const kombo = new Kombo({
|
|
1194
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
1195
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1196
|
-
});
|
|
1197
|
-
|
|
1198
|
-
async function run() {
|
|
1199
|
-
const result = await kombo.ats.addCandidateAttachment({
|
|
1200
|
-
candidate_id: "GRKdd9dibYKKCrmGRSMJf3wu",
|
|
1201
|
-
post_ats_candidates_candidate_id_attachments_request_body: {
|
|
1202
|
-
attachment: {
|
|
1203
|
-
name: "Frank Doe CV.txt",
|
|
1204
|
-
content_type: "text/plain",
|
|
1205
|
-
data: "SGkgdGhlcmUsIEtvbWJvIGlzIGN1cnJlbnRseSBoaXJpbmcgZW5naW5lZXJzIHRoYXQgbG92ZSB0byB3b3JrIG9uIGRldmVsb3BlciBwcm9kdWN0cy4=",
|
|
1206
|
-
type: "CV",
|
|
1207
|
-
},
|
|
1208
|
-
},
|
|
1209
|
-
});
|
|
1210
|
-
|
|
1211
|
-
console.log(result);
|
|
1212
|
-
}
|
|
1213
|
-
|
|
1214
|
-
run();
|
|
1215
|
-
```
|
|
1216
|
-
|
|
1217
|
-
### Standalone function
|
|
1218
|
-
|
|
1219
|
-
The standalone function version of this method:
|
|
1220
|
-
|
|
1221
|
-
```typescript
|
|
1222
|
-
import { KomboCore } from "@kombo-api/sdk/core.js";
|
|
1223
|
-
import { atsAddCandidateAttachment } from "@kombo-api/sdk/funcs/atsAddCandidateAttachment.js";
|
|
1224
|
-
|
|
1225
|
-
// Use `KomboCore` for best tree-shaking performance.
|
|
1226
|
-
// You can create one instance of it to use across an application.
|
|
1227
|
-
const kombo = new KomboCore({
|
|
1228
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
1229
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1230
|
-
});
|
|
1231
|
-
|
|
1232
|
-
async function run() {
|
|
1233
|
-
const res = await atsAddCandidateAttachment(kombo, {
|
|
1234
|
-
candidate_id: "GRKdd9dibYKKCrmGRSMJf3wu",
|
|
1235
|
-
post_ats_candidates_candidate_id_attachments_request_body: {
|
|
1236
|
-
attachment: {
|
|
1237
|
-
name: "Frank Doe CV.txt",
|
|
1238
|
-
content_type: "text/plain",
|
|
1239
|
-
data: "SGkgdGhlcmUsIEtvbWJvIGlzIGN1cnJlbnRseSBoaXJpbmcgZW5naW5lZXJzIHRoYXQgbG92ZSB0byB3b3JrIG9uIGRldmVsb3BlciBwcm9kdWN0cy4=",
|
|
1240
|
-
type: "CV",
|
|
1241
|
-
},
|
|
1242
|
-
},
|
|
1243
|
-
});
|
|
1244
|
-
if (res.ok) {
|
|
1245
|
-
const { value: result } = res;
|
|
1246
|
-
console.log(result);
|
|
1247
|
-
} else {
|
|
1248
|
-
console.log("atsAddCandidateAttachment failed:", res.error);
|
|
1249
|
-
}
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
|
-
run();
|
|
1253
|
-
```
|
|
1254
|
-
|
|
1255
|
-
### Parameters
|
|
1256
|
-
|
|
1257
|
-
| Parameter | Type | Required | Description |
|
|
1258
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1259
|
-
| `request` | [operations.PostAtsCandidatesCandidateIdAttachmentsRequest](../../models/operations/postatscandidatescandidateidattachmentsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1260
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1261
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
1262
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1263
|
-
|
|
1264
|
-
### Response
|
|
1265
|
-
|
|
1266
|
-
**Promise\<[models.PostAtsCandidatesCandidateIdAttachmentsPositiveResponse](../../models/postatscandidatescandidateidattachmentspositiveresponse.md)\>**
|
|
1267
|
-
|
|
1268
|
-
### Errors
|
|
1269
|
-
|
|
1270
|
-
| Error Type | Status Code | Content Type |
|
|
1271
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1272
|
-
| errors.KomboAtsError | default | application/json |
|
|
1273
|
-
| errors.KomboDefaultError | 4XX, 5XX | \*/\* |
|
|
1274
|
-
|
|
1275
|
-
## addCandidateResultLink
|
|
1276
|
-
|
|
1277
|
-
Add a result link to a candidate.
|
|
1278
|
-
|
|
1279
|
-
<Warning>
|
|
1280
|
-
**We recommend to use [add result link to application](/ats/v1/post-applications-application-id-result-links) instead.**
|
|
1281
|
-
|
|
1282
|
-
This can, for example, be used to link a candidate back to a test result/assessment in your application. As not all ATS tools have a "result link" feature, we sometimes repurpose other fields to expose it.
|
|
1283
|
-
|
|
1284
|
-
</Warning>
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
<Note>
|
|
1288
|
-
This endpoint requires the permission **Add result links** to be enabled in [your scope config](/scopes).
|
|
1289
|
-
</Note>
|
|
1290
|
-
|
|
1291
|
-
### Example Request Body
|
|
1292
|
-
|
|
1293
|
-
```json
|
|
1294
|
-
{
|
|
1295
|
-
"label": "Assessment Result",
|
|
1296
|
-
"url": "https://example.com/test-results/5BtP1WC1UboS7CF3yxjKcvjG",
|
|
1297
|
-
"details": {
|
|
1298
|
-
"custom_field_name_prefix": "Acme:",
|
|
1299
|
-
"attributes": [
|
|
1300
|
-
{
|
|
1301
|
-
"key": "Score",
|
|
1302
|
-
"value": "100%"
|
|
1303
|
-
},
|
|
1304
|
-
{
|
|
1305
|
-
"key": "Time",
|
|
1306
|
-
"value": "2:30h"
|
|
1307
|
-
}
|
|
1308
|
-
]
|
|
1309
|
-
},
|
|
1310
|
-
"remote_fields": {}
|
|
1311
|
-
}
|
|
1312
|
-
```
|
|
1313
|
-
|
|
1314
|
-
### Example Usage
|
|
1315
|
-
|
|
1316
|
-
<!-- UsageSnippet language="typescript" operationID="PostAtsCandidatesCandidateIdResultLinks" method="post" path="/ats/candidates/{candidate_id}/result-links" -->
|
|
1317
|
-
```typescript
|
|
1318
|
-
import { Kombo } from "@kombo-api/sdk";
|
|
1319
|
-
|
|
1320
|
-
const kombo = new Kombo({
|
|
1321
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
1322
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1323
|
-
});
|
|
1324
|
-
|
|
1325
|
-
async function run() {
|
|
1326
|
-
const result = await kombo.ats.addCandidateResultLink({
|
|
1327
|
-
candidate_id: "8Xi6iZrwusZqJmDGXs49GBmJ",
|
|
1328
|
-
post_ats_candidates_candidate_id_result_links_request_body: {
|
|
1329
|
-
label: "Assessment Result",
|
|
1330
|
-
url: "https://example.com/test-results/5BtP1WC1UboS7CF3yxjKcvjG",
|
|
1331
|
-
details: {
|
|
1332
|
-
custom_field_name_prefix: "Acme:",
|
|
1333
|
-
attributes: [
|
|
1334
|
-
{
|
|
1335
|
-
key: "Score",
|
|
1336
|
-
value: "100%",
|
|
1337
|
-
},
|
|
1338
|
-
{
|
|
1339
|
-
key: "Time",
|
|
1340
|
-
value: "2:30h",
|
|
1341
|
-
},
|
|
1342
|
-
],
|
|
1343
|
-
},
|
|
1344
|
-
},
|
|
1345
|
-
});
|
|
1346
|
-
|
|
1347
|
-
console.log(result);
|
|
1348
|
-
}
|
|
1349
|
-
|
|
1350
|
-
run();
|
|
1351
|
-
```
|
|
1352
|
-
|
|
1353
|
-
### Standalone function
|
|
1354
|
-
|
|
1355
|
-
The standalone function version of this method:
|
|
1356
|
-
|
|
1357
|
-
```typescript
|
|
1358
|
-
import { KomboCore } from "@kombo-api/sdk/core.js";
|
|
1359
|
-
import { atsAddCandidateResultLink } from "@kombo-api/sdk/funcs/atsAddCandidateResultLink.js";
|
|
1360
|
-
|
|
1361
|
-
// Use `KomboCore` for best tree-shaking performance.
|
|
1362
|
-
// You can create one instance of it to use across an application.
|
|
1363
|
-
const kombo = new KomboCore({
|
|
1364
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
1365
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1366
|
-
});
|
|
1367
|
-
|
|
1368
|
-
async function run() {
|
|
1369
|
-
const res = await atsAddCandidateResultLink(kombo, {
|
|
1370
|
-
candidate_id: "8Xi6iZrwusZqJmDGXs49GBmJ",
|
|
1371
|
-
post_ats_candidates_candidate_id_result_links_request_body: {
|
|
1372
|
-
label: "Assessment Result",
|
|
1373
|
-
url: "https://example.com/test-results/5BtP1WC1UboS7CF3yxjKcvjG",
|
|
1374
|
-
details: {
|
|
1375
|
-
custom_field_name_prefix: "Acme:",
|
|
1376
|
-
attributes: [
|
|
1377
|
-
{
|
|
1378
|
-
key: "Score",
|
|
1379
|
-
value: "100%",
|
|
1380
|
-
},
|
|
1381
|
-
{
|
|
1382
|
-
key: "Time",
|
|
1383
|
-
value: "2:30h",
|
|
1384
|
-
},
|
|
1385
|
-
],
|
|
1386
|
-
},
|
|
1387
|
-
},
|
|
1388
|
-
});
|
|
1389
|
-
if (res.ok) {
|
|
1390
|
-
const { value: result } = res;
|
|
1391
|
-
console.log(result);
|
|
1392
|
-
} else {
|
|
1393
|
-
console.log("atsAddCandidateResultLink failed:", res.error);
|
|
1394
|
-
}
|
|
1395
|
-
}
|
|
1396
|
-
|
|
1397
|
-
run();
|
|
1398
|
-
```
|
|
1399
|
-
|
|
1400
|
-
### Parameters
|
|
1401
|
-
|
|
1402
|
-
| Parameter | Type | Required | Description |
|
|
1403
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1404
|
-
| `request` | [operations.PostAtsCandidatesCandidateIdResultLinksRequest](../../models/operations/postatscandidatescandidateidresultlinksrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1405
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1406
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
1407
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1408
|
-
|
|
1409
|
-
### Response
|
|
1410
|
-
|
|
1411
|
-
**Promise\<[models.PostAtsCandidatesCandidateIdResultLinksPositiveResponse](../../models/postatscandidatescandidateidresultlinkspositiveresponse.md)\>**
|
|
1412
|
-
|
|
1413
|
-
### Errors
|
|
1414
|
-
|
|
1415
|
-
| Error Type | Status Code | Content Type |
|
|
1416
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1417
|
-
| errors.KomboAtsError | default | application/json |
|
|
1418
|
-
| errors.KomboDefaultError | 4XX, 5XX | \*/\* |
|
|
1419
|
-
|
|
1420
|
-
## addCandidateTag
|
|
1421
|
-
|
|
1422
|
-
Add a tag to a candidate.
|
|
1423
|
-
|
|
1424
|
-
Kombo takes care of creating the tag if required, finding out the right ID, and appending it to the list of tags.
|
|
1425
|
-
|
|
1426
|
-
<Note>
|
|
1427
|
-
This endpoint requires the permission **Manage tags** to be enabled in [your scope config](/scopes).
|
|
1428
|
-
</Note>
|
|
1429
|
-
|
|
1430
|
-
### Example Request Body
|
|
1431
|
-
|
|
1432
|
-
```json
|
|
1433
|
-
{
|
|
1434
|
-
"tag": {
|
|
1435
|
-
"name": "Excellent Fit"
|
|
1436
|
-
}
|
|
1437
|
-
}
|
|
1438
|
-
```
|
|
1439
|
-
|
|
1440
|
-
### Example Usage
|
|
1441
|
-
|
|
1442
|
-
<!-- UsageSnippet language="typescript" operationID="PostAtsCandidatesCandidateIdTags" method="post" path="/ats/candidates/{candidate_id}/tags" -->
|
|
1443
|
-
```typescript
|
|
1444
|
-
import { Kombo } from "@kombo-api/sdk";
|
|
1445
|
-
|
|
1446
|
-
const kombo = new Kombo({
|
|
1447
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
1448
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1449
|
-
});
|
|
1450
|
-
|
|
1451
|
-
async function run() {
|
|
1452
|
-
const result = await kombo.ats.addCandidateTag({
|
|
1453
|
-
candidate_id: "8Xi6iZrwusZqJmDGXs49GBmJ",
|
|
1454
|
-
post_ats_candidates_candidate_id_tags_request_body: {
|
|
1455
|
-
tag: {
|
|
1456
|
-
name: "Excellent Fit",
|
|
1457
|
-
},
|
|
1458
|
-
},
|
|
1459
|
-
});
|
|
1460
|
-
|
|
1461
|
-
console.log(result);
|
|
1462
|
-
}
|
|
1463
|
-
|
|
1464
|
-
run();
|
|
1465
|
-
```
|
|
1466
|
-
|
|
1467
|
-
### Standalone function
|
|
1468
|
-
|
|
1469
|
-
The standalone function version of this method:
|
|
1470
|
-
|
|
1471
|
-
```typescript
|
|
1472
|
-
import { KomboCore } from "@kombo-api/sdk/core.js";
|
|
1473
|
-
import { atsAddCandidateTag } from "@kombo-api/sdk/funcs/atsAddCandidateTag.js";
|
|
1474
|
-
|
|
1475
|
-
// Use `KomboCore` for best tree-shaking performance.
|
|
1476
|
-
// You can create one instance of it to use across an application.
|
|
1477
|
-
const kombo = new KomboCore({
|
|
1478
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
1479
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1480
|
-
});
|
|
1481
|
-
|
|
1482
|
-
async function run() {
|
|
1483
|
-
const res = await atsAddCandidateTag(kombo, {
|
|
1484
|
-
candidate_id: "8Xi6iZrwusZqJmDGXs49GBmJ",
|
|
1485
|
-
post_ats_candidates_candidate_id_tags_request_body: {
|
|
1486
|
-
tag: {
|
|
1487
|
-
name: "Excellent Fit",
|
|
1488
|
-
},
|
|
1489
|
-
},
|
|
1490
|
-
});
|
|
1491
|
-
if (res.ok) {
|
|
1492
|
-
const { value: result } = res;
|
|
1493
|
-
console.log(result);
|
|
1494
|
-
} else {
|
|
1495
|
-
console.log("atsAddCandidateTag failed:", res.error);
|
|
1496
|
-
}
|
|
1497
|
-
}
|
|
1498
|
-
|
|
1499
|
-
run();
|
|
1500
|
-
```
|
|
1501
|
-
|
|
1502
|
-
### Parameters
|
|
1503
|
-
|
|
1504
|
-
| Parameter | Type | Required | Description |
|
|
1505
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1506
|
-
| `request` | [operations.PostAtsCandidatesCandidateIdTagsRequest](../../models/operations/postatscandidatescandidateidtagsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1507
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1508
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
1509
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1510
|
-
|
|
1511
|
-
### Response
|
|
1512
|
-
|
|
1513
|
-
**Promise\<[models.PostAtsCandidatesCandidateIdTagsPositiveResponse](../../models/postatscandidatescandidateidtagspositiveresponse.md)\>**
|
|
1514
|
-
|
|
1515
|
-
### Errors
|
|
1516
|
-
|
|
1517
|
-
| Error Type | Status Code | Content Type |
|
|
1518
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1519
|
-
| errors.KomboAtsError | default | application/json |
|
|
1520
|
-
| errors.KomboDefaultError | 4XX, 5XX | \*/\* |
|
|
1521
|
-
|
|
1522
|
-
## removeCandidateTag
|
|
1523
|
-
|
|
1524
|
-
Remove a tag from a candidate based on its name.
|
|
1525
|
-
|
|
1526
|
-
This will also succeed if the tag does not exist on the candidate.
|
|
1527
|
-
|
|
1528
|
-
<Note>
|
|
1529
|
-
This endpoint requires the permission **Manage tags** to be enabled in [your scope config](/scopes).
|
|
1530
|
-
</Note>
|
|
1531
|
-
|
|
1532
|
-
### Example Request Body
|
|
1533
|
-
|
|
1534
|
-
```json
|
|
1535
|
-
{
|
|
1536
|
-
"tag": {
|
|
1537
|
-
"name": "Excellent Fit"
|
|
1538
|
-
}
|
|
1539
|
-
}
|
|
1540
|
-
```
|
|
1541
|
-
|
|
1542
|
-
### Example Usage
|
|
1543
|
-
|
|
1544
|
-
<!-- UsageSnippet language="typescript" operationID="DeleteAtsCandidatesCandidateIdTags" method="delete" path="/ats/candidates/{candidate_id}/tags" -->
|
|
1545
|
-
```typescript
|
|
1546
|
-
import { Kombo } from "@kombo-api/sdk";
|
|
1547
|
-
|
|
1548
|
-
const kombo = new Kombo({
|
|
1549
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
1550
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1551
|
-
});
|
|
1552
|
-
|
|
1553
|
-
async function run() {
|
|
1554
|
-
const result = await kombo.ats.removeCandidateTag({
|
|
1555
|
-
candidate_id: "8Xi6iZrwusZqJmDGXs49GBmJ",
|
|
1556
|
-
delete_ats_candidates_candidate_id_tags_request_body: {
|
|
1557
|
-
tag: {
|
|
1558
|
-
name: "Excellent Fit",
|
|
1559
|
-
},
|
|
1560
|
-
},
|
|
1561
|
-
});
|
|
1562
|
-
|
|
1563
|
-
console.log(result);
|
|
1564
|
-
}
|
|
1565
|
-
|
|
1566
|
-
run();
|
|
1567
|
-
```
|
|
1568
|
-
|
|
1569
|
-
### Standalone function
|
|
1570
|
-
|
|
1571
|
-
The standalone function version of this method:
|
|
1572
|
-
|
|
1573
|
-
```typescript
|
|
1574
|
-
import { KomboCore } from "@kombo-api/sdk/core.js";
|
|
1575
|
-
import { atsRemoveCandidateTag } from "@kombo-api/sdk/funcs/atsRemoveCandidateTag.js";
|
|
1576
|
-
|
|
1577
|
-
// Use `KomboCore` for best tree-shaking performance.
|
|
1578
|
-
// You can create one instance of it to use across an application.
|
|
1579
|
-
const kombo = new KomboCore({
|
|
1580
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
1581
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1582
|
-
});
|
|
1583
|
-
|
|
1584
|
-
async function run() {
|
|
1585
|
-
const res = await atsRemoveCandidateTag(kombo, {
|
|
1586
|
-
candidate_id: "8Xi6iZrwusZqJmDGXs49GBmJ",
|
|
1587
|
-
delete_ats_candidates_candidate_id_tags_request_body: {
|
|
1588
|
-
tag: {
|
|
1589
|
-
name: "Excellent Fit",
|
|
1590
|
-
},
|
|
1591
|
-
},
|
|
1592
|
-
});
|
|
1593
|
-
if (res.ok) {
|
|
1594
|
-
const { value: result } = res;
|
|
1595
|
-
console.log(result);
|
|
1596
|
-
} else {
|
|
1597
|
-
console.log("atsRemoveCandidateTag failed:", res.error);
|
|
1598
|
-
}
|
|
1599
|
-
}
|
|
1600
|
-
|
|
1601
|
-
run();
|
|
1602
|
-
```
|
|
1603
|
-
|
|
1604
|
-
### Parameters
|
|
1605
|
-
|
|
1606
|
-
| Parameter | Type | Required | Description |
|
|
1607
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1608
|
-
| `request` | [operations.DeleteAtsCandidatesCandidateIdTagsRequest](../../models/operations/deleteatscandidatescandidateidtagsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1609
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1610
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
1611
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1612
|
-
|
|
1613
|
-
### Response
|
|
1614
|
-
|
|
1615
|
-
**Promise\<[models.DeleteAtsCandidatesCandidateIdTagsPositiveResponse](../../models/deleteatscandidatescandidateidtagspositiveresponse.md)\>**
|
|
1616
|
-
|
|
1617
|
-
### Errors
|
|
1618
|
-
|
|
1619
|
-
| Error Type | Status Code | Content Type |
|
|
1620
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1621
|
-
| errors.KomboAtsError | default | application/json |
|
|
1622
|
-
| errors.KomboDefaultError | 4XX, 5XX | \*/\* |
|
|
1623
|
-
|
|
1624
|
-
## getTags
|
|
1625
|
-
|
|
1626
|
-
Retrieve all tags.
|
|
1627
|
-
|
|
1628
|
-
Top level filters use AND, while individual filters use OR if they accept multiple arguments. That means filters will be resolved like this: `(id IN ids) AND (remote_id IN remote_ids)`
|
|
1629
|
-
|
|
1630
|
-
### Example Usage
|
|
1631
|
-
|
|
1632
|
-
<!-- UsageSnippet language="typescript" operationID="GetAtsTags" method="get" path="/ats/tags" -->
|
|
1633
|
-
```typescript
|
|
1634
|
-
import { Kombo } from "@kombo-api/sdk";
|
|
1635
|
-
|
|
1636
|
-
const kombo = new Kombo({
|
|
1637
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
1638
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1639
|
-
});
|
|
1640
|
-
|
|
1641
|
-
async function run() {
|
|
1642
|
-
const result = await kombo.ats.getTags({});
|
|
1643
|
-
|
|
1644
|
-
for await (const page of result) {
|
|
1645
|
-
console.log(page);
|
|
1646
|
-
}
|
|
1647
|
-
}
|
|
1648
|
-
|
|
1649
|
-
run();
|
|
1650
|
-
```
|
|
1651
|
-
|
|
1652
|
-
### Standalone function
|
|
1653
|
-
|
|
1654
|
-
The standalone function version of this method:
|
|
1655
|
-
|
|
1656
|
-
```typescript
|
|
1657
|
-
import { KomboCore } from "@kombo-api/sdk/core.js";
|
|
1658
|
-
import { atsGetTags } from "@kombo-api/sdk/funcs/atsGetTags.js";
|
|
1659
|
-
|
|
1660
|
-
// Use `KomboCore` for best tree-shaking performance.
|
|
1661
|
-
// You can create one instance of it to use across an application.
|
|
1662
|
-
const kombo = new KomboCore({
|
|
1663
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
1664
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1665
|
-
});
|
|
1666
|
-
|
|
1667
|
-
async function run() {
|
|
1668
|
-
const res = await atsGetTags(kombo, {});
|
|
1669
|
-
if (res.ok) {
|
|
1670
|
-
const { value: result } = res;
|
|
1671
|
-
for await (const page of result) {
|
|
1672
|
-
console.log(page);
|
|
1673
|
-
}
|
|
1674
|
-
} else {
|
|
1675
|
-
console.log("atsGetTags failed:", res.error);
|
|
1676
|
-
}
|
|
1677
|
-
}
|
|
1678
|
-
|
|
1679
|
-
run();
|
|
1680
|
-
```
|
|
1681
|
-
|
|
1682
|
-
### Parameters
|
|
1683
|
-
|
|
1684
|
-
| Parameter | Type | Required | Description |
|
|
1685
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1686
|
-
| `request` | [operations.GetAtsTagsRequest](../../models/operations/getatstagsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1687
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1688
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
1689
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1690
|
-
|
|
1691
|
-
### Response
|
|
1692
|
-
|
|
1693
|
-
**Promise\<[operations.GetAtsTagsResponse](../../models/operations/getatstagsresponse.md)\>**
|
|
1694
|
-
|
|
1695
|
-
### Errors
|
|
1696
|
-
|
|
1697
|
-
| Error Type | Status Code | Content Type |
|
|
1698
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1699
|
-
| errors.KomboAtsError | default | application/json |
|
|
1700
|
-
| errors.KomboDefaultError | 4XX, 5XX | \*/\* |
|
|
1701
|
-
|
|
1702
|
-
## getApplicationStages
|
|
1703
|
-
|
|
1704
|
-
Get all application stages available in the ATS.
|
|
1705
|
-
|
|
1706
|
-
<Warning>
|
|
1707
|
-
**This endpoint is deprecated!**
|
|
1708
|
-
|
|
1709
|
-
Get all application stages available in the ATS. This is deprecated because most ATS systems have separate sets of stages for each job. We'd recommend using the `stages` property from the [GET Jobs endpoint](/ats/v1/get-jobs) instead.
|
|
1710
|
-
|
|
1711
|
-
**Important**: Using global stages can cause "Stage not found" errors when moving applications, especially with systems like Workable that have job-specific stages.
|
|
1712
|
-
|
|
1713
|
-
[Moving Applications Guide](/ats/implementation-guide/moving-and-rejecting-candidates).
|
|
1714
|
-
</Warning>
|
|
1715
|
-
|
|
1716
|
-
Top level filters use AND, while individual filters use OR if they accept multiple arguments. That means filters will be resolved like this: `(id IN ids) AND (remote_id IN remote_ids)`
|
|
1717
|
-
|
|
1718
|
-
### Example Usage
|
|
1719
|
-
|
|
1720
|
-
<!-- UsageSnippet language="typescript" operationID="GetAtsApplicationStages" method="get" path="/ats/application-stages" -->
|
|
1721
|
-
```typescript
|
|
1722
|
-
import { Kombo } from "@kombo-api/sdk";
|
|
1723
|
-
|
|
1724
|
-
const kombo = new Kombo({
|
|
1725
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
1726
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1727
|
-
});
|
|
1728
|
-
|
|
1729
|
-
async function run() {
|
|
1730
|
-
const result = await kombo.ats.getApplicationStages({});
|
|
1731
|
-
|
|
1732
|
-
for await (const page of result) {
|
|
1733
|
-
console.log(page);
|
|
1734
|
-
}
|
|
1735
|
-
}
|
|
1736
|
-
|
|
1737
|
-
run();
|
|
1738
|
-
```
|
|
1739
|
-
|
|
1740
|
-
### Standalone function
|
|
1741
|
-
|
|
1742
|
-
The standalone function version of this method:
|
|
1743
|
-
|
|
1744
|
-
```typescript
|
|
1745
|
-
import { KomboCore } from "@kombo-api/sdk/core.js";
|
|
1746
|
-
import { atsGetApplicationStages } from "@kombo-api/sdk/funcs/atsGetApplicationStages.js";
|
|
1747
|
-
|
|
1748
|
-
// Use `KomboCore` for best tree-shaking performance.
|
|
1749
|
-
// You can create one instance of it to use across an application.
|
|
1750
|
-
const kombo = new KomboCore({
|
|
1751
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
1752
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1753
|
-
});
|
|
1754
|
-
|
|
1755
|
-
async function run() {
|
|
1756
|
-
const res = await atsGetApplicationStages(kombo, {});
|
|
1757
|
-
if (res.ok) {
|
|
1758
|
-
const { value: result } = res;
|
|
1759
|
-
for await (const page of result) {
|
|
1760
|
-
console.log(page);
|
|
1761
|
-
}
|
|
1762
|
-
} else {
|
|
1763
|
-
console.log("atsGetApplicationStages failed:", res.error);
|
|
1764
|
-
}
|
|
1765
|
-
}
|
|
1766
|
-
|
|
1767
|
-
run();
|
|
1768
|
-
```
|
|
1769
|
-
|
|
1770
|
-
### Parameters
|
|
1771
|
-
|
|
1772
|
-
| Parameter | Type | Required | Description |
|
|
1773
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1774
|
-
| `request` | [operations.GetAtsApplicationStagesRequest](../../models/operations/getatsapplicationstagesrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1775
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1776
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
1777
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1778
|
-
|
|
1779
|
-
### Response
|
|
1780
|
-
|
|
1781
|
-
**Promise\<[operations.GetAtsApplicationStagesResponse](../../models/operations/getatsapplicationstagesresponse.md)\>**
|
|
1782
|
-
|
|
1783
|
-
### Errors
|
|
1784
|
-
|
|
1785
|
-
| Error Type | Status Code | Content Type |
|
|
1786
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1787
|
-
| errors.KomboAtsError | default | application/json |
|
|
1788
|
-
| errors.KomboDefaultError | 4XX, 5XX | \*/\* |
|
|
1789
|
-
|
|
1790
|
-
## getJobs
|
|
1791
|
-
|
|
1792
|
-
Retrieve all jobs.
|
|
1793
|
-
|
|
1794
|
-
Visit our in-depth guides to learn more about:
|
|
1795
|
-
|
|
1796
|
-
- 🔄 [Getting updates of the data](/ats/features/implementation-guide/reading-jobs#getting-updates-of-the-data)
|
|
1797
|
-
- ❗ [Handling failing syncs](/ats/features/implementation-guide/reading-jobs#handling-failing-syncs)
|
|
1798
|
-
- 🔍 [Letting your customer choose which jobs to expose](/ats/features/implementation-guide/reading-jobs#let-your-customer-choose-which-jobs-to-expose-to-you)
|
|
1799
|
-
- 🔗 [Matching jobs in your database to ATS jobs](/ats/features/implementation-guide/reading-jobs#match-jobs-in-your-database-to-ats-jobs)
|
|
1800
|
-
- 🗑️ [Reacting to deleted/closed jobs](/ats/features/implementation-guide/reading-jobs#reacting-to-deleted-closed-jobs)
|
|
1801
|
-
|
|
1802
|
-
Top level filters use AND, while individual filters use OR if they accept multiple arguments. That means filters will be resolved like this: `(id IN ids) AND (remote_id IN remote_ids)`
|
|
1803
|
-
|
|
1804
|
-
### Example Usage
|
|
1805
|
-
|
|
1806
|
-
<!-- UsageSnippet language="typescript" operationID="GetAtsJobs" method="get" path="/ats/jobs" -->
|
|
1807
|
-
```typescript
|
|
1808
|
-
import { Kombo } from "@kombo-api/sdk";
|
|
1809
|
-
|
|
1810
|
-
const kombo = new Kombo({
|
|
1811
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
1812
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1813
|
-
});
|
|
1814
|
-
|
|
1815
|
-
async function run() {
|
|
1816
|
-
const result = await kombo.ats.getJobs({});
|
|
1817
|
-
|
|
1818
|
-
for await (const page of result) {
|
|
1819
|
-
console.log(page);
|
|
1820
|
-
}
|
|
1821
|
-
}
|
|
1822
|
-
|
|
1823
|
-
run();
|
|
1824
|
-
```
|
|
1825
|
-
|
|
1826
|
-
### Standalone function
|
|
1827
|
-
|
|
1828
|
-
The standalone function version of this method:
|
|
1829
|
-
|
|
1830
|
-
```typescript
|
|
1831
|
-
import { KomboCore } from "@kombo-api/sdk/core.js";
|
|
1832
|
-
import { atsGetJobs } from "@kombo-api/sdk/funcs/atsGetJobs.js";
|
|
1833
|
-
|
|
1834
|
-
// Use `KomboCore` for best tree-shaking performance.
|
|
1835
|
-
// You can create one instance of it to use across an application.
|
|
1836
|
-
const kombo = new KomboCore({
|
|
1837
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
1838
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1839
|
-
});
|
|
1840
|
-
|
|
1841
|
-
async function run() {
|
|
1842
|
-
const res = await atsGetJobs(kombo, {});
|
|
1843
|
-
if (res.ok) {
|
|
1844
|
-
const { value: result } = res;
|
|
1845
|
-
for await (const page of result) {
|
|
1846
|
-
console.log(page);
|
|
1847
|
-
}
|
|
1848
|
-
} else {
|
|
1849
|
-
console.log("atsGetJobs failed:", res.error);
|
|
1850
|
-
}
|
|
1851
|
-
}
|
|
1852
|
-
|
|
1853
|
-
run();
|
|
1854
|
-
```
|
|
1855
|
-
|
|
1856
|
-
### Parameters
|
|
1857
|
-
|
|
1858
|
-
| Parameter | Type | Required | Description |
|
|
1859
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1860
|
-
| `request` | [operations.GetAtsJobsRequest](../../models/operations/getatsjobsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1861
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1862
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
1863
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1864
|
-
|
|
1865
|
-
### Response
|
|
1866
|
-
|
|
1867
|
-
**Promise\<[operations.GetAtsJobsResponse](../../models/operations/getatsjobsresponse.md)\>**
|
|
1868
|
-
|
|
1869
|
-
### Errors
|
|
1870
|
-
|
|
1871
|
-
| Error Type | Status Code | Content Type |
|
|
1872
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
1873
|
-
| errors.KomboAtsError | default | application/json |
|
|
1874
|
-
| errors.KomboDefaultError | 4XX, 5XX | \*/\* |
|
|
1875
|
-
|
|
1876
|
-
## createApplication
|
|
1877
|
-
|
|
1878
|
-
Create a new application and candidate for the specified job.
|
|
1879
|
-
|
|
1880
|
-
Visit our in-depth guides to learn more about:
|
|
1881
|
-
|
|
1882
|
-
- 🌐 [Setting the source of the application](/ats/features/implementation-guide/creating-applications#set-the-source-of-the-application)
|
|
1883
|
-
- 📎 [Uploading attachments with the application](/ats/features/implementation-guide/creating-applications#upload-attachments-with-the-application)
|
|
1884
|
-
- ♻️ [Retry behaviour](/ats/features/implementation-guide/creating-applications#retry-behaviour)
|
|
1885
|
-
- ✏️ [Writing answers to screening questions](/ats/features/implementation-guide/creating-applications#write-answers-to-screening-questions)
|
|
1886
|
-
- ⚠️ [Handling ATS-specific limitations](/ats/features/implementation-guide/creating-applications#handle-ats-specific-limitations)
|
|
1887
|
-
|
|
1888
|
-
<Note>
|
|
1889
|
-
This endpoint requires the permission **Create applications and candidates** to be enabled in [your scope config](/scopes).
|
|
1890
|
-
</Note>
|
|
1891
|
-
|
|
1892
|
-
### Example Request Body
|
|
1893
|
-
|
|
1894
|
-
```json
|
|
1895
|
-
{
|
|
1896
|
-
"candidate": {
|
|
1897
|
-
"first_name": "Frank",
|
|
1898
|
-
"last_name": "Doe",
|
|
1899
|
-
"company": "Acme Inc.",
|
|
1900
|
-
"title": "Head of Integrations",
|
|
1901
|
-
"email_address": "frank.doe@example.com",
|
|
1902
|
-
"phone_number": "+1-541-754-3010",
|
|
1903
|
-
"gender": "MALE",
|
|
1904
|
-
"salary_expectations": {
|
|
1905
|
-
"amount": 100000,
|
|
1906
|
-
"period": "YEAR"
|
|
1907
|
-
},
|
|
1908
|
-
"availability_date": "2021-01-01",
|
|
1909
|
-
"location": {
|
|
1910
|
-
"city": "New York",
|
|
1911
|
-
"country": "US"
|
|
1912
|
-
}
|
|
1913
|
-
},
|
|
1914
|
-
"stage_id": "8x3YKRDcuRnwShdh96ShBNn1",
|
|
1915
|
-
"attachments": [
|
|
1916
|
-
{
|
|
1917
|
-
"name": "Frank Doe CV.txt",
|
|
1918
|
-
"data": "SGkgdGhlcmUsIEtvbWJvIGlzIGN1cnJlbnRseSBoaXJpbmcgZW5naW5lZXJzIHRoYXQgbG92ZSB0byB3b3JrIG9uIGRldmVsb3BlciBwcm9kdWN0cy4=",
|
|
1919
|
-
"type": "CV",
|
|
1920
|
-
"content_type": "text/plain"
|
|
1921
|
-
}
|
|
1922
|
-
],
|
|
1923
|
-
"screening_question_answers": [
|
|
1924
|
-
{
|
|
1925
|
-
"question_id": "3phFBNXRweGnDmsU9o2vdPuQ",
|
|
1926
|
-
"answer": "Yes"
|
|
1927
|
-
},
|
|
1928
|
-
{
|
|
1929
|
-
"question_id": "EYJjhMQT3LtVKXnTbnRT8s6U",
|
|
1930
|
-
"answer": [
|
|
1931
|
-
"GUzE666zfyjeoCJX6A8n7wh6",
|
|
1932
|
-
"5WPHzzKAv8cx97KtHRUV96U8",
|
|
1933
|
-
"7yZfKGzWigXxxRTygqAfHvyE"
|
|
1934
|
-
]
|
|
1935
|
-
}
|
|
1936
|
-
],
|
|
1937
|
-
"remote_fields": {}
|
|
1938
|
-
}
|
|
1939
|
-
```
|
|
1940
|
-
|
|
1941
|
-
### Example Usage
|
|
1942
|
-
|
|
1943
|
-
<!-- UsageSnippet language="typescript" operationID="PostAtsJobsJobIdApplications" method="post" path="/ats/jobs/{job_id}/applications" -->
|
|
1944
|
-
```typescript
|
|
1945
|
-
import { Kombo } from "@kombo-api/sdk";
|
|
1946
|
-
|
|
1947
|
-
const kombo = new Kombo({
|
|
1948
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
1949
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1950
|
-
});
|
|
1951
|
-
|
|
1952
|
-
async function run() {
|
|
1953
|
-
const result = await kombo.ats.createApplication({
|
|
1954
|
-
job_id: "BDpgnpZ148nrGh4mYHNxJBgx",
|
|
1955
|
-
post_ats_jobs_job_id_applications_request_body: {
|
|
1956
|
-
stage_id: "8x3YKRDcuRnwShdh96ShBNn1",
|
|
1957
|
-
candidate: {
|
|
1958
|
-
first_name: "Frank",
|
|
1959
|
-
last_name: "Doe",
|
|
1960
|
-
email_address: "frank.doe@example.com",
|
|
1961
|
-
company: "Acme Inc.",
|
|
1962
|
-
title: "Head of Integrations",
|
|
1963
|
-
phone_number: "+1-541-754-3010",
|
|
1964
|
-
location: {
|
|
1965
|
-
city: "New York",
|
|
1966
|
-
country: "US",
|
|
1967
|
-
},
|
|
1968
|
-
gender: "MALE",
|
|
1969
|
-
availability_date: new Date("2021-01-01T00:00:00Z"),
|
|
1970
|
-
salary_expectations: {
|
|
1971
|
-
period: "YEAR",
|
|
1972
|
-
amount: 100000,
|
|
1973
|
-
},
|
|
1974
|
-
},
|
|
1975
|
-
attachments: [
|
|
1976
|
-
{
|
|
1977
|
-
name: "Frank Doe CV.txt",
|
|
1978
|
-
content_type: "text/plain",
|
|
1979
|
-
data: "SGkgdGhlcmUsIEtvbWJvIGlzIGN1cnJlbnRseSBoaXJpbmcgZW5naW5lZXJzIHRoYXQgbG92ZSB0byB3b3JrIG9uIGRldmVsb3BlciBwcm9kdWN0cy4=",
|
|
1980
|
-
type: "CV",
|
|
1981
|
-
},
|
|
1982
|
-
],
|
|
1983
|
-
screening_question_answers: [
|
|
1984
|
-
{
|
|
1985
|
-
question_id: "3phFBNXRweGnDmsU9o2vdPuQ",
|
|
1986
|
-
answer: "Yes",
|
|
1987
|
-
},
|
|
1988
|
-
{
|
|
1989
|
-
question_id: "EYJjhMQT3LtVKXnTbnRT8s6U",
|
|
1990
|
-
answer: [
|
|
1991
|
-
"GUzE666zfyjeoCJX6A8n7wh6",
|
|
1992
|
-
"5WPHzzKAv8cx97KtHRUV96U8",
|
|
1993
|
-
"7yZfKGzWigXxxRTygqAfHvyE",
|
|
1994
|
-
],
|
|
1995
|
-
},
|
|
1996
|
-
],
|
|
1997
|
-
},
|
|
1998
|
-
});
|
|
1999
|
-
|
|
2000
|
-
console.log(result);
|
|
2001
|
-
}
|
|
2002
|
-
|
|
2003
|
-
run();
|
|
2004
|
-
```
|
|
2005
|
-
|
|
2006
|
-
### Standalone function
|
|
2007
|
-
|
|
2008
|
-
The standalone function version of this method:
|
|
2009
|
-
|
|
2010
|
-
```typescript
|
|
2011
|
-
import { KomboCore } from "@kombo-api/sdk/core.js";
|
|
2012
|
-
import { atsCreateApplication } from "@kombo-api/sdk/funcs/atsCreateApplication.js";
|
|
2013
|
-
|
|
2014
|
-
// Use `KomboCore` for best tree-shaking performance.
|
|
2015
|
-
// You can create one instance of it to use across an application.
|
|
2016
|
-
const kombo = new KomboCore({
|
|
2017
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
2018
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
2019
|
-
});
|
|
2020
|
-
|
|
2021
|
-
async function run() {
|
|
2022
|
-
const res = await atsCreateApplication(kombo, {
|
|
2023
|
-
job_id: "BDpgnpZ148nrGh4mYHNxJBgx",
|
|
2024
|
-
post_ats_jobs_job_id_applications_request_body: {
|
|
2025
|
-
stage_id: "8x3YKRDcuRnwShdh96ShBNn1",
|
|
2026
|
-
candidate: {
|
|
2027
|
-
first_name: "Frank",
|
|
2028
|
-
last_name: "Doe",
|
|
2029
|
-
email_address: "frank.doe@example.com",
|
|
2030
|
-
company: "Acme Inc.",
|
|
2031
|
-
title: "Head of Integrations",
|
|
2032
|
-
phone_number: "+1-541-754-3010",
|
|
2033
|
-
location: {
|
|
2034
|
-
city: "New York",
|
|
2035
|
-
country: "US",
|
|
2036
|
-
},
|
|
2037
|
-
gender: "MALE",
|
|
2038
|
-
availability_date: new Date("2021-01-01T00:00:00Z"),
|
|
2039
|
-
salary_expectations: {
|
|
2040
|
-
period: "YEAR",
|
|
2041
|
-
amount: 100000,
|
|
2042
|
-
},
|
|
2043
|
-
},
|
|
2044
|
-
attachments: [
|
|
2045
|
-
{
|
|
2046
|
-
name: "Frank Doe CV.txt",
|
|
2047
|
-
content_type: "text/plain",
|
|
2048
|
-
data: "SGkgdGhlcmUsIEtvbWJvIGlzIGN1cnJlbnRseSBoaXJpbmcgZW5naW5lZXJzIHRoYXQgbG92ZSB0byB3b3JrIG9uIGRldmVsb3BlciBwcm9kdWN0cy4=",
|
|
2049
|
-
type: "CV",
|
|
2050
|
-
},
|
|
2051
|
-
],
|
|
2052
|
-
screening_question_answers: [
|
|
2053
|
-
{
|
|
2054
|
-
question_id: "3phFBNXRweGnDmsU9o2vdPuQ",
|
|
2055
|
-
answer: "Yes",
|
|
2056
|
-
},
|
|
2057
|
-
{
|
|
2058
|
-
question_id: "EYJjhMQT3LtVKXnTbnRT8s6U",
|
|
2059
|
-
answer: [
|
|
2060
|
-
"GUzE666zfyjeoCJX6A8n7wh6",
|
|
2061
|
-
"5WPHzzKAv8cx97KtHRUV96U8",
|
|
2062
|
-
"7yZfKGzWigXxxRTygqAfHvyE",
|
|
2063
|
-
],
|
|
2064
|
-
},
|
|
2065
|
-
],
|
|
2066
|
-
},
|
|
2067
|
-
});
|
|
2068
|
-
if (res.ok) {
|
|
2069
|
-
const { value: result } = res;
|
|
2070
|
-
console.log(result);
|
|
2071
|
-
} else {
|
|
2072
|
-
console.log("atsCreateApplication failed:", res.error);
|
|
2073
|
-
}
|
|
2074
|
-
}
|
|
2075
|
-
|
|
2076
|
-
run();
|
|
2077
|
-
```
|
|
2078
|
-
|
|
2079
|
-
### Parameters
|
|
2080
|
-
|
|
2081
|
-
| Parameter | Type | Required | Description |
|
|
2082
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
2083
|
-
| `request` | [operations.PostAtsJobsJobIdApplicationsRequest](../../models/operations/postatsjobsjobidapplicationsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
2084
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
2085
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
2086
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
2087
|
-
|
|
2088
|
-
### Response
|
|
2089
|
-
|
|
2090
|
-
**Promise\<[models.PostAtsJobsJobIdApplicationsPositiveResponse](../../models/postatsjobsjobidapplicationspositiveresponse.md)\>**
|
|
2091
|
-
|
|
2092
|
-
### Errors
|
|
2093
|
-
|
|
2094
|
-
| Error Type | Status Code | Content Type |
|
|
2095
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
2096
|
-
| errors.KomboAtsError | default | application/json |
|
|
2097
|
-
| errors.KomboDefaultError | 4XX, 5XX | \*/\* |
|
|
2098
|
-
|
|
2099
|
-
## getUsers
|
|
2100
|
-
|
|
2101
|
-
Retrieve all users.
|
|
2102
|
-
|
|
2103
|
-
Top level filters use AND, while individual filters use OR if they accept multiple arguments. That means filters will be resolved like this: `(id IN ids) AND (remote_id IN remote_ids)`
|
|
2104
|
-
|
|
2105
|
-
### Example Usage
|
|
2106
|
-
|
|
2107
|
-
<!-- UsageSnippet language="typescript" operationID="GetAtsUsers" method="get" path="/ats/users" -->
|
|
2108
|
-
```typescript
|
|
2109
|
-
import { Kombo } from "@kombo-api/sdk";
|
|
2110
|
-
|
|
2111
|
-
const kombo = new Kombo({
|
|
2112
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
2113
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
2114
|
-
});
|
|
2115
|
-
|
|
2116
|
-
async function run() {
|
|
2117
|
-
const result = await kombo.ats.getUsers({});
|
|
2118
|
-
|
|
2119
|
-
for await (const page of result) {
|
|
2120
|
-
console.log(page);
|
|
2121
|
-
}
|
|
2122
|
-
}
|
|
2123
|
-
|
|
2124
|
-
run();
|
|
2125
|
-
```
|
|
2126
|
-
|
|
2127
|
-
### Standalone function
|
|
2128
|
-
|
|
2129
|
-
The standalone function version of this method:
|
|
2130
|
-
|
|
2131
|
-
```typescript
|
|
2132
|
-
import { KomboCore } from "@kombo-api/sdk/core.js";
|
|
2133
|
-
import { atsGetUsers } from "@kombo-api/sdk/funcs/atsGetUsers.js";
|
|
2134
|
-
|
|
2135
|
-
// Use `KomboCore` for best tree-shaking performance.
|
|
2136
|
-
// You can create one instance of it to use across an application.
|
|
2137
|
-
const kombo = new KomboCore({
|
|
2138
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
2139
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
2140
|
-
});
|
|
2141
|
-
|
|
2142
|
-
async function run() {
|
|
2143
|
-
const res = await atsGetUsers(kombo, {});
|
|
2144
|
-
if (res.ok) {
|
|
2145
|
-
const { value: result } = res;
|
|
2146
|
-
for await (const page of result) {
|
|
2147
|
-
console.log(page);
|
|
2148
|
-
}
|
|
2149
|
-
} else {
|
|
2150
|
-
console.log("atsGetUsers failed:", res.error);
|
|
2151
|
-
}
|
|
2152
|
-
}
|
|
2153
|
-
|
|
2154
|
-
run();
|
|
2155
|
-
```
|
|
2156
|
-
|
|
2157
|
-
### Parameters
|
|
2158
|
-
|
|
2159
|
-
| Parameter | Type | Required | Description |
|
|
2160
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
2161
|
-
| `request` | [operations.GetAtsUsersRequest](../../models/operations/getatsusersrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
2162
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
2163
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
2164
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
2165
|
-
|
|
2166
|
-
### Response
|
|
2167
|
-
|
|
2168
|
-
**Promise\<[operations.GetAtsUsersResponse](../../models/operations/getatsusersresponse.md)\>**
|
|
2169
|
-
|
|
2170
|
-
### Errors
|
|
2171
|
-
|
|
2172
|
-
| Error Type | Status Code | Content Type |
|
|
2173
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
2174
|
-
| errors.KomboAtsError | default | application/json |
|
|
2175
|
-
| errors.KomboDefaultError | 4XX, 5XX | \*/\* |
|
|
2176
|
-
|
|
2177
|
-
## getOffers
|
|
2178
|
-
|
|
2179
|
-
Retrieve all offers.
|
|
2180
|
-
|
|
2181
|
-
Top level filters use AND, while individual filters use OR if they accept multiple arguments. That means filters will be resolved like this: `(id IN ids) AND (remote_id IN remote_ids)`
|
|
2182
|
-
|
|
2183
|
-
### Example Usage
|
|
2184
|
-
|
|
2185
|
-
<!-- UsageSnippet language="typescript" operationID="GetAtsOffers" method="get" path="/ats/offers" -->
|
|
2186
|
-
```typescript
|
|
2187
|
-
import { Kombo } from "@kombo-api/sdk";
|
|
2188
|
-
|
|
2189
|
-
const kombo = new Kombo({
|
|
2190
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
2191
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
2192
|
-
});
|
|
2193
|
-
|
|
2194
|
-
async function run() {
|
|
2195
|
-
const result = await kombo.ats.getOffers({});
|
|
2196
|
-
|
|
2197
|
-
for await (const page of result) {
|
|
2198
|
-
console.log(page);
|
|
2199
|
-
}
|
|
2200
|
-
}
|
|
2201
|
-
|
|
2202
|
-
run();
|
|
2203
|
-
```
|
|
2204
|
-
|
|
2205
|
-
### Standalone function
|
|
2206
|
-
|
|
2207
|
-
The standalone function version of this method:
|
|
2208
|
-
|
|
2209
|
-
```typescript
|
|
2210
|
-
import { KomboCore } from "@kombo-api/sdk/core.js";
|
|
2211
|
-
import { atsGetOffers } from "@kombo-api/sdk/funcs/atsGetOffers.js";
|
|
2212
|
-
|
|
2213
|
-
// Use `KomboCore` for best tree-shaking performance.
|
|
2214
|
-
// You can create one instance of it to use across an application.
|
|
2215
|
-
const kombo = new KomboCore({
|
|
2216
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
2217
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
2218
|
-
});
|
|
2219
|
-
|
|
2220
|
-
async function run() {
|
|
2221
|
-
const res = await atsGetOffers(kombo, {});
|
|
2222
|
-
if (res.ok) {
|
|
2223
|
-
const { value: result } = res;
|
|
2224
|
-
for await (const page of result) {
|
|
2225
|
-
console.log(page);
|
|
2226
|
-
}
|
|
2227
|
-
} else {
|
|
2228
|
-
console.log("atsGetOffers failed:", res.error);
|
|
2229
|
-
}
|
|
2230
|
-
}
|
|
2231
|
-
|
|
2232
|
-
run();
|
|
2233
|
-
```
|
|
2234
|
-
|
|
2235
|
-
### Parameters
|
|
2236
|
-
|
|
2237
|
-
| Parameter | Type | Required | Description |
|
|
2238
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
2239
|
-
| `request` | [operations.GetAtsOffersRequest](../../models/operations/getatsoffersrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
2240
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
2241
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
2242
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
2243
|
-
|
|
2244
|
-
### Response
|
|
2245
|
-
|
|
2246
|
-
**Promise\<[operations.GetAtsOffersResponse](../../models/operations/getatsoffersresponse.md)\>**
|
|
2247
|
-
|
|
2248
|
-
### Errors
|
|
2249
|
-
|
|
2250
|
-
| Error Type | Status Code | Content Type |
|
|
2251
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
2252
|
-
| errors.KomboAtsError | default | application/json |
|
|
2253
|
-
| errors.KomboDefaultError | 4XX, 5XX | \*/\* |
|
|
2254
|
-
|
|
2255
|
-
## getRejectionReasons
|
|
2256
|
-
|
|
2257
|
-
Retrieve all rejection reasons.
|
|
2258
|
-
|
|
2259
|
-
Get all rejection reasons available in the system. The Kombo ID is required in the associated [reject application action](/ats/v1/post-applications-application-id-reject).
|
|
2260
|
-
|
|
2261
|
-
Top level filters use AND, while individual filters use OR if they accept multiple arguments. That means filters will be resolved like this: `(id IN ids) AND (remote_id IN remote_ids)`
|
|
2262
|
-
|
|
2263
|
-
### Example Usage
|
|
2264
|
-
|
|
2265
|
-
<!-- UsageSnippet language="typescript" operationID="GetAtsRejectionReasons" method="get" path="/ats/rejection-reasons" -->
|
|
2266
|
-
```typescript
|
|
2267
|
-
import { Kombo } from "@kombo-api/sdk";
|
|
2268
|
-
|
|
2269
|
-
const kombo = new Kombo({
|
|
2270
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
2271
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
2272
|
-
});
|
|
2273
|
-
|
|
2274
|
-
async function run() {
|
|
2275
|
-
const result = await kombo.ats.getRejectionReasons({});
|
|
2276
|
-
|
|
2277
|
-
for await (const page of result) {
|
|
2278
|
-
console.log(page);
|
|
2279
|
-
}
|
|
2280
|
-
}
|
|
2281
|
-
|
|
2282
|
-
run();
|
|
2283
|
-
```
|
|
2284
|
-
|
|
2285
|
-
### Standalone function
|
|
2286
|
-
|
|
2287
|
-
The standalone function version of this method:
|
|
2288
|
-
|
|
2289
|
-
```typescript
|
|
2290
|
-
import { KomboCore } from "@kombo-api/sdk/core.js";
|
|
2291
|
-
import { atsGetRejectionReasons } from "@kombo-api/sdk/funcs/atsGetRejectionReasons.js";
|
|
2292
|
-
|
|
2293
|
-
// Use `KomboCore` for best tree-shaking performance.
|
|
2294
|
-
// You can create one instance of it to use across an application.
|
|
2295
|
-
const kombo = new KomboCore({
|
|
2296
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
2297
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
2298
|
-
});
|
|
2299
|
-
|
|
2300
|
-
async function run() {
|
|
2301
|
-
const res = await atsGetRejectionReasons(kombo, {});
|
|
2302
|
-
if (res.ok) {
|
|
2303
|
-
const { value: result } = res;
|
|
2304
|
-
for await (const page of result) {
|
|
2305
|
-
console.log(page);
|
|
2306
|
-
}
|
|
2307
|
-
} else {
|
|
2308
|
-
console.log("atsGetRejectionReasons failed:", res.error);
|
|
2309
|
-
}
|
|
2310
|
-
}
|
|
2311
|
-
|
|
2312
|
-
run();
|
|
2313
|
-
```
|
|
2314
|
-
|
|
2315
|
-
### Parameters
|
|
2316
|
-
|
|
2317
|
-
| Parameter | Type | Required | Description |
|
|
2318
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
2319
|
-
| `request` | [operations.GetAtsRejectionReasonsRequest](../../models/operations/getatsrejectionreasonsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
2320
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
2321
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
2322
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
2323
|
-
|
|
2324
|
-
### Response
|
|
2325
|
-
|
|
2326
|
-
**Promise\<[operations.GetAtsRejectionReasonsResponse](../../models/operations/getatsrejectionreasonsresponse.md)\>**
|
|
2327
|
-
|
|
2328
|
-
### Errors
|
|
2329
|
-
|
|
2330
|
-
| Error Type | Status Code | Content Type |
|
|
2331
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
2332
|
-
| errors.KomboAtsError | default | application/json |
|
|
2333
|
-
| errors.KomboDefaultError | 4XX, 5XX | \*/\* |
|
|
2334
|
-
|
|
2335
|
-
## getInterviews
|
|
2336
|
-
|
|
2337
|
-
Retrieve all interviews.
|
|
2338
|
-
|
|
2339
|
-
Top level filters use AND, while individual filters use OR if they accept multiple arguments. That means filters will be resolved like this: `(id IN ids) AND (remote_id IN remote_ids)`
|
|
2340
|
-
|
|
2341
|
-
### Example Usage
|
|
2342
|
-
|
|
2343
|
-
<!-- UsageSnippet language="typescript" operationID="GetAtsInterviews" method="get" path="/ats/interviews" -->
|
|
2344
|
-
```typescript
|
|
2345
|
-
import { Kombo } from "@kombo-api/sdk";
|
|
2346
|
-
|
|
2347
|
-
const kombo = new Kombo({
|
|
2348
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
2349
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
2350
|
-
});
|
|
2351
|
-
|
|
2352
|
-
async function run() {
|
|
2353
|
-
const result = await kombo.ats.getInterviews({});
|
|
2354
|
-
|
|
2355
|
-
for await (const page of result) {
|
|
2356
|
-
console.log(page);
|
|
2357
|
-
}
|
|
2358
|
-
}
|
|
2359
|
-
|
|
2360
|
-
run();
|
|
2361
|
-
```
|
|
2362
|
-
|
|
2363
|
-
### Standalone function
|
|
2364
|
-
|
|
2365
|
-
The standalone function version of this method:
|
|
2366
|
-
|
|
2367
|
-
```typescript
|
|
2368
|
-
import { KomboCore } from "@kombo-api/sdk/core.js";
|
|
2369
|
-
import { atsGetInterviews } from "@kombo-api/sdk/funcs/atsGetInterviews.js";
|
|
2370
|
-
|
|
2371
|
-
// Use `KomboCore` for best tree-shaking performance.
|
|
2372
|
-
// You can create one instance of it to use across an application.
|
|
2373
|
-
const kombo = new KomboCore({
|
|
2374
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
2375
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
2376
|
-
});
|
|
2377
|
-
|
|
2378
|
-
async function run() {
|
|
2379
|
-
const res = await atsGetInterviews(kombo, {});
|
|
2380
|
-
if (res.ok) {
|
|
2381
|
-
const { value: result } = res;
|
|
2382
|
-
for await (const page of result) {
|
|
2383
|
-
console.log(page);
|
|
2384
|
-
}
|
|
2385
|
-
} else {
|
|
2386
|
-
console.log("atsGetInterviews failed:", res.error);
|
|
2387
|
-
}
|
|
2388
|
-
}
|
|
2389
|
-
|
|
2390
|
-
run();
|
|
2391
|
-
```
|
|
2392
|
-
|
|
2393
|
-
### Parameters
|
|
2394
|
-
|
|
2395
|
-
| Parameter | Type | Required | Description |
|
|
2396
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
2397
|
-
| `request` | [operations.GetAtsInterviewsRequest](../../models/operations/getatsinterviewsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
2398
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
2399
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
2400
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
2401
|
-
|
|
2402
|
-
### Response
|
|
2403
|
-
|
|
2404
|
-
**Promise\<[operations.GetAtsInterviewsResponse](../../models/operations/getatsinterviewsresponse.md)\>**
|
|
2405
|
-
|
|
2406
|
-
### Errors
|
|
2407
|
-
|
|
2408
|
-
| Error Type | Status Code | Content Type |
|
|
2409
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
2410
|
-
| errors.KomboAtsError | default | application/json |
|
|
2411
|
-
| errors.KomboDefaultError | 4XX, 5XX | \*/\* |
|
|
2412
|
-
|
|
2413
|
-
## importTrackedApplication
|
|
2414
|
-
|
|
2415
|
-
Import tracked application
|
|
2416
|
-
|
|
2417
|
-
Retroactively import existing applications into Kombo's tracking system. This is particularly useful if you have enabled the 'sync only created applications' setting and want to start tracking applications that were created before using Kombo.
|
|
2418
|
-
|
|
2419
|
-
To import an application, you'll need to provide specific identifiers based on the ATS. The available `id_type` values are defined by Kombo based on the tool's API capabilities. Please reach out to Kombo support if you require further types to be supported.
|
|
2420
|
-
|
|
2421
|
-
Once imported, Kombo will automatically fetch and update the application's complete data during the next sync.
|
|
2422
|
-
|
|
2423
|
-
### Example Request Body
|
|
2424
|
-
|
|
2425
|
-
```json
|
|
2426
|
-
{
|
|
2427
|
-
"tracked_at": "2024-04-12T14:33:47.000Z",
|
|
2428
|
-
"successfactors": {
|
|
2429
|
-
"id_type": "application_remote_id",
|
|
2430
|
-
"application_remote_id": "1224042"
|
|
2431
|
-
}
|
|
2432
|
-
}
|
|
2433
|
-
```
|
|
2434
|
-
|
|
2435
|
-
### Example Usage
|
|
2436
|
-
|
|
2437
|
-
<!-- UsageSnippet language="typescript" operationID="PostAtsImportTrackedApplication" method="post" path="/ats/import-tracked-application" -->
|
|
2438
|
-
```typescript
|
|
2439
|
-
import { Kombo } from "@kombo-api/sdk";
|
|
2440
|
-
|
|
2441
|
-
const kombo = new Kombo({
|
|
2442
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
2443
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
2444
|
-
});
|
|
2445
|
-
|
|
2446
|
-
async function run() {
|
|
2447
|
-
const result = await kombo.ats.importTrackedApplication({
|
|
2448
|
-
successfactors: {
|
|
2449
|
-
id_type: "application_remote_id",
|
|
2450
|
-
application_remote_id: "1224042",
|
|
2451
|
-
},
|
|
2452
|
-
tracked_at: new Date("2024-04-12T14:33:47Z"),
|
|
2453
|
-
});
|
|
2454
|
-
|
|
2455
|
-
console.log(result);
|
|
2456
|
-
}
|
|
2457
|
-
|
|
2458
|
-
run();
|
|
2459
|
-
```
|
|
2460
|
-
|
|
2461
|
-
### Standalone function
|
|
2462
|
-
|
|
2463
|
-
The standalone function version of this method:
|
|
2464
|
-
|
|
2465
|
-
```typescript
|
|
2466
|
-
import { KomboCore } from "@kombo-api/sdk/core.js";
|
|
2467
|
-
import { atsImportTrackedApplication } from "@kombo-api/sdk/funcs/atsImportTrackedApplication.js";
|
|
2468
|
-
|
|
2469
|
-
// Use `KomboCore` for best tree-shaking performance.
|
|
2470
|
-
// You can create one instance of it to use across an application.
|
|
2471
|
-
const kombo = new KomboCore({
|
|
2472
|
-
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
|
|
2473
|
-
api_key: "<YOUR_BEARER_TOKEN_HERE>",
|
|
2474
|
-
});
|
|
2475
|
-
|
|
2476
|
-
async function run() {
|
|
2477
|
-
const res = await atsImportTrackedApplication(kombo, {
|
|
2478
|
-
successfactors: {
|
|
2479
|
-
id_type: "application_remote_id",
|
|
2480
|
-
application_remote_id: "1224042",
|
|
2481
|
-
},
|
|
2482
|
-
tracked_at: new Date("2024-04-12T14:33:47Z"),
|
|
2483
|
-
});
|
|
2484
|
-
if (res.ok) {
|
|
2485
|
-
const { value: result } = res;
|
|
2486
|
-
console.log(result);
|
|
2487
|
-
} else {
|
|
2488
|
-
console.log("atsImportTrackedApplication failed:", res.error);
|
|
2489
|
-
}
|
|
2490
|
-
}
|
|
2491
|
-
|
|
2492
|
-
run();
|
|
2493
|
-
```
|
|
2494
|
-
|
|
2495
|
-
### Parameters
|
|
2496
|
-
|
|
2497
|
-
| Parameter | Type | Required | Description |
|
|
2498
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
2499
|
-
| `request` | [models.PostAtsImportTrackedApplicationRequestBody](../../models/postatsimporttrackedapplicationrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
2500
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
2501
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
2502
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
2503
|
-
|
|
2504
|
-
### Response
|
|
2505
|
-
|
|
2506
|
-
**Promise\<[models.PostAtsImportTrackedApplicationPositiveResponse](../../models/postatsimporttrackedapplicationpositiveresponse.md)\>**
|
|
2507
|
-
|
|
2508
|
-
### Errors
|
|
2509
|
-
|
|
2510
|
-
| Error Type | Status Code | Content Type |
|
|
2511
|
-
| ------------------------ | ------------------------ | ------------------------ |
|
|
2512
|
-
| errors.KomboAtsError | default | application/json |
|
|
2513
|
-
| errors.KomboDefaultError | 4XX, 5XX | \*/\* |
|