@kombo-api/sdk 0.2.4 → 0.3.3
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 +5 -5
- package/_speakeasy/.github/action-inputs-config.json +53 -0
- package/_speakeasy/.github/action-security-config.json +88 -0
- package/esm/funcs/assessmentGetOpenOrders.js +1 -1
- package/esm/funcs/assessmentGetOpenOrders.js.map +1 -1
- package/esm/funcs/atsGetApplicationStages.js +2 -1
- package/esm/funcs/atsGetApplicationStages.js.map +1 -1
- package/esm/funcs/atsGetApplications.js +2 -1
- package/esm/funcs/atsGetApplications.js.map +1 -1
- package/esm/funcs/atsGetCandidates.js +2 -1
- package/esm/funcs/atsGetCandidates.js.map +1 -1
- package/esm/funcs/atsGetInterviews.js +2 -1
- package/esm/funcs/atsGetInterviews.js.map +1 -1
- package/esm/funcs/atsGetJobs.js +2 -1
- package/esm/funcs/atsGetJobs.js.map +1 -1
- package/esm/funcs/atsGetOffers.js +2 -1
- package/esm/funcs/atsGetOffers.js.map +1 -1
- package/esm/funcs/atsGetRejectionReasons.js +2 -1
- package/esm/funcs/atsGetRejectionReasons.js.map +1 -1
- package/esm/funcs/atsGetTags.js +2 -1
- package/esm/funcs/atsGetTags.js.map +1 -1
- package/esm/funcs/atsGetUsers.js +2 -1
- package/esm/funcs/atsGetUsers.js.map +1 -1
- package/esm/funcs/generalGetCustomFields.js +1 -1
- package/esm/funcs/generalGetCustomFields.js.map +1 -1
- package/esm/funcs/generalGetIntegrationFields.js +1 -1
- package/esm/funcs/generalGetIntegrationFields.js.map +1 -1
- package/esm/funcs/generalSendPassthroughRequest.d.ts +131 -121
- package/esm/funcs/generalSendPassthroughRequest.d.ts.map +1 -1
- package/esm/funcs/generalSendPassthroughRequest.js +131 -121
- package/esm/funcs/generalSendPassthroughRequest.js.map +1 -1
- package/esm/funcs/hrisGetAbsenceTypes.js +2 -1
- package/esm/funcs/hrisGetAbsenceTypes.js.map +1 -1
- package/esm/funcs/hrisGetAbsences.js +2 -1
- package/esm/funcs/hrisGetAbsences.js.map +1 -1
- package/esm/funcs/hrisGetEmployeeDocumentCategories.js +2 -1
- package/esm/funcs/hrisGetEmployeeDocumentCategories.js.map +1 -1
- package/esm/funcs/hrisGetEmployees.js +2 -1
- package/esm/funcs/hrisGetEmployees.js.map +1 -1
- package/esm/funcs/hrisGetEmployments.js +2 -1
- package/esm/funcs/hrisGetEmployments.js.map +1 -1
- package/esm/funcs/hrisGetGroups.js +2 -1
- package/esm/funcs/hrisGetGroups.js.map +1 -1
- package/esm/funcs/hrisGetLegalEntities.js +2 -1
- package/esm/funcs/hrisGetLegalEntities.js.map +1 -1
- package/esm/funcs/hrisGetLocations.js +2 -1
- package/esm/funcs/hrisGetLocations.js.map +1 -1
- package/esm/funcs/hrisGetPerformanceReviewCycles.js +2 -1
- package/esm/funcs/hrisGetPerformanceReviewCycles.js.map +1 -1
- package/esm/funcs/hrisGetPerformanceReviews.js +2 -1
- package/esm/funcs/hrisGetPerformanceReviews.js.map +1 -1
- package/esm/funcs/hrisGetTimeOffBalances.js +2 -1
- package/esm/funcs/hrisGetTimeOffBalances.js.map +1 -1
- package/esm/funcs/hrisGetTimesheets.js +2 -1
- package/esm/funcs/hrisGetTimesheets.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/encodings.d.ts +1 -0
- package/esm/lib/encodings.d.ts.map +1 -1
- package/esm/lib/encodings.js +12 -1
- package/esm/lib/encodings.js.map +1 -1
- package/esm/models/assessmentorderreceivedwebhookpayload.d.ts +5 -5
- package/esm/models/assessmentorderreceivedwebhookpayload.d.ts.map +1 -1
- package/esm/models/assessmentorderreceivedwebhookpayload.js +2 -2
- package/esm/models/assessmentorderreceivedwebhookpayload.js.map +1 -1
- package/esm/models/connectionflowfailedwebhookpayload.d.ts +4 -3
- package/esm/models/connectionflowfailedwebhookpayload.d.ts.map +1 -1
- package/esm/models/connectionflowfailedwebhookpayload.js +2 -1
- package/esm/models/connectionflowfailedwebhookpayload.js.map +1 -1
- package/esm/models/datachangedwebhookpayload.d.ts +11 -3
- package/esm/models/datachangedwebhookpayload.d.ts.map +1 -1
- package/esm/models/datachangedwebhookpayload.js +9 -1
- package/esm/models/datachangedwebhookpayload.js.map +1 -1
- package/esm/models/getassessmentordersopenpositiveresponse.d.ts +4 -4
- package/esm/models/getassessmentordersopenpositiveresponse.d.ts.map +1 -1
- package/esm/models/getassessmentordersopenpositiveresponse.js +1 -1
- package/esm/models/getassessmentordersopenpositiveresponse.js.map +1 -1
- package/esm/models/getatsjobspositiveresponse.d.ts +3 -3
- package/esm/models/getatsjobspositiveresponse.d.ts.map +1 -1
- package/esm/models/getatsjobspositiveresponse.js +4 -4
- package/esm/models/getatsjobspositiveresponse.js.map +1 -1
- package/esm/models/gethrisemployeesformpositiveresponse.d.ts +2 -2
- package/esm/models/gethrisemployeesformpositiveresponse.d.ts.map +1 -1
- package/esm/models/gethrisemployeesformpositiveresponse.js +8 -8
- package/esm/models/gethrisemployeesformpositiveresponse.js.map +1 -1
- package/esm/models/getintegrationsintegrationidpositiveresponse.d.ts +158 -16
- package/esm/models/getintegrationsintegrationidpositiveresponse.d.ts.map +1 -1
- package/esm/models/getintegrationsintegrationidpositiveresponse.js +87 -13
- package/esm/models/getintegrationsintegrationidpositiveresponse.js.map +1 -1
- package/esm/models/gettoolscategoryparametercategory.d.ts +1 -0
- package/esm/models/gettoolscategoryparametercategory.d.ts.map +1 -1
- package/esm/models/gettoolscategoryparametercategory.js +1 -0
- package/esm/models/gettoolscategoryparametercategory.js.map +1 -1
- package/esm/models/gettoolscategorypositiveresponse.d.ts +66 -16
- package/esm/models/gettoolscategorypositiveresponse.d.ts.map +1 -1
- package/esm/models/gettoolscategorypositiveresponse.js +41 -14
- package/esm/models/gettoolscategorypositiveresponse.js.map +1 -1
- package/esm/models/inlineassessmentorderreceivedwebhookpayload.d.ts +5 -5
- package/esm/models/inlineassessmentorderreceivedwebhookpayload.d.ts.map +1 -1
- package/esm/models/inlineassessmentorderreceivedwebhookpayload.js +2 -2
- package/esm/models/inlineassessmentorderreceivedwebhookpayload.js.map +1 -1
- package/esm/models/integrationcreatedwebhookpayload.d.ts +1 -0
- package/esm/models/integrationcreatedwebhookpayload.d.ts.map +1 -1
- package/esm/models/integrationcreatedwebhookpayload.js +1 -0
- package/esm/models/integrationcreatedwebhookpayload.js.map +1 -1
- package/esm/models/integrationdeletedwebhookpayload.d.ts +1 -0
- package/esm/models/integrationdeletedwebhookpayload.d.ts.map +1 -1
- package/esm/models/integrationdeletedwebhookpayload.js +1 -0
- package/esm/models/integrationdeletedwebhookpayload.js.map +1 -1
- package/esm/models/integrationstatechangedwebhookpayload.d.ts +4 -3
- package/esm/models/integrationstatechangedwebhookpayload.d.ts.map +1 -1
- package/esm/models/integrationstatechangedwebhookpayload.js +2 -1
- package/esm/models/integrationstatechangedwebhookpayload.js.map +1 -1
- package/esm/models/kombohriserror.d.ts +1 -0
- package/esm/models/kombohriserror.d.ts.map +1 -1
- package/esm/models/kombohriserror.js +1 -0
- package/esm/models/kombohriserror.js.map +1 -1
- package/esm/models/operations/getatsapplications.d.ts +5 -0
- package/esm/models/operations/getatsapplications.d.ts.map +1 -1
- package/esm/models/operations/getatsapplications.js +1 -0
- package/esm/models/operations/getatsapplications.js.map +1 -1
- package/esm/models/operations/getatsapplicationstages.d.ts +5 -0
- package/esm/models/operations/getatsapplicationstages.d.ts.map +1 -1
- package/esm/models/operations/getatsapplicationstages.js +1 -0
- package/esm/models/operations/getatsapplicationstages.js.map +1 -1
- package/esm/models/operations/getatscandidates.d.ts +5 -0
- package/esm/models/operations/getatscandidates.d.ts.map +1 -1
- package/esm/models/operations/getatscandidates.js +1 -0
- package/esm/models/operations/getatscandidates.js.map +1 -1
- package/esm/models/operations/getatsinterviews.d.ts +5 -0
- package/esm/models/operations/getatsinterviews.d.ts.map +1 -1
- package/esm/models/operations/getatsinterviews.js +1 -0
- package/esm/models/operations/getatsinterviews.js.map +1 -1
- package/esm/models/operations/getatsjobs.d.ts +5 -0
- package/esm/models/operations/getatsjobs.d.ts.map +1 -1
- package/esm/models/operations/getatsjobs.js +1 -0
- package/esm/models/operations/getatsjobs.js.map +1 -1
- package/esm/models/operations/getatsoffers.d.ts +5 -0
- package/esm/models/operations/getatsoffers.d.ts.map +1 -1
- package/esm/models/operations/getatsoffers.js +1 -0
- package/esm/models/operations/getatsoffers.js.map +1 -1
- package/esm/models/operations/getatsrejectionreasons.d.ts +5 -0
- package/esm/models/operations/getatsrejectionreasons.d.ts.map +1 -1
- package/esm/models/operations/getatsrejectionreasons.js +1 -0
- package/esm/models/operations/getatsrejectionreasons.js.map +1 -1
- package/esm/models/operations/getatstags.d.ts +5 -0
- package/esm/models/operations/getatstags.d.ts.map +1 -1
- package/esm/models/operations/getatstags.js +1 -0
- package/esm/models/operations/getatstags.js.map +1 -1
- package/esm/models/operations/getatsusers.d.ts +5 -0
- package/esm/models/operations/getatsusers.d.ts.map +1 -1
- package/esm/models/operations/getatsusers.js +1 -0
- package/esm/models/operations/getatsusers.js.map +1 -1
- package/esm/models/operations/gethrisabsences.d.ts +5 -0
- package/esm/models/operations/gethrisabsences.d.ts.map +1 -1
- package/esm/models/operations/gethrisabsences.js +1 -0
- package/esm/models/operations/gethrisabsences.js.map +1 -1
- package/esm/models/operations/gethrisabsencetypes.d.ts +5 -0
- package/esm/models/operations/gethrisabsencetypes.d.ts.map +1 -1
- package/esm/models/operations/gethrisabsencetypes.js +1 -0
- package/esm/models/operations/gethrisabsencetypes.js.map +1 -1
- package/esm/models/operations/gethrisemployeedocumentcategories.d.ts +5 -0
- package/esm/models/operations/gethrisemployeedocumentcategories.d.ts.map +1 -1
- package/esm/models/operations/gethrisemployeedocumentcategories.js +1 -0
- package/esm/models/operations/gethrisemployeedocumentcategories.js.map +1 -1
- package/esm/models/operations/gethrisemployees.d.ts +5 -0
- package/esm/models/operations/gethrisemployees.d.ts.map +1 -1
- package/esm/models/operations/gethrisemployees.js +1 -0
- package/esm/models/operations/gethrisemployees.js.map +1 -1
- package/esm/models/operations/gethrisemployments.d.ts +5 -0
- package/esm/models/operations/gethrisemployments.d.ts.map +1 -1
- package/esm/models/operations/gethrisemployments.js +1 -0
- package/esm/models/operations/gethrisemployments.js.map +1 -1
- package/esm/models/operations/gethrisgroups.d.ts +5 -0
- package/esm/models/operations/gethrisgroups.d.ts.map +1 -1
- package/esm/models/operations/gethrisgroups.js +1 -0
- package/esm/models/operations/gethrisgroups.js.map +1 -1
- package/esm/models/operations/gethrislegalentities.d.ts +5 -0
- package/esm/models/operations/gethrislegalentities.d.ts.map +1 -1
- package/esm/models/operations/gethrislegalentities.js +1 -0
- package/esm/models/operations/gethrislegalentities.js.map +1 -1
- package/esm/models/operations/gethrislocations.d.ts +5 -0
- package/esm/models/operations/gethrislocations.d.ts.map +1 -1
- package/esm/models/operations/gethrislocations.js +1 -0
- package/esm/models/operations/gethrislocations.js.map +1 -1
- package/esm/models/operations/gethrisperformancereviewcycles.d.ts +5 -0
- package/esm/models/operations/gethrisperformancereviewcycles.d.ts.map +1 -1
- package/esm/models/operations/gethrisperformancereviewcycles.js +1 -0
- package/esm/models/operations/gethrisperformancereviewcycles.js.map +1 -1
- package/esm/models/operations/gethrisperformancereviews.d.ts +5 -0
- package/esm/models/operations/gethrisperformancereviews.d.ts.map +1 -1
- package/esm/models/operations/gethrisperformancereviews.js +1 -0
- package/esm/models/operations/gethrisperformancereviews.js.map +1 -1
- package/esm/models/operations/gethristimeoffbalances.d.ts +5 -0
- package/esm/models/operations/gethristimeoffbalances.d.ts.map +1 -1
- package/esm/models/operations/gethristimeoffbalances.js +1 -0
- package/esm/models/operations/gethristimeoffbalances.js.map +1 -1
- package/esm/models/operations/gethristimesheets.d.ts +5 -0
- package/esm/models/operations/gethristimesheets.d.ts.map +1 -1
- package/esm/models/operations/gethristimesheets.js +1 -0
- package/esm/models/operations/gethristimesheets.js.map +1 -1
- package/esm/models/postatsapplicationsapplicationidrejectrequestbody.d.ts +21 -0
- package/esm/models/postatsapplicationsapplicationidrejectrequestbody.d.ts.map +1 -1
- package/esm/models/postatsapplicationsapplicationidrejectrequestbody.js +9 -0
- package/esm/models/postatsapplicationsapplicationidrejectrequestbody.js.map +1 -1
- package/esm/models/postatscandidatesrequestbody.d.ts +64 -0
- package/esm/models/postatscandidatesrequestbody.d.ts.map +1 -1
- package/esm/models/postatscandidatesrequestbody.js +25 -0
- package/esm/models/postatscandidatesrequestbody.js.map +1 -1
- package/esm/models/postatsjobsjobidapplicationsrequestbody.d.ts +64 -0
- package/esm/models/postatsjobsjobidapplicationsrequestbody.d.ts.map +1 -1
- package/esm/models/postatsjobsjobidapplicationsrequestbody.js +25 -0
- package/esm/models/postatsjobsjobidapplicationsrequestbody.js.map +1 -1
- package/esm/models/postconnectcreatelinkrequestbody.d.ts +71 -65
- package/esm/models/postconnectcreatelinkrequestbody.d.ts.map +1 -1
- package/esm/models/postconnectcreatelinkrequestbody.js +71 -65
- package/esm/models/postconnectcreatelinkrequestbody.js.map +1 -1
- package/esm/models/posthrisemployeesformpositiveresponse.d.ts +15 -3
- package/esm/models/posthrisemployeesformpositiveresponse.d.ts.map +1 -1
- package/esm/models/posthrisemployeesformpositiveresponse.js +8 -1
- package/esm/models/posthrisemployeesformpositiveresponse.js.map +1 -1
- package/esm/models/putassessmentordersassessmentorderidresultrequestbody.d.ts +4 -4
- package/esm/models/putassessmentordersassessmentorderidresultrequestbody.d.ts.map +1 -1
- package/esm/models/putassessmentordersassessmentorderidresultrequestbody.js +2 -2
- package/esm/models/putassessmentordersassessmentorderidresultrequestbody.js.map +1 -1
- package/esm/models/schema1union1.d.ts +1 -1
- package/esm/models/schema1union1.d.ts.map +1 -1
- package/esm/models/schema1union1.js +4 -4
- package/esm/models/schema1union1.js.map +1 -1
- package/esm/models/schema1union2.d.ts +1 -1
- package/esm/models/schema1union2.d.ts.map +1 -1
- package/esm/models/schema1union2.js +4 -4
- package/esm/models/schema1union2.js.map +1 -1
- package/esm/models/schema2union1.d.ts +2 -2
- package/esm/models/schema2union1.d.ts.map +1 -1
- package/esm/models/schema2union1.js +8 -8
- package/esm/models/schema2union1.js.map +1 -1
- package/esm/models/schema2union2.d.ts +2 -2
- package/esm/models/schema2union2.d.ts.map +1 -1
- package/esm/models/schema2union2.js +8 -8
- package/esm/models/schema2union2.js.map +1 -1
- package/esm/models/syncfinishedwebhookpayload.d.ts +4 -3
- package/esm/models/syncfinishedwebhookpayload.d.ts.map +1 -1
- package/esm/models/syncfinishedwebhookpayload.js +2 -1
- package/esm/models/syncfinishedwebhookpayload.js.map +1 -1
- package/esm/sdk/general.d.ts +131 -121
- package/esm/sdk/general.d.ts.map +1 -1
- package/esm/sdk/general.js +131 -121
- package/esm/sdk/general.js.map +1 -1
- package/esm/types/unrecognized.d.ts +7 -1
- package/esm/types/unrecognized.d.ts.map +1 -1
- package/esm/types/unrecognized.js +9 -1
- package/esm/types/unrecognized.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/assessmentGetOpenOrders.ts +1 -1
- package/src/funcs/atsGetApplicationStages.ts +2 -1
- package/src/funcs/atsGetApplications.ts +2 -1
- package/src/funcs/atsGetCandidates.ts +2 -1
- package/src/funcs/atsGetInterviews.ts +2 -1
- package/src/funcs/atsGetJobs.ts +2 -1
- package/src/funcs/atsGetOffers.ts +2 -1
- package/src/funcs/atsGetRejectionReasons.ts +2 -1
- package/src/funcs/atsGetTags.ts +2 -1
- package/src/funcs/atsGetUsers.ts +2 -1
- package/src/funcs/generalGetCustomFields.ts +1 -1
- package/src/funcs/generalGetIntegrationFields.ts +1 -1
- package/src/funcs/generalSendPassthroughRequest.ts +131 -121
- package/src/funcs/hrisGetAbsenceTypes.ts +2 -1
- package/src/funcs/hrisGetAbsences.ts +2 -1
- package/src/funcs/hrisGetEmployeeDocumentCategories.ts +2 -1
- package/src/funcs/hrisGetEmployees.ts +2 -1
- package/src/funcs/hrisGetEmployments.ts +2 -1
- package/src/funcs/hrisGetGroups.ts +2 -1
- package/src/funcs/hrisGetLegalEntities.ts +2 -1
- package/src/funcs/hrisGetLocations.ts +2 -1
- package/src/funcs/hrisGetPerformanceReviewCycles.ts +2 -1
- package/src/funcs/hrisGetPerformanceReviews.ts +2 -1
- package/src/funcs/hrisGetTimeOffBalances.ts +2 -1
- package/src/funcs/hrisGetTimesheets.ts +2 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +17 -3
- package/src/models/assessmentorderreceivedwebhookpayload.ts +7 -7
- package/src/models/connectionflowfailedwebhookpayload.ts +4 -3
- package/src/models/datachangedwebhookpayload.ts +11 -3
- package/src/models/getassessmentordersopenpositiveresponse.ts +5 -5
- package/src/models/getatsjobspositiveresponse.ts +9 -9
- package/src/models/gethrisemployeesformpositiveresponse.ts +18 -18
- package/src/models/getintegrationsintegrationidpositiveresponse.ts +292 -44
- package/src/models/gettoolscategoryparametercategory.ts +1 -0
- package/src/models/gettoolscategorypositiveresponse.ts +160 -48
- package/src/models/inlineassessmentorderreceivedwebhookpayload.ts +7 -7
- package/src/models/integrationcreatedwebhookpayload.ts +1 -0
- package/src/models/integrationdeletedwebhookpayload.ts +1 -0
- package/src/models/integrationstatechangedwebhookpayload.ts +4 -3
- package/src/models/kombohriserror.ts +1 -0
- package/src/models/operations/getatsapplications.ts +6 -0
- package/src/models/operations/getatsapplicationstages.ts +6 -0
- package/src/models/operations/getatscandidates.ts +6 -0
- package/src/models/operations/getatsinterviews.ts +6 -0
- package/src/models/operations/getatsjobs.ts +6 -0
- package/src/models/operations/getatsoffers.ts +6 -0
- package/src/models/operations/getatsrejectionreasons.ts +6 -0
- package/src/models/operations/getatstags.ts +6 -0
- package/src/models/operations/getatsusers.ts +6 -0
- package/src/models/operations/gethrisabsences.ts +6 -0
- package/src/models/operations/gethrisabsencetypes.ts +6 -0
- package/src/models/operations/gethrisemployeedocumentcategories.ts +6 -0
- package/src/models/operations/gethrisemployees.ts +6 -0
- package/src/models/operations/gethrisemployments.ts +6 -0
- package/src/models/operations/gethrisgroups.ts +6 -0
- package/src/models/operations/gethrislegalentities.ts +6 -0
- package/src/models/operations/gethrislocations.ts +6 -0
- package/src/models/operations/gethrisperformancereviewcycles.ts +6 -0
- package/src/models/operations/gethrisperformancereviews.ts +6 -0
- package/src/models/operations/gethristimeoffbalances.ts +6 -0
- package/src/models/operations/gethristimesheets.ts +6 -0
- package/src/models/postatsapplicationsapplicationidrejectrequestbody.ts +48 -0
- package/src/models/postatscandidatesrequestbody.ts +127 -0
- package/src/models/postatsjobsjobidapplicationsrequestbody.ts +137 -0
- package/src/models/postconnectcreatelinkrequestbody.ts +71 -65
- package/src/models/posthrisemployeesformpositiveresponse.ts +30 -4
- package/src/models/putassessmentordersassessmentorderidresultrequestbody.ts +7 -7
- package/src/models/schema1union1.ts +9 -9
- package/src/models/schema1union2.ts +9 -9
- package/src/models/schema2union1.ts +18 -18
- package/src/models/schema2union2.ts +18 -18
- package/src/models/syncfinishedwebhookpayload.ts +4 -3
- package/src/sdk/general.ts +131 -121
- package/src/types/unrecognized.ts +9 -1
- package/tests/basic-behavior.spec.ts +355 -2
- package/tests/employee-form-flow.spec.ts +175 -0
- package/tests/helpers/test-context.ts +5 -2
- package/tsconfig.json +1 -2
|
@@ -48,6 +48,7 @@ export type PostAtsJobsJobIdApplicationsRequestBodyLocation = {
|
|
|
48
48
|
*/
|
|
49
49
|
country: string;
|
|
50
50
|
state?: string | undefined;
|
|
51
|
+
street_1?: string | undefined;
|
|
51
52
|
zip_code?: string | undefined;
|
|
52
53
|
};
|
|
53
54
|
|
|
@@ -748,6 +749,38 @@ export type PostAtsJobsJobIdApplicationsRequestBodyPiloga = {
|
|
|
748
749
|
| undefined;
|
|
749
750
|
};
|
|
750
751
|
|
|
752
|
+
/**
|
|
753
|
+
* Fields specific to Pinpoint.
|
|
754
|
+
*/
|
|
755
|
+
export type PostAtsJobsJobIdApplicationsRequestBodyPinpoint = {
|
|
756
|
+
/**
|
|
757
|
+
* Fields that we will pass through to Pinpoint's `Candidate` object.
|
|
758
|
+
*/
|
|
759
|
+
candidate?: { [k: string]: any } | undefined;
|
|
760
|
+
};
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* Additional candidate fields that will be passed to the Coveto candidate creation.
|
|
764
|
+
*/
|
|
765
|
+
export type PostAtsJobsJobIdApplicationsRequestBodyCovetorestCandidate = {
|
|
766
|
+
/**
|
|
767
|
+
* The mandant field for the candidate in Coveto.
|
|
768
|
+
*/
|
|
769
|
+
mandant?: number | undefined;
|
|
770
|
+
};
|
|
771
|
+
|
|
772
|
+
/**
|
|
773
|
+
* Fields specific to Coveto REST.
|
|
774
|
+
*/
|
|
775
|
+
export type PostAtsJobsJobIdApplicationsRequestBodyCovetorest = {
|
|
776
|
+
/**
|
|
777
|
+
* Additional candidate fields that will be passed to the Coveto candidate creation.
|
|
778
|
+
*/
|
|
779
|
+
candidate?:
|
|
780
|
+
| PostAtsJobsJobIdApplicationsRequestBodyCovetorestCandidate
|
|
781
|
+
| undefined;
|
|
782
|
+
};
|
|
783
|
+
|
|
751
784
|
/**
|
|
752
785
|
* Additional fields that we will pass through to specific ATS systems.
|
|
753
786
|
*/
|
|
@@ -833,6 +866,14 @@ export type PostAtsJobsJobIdApplicationsRequestBodyRemoteFields = {
|
|
|
833
866
|
* Fields specific to P&I Loga.
|
|
834
867
|
*/
|
|
835
868
|
piloga?: PostAtsJobsJobIdApplicationsRequestBodyPiloga | undefined;
|
|
869
|
+
/**
|
|
870
|
+
* Fields specific to Pinpoint.
|
|
871
|
+
*/
|
|
872
|
+
pinpoint?: PostAtsJobsJobIdApplicationsRequestBodyPinpoint | undefined;
|
|
873
|
+
/**
|
|
874
|
+
* Fields specific to Coveto REST.
|
|
875
|
+
*/
|
|
876
|
+
covetorest?: PostAtsJobsJobIdApplicationsRequestBodyCovetorest | undefined;
|
|
836
877
|
};
|
|
837
878
|
|
|
838
879
|
/**
|
|
@@ -1066,6 +1107,7 @@ export type PostAtsJobsJobIdApplicationsRequestBodyLocation$Outbound = {
|
|
|
1066
1107
|
city?: string | undefined;
|
|
1067
1108
|
country: string;
|
|
1068
1109
|
state?: string | undefined;
|
|
1110
|
+
street_1?: string | undefined;
|
|
1069
1111
|
zip_code?: string | undefined;
|
|
1070
1112
|
};
|
|
1071
1113
|
|
|
@@ -1079,6 +1121,7 @@ export const PostAtsJobsJobIdApplicationsRequestBodyLocation$outboundSchema:
|
|
|
1079
1121
|
city: z.string().optional(),
|
|
1080
1122
|
country: z.string(),
|
|
1081
1123
|
state: z.string().optional(),
|
|
1124
|
+
street_1: z.string().optional(),
|
|
1082
1125
|
zip_code: z.string().optional(),
|
|
1083
1126
|
});
|
|
1084
1127
|
|
|
@@ -3078,6 +3121,88 @@ export function postAtsJobsJobIdApplicationsRequestBodyPilogaToJSON(
|
|
|
3078
3121
|
);
|
|
3079
3122
|
}
|
|
3080
3123
|
|
|
3124
|
+
/** @internal */
|
|
3125
|
+
export type PostAtsJobsJobIdApplicationsRequestBodyPinpoint$Outbound = {
|
|
3126
|
+
candidate?: { [k: string]: any } | undefined;
|
|
3127
|
+
};
|
|
3128
|
+
|
|
3129
|
+
/** @internal */
|
|
3130
|
+
export const PostAtsJobsJobIdApplicationsRequestBodyPinpoint$outboundSchema:
|
|
3131
|
+
z.ZodType<
|
|
3132
|
+
PostAtsJobsJobIdApplicationsRequestBodyPinpoint$Outbound,
|
|
3133
|
+
z.ZodTypeDef,
|
|
3134
|
+
PostAtsJobsJobIdApplicationsRequestBodyPinpoint
|
|
3135
|
+
> = z.object({
|
|
3136
|
+
candidate: z.record(z.any()).optional(),
|
|
3137
|
+
});
|
|
3138
|
+
|
|
3139
|
+
export function postAtsJobsJobIdApplicationsRequestBodyPinpointToJSON(
|
|
3140
|
+
postAtsJobsJobIdApplicationsRequestBodyPinpoint:
|
|
3141
|
+
PostAtsJobsJobIdApplicationsRequestBodyPinpoint,
|
|
3142
|
+
): string {
|
|
3143
|
+
return JSON.stringify(
|
|
3144
|
+
PostAtsJobsJobIdApplicationsRequestBodyPinpoint$outboundSchema.parse(
|
|
3145
|
+
postAtsJobsJobIdApplicationsRequestBodyPinpoint,
|
|
3146
|
+
),
|
|
3147
|
+
);
|
|
3148
|
+
}
|
|
3149
|
+
|
|
3150
|
+
/** @internal */
|
|
3151
|
+
export type PostAtsJobsJobIdApplicationsRequestBodyCovetorestCandidate$Outbound =
|
|
3152
|
+
{
|
|
3153
|
+
mandant?: number | undefined;
|
|
3154
|
+
};
|
|
3155
|
+
|
|
3156
|
+
/** @internal */
|
|
3157
|
+
export const PostAtsJobsJobIdApplicationsRequestBodyCovetorestCandidate$outboundSchema:
|
|
3158
|
+
z.ZodType<
|
|
3159
|
+
PostAtsJobsJobIdApplicationsRequestBodyCovetorestCandidate$Outbound,
|
|
3160
|
+
z.ZodTypeDef,
|
|
3161
|
+
PostAtsJobsJobIdApplicationsRequestBodyCovetorestCandidate
|
|
3162
|
+
> = z.object({
|
|
3163
|
+
mandant: z.number().optional(),
|
|
3164
|
+
});
|
|
3165
|
+
|
|
3166
|
+
export function postAtsJobsJobIdApplicationsRequestBodyCovetorestCandidateToJSON(
|
|
3167
|
+
postAtsJobsJobIdApplicationsRequestBodyCovetorestCandidate:
|
|
3168
|
+
PostAtsJobsJobIdApplicationsRequestBodyCovetorestCandidate,
|
|
3169
|
+
): string {
|
|
3170
|
+
return JSON.stringify(
|
|
3171
|
+
PostAtsJobsJobIdApplicationsRequestBodyCovetorestCandidate$outboundSchema
|
|
3172
|
+
.parse(postAtsJobsJobIdApplicationsRequestBodyCovetorestCandidate),
|
|
3173
|
+
);
|
|
3174
|
+
}
|
|
3175
|
+
|
|
3176
|
+
/** @internal */
|
|
3177
|
+
export type PostAtsJobsJobIdApplicationsRequestBodyCovetorest$Outbound = {
|
|
3178
|
+
candidate?:
|
|
3179
|
+
| PostAtsJobsJobIdApplicationsRequestBodyCovetorestCandidate$Outbound
|
|
3180
|
+
| undefined;
|
|
3181
|
+
};
|
|
3182
|
+
|
|
3183
|
+
/** @internal */
|
|
3184
|
+
export const PostAtsJobsJobIdApplicationsRequestBodyCovetorest$outboundSchema:
|
|
3185
|
+
z.ZodType<
|
|
3186
|
+
PostAtsJobsJobIdApplicationsRequestBodyCovetorest$Outbound,
|
|
3187
|
+
z.ZodTypeDef,
|
|
3188
|
+
PostAtsJobsJobIdApplicationsRequestBodyCovetorest
|
|
3189
|
+
> = z.object({
|
|
3190
|
+
candidate: z.lazy(() =>
|
|
3191
|
+
PostAtsJobsJobIdApplicationsRequestBodyCovetorestCandidate$outboundSchema
|
|
3192
|
+
).optional(),
|
|
3193
|
+
});
|
|
3194
|
+
|
|
3195
|
+
export function postAtsJobsJobIdApplicationsRequestBodyCovetorestToJSON(
|
|
3196
|
+
postAtsJobsJobIdApplicationsRequestBodyCovetorest:
|
|
3197
|
+
PostAtsJobsJobIdApplicationsRequestBodyCovetorest,
|
|
3198
|
+
): string {
|
|
3199
|
+
return JSON.stringify(
|
|
3200
|
+
PostAtsJobsJobIdApplicationsRequestBodyCovetorest$outboundSchema.parse(
|
|
3201
|
+
postAtsJobsJobIdApplicationsRequestBodyCovetorest,
|
|
3202
|
+
),
|
|
3203
|
+
);
|
|
3204
|
+
}
|
|
3205
|
+
|
|
3081
3206
|
/** @internal */
|
|
3082
3207
|
export type PostAtsJobsJobIdApplicationsRequestBodyRemoteFields$Outbound = {
|
|
3083
3208
|
successfactors?:
|
|
@@ -3124,6 +3249,12 @@ export type PostAtsJobsJobIdApplicationsRequestBodyRemoteFields$Outbound = {
|
|
|
3124
3249
|
| undefined;
|
|
3125
3250
|
umantis?: PostAtsJobsJobIdApplicationsRequestBodyUmantis$Outbound | undefined;
|
|
3126
3251
|
piloga?: PostAtsJobsJobIdApplicationsRequestBodyPiloga$Outbound | undefined;
|
|
3252
|
+
pinpoint?:
|
|
3253
|
+
| PostAtsJobsJobIdApplicationsRequestBodyPinpoint$Outbound
|
|
3254
|
+
| undefined;
|
|
3255
|
+
covetorest?:
|
|
3256
|
+
| PostAtsJobsJobIdApplicationsRequestBodyCovetorest$Outbound
|
|
3257
|
+
| undefined;
|
|
3127
3258
|
};
|
|
3128
3259
|
|
|
3129
3260
|
/** @internal */
|
|
@@ -3193,6 +3324,12 @@ export const PostAtsJobsJobIdApplicationsRequestBodyRemoteFields$outboundSchema:
|
|
|
3193
3324
|
piloga: z.lazy(() =>
|
|
3194
3325
|
PostAtsJobsJobIdApplicationsRequestBodyPiloga$outboundSchema
|
|
3195
3326
|
).optional(),
|
|
3327
|
+
pinpoint: z.lazy(() =>
|
|
3328
|
+
PostAtsJobsJobIdApplicationsRequestBodyPinpoint$outboundSchema
|
|
3329
|
+
).optional(),
|
|
3330
|
+
covetorest: z.lazy(() =>
|
|
3331
|
+
PostAtsJobsJobIdApplicationsRequestBodyCovetorest$outboundSchema
|
|
3332
|
+
).optional(),
|
|
3196
3333
|
});
|
|
3197
3334
|
|
|
3198
3335
|
export function postAtsJobsJobIdApplicationsRequestBodyRemoteFieldsToJSON(
|
|
@@ -12,6 +12,7 @@ export const PostConnectCreateLinkRequestBodyIntegrationCategory = {
|
|
|
12
12
|
Hris: "HRIS",
|
|
13
13
|
Ats: "ATS",
|
|
14
14
|
Assessment: "ASSESSMENT",
|
|
15
|
+
Lms: "LMS",
|
|
15
16
|
} as const;
|
|
16
17
|
/**
|
|
17
18
|
* Category of the integration you want your customer to create.
|
|
@@ -24,10 +25,7 @@ export type PostConnectCreateLinkRequestBodyIntegrationCategory = ClosedEnum<
|
|
|
24
25
|
* Pre-define a tool this integration link can be used for.
|
|
25
26
|
*/
|
|
26
27
|
export const IntegrationTool = {
|
|
27
|
-
Personio: "personio",
|
|
28
28
|
Workday: "workday",
|
|
29
|
-
Workdaycustomreport: "workdaycustomreport",
|
|
30
|
-
Workdaycustomreportsftp: "workdaycustomreportsftp",
|
|
31
29
|
Successfactors: "successfactors",
|
|
32
30
|
Smartrecruiters: "smartrecruiters",
|
|
33
31
|
Factorial: "factorial",
|
|
@@ -48,6 +46,7 @@ export const IntegrationTool = {
|
|
|
48
46
|
Talention: "talention",
|
|
49
47
|
Piloga: "piloga",
|
|
50
48
|
Onlyfy: "onlyfy",
|
|
49
|
+
Personio: "personio",
|
|
51
50
|
Ukgpro: "ukgpro",
|
|
52
51
|
Ukgready: "ukgready",
|
|
53
52
|
Adpworkforcenow: "adpworkforcenow",
|
|
@@ -58,138 +57,145 @@ export const IntegrationTool = {
|
|
|
58
57
|
Bullhorn: "bullhorn",
|
|
59
58
|
Bullhornlogin: "bullhornlogin",
|
|
60
59
|
Workable: "workable",
|
|
60
|
+
Jobvite: "jobvite",
|
|
61
|
+
Fountain: "fountain",
|
|
62
|
+
Softgarden: "softgarden",
|
|
63
|
+
Softgardenpartner: "softgardenpartner",
|
|
64
|
+
Pinpoint: "pinpoint",
|
|
65
|
+
Welcometothejungle: "welcometothejungle",
|
|
66
|
+
Dvinci: "dvinci",
|
|
67
|
+
Dvinciadmin: "dvinciadmin",
|
|
68
|
+
Join: "join",
|
|
69
|
+
Sagehr: "sagehr",
|
|
70
|
+
Traffit: "traffit",
|
|
71
|
+
Erecruiter: "erecruiter",
|
|
72
|
+
Abacusumantis: "abacusumantis",
|
|
73
|
+
Umantis: "umantis",
|
|
74
|
+
Jobylon: "jobylon",
|
|
75
|
+
Taleez: "taleez",
|
|
76
|
+
Hrworks: "hrworks",
|
|
77
|
+
Otys: "otys",
|
|
78
|
+
Zohorecruit: "zohorecruit",
|
|
79
|
+
Ceipal: "ceipal",
|
|
80
|
+
Eploy: "eploy",
|
|
81
|
+
Jobdiva: "jobdiva",
|
|
82
|
+
Careerplug: "careerplug",
|
|
83
|
+
Perview: "perview",
|
|
84
|
+
Eightfold: "eightfold",
|
|
85
|
+
Paylocity: "paylocity",
|
|
86
|
+
Paycor: "paycor",
|
|
87
|
+
Avature: "avature",
|
|
88
|
+
Apploi: "apploi",
|
|
89
|
+
Phenom: "phenom",
|
|
90
|
+
Paradox: "paradox",
|
|
91
|
+
Heyrecruit: "heyrecruit",
|
|
92
|
+
Recruhr: "recruhr",
|
|
93
|
+
Jazzhr: "jazzhr",
|
|
94
|
+
Bite: "bite",
|
|
95
|
+
Homerun: "homerun",
|
|
96
|
+
Mysolution: "mysolution",
|
|
97
|
+
Carerix: "carerix",
|
|
98
|
+
Hroffice: "hroffice",
|
|
99
|
+
Talentclue: "talentclue",
|
|
100
|
+
Inrecruiting: "inrecruiting",
|
|
101
|
+
Ubeeo: "ubeeo",
|
|
102
|
+
Connexys: "connexys",
|
|
103
|
+
Hr4you: "hr4you",
|
|
104
|
+
Cornerstoneondemand: "cornerstoneondemand",
|
|
105
|
+
Zvooverecruit: "zvooverecruit",
|
|
106
|
+
Comeet: "comeet",
|
|
107
|
+
Compleet: "compleet",
|
|
108
|
+
Compleetpitcher: "compleetpitcher",
|
|
109
|
+
Gem: "gem",
|
|
110
|
+
Laura: "laura",
|
|
111
|
+
Covetorest: "covetorest",
|
|
112
|
+
Coveto: "coveto",
|
|
113
|
+
Crelate: "crelate",
|
|
114
|
+
Manatal: "manatal",
|
|
115
|
+
Avionte: "avionte",
|
|
116
|
+
Mhmhr: "mhmhr",
|
|
117
|
+
Asymbl: "asymbl",
|
|
118
|
+
Breezyhr: "breezyhr",
|
|
119
|
+
Flatchr: "flatchr",
|
|
120
|
+
Applicantstack: "applicantstack",
|
|
121
|
+
Reachmee: "reachmee",
|
|
122
|
+
Talentadore: "talentadore",
|
|
123
|
+
Sandbox: "sandbox",
|
|
124
|
+
Guidecom: "guidecom",
|
|
125
|
+
Workdaycustomreport: "workdaycustomreport",
|
|
126
|
+
Workdaycustomreportsftp: "workdaycustomreportsftp",
|
|
61
127
|
Payfitcustomer: "payfitcustomer",
|
|
62
128
|
Payfitpartner: "payfitpartner",
|
|
63
129
|
Payfit: "payfit",
|
|
64
|
-
Jobvite: "jobvite",
|
|
65
130
|
Employmenthero: "employmenthero",
|
|
66
|
-
Fountain: "fountain",
|
|
67
131
|
Fourth: "fourth",
|
|
68
132
|
Kenjo: "kenjo",
|
|
69
133
|
Heavenhr: "heavenhr",
|
|
70
134
|
Hibob: "hibob",
|
|
71
|
-
Softgarden: "softgarden",
|
|
72
135
|
Cezannehr: "cezannehr",
|
|
73
136
|
Entraid: "entraid",
|
|
74
137
|
Azuread: "azuread",
|
|
75
138
|
Googleworkspace: "googleworkspace",
|
|
76
139
|
Nmbrs: "nmbrs",
|
|
77
|
-
Pinpoint: "pinpoint",
|
|
78
|
-
Welcometothejungle: "welcometothejungle",
|
|
79
|
-
Dvinci: "dvinci",
|
|
80
|
-
Dvinciadmin: "dvinciadmin",
|
|
81
|
-
Join: "join",
|
|
82
140
|
Deel: "deel",
|
|
83
141
|
Remotecom: "remotecom",
|
|
84
142
|
Iriscascade: "iriscascade",
|
|
85
143
|
Okta: "okta",
|
|
86
|
-
Sagehr: "sagehr",
|
|
87
144
|
Sagepeople: "sagepeople",
|
|
88
145
|
Humaans: "humaans",
|
|
89
|
-
Traffit: "traffit",
|
|
90
|
-
Erecruiter: "erecruiter",
|
|
91
146
|
Eurecia: "eurecia",
|
|
92
|
-
Abacusumantis: "abacusumantis",
|
|
93
|
-
Umantis: "umantis",
|
|
94
|
-
Jobylon: "jobylon",
|
|
95
147
|
Oraclehcm: "oraclehcm",
|
|
96
|
-
Taleez: "taleez",
|
|
97
148
|
Officient: "officient",
|
|
98
149
|
Sesamehr: "sesamehr",
|
|
99
150
|
Charliehr: "charliehr",
|
|
100
|
-
Hrworks: "hrworks",
|
|
101
151
|
Abacus: "abacus",
|
|
102
|
-
Otys: "otys",
|
|
103
152
|
Zohopeople: "zohopeople",
|
|
104
|
-
Zohorecruit: "zohorecruit",
|
|
105
153
|
Gusto: "gusto",
|
|
106
154
|
Breathehr: "breathehr",
|
|
107
155
|
Catalystone: "catalystone",
|
|
108
156
|
Mirus: "mirus",
|
|
109
157
|
Alexishr: "alexishr",
|
|
110
158
|
Simployer: "simployer",
|
|
111
|
-
Eploy: "eploy",
|
|
112
|
-
Jobdiva: "jobdiva",
|
|
113
159
|
Peple: "peple",
|
|
114
160
|
Youserve: "youserve",
|
|
115
|
-
Careerplug: "careerplug",
|
|
116
|
-
Perview: "perview",
|
|
117
|
-
Eightfold: "eightfold",
|
|
118
161
|
Dayforce: "dayforce",
|
|
119
162
|
Hansalog: "hansalog",
|
|
120
163
|
Lattice: "lattice",
|
|
164
|
+
Hoorayhr: "hoorayhr",
|
|
121
165
|
Trinet: "trinet",
|
|
122
|
-
Paylocity: "paylocity",
|
|
123
|
-
Paycor: "paycor",
|
|
124
166
|
Namely: "namely",
|
|
125
167
|
Paycom: "paycom",
|
|
126
168
|
Insperity: "insperity",
|
|
127
169
|
Paychex: "paychex",
|
|
128
|
-
Avature: "avature",
|
|
129
|
-
Apploi: "apploi",
|
|
130
|
-
Phenom: "phenom",
|
|
131
170
|
Rippling: "rippling",
|
|
132
171
|
Sapling: "sapling",
|
|
133
|
-
Heyrecruit: "heyrecruit",
|
|
134
172
|
Peoplehr: "peoplehr",
|
|
135
|
-
Recruhr: "recruhr",
|
|
136
|
-
Jazzhr: "jazzhr",
|
|
137
173
|
Lucca: "lucca",
|
|
138
|
-
Bite: "bite",
|
|
139
174
|
Zelt: "zelt",
|
|
140
175
|
Planday: "planday",
|
|
141
176
|
Boondmanager: "boondmanager",
|
|
142
|
-
Homerun: "homerun",
|
|
143
177
|
Haileyhr: "haileyhr",
|
|
144
178
|
Silae: "silae",
|
|
145
|
-
Mysolution: "mysolution",
|
|
146
|
-
Carerix: "carerix",
|
|
147
|
-
Hroffice: "hroffice",
|
|
148
|
-
Talentclue: "talentclue",
|
|
149
|
-
Inrecruiting: "inrecruiting",
|
|
150
|
-
Ubeeo: "ubeeo",
|
|
151
179
|
Oysterhr: "oysterhr",
|
|
152
180
|
Kiwihr: "kiwihr",
|
|
153
|
-
Connexys: "connexys",
|
|
154
|
-
Hr4you: "hr4you",
|
|
155
|
-
Cornerstoneondemand: "cornerstoneondemand",
|
|
156
|
-
Zvooverecruit: "zvooverecruit",
|
|
157
181
|
Square: "square",
|
|
158
182
|
Perbilityhelix: "perbilityhelix",
|
|
159
|
-
Comeet: "comeet",
|
|
160
183
|
Leapsome: "leapsome",
|
|
161
|
-
Compleet: "compleet",
|
|
162
|
-
Compleetpitcher: "compleetpitcher",
|
|
163
|
-
Gem: "gem",
|
|
164
184
|
Loket: "loket",
|
|
165
185
|
Workforcecom: "workforcecom",
|
|
166
|
-
Laura: "laura",
|
|
167
|
-
Covetorest: "covetorest",
|
|
168
|
-
Coveto: "coveto",
|
|
169
186
|
Peoplefirst: "peoplefirst",
|
|
170
187
|
Sdworx: "sdworx",
|
|
171
|
-
|
|
188
|
+
Itrent: "itrent",
|
|
172
189
|
Absenceio: "absenceio",
|
|
173
|
-
Manatal: "manatal",
|
|
174
|
-
Avionte: "avionte",
|
|
175
190
|
A3innuvanomina: "a3innuvanomina",
|
|
176
|
-
Mhmhr: "mhmhr",
|
|
177
191
|
Scim: "scim",
|
|
178
|
-
Softgardenpartner: "softgardenpartner",
|
|
179
192
|
Datevhr: "datevhr",
|
|
180
193
|
Datev: "datev",
|
|
181
194
|
Datevlug: "datevlug",
|
|
182
195
|
Sympa: "sympa",
|
|
183
|
-
Breezyhr: "breezyhr",
|
|
184
|
-
Flatchr: "flatchr",
|
|
185
|
-
Applicantstack: "applicantstack",
|
|
186
|
-
Reachmee: "reachmee",
|
|
187
|
-
Talentadore: "talentadore",
|
|
188
196
|
Youforce: "youforce",
|
|
189
197
|
Nibelis: "nibelis",
|
|
190
198
|
Peoplexd: "peoplexd",
|
|
191
|
-
Sandbox: "sandbox",
|
|
192
|
-
Guidecom: "guidecom",
|
|
193
199
|
Sftp: "sftp",
|
|
194
200
|
Sftpfetch: "sftpfetch",
|
|
195
201
|
} as const;
|
|
@@ -7,19 +7,29 @@ import { safeParse } from "../lib/schemas.js";
|
|
|
7
7
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
8
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* An object containing the temporary pre-hire information from the remote system. This ID may change or become invalid when the pre-hire becomes a full employee. Only populated when `id` is null.
|
|
12
|
+
*/
|
|
13
|
+
export type Prehire = {
|
|
14
|
+
/**
|
|
15
|
+
* The temporary ID returned by the remote system when creating a pre-hire.
|
|
16
|
+
*/
|
|
17
|
+
remote_id: string | null;
|
|
18
|
+
};
|
|
19
|
+
|
|
10
20
|
export type PostHrisEmployeesFormPositiveResponseData = {
|
|
11
21
|
/**
|
|
12
22
|
* The Kombo id of the created employee. If null, we only created a pre-hire which shows up in the next sync after a successful onboarding.
|
|
13
23
|
*/
|
|
14
24
|
id: string | null;
|
|
15
25
|
/**
|
|
16
|
-
* The raw ID of the created employee in the remote system. This is only populated when `id` is set (i.e., when a full employee was created). For pre-hires, use `
|
|
26
|
+
* The raw ID of the created employee in the remote system. This is only populated when `id` is set (i.e., when a full employee was created). For pre-hires, use the `prehire` object instead.
|
|
17
27
|
*/
|
|
18
28
|
remote_id: string | null;
|
|
19
29
|
/**
|
|
20
|
-
*
|
|
30
|
+
* An object containing the temporary pre-hire information from the remote system. This ID may change or become invalid when the pre-hire becomes a full employee. Only populated when `id` is null.
|
|
21
31
|
*/
|
|
22
|
-
|
|
32
|
+
prehire: Prehire;
|
|
23
33
|
};
|
|
24
34
|
|
|
25
35
|
export type PostHrisEmployeesFormPositiveResponseWarning = {
|
|
@@ -35,6 +45,22 @@ export type PostHrisEmployeesFormPositiveResponse = {
|
|
|
35
45
|
warnings: Array<PostHrisEmployeesFormPositiveResponseWarning>;
|
|
36
46
|
};
|
|
37
47
|
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const Prehire$inboundSchema: z.ZodType<Prehire, z.ZodTypeDef, unknown> =
|
|
50
|
+
z.object({
|
|
51
|
+
remote_id: z.nullable(z.string()),
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
export function prehireFromJSON(
|
|
55
|
+
jsonString: string,
|
|
56
|
+
): SafeParseResult<Prehire, SDKValidationError> {
|
|
57
|
+
return safeParse(
|
|
58
|
+
jsonString,
|
|
59
|
+
(x) => Prehire$inboundSchema.parse(JSON.parse(x)),
|
|
60
|
+
`Failed to parse 'Prehire' from JSON`,
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
|
|
38
64
|
/** @internal */
|
|
39
65
|
export const PostHrisEmployeesFormPositiveResponseData$inboundSchema: z.ZodType<
|
|
40
66
|
PostHrisEmployeesFormPositiveResponseData,
|
|
@@ -43,7 +69,7 @@ export const PostHrisEmployeesFormPositiveResponseData$inboundSchema: z.ZodType<
|
|
|
43
69
|
> = z.object({
|
|
44
70
|
id: z.nullable(z.string()),
|
|
45
71
|
remote_id: z.nullable(z.string()),
|
|
46
|
-
|
|
72
|
+
prehire: z.lazy(() => Prehire$inboundSchema),
|
|
47
73
|
});
|
|
48
74
|
|
|
49
75
|
export function postHrisEmployeesFormPositiveResponseDataFromJSON(
|
|
@@ -55,7 +55,7 @@ export type AttributeText = {
|
|
|
55
55
|
value: string;
|
|
56
56
|
};
|
|
57
57
|
|
|
58
|
-
export type Attribute =
|
|
58
|
+
export type Attribute = AttributeText | AttributeSubResult;
|
|
59
59
|
|
|
60
60
|
export type PutAssessmentOrdersAssessmentOrderIdResultRequestBodyAttachment = {
|
|
61
61
|
/**
|
|
@@ -137,7 +137,7 @@ export type PutAssessmentOrdersAssessmentOrderIdResultRequestBody = {
|
|
|
137
137
|
*
|
|
138
138
|
* - If an ATS only supports writing text attributes, we will transform non `TEXT` attributes into formatted plain text values.
|
|
139
139
|
*/
|
|
140
|
-
attributes?: Array<
|
|
140
|
+
attributes?: Array<AttributeText | AttributeSubResult> | undefined;
|
|
141
141
|
/**
|
|
142
142
|
* An array of attachments containing the assessment result.
|
|
143
143
|
*/
|
|
@@ -237,8 +237,8 @@ export function attributeTextToJSON(attributeText: AttributeText): string {
|
|
|
237
237
|
|
|
238
238
|
/** @internal */
|
|
239
239
|
export type Attribute$Outbound =
|
|
240
|
-
|
|
|
241
|
-
|
|
|
240
|
+
| AttributeText$Outbound
|
|
241
|
+
| AttributeSubResult$Outbound;
|
|
242
242
|
|
|
243
243
|
/** @internal */
|
|
244
244
|
export const Attribute$outboundSchema: z.ZodType<
|
|
@@ -246,8 +246,8 @@ export const Attribute$outboundSchema: z.ZodType<
|
|
|
246
246
|
z.ZodTypeDef,
|
|
247
247
|
Attribute
|
|
248
248
|
> = z.union([
|
|
249
|
-
z.lazy(() => AttributeSubResult$outboundSchema),
|
|
250
249
|
z.lazy(() => AttributeText$outboundSchema),
|
|
250
|
+
z.lazy(() => AttributeSubResult$outboundSchema),
|
|
251
251
|
]);
|
|
252
252
|
|
|
253
253
|
export function attributeToJSON(attribute: Attribute): string {
|
|
@@ -356,7 +356,7 @@ export type PutAssessmentOrdersAssessmentOrderIdResultRequestBody$Outbound = {
|
|
|
356
356
|
score?: number | undefined;
|
|
357
357
|
max_score?: number | undefined;
|
|
358
358
|
attributes?:
|
|
359
|
-
| Array<
|
|
359
|
+
| Array<AttributeText$Outbound | AttributeSubResult$Outbound>
|
|
360
360
|
| undefined;
|
|
361
361
|
attachments?:
|
|
362
362
|
| Array<
|
|
@@ -383,8 +383,8 @@ export const PutAssessmentOrdersAssessmentOrderIdResultRequestBody$outboundSchem
|
|
|
383
383
|
max_score: z.number().optional(),
|
|
384
384
|
attributes: z.array(
|
|
385
385
|
z.union([
|
|
386
|
-
z.lazy(() => AttributeSubResult$outboundSchema),
|
|
387
386
|
z.lazy(() => AttributeText$outboundSchema),
|
|
387
|
+
z.lazy(() => AttributeSubResult$outboundSchema),
|
|
388
388
|
]),
|
|
389
389
|
).optional(),
|
|
390
390
|
attachments: z.array(
|
|
@@ -340,15 +340,15 @@ export type Schema1Text = {
|
|
|
340
340
|
};
|
|
341
341
|
|
|
342
342
|
export type Schema1Union1 =
|
|
343
|
+
| Schema1Text
|
|
344
|
+
| Schema1Number
|
|
345
|
+
| Schema1Date
|
|
343
346
|
| Schema1SingleSelect
|
|
344
347
|
| Schema1MultiSelect
|
|
348
|
+
| Schema1Checkbox
|
|
345
349
|
| Schema1Object
|
|
346
350
|
| Schema1Array1
|
|
347
|
-
| Schema1File
|
|
348
|
-
| Schema1Text
|
|
349
|
-
| Schema1Number
|
|
350
|
-
| Schema1Date
|
|
351
|
-
| Schema1Checkbox;
|
|
351
|
+
| Schema1File;
|
|
352
352
|
|
|
353
353
|
/** @internal */
|
|
354
354
|
export const Schema1UnifiedKey8$inboundSchema: z.ZodNativeEnum<
|
|
@@ -841,15 +841,15 @@ export const Schema1Union1$inboundSchema: z.ZodType<
|
|
|
841
841
|
z.ZodTypeDef,
|
|
842
842
|
unknown
|
|
843
843
|
> = z.union([
|
|
844
|
+
z.lazy(() => Schema1Text$inboundSchema),
|
|
845
|
+
z.lazy(() => Schema1Number$inboundSchema),
|
|
846
|
+
z.lazy(() => Schema1Date$inboundSchema),
|
|
844
847
|
z.lazy(() => Schema1SingleSelect$inboundSchema),
|
|
845
848
|
z.lazy(() => Schema1MultiSelect$inboundSchema),
|
|
849
|
+
z.lazy(() => Schema1Checkbox$inboundSchema),
|
|
846
850
|
z.lazy(() => Schema1Object$inboundSchema),
|
|
847
851
|
z.lazy(() => Schema1Array1$inboundSchema),
|
|
848
852
|
z.lazy(() => Schema1File$inboundSchema),
|
|
849
|
-
z.lazy(() => Schema1Text$inboundSchema),
|
|
850
|
-
z.lazy(() => Schema1Number$inboundSchema),
|
|
851
|
-
z.lazy(() => Schema1Date$inboundSchema),
|
|
852
|
-
z.lazy(() => Schema1Checkbox$inboundSchema),
|
|
853
853
|
]);
|
|
854
854
|
|
|
855
855
|
export function schema1Union1FromJSON(
|
|
@@ -29,15 +29,15 @@ import {
|
|
|
29
29
|
import { Schema2Union2, Schema2Union2$inboundSchema } from "./schema2union2.js";
|
|
30
30
|
|
|
31
31
|
export type Schema1Union2 =
|
|
32
|
+
| Schema1Text
|
|
33
|
+
| Schema1Number
|
|
34
|
+
| Schema1Date
|
|
32
35
|
| Schema1SingleSelect
|
|
33
36
|
| Schema1MultiSelect
|
|
37
|
+
| Schema1Checkbox
|
|
34
38
|
| Schema1Object
|
|
35
39
|
| Schema1Array2
|
|
36
|
-
| Schema1File
|
|
37
|
-
| Schema1Text
|
|
38
|
-
| Schema1Number
|
|
39
|
-
| Schema1Date
|
|
40
|
-
| Schema1Checkbox;
|
|
40
|
+
| Schema1File;
|
|
41
41
|
|
|
42
42
|
export type Schema1Array2 = {
|
|
43
43
|
label: string;
|
|
@@ -56,15 +56,15 @@ export const Schema1Union2$inboundSchema: z.ZodType<
|
|
|
56
56
|
z.ZodTypeDef,
|
|
57
57
|
unknown
|
|
58
58
|
> = z.union([
|
|
59
|
+
Schema1Text$inboundSchema,
|
|
60
|
+
Schema1Number$inboundSchema,
|
|
61
|
+
Schema1Date$inboundSchema,
|
|
59
62
|
Schema1SingleSelect$inboundSchema,
|
|
60
63
|
Schema1MultiSelect$inboundSchema,
|
|
64
|
+
Schema1Checkbox$inboundSchema,
|
|
61
65
|
Schema1Object$inboundSchema,
|
|
62
66
|
z.lazy(() => Schema1Array2$inboundSchema),
|
|
63
67
|
Schema1File$inboundSchema,
|
|
64
|
-
Schema1Text$inboundSchema,
|
|
65
|
-
Schema1Number$inboundSchema,
|
|
66
|
-
Schema1Date$inboundSchema,
|
|
67
|
-
Schema1Checkbox$inboundSchema,
|
|
68
68
|
]);
|
|
69
69
|
|
|
70
70
|
export function schema1Union2FromJSON(
|