From 90d11c668f6809e7da267c751b1095d684c5ca57 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 31 Jan 2025 14:51:31 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.481.0 --- .eslintrc.cjs | 28 - .gitignore | 1 + .npmignore | 2 +- .speakeasy/gen.lock | 2219 ++++++++- .speakeasy/workflow.lock | 14 +- FUNCTIONS.md | 2 - README.md | 17 +- RELEASES.md | 12 +- USAGE.md | 2 - codeSamples.yaml | 304 +- .../atsorderassessmentsrequestrequest.md | 86 + .../atsorderassessmentsrequestresponse.md | 35 + .../atsorderbackgroundcheckrequestrequest.md | 96 + .../atsorderbackgroundcheckrequestresponse.md | 35 + .../atsrejectapplicationresponse.md | 2 +- .../atsupdateapplicationnoteresponse.md | 2 +- .../atsupdateapplicationresponse.md | 2 +- .../operations/atsupdatecandidateresponse.md | 2 +- .../models/operations/atsupdatejobresponse.md | 2 +- .../atsuploadapplicationdocumentresponse.md | 2 +- docs/sdk/models/operations/createrequest.md | 26 - .../operations/crmcreatecontactresponse.md | 2 +- .../operations/crmgetaccountresponse.md | 2 +- ...getcontactcustomfielddefinitionresponse.md | 2 +- .../operations/crmgetcontactresponse.md | 2 +- .../models/operations/crmgetlistresponse.md | 2 +- .../operations/crmlistaccountsresponse.md | 2 +- ...stcontactcustomfielddefinitionsresponse.md | 2 +- .../operations/crmlistcontactsresponse.md | 2 +- .../models/operations/crmlistlistsresponse.md | 2 +- .../operations/crmupdatecontactresponse.md | 2 +- ...hrisbatchuploademployeedocumentresponse.md | 2 +- .../hriscreateemployeeemploymentresponse.md | 117 +- .../operations/hriscreateemployeeresponse.md | 2 +- ...riscreateemployeetimeoffrequestresponse.md | 2 +- ...eemployeeworkeligibilityrequestresponse.md | 2 +- .../hriscreatetimeoffrequestresponse.md | 2 +- .../operations/hrisgetbenefitresponse.md | 2 +- .../operations/hrisgetcompanyresponse.md | 2 +- .../hrisgetcostcentergroupresponse.md | 2 +- .../hrisgetdepartmentgroupresponse.md | 2 +- ...etemployeecustomfielddefinitionresponse.md | 2 +- ...hrisgetemployeedocumentcategoryresponse.md | 2 +- .../hrisgetemployeedocumentresponse.md | 2 +- .../hrisgetemployeeemploymentrequest.md | 20 +- .../hrisgetemployeeemploymentresponse.md | 117 +- .../operations/hrisgetemployeeresponse.md | 134 +- .../hrisgetemployeestimeoffrequestresponse.md | 2 +- ...hrisgetemployeesworkeligibilityresponse.md | 2 +- .../operations/hrisgetemploymentrequest.md | 18 +- .../operations/hrisgetemploymentresponse.md | 117 +- .../models/operations/hrisgetgroupresponse.md | 2 +- .../models/operations/hrisgetjobresponse.md | 2 +- .../operations/hrisgetlocationresponse.md | 2 +- .../operations/hrisgettimeentriesrequest.md | 24 + .../operations/hrisgettimeentriesresponse.md | 57 + .../hrisgettimeoffrequestresponse.md | 2 +- .../operations/hrisgettimeofftyperesponse.md | 2 +- .../operations/hrislistbenefitsresponse.md | 2 +- .../operations/hrislistcompaniesresponse.md | 2 +- .../hrislistcostcentergroupsresponse.md | 2 +- .../hrislistdepartmentgroupsresponse.md | 2 +- .../hrislistemployeecategoriesresponse.md | 2 +- ...temployeecustomfielddefinitionsresponse.md | 2 +- .../hrislistemployeedocumentsresponse.md | 2 +- .../hrislistemployeeemploymentsrequest.md | 28 +- .../hrislistemployeeemploymentsresponse.md | 117 +- .../operations/hrislistemployeesresponse.md | 134 +- ...hrislistemployeetimeoffrequestsresponse.md | 2 +- ...hrislistemployeeworkeligibilityresponse.md | 2 +- .../operations/hrislistemploymentsrequest.md | 26 +- .../operations/hrislistemploymentsresponse.md | 117 +- .../operations/hrislistgroupsresponse.md | 2 +- .../models/operations/hrislistjobsresponse.md | 2 +- .../operations/hrislistlocationsresponse.md | 2 +- .../hrislisttimeentriesqueryparamfilter.md | 24 + .../operations/hrislisttimeentriesrequest.md | 32 + ...onse.md => hrislisttimeentriesresponse.md} | 47 +- .../hrislisttimeoffrequestsresponse.md | 2 +- .../hrislisttimeofftypesresponse.md | 2 +- .../hrisupdateemployeeemploymentresponse.md | 117 +- .../operations/hrisupdateemployeerequest.md | 19 - .../operations/hrisupdateemployeeresponse.md | 21 +- ...eemployeeworkeligibilityrequestresponse.md | 2 +- .../hrisupdatetimeoffrequestresponse.md | 2 +- .../hrisuploademployeedocumentresponse.md | 2 +- .../models/operations/iamgetgroupresponse.md | 2 +- .../models/operations/iamgetpolicyresponse.md | 2 +- .../models/operations/iamgetroleresponse.md | 2 +- .../models/operations/iamgetuserresponse.md | 2 +- .../operations/iamlistgroupsresponse.md | 2 +- .../operations/iamlistpoliciesresponse.md | 2 +- .../models/operations/iamlistrolesresponse.md | 2 +- .../models/operations/iamlistusersresponse.md | 2 +- .../lmsbatchupsertcontentrequest.md | 9 +- .../lmsbatchupsertcontentresponse.md | 2 +- .../lmsbatchupsertcourseresponse.md | 2 +- .../operations/lmscreatecollectionresponse.md | 2 +- .../lmscreateuserassignmentrequest.md | 2 +- .../lmscreateuserassignmentresponse.md | 2 +- .../lmscreateusercompletionresponse.md | 2 +- .../operations/lmsgetassignmentresponse.md | 2 +- .../operations/lmsgetcategoryresponse.md | 2 +- .../operations/lmsgetcompletionresponse.md | 2 +- .../models/operations/lmsgetcontentrequest.md | 16 +- .../operations/lmsgetcontentresponse.md | 11 +- .../models/operations/lmsgetcourseresponse.md | 2 +- .../models/operations/lmsgetskillresponse.md | 2 +- .../lmsgetuserassignmentresponse.md | 2 +- .../lmsgetusercompletionresponse.md | 2 +- .../models/operations/lmsgetuserresponse.md | 2 +- .../operations/lmslistassignmentsresponse.md | 2 +- .../operations/lmslistcategoriesresponse.md | 2 +- .../operations/lmslistcompletionsresponse.md | 2 +- .../operations/lmslistcontentrequest.md | 24 +- .../operations/lmslistcontentresponse.md | 11 +- .../operations/lmslistcoursesresponse.md | 2 +- .../operations/lmslistskillsresponse.md | 2 +- .../lmslistuserassignmentsqueryparamstatus.md | 2 +- .../lmslistuserassignmentsresponse.md | 4 +- ...completionsqueryparamlearningobjecttype.md | 2 +- .../lmslistusercompletionsresponse.md | 2 +- .../models/operations/lmslistusersresponse.md | 2 +- .../operations/lmsupdatecollectionresponse.md | 2 +- .../operations/lmsupsertcontentrequest.md | 9 +- .../operations/lmsupsertcontentresponse.md | 2 +- .../operations/lmsupsertcourseresponse.md | 2 +- .../marketingcreatecontentblockresponse.md | 2 +- .../marketingcreateemailtemplateresponse.md | 2 +- .../marketingcreateinapptemplateresponse.md | 2 +- ...ketingcreateomnichanneltemplateresponse.md | 2 +- .../marketingcreatepushtemplateresponse.md | 2 +- .../marketingcreatesmstemplateresponse.md | 2 +- .../marketinggetcampaignresponse.md | 8 +- .../marketinggetcontentblockresponse.md | 2 +- .../marketinggetemailtemplateresponse.md | 2 +- .../marketinggetinapptemplateresponse.md | 2 +- ...marketinggetomnichanneltemplateresponse.md | 2 +- .../marketinggetpushtemplateresponse.md | 2 +- .../marketinggetsmstemplateresponse.md | 2 +- .../marketinglistcampaignsresponse.md | 8 +- .../marketinglistemailtemplatesresponse.md | 2 +- .../marketinglistinapptemplatesresponse.md | 2 +- ...rketinglistomnichanneltemplatesresponse.md | 2 +- .../marketinglistpushtemplatesresponse.md | 2 +- .../marketinglistsmstemplatesresponse.md | 2 +- .../marketingupdatecontentblockresponse.md | 2 +- .../marketingupdateemailtemplateresponse.md | 2 +- .../marketingupdateinapptemplateresponse.md | 2 +- ...ketingupdateomnichanneltemplateresponse.md | 2 +- .../marketingupdatesmstemplateresponse.md | 2 +- .../queryparamlearningobjecttype.md | 3 +- .../stackoneproxyrequestresponse.md | 2 +- docs/sdk/models/shared/additionaldata.md | 21 + docs/sdk/models/shared/assignment.md | 2 +- docs/sdk/models/shared/assignmentresult.md | 2 +- .../shared/assignmentschemassourcevalue.md | 2 +- .../models/shared/assignmentschemasvalue.md | 2 +- .../models/shared/assignmentsourcevalue.md | 2 +- .../sdk/models/shared/assignmentspaginated.md | 2 +- docs/sdk/models/shared/assignmentvalue.md | 2 +- ...atscreatebackgroundcheckorderrequestdto.md | 102 + ...tscreatebackgroundcheckorderrequestdto4.md | 14 + ...ckgroundcheckorderrequestdtoapplication.md | 31 + ...ndcheckorderrequestdtoapplicationstatus.md | 22 + ...backgroundcheckorderrequestdtocandidate.md | 36 + ...createbackgroundcheckorderrequestdtojob.md | 36 + ...tebackgroundcheckorderrequestdtopackage.md | 34 + ...backgroundcheckorderrequestdtorequester.md | 27 + ...ckgroundcheckorderrequestdtosourcevalue.md | 39 + ...eatebackgroundcheckorderrequestdtovalue.md | 40 + ...tscreatecandidatesassessmentsrequestdto.md | 91 + ...screatecandidatesassessmentsrequestdto4.md | 14 + ...didatesassessmentsrequestdtoapplication.md | 31 + ...sassessmentsrequestdtoapplicationstatus.md | 22 + ...andidatesassessmentsrequestdtocandidate.md | 36 + ...reatecandidatesassessmentsrequestdtojob.md | 36 + ...ecandidatesassessmentsrequestdtopackage.md | 24 + ...andidatesassessmentsrequestdtorequester.md | 27 + ...didatesassessmentsrequestdtosourcevalue.md | 39 + ...atecandidatesassessmentsrequestdtovalue.md | 40 + ...sdocumentapimodelschemastypesourcevalue.md | 2 +- .../shared/atsdocumentapimodelschemasvalue.md | 2 +- .../shared/atsdocumentapimodelsourcevalue.md | 2 +- .../atsupdatejobrequestdtoconfidential.md | 2 +- docs/sdk/models/shared/campaign.md | 4 +- docs/sdk/models/shared/campaign2.md | 2 +- docs/sdk/models/shared/campaignresult.md | 12 +- .../sdk/models/shared/campaignschemasvalue.md | 2 +- docs/sdk/models/shared/campaignspaginated.md | 12 +- docs/sdk/models/shared/campaignstatus.md | 2 +- docs/sdk/models/shared/categories.md | 2 +- .../shared/categoryschemassourcevalue.md | 2 +- .../sdk/models/shared/categoryschemasvalue.md | 2 +- docs/sdk/models/shared/categorysourcevalue.md | 2 +- docs/sdk/models/shared/channelsenum.md | 12 +- docs/sdk/models/shared/channelsenumvalue.md | 26 + .../shared/completionschemassourcevalue.md | 2 +- .../models/shared/completionsourcevalue.md | 2 +- docs/sdk/models/shared/completionvalue.md | 2 +- docs/sdk/models/shared/confidential.md | 2 +- docs/sdk/models/shared/connectsession.md | 10 +- .../sdk/models/shared/connectsessioncreate.md | 2 +- .../shared/connectsessiontokenauthlink.md | 12 +- .../connectsessiontokenauthlinkcategories.md | 2 +- docs/sdk/models/shared/content.md | 12 +- docs/sdk/models/shared/contentpaginated.md | 9 +- docs/sdk/models/shared/contentresult.md | 9 +- docs/sdk/models/shared/contentsourcevalue.md | 2 +- docs/sdk/models/shared/contentvalue.md | 2 +- docs/sdk/models/shared/contracttype.md | 25 + docs/sdk/models/shared/costcenter.md | 48 + .../shared/countrycodeenumsourcevalue.md | 2 +- .../shared/createassessmentorderresult.md | 21 + .../createbackgroundcheckorderresult.md | 21 + ...atecategoriesapimodelschemassourcevalue.md | 2 +- .../createcategoriesapimodelschemasvalue.md | 2 +- .../createcategoriesapimodelsourcevalue.md | 2 +- .../createemploymentapimodelsourcevalue.md | 2 +- .../shared/createemploymentapimodelvalue.md | 3 +- docs/sdk/models/shared/createevent.md | 19 - docs/sdk/models/shared/createeventresponse.md | 23 - .../shared/createhrisbenefitsourcevalue.md | 2 +- .../models/shared/createhrisbenefitvalue.md | 2 +- .../shared/createskillsapimodelsourcevalue.md | 2 +- .../shared/createskillsapimodelvalue.md | 2 +- .../customfielddefinitionsourcevalue.md | 2 +- .../shared/customfielddefinitionvalue.md | 2 +- docs/sdk/models/shared/description.md | 19 + docs/sdk/models/shared/division.md | 48 + docs/sdk/models/shared/draft.md | 2 +- docs/sdk/models/shared/employee.md | 232 +- .../shared/employeeemploymentcontracttype.md | 4 +- .../models/shared/employeeemploymenttype.md | 4 +- docs/sdk/models/shared/employeeresult.md | 132 +- .../employeeschemasethnicitysourcevalue.md | 2 +- .../shared/employeeschemasethnicityvalue.md | 2 +- .../employeeschemasgendersourcevalue.md | 2 +- .../shared/employeeschemasgendervalue.md | 2 +- .../employeeschemashomelocationsourcevalue.md | 2 +- ...employeeschemasmaritalstatussourcevalue.md | 2 +- .../employeeschemasmaritalstatusvalue.md | 2 +- ...chemasnationalidentitynumbersourcevalue.md | 2 +- ...asnationalidentitynumbertypesourcevalue.md | 2 +- ...oyeeschemaspreferredlanguagesourcevalue.md | 2 +- .../shared/employeeschemassourcevalue.md | 2 +- .../sdk/models/shared/employeeschemasvalue.md | 2 +- .../employeeschemasworklocationsourcevalue.md | 2 +- docs/sdk/models/shared/employeesourcevalue.md | 2 +- docs/sdk/models/shared/employeespaginated.md | 132 +- docs/sdk/models/shared/employeevalue.md | 2 +- docs/sdk/models/shared/employment.md | 161 +- .../sdk/models/shared/employmentdepartment.md | 48 + .../employmentemploymentcontracttype.md | 4 +- .../models/shared/employmentemploymenttype.md | 4 +- docs/sdk/models/shared/employmentjob.md | 31 + .../shared/employmentmanagerapimodel.md | 26 + .../shared/employmentmanagerapimodel4.md | 14 + .../employmentmanagerapimodelsourcevalue.md | 37 + .../shared/employmentmanagerapimodelvalue.md | 26 + docs/sdk/models/shared/employmentresult.md | 115 +- .../shared/employmentschemascontracttype.md | 18 + .../shared/employmentschemascontracttype4.md | 14 + ...mploymentschemascontracttypesourcevalue.md | 37 + .../employmentschemascontracttypevalue.md | 22 + .../models/shared/employmentschemastype.md | 25 + .../models/shared/employmentschemastype4.md | 14 + .../employmentschemastypesourcevalue.md | 37 + .../shared/employmentschemastypetype.md | 18 + .../shared/employmentschemastypevalue.md | 34 + .../models/shared/employmentsourcevalue.md | 2 +- .../sdk/models/shared/employmentspaginated.md | 115 +- docs/sdk/models/shared/employmentvalue.md | 2 +- docs/sdk/models/shared/field.md | 2 +- docs/sdk/models/shared/fieldtype.md | 2 +- .../models/shared/hrisbenefitsourcevalue.md | 2 +- docs/sdk/models/shared/hrisbenefitvalue.md | 2 +- .../shared/hriscostcentersourcevalue.md | 2 +- ...eerequestdtoschemasethnicitysourcevalue.md | 2 +- ...employeerequestdtoschemasethnicityvalue.md | 2 +- ...loyeerequestdtoschemasgendersourcevalue.md | 2 +- ...ateemployeerequestdtoschemasgendervalue.md | 2 +- ...equestdtoschemashomelocationsourcevalue.md | 2 +- ...tdtoschemashomelocationstatesourcevalue.md | 2 +- ...requestdtoschemashomelocationstatevalue.md | 2 +- ...questdtoschemasmaritalstatussourcevalue.md | 2 +- ...oyeerequestdtoschemasmaritalstatusvalue.md | 2 +- ...chemasnationalidentitynumbersourcevalue.md | 2 +- ...asnationalidentitynumbertypesourcevalue.md | 2 +- ...tdtoschemaspreferredlanguagesourcevalue.md | 2 +- ...ateemployeerequestdtoschemassourcevalue.md | 2 +- ...equestdtoschemasworklocationsourcevalue.md | 2 +- ...tdtoschemasworklocationstatesourcevalue.md | 2 +- ...requestdtoschemasworklocationstatevalue.md | 2 +- ...hriscreateemployeerequestdtosourcevalue.md | 2 +- ...iscreateemploymentrequestdtosourcevalue.md | 2 +- ...eatetimeoffrequestdtoschemassourcevalue.md | 2 +- ...hriscreatetimeoffrequestdtoschemasvalue.md | 2 +- .../hriscreatetimeoffrequestdtosourcevalue.md | 2 +- .../hriscreatetimeoffrequestdtovalue.md | 2 +- ...ityrequestdtoschemasdocumentsourcevalue.md | 2 +- ...eligibilityrequestdtoschemassourcevalue.md | 2 +- ...ateworkeligibilityrequestdtosourcevalue.md | 2 +- .../shared/hrisdepartmentsourcevalue.md | 2 +- ...sdocumentapimodelschemastypesourcevalue.md | 2 +- .../hrisdocumentapimodelschemastypevalue.md | 2 +- .../shared/hrisdocumentapimodelsourcevalue.md | 2 +- .../shared/hrisdocumentapimodelvalue.md | 3 +- .../hrisdocumentsuploadrequestdtovalue.md | 2 +- .../sdk/models/shared/hrisgroupsourcevalue.md | 2 +- .../models/shared/hrislocationsourcevalue.md | 2 +- .../shared/hrisupdateemployeerequestdto.md | 20 - ...eerequestdtoschemasethnicitysourcevalue.md | 2 +- ...employeerequestdtoschemasethnicityvalue.md | 2 +- ...loyeerequestdtoschemasgendersourcevalue.md | 2 +- ...ateemployeerequestdtoschemasgendervalue.md | 2 +- ...equestdtoschemashomelocationsourcevalue.md | 2 +- ...tdtoschemashomelocationstatesourcevalue.md | 2 +- ...requestdtoschemashomelocationstatevalue.md | 2 +- ...questdtoschemasmaritalstatussourcevalue.md | 2 +- ...oyeerequestdtoschemasmaritalstatusvalue.md | 2 +- ...chemasnationalidentitynumbersourcevalue.md | 2 +- ...asnationalidentitynumbertypesourcevalue.md | 2 +- ...tdtoschemaspreferredlanguagesourcevalue.md | 2 +- ...ateemployeerequestdtoschemassourcevalue.md | 2 +- ...equestdtoschemasworklocationsourcevalue.md | 2 +- ...tdtoschemasworklocationstatesourcevalue.md | 2 +- ...requestdtoschemasworklocationstatevalue.md | 2 +- ...hrisupdateemployeerequestdtosourcevalue.md | 2 +- .../hrisupdateemployeerequestdtovalue.md | 2 +- docs/sdk/models/shared/iamgroupsourcevalue.md | 2 +- .../shared/iammfatypeenumsourcevalue.md | 2 +- .../models/shared/iampermissionsourcevalue.md | 2 +- .../models/shared/iamresourcesourcevalue.md | 2 +- docs/sdk/models/shared/iamrolesourcevalue.md | 2 +- .../shared/iamuserschemasavatarsourcevalue.md | 2 +- docs/sdk/models/shared/iamusersourcevalue.md | 2 +- docs/sdk/models/shared/jobdescription.md | 4 +- docs/sdk/models/shared/jobposting.md | 3 +- .../models/shared/jobpostingquestionnaire2.md | 2 +- .../shared/jobpostingquestionnaireinternal.md | 2 +- docs/sdk/models/shared/jobpostingresult.md | 2 +- .../sdk/models/shared/jobpostingspaginated.md | 3 +- docs/sdk/models/shared/labortype.md | 19 + .../models/shared/languageenumsourcevalue.md | 2 +- docs/sdk/models/shared/linkedaccount.md | 6 +- docs/sdk/models/shared/linkedaccountmeta.md | 2 +- .../shared/linkedaccountmetacategory.md | 2 +- .../shared/lmsbatchupsertcontentrequestdto.md | 9 +- ...mscreateassignmentrequestdtosourcevalue.md | 2 +- .../lmscreateassignmentrequestdtostatus.md | 2 +- ...mscreatecompletionrequestdtosourcevalue.md | 2 +- .../shared/lmsupsertcontentrequestdto.md | 12 +- .../lmsupsertcontentrequestdtosourcevalue.md | 2 +- docs/sdk/models/shared/location.md | 25 + docs/sdk/models/shared/options.md | 2 +- .../models/shared/overallrecommendation.md | 2 +- docs/sdk/models/shared/rawresponse.md | 2 +- docs/sdk/models/shared/role.md | 25 + docs/sdk/models/shared/roletype.md | 18 + docs/sdk/models/shared/scorecard.md | 2 +- docs/sdk/models/shared/scorecardsection.md | 2 +- docs/sdk/models/shared/scorecardspaginated.md | 4 +- docs/sdk/models/shared/scorecardsresult.md | 2 +- docs/sdk/models/shared/skillssourcevalue.md | 2 +- docs/sdk/models/shared/status.md | 2 +- docs/sdk/models/shared/statusreason.md | 2 +- docs/sdk/models/shared/timeentries.md | 52 + docs/sdk/models/shared/timeentries2.md | 16 + docs/sdk/models/shared/timeentries4.md | 14 + docs/sdk/models/shared/timeentriesactive.md | 19 + .../sdk/models/shared/timeentriespaginated.md | 46 + docs/sdk/models/shared/timeentriesresult.md | 42 + .../models/shared/timeentriessourcevalue.md | 37 + docs/sdk/models/shared/timeentriesstatus.md | 18 + docs/sdk/models/shared/timeentriesvalue.md | 19 + .../shared/timeoffschemassourcevalue.md | 2 +- docs/sdk/models/shared/timeoffschemasvalue.md | 2 +- docs/sdk/models/shared/timeoffsourcevalue.md | 2 +- docs/sdk/models/shared/timeoffvalue.md | 2 +- .../models/shared/updateemployeeapimodel.md | 20 - ...oyeeapimodelschemasethnicitysourcevalue.md | 2 +- ...teemployeeapimodelschemasethnicityvalue.md | 2 +- ...mployeeapimodelschemasgendersourcevalue.md | 2 +- ...eapimodelschemashomelocationsourcevalue.md | 2 +- ...odelschemashomelocationstatesourcevalue.md | 2 +- ...eeapimodelschemashomelocationstatevalue.md | 2 +- ...apimodelschemasmaritalstatussourcevalue.md | 2 +- ...chemasnationalidentitynumbersourcevalue.md | 2 +- ...asnationalidentitynumbertypesourcevalue.md | 2 +- ...odelschemaspreferredlanguagesourcevalue.md | 2 +- ...pdateemployeeapimodelschemassourcevalue.md | 2 +- .../updateemployeeapimodelschemasvalue.md | 2 +- ...eapimodelschemasworklocationsourcevalue.md | 2 +- ...odelschemasworklocationstatesourcevalue.md | 2 +- ...eeapimodelschemasworklocationstatevalue.md | 2 +- .../updateemployeeapimodelsourcevalue.md | 2 +- .../shared/updateemployeeapimodelvalue.md | 3 +- docs/sdk/models/shared/value.md | 20 +- ...rkeligibilityschemasdocumentsourcevalue.md | 2 +- .../workeligibilityschemassourcevalue.md | 2 +- .../shared/workeligibilityschemasvalue.md | 3 +- .../shared/workeligibilitysourcevalue.md | 2 +- docs/sdks/accounts/README.md | 8 +- docs/sdks/ats/README.md | 648 ++- docs/sdks/connectsessions/README.md | 4 - docs/sdks/crm/README.md | 26 - docs/sdks/hris/README.md | 318 +- docs/sdks/iam/README.md | 24 - docs/sdks/lms/README.md | 54 - docs/sdks/marketing/README.md | 42 - docs/sdks/proxy/README.md | 4 - docs/sdks/webhooks/README.md | 102 - eslint.config.mjs | 21 + gen.yaml | 2 +- jsr.json | 2 +- package-lock.json | 4243 ++++------------- package.json | 13 +- src/funcs/accountsDeleteAccount.ts | 2 +- src/funcs/accountsGetAccount.ts | 2 +- src/funcs/accountsGetAccountMetaInfo.ts | 2 +- src/funcs/accountsListLinkedAccounts.ts | 2 +- src/funcs/accountsUpdateAccount.ts | 2 +- src/funcs/atsCreateApplication.ts | 2 +- src/funcs/atsCreateApplicationNote.ts | 2 +- src/funcs/atsCreateBackgroundCheckPackage.ts | 2 +- src/funcs/atsCreateCandidate.ts | 2 +- src/funcs/atsCreateCandidateNote.ts | 2 +- src/funcs/atsCreateJob.ts | 2 +- src/funcs/atsCreateOffer.ts | 2 +- src/funcs/atsDownloadApplicationDocument.ts | 2 +- src/funcs/atsGetApplication.ts | 2 +- .../atsGetApplicationCustomFieldDefinition.ts | 2 +- src/funcs/atsGetApplicationDocument.ts | 2 +- src/funcs/atsGetApplicationNote.ts | 2 +- src/funcs/atsGetApplicationOffer.ts | 2 +- .../atsGetApplicationScheduledInterview.ts | 2 +- src/funcs/atsGetApplicationScorecard.ts | 2 +- src/funcs/atsGetAssessmentsPackage.ts | 23 +- src/funcs/atsGetAssessmentsRequest.ts | 23 +- src/funcs/atsGetAssessmentsResult.ts | 2 +- src/funcs/atsGetBackgroundCheckPackage.ts | 23 +- src/funcs/atsGetBackgroundCheckRequest.ts | 23 +- src/funcs/atsGetBackgroundCheckResult.ts | 2 +- src/funcs/atsGetCandidate.ts | 2 +- .../atsGetCandidateCustomFieldDefinition.ts | 2 +- src/funcs/atsGetCandidateNote.ts | 2 +- src/funcs/atsGetDepartment.ts | 2 +- src/funcs/atsGetInterview.ts | 2 +- src/funcs/atsGetInterviewStage.ts | 2 +- src/funcs/atsGetJob.ts | 2 +- src/funcs/atsGetJobCustomFieldDefinition.ts | 2 +- src/funcs/atsGetJobPosting.ts | 2 +- src/funcs/atsGetList.ts | 2 +- src/funcs/atsGetLocation.ts | 2 +- src/funcs/atsGetOffer.ts | 2 +- src/funcs/atsGetRejectedReason.ts | 2 +- src/funcs/atsGetUser.ts | 2 +- ...tsListApplicationCustomFieldDefinitions.ts | 2 +- src/funcs/atsListApplicationDocuments.ts | 2 +- src/funcs/atsListApplicationNotes.ts | 2 +- src/funcs/atsListApplicationScorecards.ts | 2 +- src/funcs/atsListApplications.ts | 2 +- src/funcs/atsListApplicationsOffers.ts | 2 +- .../atsListApplicationsScheduledInterviews.ts | 2 +- src/funcs/atsListAssessmentsPackages.ts | 33 +- src/funcs/atsListBackgroundCheckPackages.ts | 33 +- src/funcs/atsListBackgroundCheckRequest.ts | 33 +- .../atsListCandidateCustomFieldDefinitions.ts | 2 +- src/funcs/atsListCandidateNotes.ts | 2 +- src/funcs/atsListCandidates.ts | 2 +- src/funcs/atsListDepartments.ts | 2 +- src/funcs/atsListInterviewStages.ts | 2 +- src/funcs/atsListInterviews.ts | 2 +- src/funcs/atsListJobCustomFieldDefinitions.ts | 2 +- src/funcs/atsListJobPostings.ts | 2 +- src/funcs/atsListJobs.ts | 2 +- src/funcs/atsListLists.ts | 2 +- src/funcs/atsListLocations.ts | 2 +- src/funcs/atsListOffers.ts | 2 +- src/funcs/atsListRejectedReasons.ts | 2 +- src/funcs/atsListUsers.ts | 2 +- src/funcs/atsMoveApplication.ts | 2 +- ...reate.ts => atsOrderAssessmentsRequest.ts} | 50 +- src/funcs/atsOrderBackgroundCheckRequest.ts | 146 + src/funcs/atsRejectApplication.ts | 2 +- src/funcs/atsUpdateApplication.ts | 2 +- src/funcs/atsUpdateApplicationNote.ts | 2 +- src/funcs/atsUpdateCandidate.ts | 2 +- src/funcs/atsUpdateJob.ts | 2 +- src/funcs/atsUploadApplicationDocument.ts | 2 +- ...nnectSessionsAuthenticateConnectSession.ts | 2 +- .../connectSessionsCreateConnectSession.ts | 2 +- src/funcs/connectorsGetConnectorMeta.ts | 2 +- src/funcs/connectorsListConnectorsMeta.ts | 2 +- src/funcs/crmCreateContact.ts | 2 +- src/funcs/crmGetAccount.ts | 2 +- src/funcs/crmGetContact.ts | 2 +- .../crmGetContactCustomFieldDefinition.ts | 2 +- src/funcs/crmGetList.ts | 2 +- src/funcs/crmListAccounts.ts | 2 +- .../crmListContactCustomFieldDefinitions.ts | 2 +- src/funcs/crmListContacts.ts | 2 +- src/funcs/crmListLists.ts | 2 +- src/funcs/crmUpdateContact.ts | 2 +- src/funcs/hrisBatchUploadEmployeeDocument.ts | 2 +- src/funcs/hrisCreateEmployee.ts | 2 +- src/funcs/hrisCreateEmployeeEmployment.ts | 2 +- src/funcs/hrisCreateEmployeeTimeOffRequest.ts | 2 +- ...risCreateEmployeeWorkEligibilityRequest.ts | 2 +- src/funcs/hrisCreateTimeOffRequest.ts | 2 +- src/funcs/hrisDownloadEmployeeDocument.ts | 2 +- src/funcs/hrisGetBenefit.ts | 2 +- src/funcs/hrisGetCompany.ts | 2 +- src/funcs/hrisGetCostCenterGroup.ts | 2 +- src/funcs/hrisGetDepartmentGroup.ts | 2 +- src/funcs/hrisGetEmployee.ts | 2 +- .../hrisGetEmployeeCustomFieldDefinition.ts | 2 +- src/funcs/hrisGetEmployeeDocument.ts | 2 +- src/funcs/hrisGetEmployeeDocumentCategory.ts | 2 +- src/funcs/hrisGetEmployeeEmployment.ts | 2 +- src/funcs/hrisGetEmployeesTimeOffRequest.ts | 2 +- src/funcs/hrisGetEmployeesWorkEligibility.ts | 2 +- src/funcs/hrisGetEmployment.ts | 2 +- src/funcs/hrisGetGroup.ts | 2 +- src/funcs/hrisGetJob.ts | 2 +- src/funcs/hrisGetLocation.ts | 2 +- src/funcs/hrisGetTimeEntries.ts | 159 + src/funcs/hrisGetTimeOffRequest.ts | 2 +- src/funcs/hrisGetTimeOffType.ts | 2 +- src/funcs/hrisListBenefits.ts | 2 +- src/funcs/hrisListCompanies.ts | 2 +- src/funcs/hrisListCostCenterGroups.ts | 2 +- src/funcs/hrisListDepartmentGroups.ts | 2 +- src/funcs/hrisListEmployeeCategories.ts | 2 +- .../hrisListEmployeeCustomFieldDefinitions.ts | 2 +- src/funcs/hrisListEmployeeDocuments.ts | 2 +- src/funcs/hrisListEmployeeEmployments.ts | 2 +- src/funcs/hrisListEmployeeTimeOffRequests.ts | 2 +- src/funcs/hrisListEmployeeWorkEligibility.ts | 2 +- src/funcs/hrisListEmployees.ts | 2 +- src/funcs/hrisListEmployments.ts | 2 +- src/funcs/hrisListGroups.ts | 2 +- src/funcs/hrisListJobs.ts | 2 +- src/funcs/hrisListLocations.ts | 2 +- src/funcs/hrisListTimeEntries.ts | 158 + src/funcs/hrisListTimeOffRequests.ts | 2 +- src/funcs/hrisListTimeOffTypes.ts | 2 +- src/funcs/hrisUpdateEmployee.ts | 2 +- src/funcs/hrisUpdateEmployeeEmployment.ts | 2 +- ...risUpdateEmployeeWorkEligibilityRequest.ts | 2 +- src/funcs/hrisUpdateTimeOffRequest.ts | 2 +- src/funcs/hrisUploadEmployeeDocument.ts | 2 +- src/funcs/iamGetGroup.ts | 2 +- src/funcs/iamGetPolicy.ts | 2 +- src/funcs/iamGetRole.ts | 2 +- src/funcs/iamGetUser.ts | 2 +- src/funcs/iamListGroups.ts | 2 +- src/funcs/iamListPolicies.ts | 2 +- src/funcs/iamListRoles.ts | 2 +- src/funcs/iamListUsers.ts | 2 +- src/funcs/lmsBatchUpsertContent.ts | 2 +- src/funcs/lmsBatchUpsertCourse.ts | 2 +- src/funcs/lmsCreateCollection.ts | 2 +- src/funcs/lmsCreateUserAssignment.ts | 2 +- src/funcs/lmsCreateUserCompletion.ts | 2 +- src/funcs/lmsGetAssignment.ts | 2 +- src/funcs/lmsGetCategory.ts | 2 +- src/funcs/lmsGetCompletion.ts | 2 +- src/funcs/lmsGetContent.ts | 2 +- src/funcs/lmsGetCourse.ts | 2 +- src/funcs/lmsGetSkill.ts | 2 +- src/funcs/lmsGetUser.ts | 2 +- src/funcs/lmsGetUserAssignment.ts | 2 +- src/funcs/lmsGetUserCompletion.ts | 2 +- src/funcs/lmsListAssignments.ts | 2 +- src/funcs/lmsListCategories.ts | 2 +- src/funcs/lmsListCompletions.ts | 2 +- src/funcs/lmsListContent.ts | 2 +- src/funcs/lmsListCourses.ts | 2 +- src/funcs/lmsListSkills.ts | 2 +- src/funcs/lmsListUserAssignments.ts | 2 +- src/funcs/lmsListUserCompletions.ts | 2 +- src/funcs/lmsListUsers.ts | 2 +- src/funcs/lmsUpdateCollection.ts | 2 +- src/funcs/lmsUpsertContent.ts | 2 +- src/funcs/lmsUpsertCourse.ts | 2 +- src/funcs/marketingCreateContentBlock.ts | 2 +- src/funcs/marketingCreateEmailTemplate.ts | 2 +- src/funcs/marketingCreateInAppTemplate.ts | 2 +- .../marketingCreateOmniChannelTemplate.ts | 2 +- src/funcs/marketingCreatePushTemplate.ts | 2 +- src/funcs/marketingCreateSmsTemplate.ts | 2 +- src/funcs/marketingGetCampaign.ts | 2 +- src/funcs/marketingGetContentBlock.ts | 2 +- src/funcs/marketingGetEmailTemplate.ts | 2 +- src/funcs/marketingGetInAppTemplate.ts | 2 +- src/funcs/marketingGetOmniChannelTemplate.ts | 2 +- src/funcs/marketingGetPushTemplate.ts | 2 +- src/funcs/marketingGetSmsTemplate.ts | 2 +- src/funcs/marketingListCampaigns.ts | 2 +- src/funcs/marketingListContentBlocks.ts | 2 +- src/funcs/marketingListEmailTemplates.ts | 2 +- src/funcs/marketingListInAppTemplates.ts | 2 +- .../marketingListOmniChannelTemplates.ts | 2 +- src/funcs/marketingListPushTemplates.ts | 2 +- src/funcs/marketingListSmsTemplates.ts | 2 +- src/funcs/marketingUpdateContentBlock.ts | 2 +- src/funcs/marketingUpdateEmailTemplate.ts | 2 +- src/funcs/marketingUpdateInAppTemplate.ts | 2 +- .../marketingUpdateOmniChannelTemplate.ts | 2 +- src/funcs/marketingUpdatePushTemplate.ts | 2 +- src/funcs/marketingUpdateSmsTemplate.ts | 2 +- src/funcs/proxyProxyRequest.ts | 2 +- src/lib/config.ts | 6 +- src/lib/retries.ts | 1 - src/sdk/ats.ts | 30 + src/sdk/hris.ts | 30 + .../operations/atsorderassessmentsrequest.ts | 206 + .../atsorderbackgroundcheckrequest.ts | 212 + src/sdk/models/operations/create.ts | 183 - .../models/operations/hrisgettimeentries.ts | 208 + .../models/operations/hrislisttimeentries.ts | 357 ++ src/sdk/models/operations/index.ts | 5 +- src/sdk/models/shared/additionaldata.ts | 134 + ...atscreatebackgroundcheckorderrequestdto.ts | 1141 +++++ ...tscreatecandidatesassessmentsrequestdto.ts | 1125 +++++ src/sdk/models/shared/channelsenum.ts | 43 +- src/sdk/models/shared/content.ts | 18 + .../shared/createassessmentorderresult.ts | 96 + .../createbackgroundcheckorderresult.ts | 96 + src/sdk/models/shared/createevent.ts | 81 - src/sdk/models/shared/createeventresponse.ts | 99 - src/sdk/models/shared/employee.ts | 26 + src/sdk/models/shared/employment.ts | 1748 ++++++- .../shared/employmentmanagerapimodel.ts | 454 ++ .../shared/hrisupdateemployeerequestdto.ts | 15 - src/sdk/models/shared/index.ts | 11 +- .../shared/lmsupsertcontentrequestdto.ts | 17 + src/sdk/models/shared/timeentries.ts | 682 +++ src/sdk/models/shared/timeentriespaginated.ts | 102 + src/sdk/models/shared/timeentriesresult.ts | 82 + .../models/shared/updateemployeeapimodel.ts | 15 - src/sdk/sdk.ts | 6 - src/sdk/webhooks.ts | 21 - 645 files changed, 15601 insertions(+), 5909 deletions(-) delete mode 100644 .eslintrc.cjs create mode 100644 docs/sdk/models/operations/atsorderassessmentsrequestrequest.md create mode 100644 docs/sdk/models/operations/atsorderassessmentsrequestresponse.md create mode 100644 docs/sdk/models/operations/atsorderbackgroundcheckrequestrequest.md create mode 100644 docs/sdk/models/operations/atsorderbackgroundcheckrequestresponse.md delete mode 100644 docs/sdk/models/operations/createrequest.md create mode 100644 docs/sdk/models/operations/hrisgettimeentriesrequest.md create mode 100644 docs/sdk/models/operations/hrisgettimeentriesresponse.md create mode 100644 docs/sdk/models/operations/hrislisttimeentriesqueryparamfilter.md create mode 100644 docs/sdk/models/operations/hrislisttimeentriesrequest.md rename docs/sdk/models/operations/{createresponse.md => hrislisttimeentriesresponse.md} (61%) create mode 100644 docs/sdk/models/shared/additionaldata.md create mode 100644 docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdto.md create mode 100644 docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdto4.md create mode 100644 docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtoapplication.md create mode 100644 docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtoapplicationstatus.md create mode 100644 docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtocandidate.md create mode 100644 docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtojob.md create mode 100644 docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtopackage.md create mode 100644 docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtorequester.md create mode 100644 docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtosourcevalue.md create mode 100644 docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtovalue.md create mode 100644 docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdto.md create mode 100644 docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdto4.md create mode 100644 docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtoapplication.md create mode 100644 docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtoapplicationstatus.md create mode 100644 docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtocandidate.md create mode 100644 docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtojob.md create mode 100644 docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtopackage.md create mode 100644 docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtorequester.md create mode 100644 docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtosourcevalue.md create mode 100644 docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtovalue.md create mode 100644 docs/sdk/models/shared/channelsenumvalue.md create mode 100644 docs/sdk/models/shared/contracttype.md create mode 100644 docs/sdk/models/shared/costcenter.md create mode 100644 docs/sdk/models/shared/createassessmentorderresult.md create mode 100644 docs/sdk/models/shared/createbackgroundcheckorderresult.md delete mode 100644 docs/sdk/models/shared/createevent.md delete mode 100644 docs/sdk/models/shared/createeventresponse.md create mode 100644 docs/sdk/models/shared/description.md create mode 100644 docs/sdk/models/shared/division.md create mode 100644 docs/sdk/models/shared/employmentdepartment.md create mode 100644 docs/sdk/models/shared/employmentjob.md create mode 100644 docs/sdk/models/shared/employmentmanagerapimodel.md create mode 100644 docs/sdk/models/shared/employmentmanagerapimodel4.md create mode 100644 docs/sdk/models/shared/employmentmanagerapimodelsourcevalue.md create mode 100644 docs/sdk/models/shared/employmentmanagerapimodelvalue.md create mode 100644 docs/sdk/models/shared/employmentschemascontracttype.md create mode 100644 docs/sdk/models/shared/employmentschemascontracttype4.md create mode 100644 docs/sdk/models/shared/employmentschemascontracttypesourcevalue.md create mode 100644 docs/sdk/models/shared/employmentschemascontracttypevalue.md create mode 100644 docs/sdk/models/shared/employmentschemastype.md create mode 100644 docs/sdk/models/shared/employmentschemastype4.md create mode 100644 docs/sdk/models/shared/employmentschemastypesourcevalue.md create mode 100644 docs/sdk/models/shared/employmentschemastypetype.md create mode 100644 docs/sdk/models/shared/employmentschemastypevalue.md create mode 100644 docs/sdk/models/shared/labortype.md create mode 100644 docs/sdk/models/shared/location.md create mode 100644 docs/sdk/models/shared/role.md create mode 100644 docs/sdk/models/shared/roletype.md create mode 100644 docs/sdk/models/shared/timeentries.md create mode 100644 docs/sdk/models/shared/timeentries2.md create mode 100644 docs/sdk/models/shared/timeentries4.md create mode 100644 docs/sdk/models/shared/timeentriesactive.md create mode 100644 docs/sdk/models/shared/timeentriespaginated.md create mode 100644 docs/sdk/models/shared/timeentriesresult.md create mode 100644 docs/sdk/models/shared/timeentriessourcevalue.md create mode 100644 docs/sdk/models/shared/timeentriesstatus.md create mode 100644 docs/sdk/models/shared/timeentriesvalue.md delete mode 100644 docs/sdks/webhooks/README.md create mode 100644 eslint.config.mjs rename src/funcs/{webhooksCreate.ts => atsOrderAssessmentsRequest.ts} (79%) create mode 100644 src/funcs/atsOrderBackgroundCheckRequest.ts create mode 100644 src/funcs/hrisGetTimeEntries.ts create mode 100644 src/funcs/hrisListTimeEntries.ts create mode 100644 src/sdk/models/operations/atsorderassessmentsrequest.ts create mode 100644 src/sdk/models/operations/atsorderbackgroundcheckrequest.ts delete mode 100644 src/sdk/models/operations/create.ts create mode 100644 src/sdk/models/operations/hrisgettimeentries.ts create mode 100644 src/sdk/models/operations/hrislisttimeentries.ts create mode 100644 src/sdk/models/shared/additionaldata.ts create mode 100644 src/sdk/models/shared/atscreatebackgroundcheckorderrequestdto.ts create mode 100644 src/sdk/models/shared/atscreatecandidatesassessmentsrequestdto.ts create mode 100644 src/sdk/models/shared/createassessmentorderresult.ts create mode 100644 src/sdk/models/shared/createbackgroundcheckorderresult.ts delete mode 100644 src/sdk/models/shared/createevent.ts delete mode 100644 src/sdk/models/shared/createeventresponse.ts create mode 100644 src/sdk/models/shared/employmentmanagerapimodel.ts create mode 100644 src/sdk/models/shared/timeentries.ts create mode 100644 src/sdk/models/shared/timeentriespaginated.ts create mode 100644 src/sdk/models/shared/timeentriesresult.ts delete mode 100644 src/sdk/webhooks.ts diff --git a/.eslintrc.cjs b/.eslintrc.cjs deleted file mode 100644 index 4d160bd21..000000000 --- a/.eslintrc.cjs +++ /dev/null @@ -1,28 +0,0 @@ -/* eslint-env node */ -module.exports = { - root: true, - extends: [ - "eslint:recommended", - "plugin:@typescript-eslint/recommended", - "plugin:import/recommended", - "plugin:import/typescript", - ], - parser: "@typescript-eslint/parser", - plugins: ["@typescript-eslint"], - settings: { - "import/resolver": { - typescript: true, - node: true, - }, - }, - rules: { - // Handled by typescript compiler - "@typescript-eslint/no-unused-vars": "off", - "@typescript-eslint/ban-types": "off", - "@typescript-eslint/no-namespace": "off", - "@typescript-eslint/no-explicit-any": "off", - "import/no-named-as-default-member": "off", - - "import/no-default-export": "error", - }, -}; diff --git a/.gitignore b/.gitignore index b574c7e23..3a89a4f20 100755 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +/.eslintcache /.speakeasy/reports /react-query /__tests__ diff --git a/.npmignore b/.npmignore index abca4290e..7e54c532a 100644 --- a/.npmignore +++ b/.npmignore @@ -7,7 +7,7 @@ !/**/*.json !/**/*.map -/.eslintrc.js +/eslint.config.mjs /cjs /.tshy /.tshy-* diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 23d6ec358..ea59efa98 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 7fa83af8-9e8e-4410-b7e2-cf1d0eaf688b management: - docChecksum: 7a35e2a9a578c10406b0be0fb36e635c + docChecksum: 9646e663a5f3bb12dc77f649976c14fa docVersion: 1.0.0 - speakeasyVersion: 1.476.1 - generationVersion: 2.495.1 - releaseVersion: 4.17.11 - configChecksum: a1848be73576303716c98e43e7335174 + speakeasyVersion: 1.481.0 + generationVersion: 2.500.4 + releaseVersion: 4.17.12 + configChecksum: f861188af459097ea2e2066bb68a0341 repoURL: https://github.com/StackOneHQ/stackone-client-typescript.git repoSubDirectory: . installationURL: https://github.com/StackOneHQ/stackone-client-typescript @@ -15,7 +15,7 @@ features: typescript: additionalDependencies: 0.1.0 constsAndDefaults: 0.1.11 - core: 3.18.17 + core: 3.18.22 defaultEnabledRetries: 0.1.0 deprecations: 2.81.1 downloadStreams: 0.1.1 @@ -35,7 +35,6 @@ features: sdkHooks: 0.2.0 unions: 2.85.8 generatedFiles: - - .eslintrc.cjs - .gitattributes - .npmignore - FUNCTIONS.md @@ -187,6 +186,10 @@ generatedFiles: - docs/sdk/models/operations/atslistusersresponse.md - docs/sdk/models/operations/atsmoveapplicationrequest.md - docs/sdk/models/operations/atsmoveapplicationresponse.md + - docs/sdk/models/operations/atsorderassessmentsrequestrequest.md + - docs/sdk/models/operations/atsorderassessmentsrequestresponse.md + - docs/sdk/models/operations/atsorderbackgroundcheckrequestrequest.md + - docs/sdk/models/operations/atsorderbackgroundcheckrequestresponse.md - docs/sdk/models/operations/atsrejectapplicationrequest.md - docs/sdk/models/operations/atsrejectapplicationresponse.md - docs/sdk/models/operations/atsupdateapplicationnoterequest.md @@ -199,8 +202,6 @@ generatedFiles: - docs/sdk/models/operations/atsupdatejobresponse.md - docs/sdk/models/operations/atsuploadapplicationdocumentrequest.md - docs/sdk/models/operations/atsuploadapplicationdocumentresponse.md - - docs/sdk/models/operations/createrequest.md - - docs/sdk/models/operations/createresponse.md - docs/sdk/models/operations/crmcreatecontactrequest.md - docs/sdk/models/operations/crmcreatecontactresponse.md - docs/sdk/models/operations/crmgetaccountrequest.md @@ -272,6 +273,8 @@ generatedFiles: - docs/sdk/models/operations/hrisgetjobresponse.md - docs/sdk/models/operations/hrisgetlocationrequest.md - docs/sdk/models/operations/hrisgetlocationresponse.md + - docs/sdk/models/operations/hrisgettimeentriesrequest.md + - docs/sdk/models/operations/hrisgettimeentriesresponse.md - docs/sdk/models/operations/hrisgettimeoffrequestrequest.md - docs/sdk/models/operations/hrisgettimeoffrequestresponse.md - docs/sdk/models/operations/hrisgettimeofftyperequest.md @@ -321,6 +324,9 @@ generatedFiles: - docs/sdk/models/operations/hrislistlocationsqueryparamfilter.md - docs/sdk/models/operations/hrislistlocationsrequest.md - docs/sdk/models/operations/hrislistlocationsresponse.md + - docs/sdk/models/operations/hrislisttimeentriesqueryparamfilter.md + - docs/sdk/models/operations/hrislisttimeentriesrequest.md + - docs/sdk/models/operations/hrislisttimeentriesresponse.md - docs/sdk/models/operations/hrislisttimeoffrequestsqueryparamfilter.md - docs/sdk/models/operations/hrislisttimeoffrequestsrequest.md - docs/sdk/models/operations/hrislisttimeoffrequestsresponse.md @@ -515,6 +521,7 @@ generatedFiles: - docs/sdk/models/shared/accountresult.md - docs/sdk/models/shared/accountspaginated.md - docs/sdk/models/shared/active.md + - docs/sdk/models/shared/additionaldata.md - docs/sdk/models/shared/answer.md - docs/sdk/models/shared/answer4.md - docs/sdk/models/shared/answersourcevalue.md @@ -568,8 +575,28 @@ generatedFiles: - docs/sdk/models/shared/atscreateapplicationrequestdtosource.md - docs/sdk/models/shared/atscreateapplicationrequestdtosourcevalue.md - docs/sdk/models/shared/atscreateapplicationrequestdtovalue.md + - docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdto.md + - docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdto4.md + - docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtoapplication.md + - docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtoapplicationstatus.md + - docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtocandidate.md + - docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtojob.md + - docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtopackage.md + - docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtorequester.md + - docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtosourcevalue.md + - docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtovalue.md - docs/sdk/models/shared/atscreatebackgroundcheckpackagesrequestdto.md - docs/sdk/models/shared/atscreatecandidaterequestdto.md + - docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdto.md + - docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdto4.md + - docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtoapplication.md + - docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtoapplicationstatus.md + - docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtocandidate.md + - docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtojob.md + - docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtopackage.md + - docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtorequester.md + - docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtosourcevalue.md + - docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtovalue.md - docs/sdk/models/shared/atscreatejobrequestdto.md - docs/sdk/models/shared/atscreatejobrequestdto4.md - docs/sdk/models/shared/atscreatejobrequestdtosourcevalue.md @@ -675,6 +702,7 @@ generatedFiles: - docs/sdk/models/shared/categorysourcevalue.md - docs/sdk/models/shared/categoryvalue.md - docs/sdk/models/shared/channelsenum.md + - docs/sdk/models/shared/channelsenumvalue.md - docs/sdk/models/shared/companiespaginated.md - docs/sdk/models/shared/company.md - docs/sdk/models/shared/companyresult.md @@ -721,6 +749,8 @@ generatedFiles: - docs/sdk/models/shared/contentsourcevalue.md - docs/sdk/models/shared/contenttype.md - docs/sdk/models/shared/contentvalue.md + - docs/sdk/models/shared/contracttype.md + - docs/sdk/models/shared/costcenter.md - docs/sdk/models/shared/costcenters.md - docs/sdk/models/shared/country.md - docs/sdk/models/shared/countrycodeenum.md @@ -735,6 +765,8 @@ generatedFiles: - docs/sdk/models/shared/createanswersourcevalue.md - docs/sdk/models/shared/createanswertype.md - docs/sdk/models/shared/createanswervalue.md + - docs/sdk/models/shared/createassessmentorderresult.md + - docs/sdk/models/shared/createbackgroundcheckorderresult.md - docs/sdk/models/shared/createcategoriesapimodel.md - docs/sdk/models/shared/createcategoriesapimodel4.md - docs/sdk/models/shared/createcategoriesapimodellanguage.md @@ -759,8 +791,6 @@ generatedFiles: - docs/sdk/models/shared/createemploymentapimodelschemasvalue.md - docs/sdk/models/shared/createemploymentapimodelsourcevalue.md - docs/sdk/models/shared/createemploymentapimodelvalue.md - - docs/sdk/models/shared/createevent.md - - docs/sdk/models/shared/createeventresponse.md - docs/sdk/models/shared/createhrisbenefit.md - docs/sdk/models/shared/createhrisbenefit4.md - docs/sdk/models/shared/createhrisbenefitsourcevalue.md @@ -794,6 +824,8 @@ generatedFiles: - docs/sdk/models/shared/department.md - docs/sdk/models/shared/departmentresult.md - docs/sdk/models/shared/departmentspaginated.md + - docs/sdk/models/shared/description.md + - docs/sdk/models/shared/division.md - docs/sdk/models/shared/document.md - docs/sdk/models/shared/draft.md - docs/sdk/models/shared/emailmessages.md @@ -859,12 +891,22 @@ generatedFiles: - docs/sdk/models/shared/employment.md - docs/sdk/models/shared/employment4.md - docs/sdk/models/shared/employmentcontracttype.md + - docs/sdk/models/shared/employmentdepartment.md - docs/sdk/models/shared/employmentemploymentcontracttype.md - docs/sdk/models/shared/employmentemploymenttype.md + - docs/sdk/models/shared/employmentjob.md + - docs/sdk/models/shared/employmentmanagerapimodel.md + - docs/sdk/models/shared/employmentmanagerapimodel4.md + - docs/sdk/models/shared/employmentmanagerapimodelsourcevalue.md + - docs/sdk/models/shared/employmentmanagerapimodelvalue.md - docs/sdk/models/shared/employmentpayfrequency.md - docs/sdk/models/shared/employmentpayperiod.md - docs/sdk/models/shared/employmentresult.md - docs/sdk/models/shared/employmentschemas4.md + - docs/sdk/models/shared/employmentschemascontracttype.md + - docs/sdk/models/shared/employmentschemascontracttype4.md + - docs/sdk/models/shared/employmentschemascontracttypesourcevalue.md + - docs/sdk/models/shared/employmentschemascontracttypevalue.md - docs/sdk/models/shared/employmentschemaspayfrequency4.md - docs/sdk/models/shared/employmentschemaspayfrequencysourcevalue.md - docs/sdk/models/shared/employmentschemaspayfrequencyvalue.md @@ -872,6 +914,11 @@ generatedFiles: - docs/sdk/models/shared/employmentschemaspayperiodsourcevalue.md - docs/sdk/models/shared/employmentschemaspayperiodvalue.md - docs/sdk/models/shared/employmentschemassourcevalue.md + - docs/sdk/models/shared/employmentschemastype.md + - docs/sdk/models/shared/employmentschemastype4.md + - docs/sdk/models/shared/employmentschemastypesourcevalue.md + - docs/sdk/models/shared/employmentschemastypetype.md + - docs/sdk/models/shared/employmentschemastypevalue.md - docs/sdk/models/shared/employmentschemasvalue.md - docs/sdk/models/shared/employmentsourcevalue.md - docs/sdk/models/shared/employmentspaginated.md @@ -1237,6 +1284,7 @@ generatedFiles: - docs/sdk/models/shared/jobstatus.md - docs/sdk/models/shared/jobvalue.md - docs/sdk/models/shared/label.md + - docs/sdk/models/shared/labortype.md - docs/sdk/models/shared/language.md - docs/sdk/models/shared/languageenum.md - docs/sdk/models/shared/languageenum4.md @@ -1276,6 +1324,7 @@ generatedFiles: - docs/sdk/models/shared/lmsupsertcontentrequestdtovalue.md - docs/sdk/models/shared/lmsupsertcourserequestdto.md - docs/sdk/models/shared/lmsuser.md + - docs/sdk/models/shared/location.md - docs/sdk/models/shared/locationtype.md - docs/sdk/models/shared/maritalstatus.md - docs/sdk/models/shared/marketingcreatecontentblocksrequestdto.md @@ -1372,6 +1421,8 @@ generatedFiles: - docs/sdk/models/shared/resources.md - docs/sdk/models/shared/result.md - docs/sdk/models/shared/resultlink.md + - docs/sdk/models/shared/role.md + - docs/sdk/models/shared/roletype.md - docs/sdk/models/shared/scheduledinterview.md - docs/sdk/models/shared/scheduledinterview4.md - docs/sdk/models/shared/scheduledinterviewinterviewstage.md @@ -1417,6 +1468,15 @@ generatedFiles: - docs/sdk/models/shared/template.md - docs/sdk/models/shared/templateresult.md - docs/sdk/models/shared/templatespaginated.md + - docs/sdk/models/shared/timeentries.md + - docs/sdk/models/shared/timeentries2.md + - docs/sdk/models/shared/timeentries4.md + - docs/sdk/models/shared/timeentriesactive.md + - docs/sdk/models/shared/timeentriespaginated.md + - docs/sdk/models/shared/timeentriesresult.md + - docs/sdk/models/shared/timeentriessourcevalue.md + - docs/sdk/models/shared/timeentriesstatus.md + - docs/sdk/models/shared/timeentriesvalue.md - docs/sdk/models/shared/timeoff.md - docs/sdk/models/shared/timeoff2.md - docs/sdk/models/shared/timeoff4.md @@ -1541,7 +1601,7 @@ generatedFiles: - docs/sdks/marketing/README.md - docs/sdks/proxy/README.md - docs/sdks/stackone/README.md - - docs/sdks/webhooks/README.md + - eslint.config.mjs - jsr.json - package.json - src/core.ts @@ -1610,6 +1670,8 @@ generatedFiles: - src/funcs/atsListRejectedReasons.ts - src/funcs/atsListUsers.ts - src/funcs/atsMoveApplication.ts + - src/funcs/atsOrderAssessmentsRequest.ts + - src/funcs/atsOrderBackgroundCheckRequest.ts - src/funcs/atsRejectApplication.ts - src/funcs/atsUpdateApplication.ts - src/funcs/atsUpdateApplicationNote.ts @@ -1652,6 +1714,7 @@ generatedFiles: - src/funcs/hrisGetGroup.ts - src/funcs/hrisGetJob.ts - src/funcs/hrisGetLocation.ts + - src/funcs/hrisGetTimeEntries.ts - src/funcs/hrisGetTimeOffRequest.ts - src/funcs/hrisGetTimeOffType.ts - src/funcs/hrisListBenefits.ts @@ -1669,6 +1732,7 @@ generatedFiles: - src/funcs/hrisListGroups.ts - src/funcs/hrisListJobs.ts - src/funcs/hrisListLocations.ts + - src/funcs/hrisListTimeEntries.ts - src/funcs/hrisListTimeOffRequests.ts - src/funcs/hrisListTimeOffTypes.ts - src/funcs/hrisUpdateEmployee.ts @@ -1737,7 +1801,6 @@ generatedFiles: - src/funcs/marketingUpdatePushTemplate.ts - src/funcs/marketingUpdateSmsTemplate.ts - src/funcs/proxyProxyRequest.ts - - src/funcs/webhooksCreate.ts - src/hooks/hooks.ts - src/hooks/index.ts - src/hooks/types.ts @@ -1831,13 +1894,14 @@ generatedFiles: - src/sdk/models/operations/atslistrejectedreasons.ts - src/sdk/models/operations/atslistusers.ts - src/sdk/models/operations/atsmoveapplication.ts + - src/sdk/models/operations/atsorderassessmentsrequest.ts + - src/sdk/models/operations/atsorderbackgroundcheckrequest.ts - src/sdk/models/operations/atsrejectapplication.ts - src/sdk/models/operations/atsupdateapplication.ts - src/sdk/models/operations/atsupdateapplicationnote.ts - src/sdk/models/operations/atsupdatecandidate.ts - src/sdk/models/operations/atsupdatejob.ts - src/sdk/models/operations/atsuploadapplicationdocument.ts - - src/sdk/models/operations/create.ts - src/sdk/models/operations/crmcreatecontact.ts - src/sdk/models/operations/crmgetaccount.ts - src/sdk/models/operations/crmgetcontact.ts @@ -1870,6 +1934,7 @@ generatedFiles: - src/sdk/models/operations/hrisgetgroup.ts - src/sdk/models/operations/hrisgetjob.ts - src/sdk/models/operations/hrisgetlocation.ts + - src/sdk/models/operations/hrisgettimeentries.ts - src/sdk/models/operations/hrisgettimeoffrequest.ts - src/sdk/models/operations/hrisgettimeofftype.ts - src/sdk/models/operations/hrislistbenefits.ts @@ -1887,6 +1952,7 @@ generatedFiles: - src/sdk/models/operations/hrislistgroups.ts - src/sdk/models/operations/hrislistjobs.ts - src/sdk/models/operations/hrislistlocations.ts + - src/sdk/models/operations/hrislisttimeentries.ts - src/sdk/models/operations/hrislisttimeoffrequests.ts - src/sdk/models/operations/hrislisttimeofftypes.ts - src/sdk/models/operations/hrisupdateemployee.ts @@ -1969,6 +2035,7 @@ generatedFiles: - src/sdk/models/shared/accountaddress.ts - src/sdk/models/shared/accountresult.ts - src/sdk/models/shared/accountspaginated.ts + - src/sdk/models/shared/additionaldata.ts - src/sdk/models/shared/answer.ts - src/sdk/models/shared/application.ts - src/sdk/models/shared/applicationattachment.ts @@ -1985,8 +2052,10 @@ generatedFiles: - src/sdk/models/shared/assignmentresult.ts - src/sdk/models/shared/assignmentspaginated.ts - src/sdk/models/shared/atscreateapplicationrequestdto.ts + - src/sdk/models/shared/atscreatebackgroundcheckorderrequestdto.ts - src/sdk/models/shared/atscreatebackgroundcheckpackagesrequestdto.ts - src/sdk/models/shared/atscreatecandidaterequestdto.ts + - src/sdk/models/shared/atscreatecandidatesassessmentsrequestdto.ts - src/sdk/models/shared/atscreatejobrequestdto.ts - src/sdk/models/shared/atscreatenotesrequestdto.ts - src/sdk/models/shared/atscreateofferrequestdto.ts @@ -2049,12 +2118,12 @@ generatedFiles: - src/sdk/models/shared/coursepaginated.ts - src/sdk/models/shared/courseresult.ts - src/sdk/models/shared/createanswer.ts + - src/sdk/models/shared/createassessmentorderresult.ts + - src/sdk/models/shared/createbackgroundcheckorderresult.ts - src/sdk/models/shared/createcategoriesapimodel.ts - src/sdk/models/shared/createcontentapimodel.ts - src/sdk/models/shared/createcostcenterapimodel.ts - src/sdk/models/shared/createemploymentapimodel.ts - - src/sdk/models/shared/createevent.ts - - src/sdk/models/shared/createeventresponse.ts - src/sdk/models/shared/createhrisbenefit.ts - src/sdk/models/shared/createmessage.ts - src/sdk/models/shared/createpackage.ts @@ -2078,6 +2147,7 @@ generatedFiles: - src/sdk/models/shared/employeeresult.ts - src/sdk/models/shared/employeespaginated.ts - src/sdk/models/shared/employment.ts + - src/sdk/models/shared/employmentmanagerapimodel.ts - src/sdk/models/shared/employmentresult.ts - src/sdk/models/shared/employmentspaginated.ts - src/sdk/models/shared/field.ts @@ -2216,6 +2286,9 @@ generatedFiles: - src/sdk/models/shared/template.ts - src/sdk/models/shared/templateresult.ts - src/sdk/models/shared/templatespaginated.ts + - src/sdk/models/shared/timeentries.ts + - src/sdk/models/shared/timeentriespaginated.ts + - src/sdk/models/shared/timeentriesresult.ts - src/sdk/models/shared/timeoff.ts - src/sdk/models/shared/timeoffpaginated.ts - src/sdk/models/shared/timeoffresult.ts @@ -2241,7 +2314,6 @@ generatedFiles: - src/sdk/types/operations.ts - src/sdk/types/rfcdate.ts - src/sdk/types/streams.ts - - src/sdk/webhooks.ts - tsconfig.json examples: stackone_delete_account: @@ -2299,7 +2371,7 @@ examples: application/json: {"categories": ["ats", "hris", "crm", "crm", "iam", "marketing", "lms", "ats", "documents"], "expires_in": 1800, "multiple": false, "origin_owner_id": "", "origin_owner_name": ""} responses: "201": - application/json: {"auth_link_url": "https://pushy-almighty.com", "categories": ["ats", "hris", "documents", "crm", "iam", "marketing", "lms", "hris-legacy", "documents"], "created_at": "2025-09-18T01:38:50.515Z", "id": 7336, "organization_id": 5110.46, "origin_owner_id": "", "origin_owner_name": "", "project_id": "", "token": ""} + application/json: {"auth_link_url": "https://pushy-almighty.com", "categories": ["ats", "hris", "lms", "crm", "iam", "marketing", "lms", "marketing", "documents"], "created_at": "2025-09-18T01:38:50.515Z", "id": 7336, "organization_id": 5110.46, "origin_owner_id": "", "origin_owner_name": "", "project_id": "", "token": ""} stackone_get_connector_meta: "": parameters: @@ -2310,6 +2382,15 @@ examples: responses: "200": application/json: {"active": true, "category": "hris", "models": {"employees": {"create": {"apiPath": "/unified/hris/employees/:id", "input": {"defaultFields": [{"name": "first_name", "type": "string"}]}, "output": {"defaultFields": [{"name": "id", "type": "string"}]}}}, "time_off": {"get": {"apiPath": "/unified/hris/employees/:id/time_off/:id", "output": {"defaultFields": [{"name": "id", "type": "string"}]}}}}, "provider": "hibob", "provider_name": "Hibob", "resources": {"images": {"logo_url": "https://app.stackone.com/assets/logos/hibob.png", "original_logo_horizontal_url": "https://app.stackone.com/assets/logos/original/hibob_horizontal.png"}}} + speakeasy-default-stackone-get-connector-meta: + parameters: + path: + provider: "" + query: + include: "field_path,unmapped_fields,resources,inactive,webhooks,static_fields" + responses: + "200": + application/json: {"active": true, "category": "hris", "models": {"employees": {"create": {"apiPath": "/unified/hris/employees/:id", "input": {"defaultFields": [{"name": "first_name", "type": "string"}]}, "output": {"defaultFields": [{"name": "id", "type": "string"}]}}}, "time_off": {"get": {"apiPath": "/unified/hris/employees/:id/time_off/:id", "output": {"defaultFields": [{"name": "id", "type": "string"}]}}}}, "provider": "hibob", "provider_name": "Hibob", "resources": {"images": {"logo_url": "https://app.stackone.com/assets/logos/hibob.png", "original_logo_horizontal_url": "https://app.stackone.com/assets/logos/source/hibob.png"}}} stackone_list_connectors_meta: "": parameters: @@ -2318,6 +2399,13 @@ examples: responses: "200": application/json: [{"active": true, "category": "hris", "models": {"employees": {"create": {"apiPath": "/unified/hris/employees/:id", "input": {"defaultFields": [{"name": "first_name", "type": "string"}]}, "output": {"defaultFields": [{"name": "id", "type": "string"}]}}}, "time_off": {"get": {"apiPath": "/unified/hris/employees/:id/time_off/:id", "output": {"defaultFields": [{"name": "id", "type": "string"}]}}}}, "provider": "hibob", "provider_name": "Hibob", "resources": {"images": {"logo_url": "https://app.stackone.com/assets/logos/hibob.png", "original_logo_horizontal_url": "https://app.stackone.com/assets/logos/original/hibob_horizontal.png"}}}, {"active": true, "category": "hris", "models": {"employees": {"create": {"apiPath": "/unified/hris/employees/:id", "input": {"defaultFields": [{"name": "first_name", "type": "string"}]}, "output": {"defaultFields": [{"name": "id", "type": "string"}]}}}, "time_off": {"get": {"apiPath": "/unified/hris/employees/:id/time_off/:id", "output": {"defaultFields": [{"name": "id", "type": "string"}]}}}}, "provider": "hibob", "provider_name": "Hibob", "resources": {"images": {"logo_url": "https://app.stackone.com/assets/logos/hibob.png", "original_logo_horizontal_url": "https://app.stackone.com/assets/logos/original/hibob_horizontal.png"}}}] + speakeasy-default-stackone-list-connectors-meta: + parameters: + query: + include: "field_path,unmapped_fields,resources,inactive,webhooks,static_fields" + responses: + "200": + application/json: [{"active": true, "category": "hris", "models": {"employees": {"create": {"apiPath": "/unified/hris/employees/:id", "input": {"defaultFields": [{"name": "first_name", "type": "string"}]}, "output": {"defaultFields": [{"name": "id", "type": "string"}]}}}, "time_off": {"get": {"apiPath": "/unified/hris/employees/:id/time_off/:id", "output": {"defaultFields": [{"name": "id", "type": "string"}]}}}}, "provider": "hibob", "provider_name": "Hibob", "resources": {"images": {"logo_url": "https://app.stackone.com/assets/logos/hibob.png", "original_logo_horizontal_url": "https://app.stackone.com/assets/logos/source/hibob.png"}}}, {"active": true, "category": "hris", "models": {"employees": {"create": {"apiPath": "/unified/hris/employees/:id", "input": {"defaultFields": [{"name": "first_name", "type": "string"}]}, "output": {"defaultFields": [{"name": "id", "type": "string"}]}}}, "time_off": {"get": {"apiPath": "/unified/hris/employees/:id/time_off/:id", "output": {"defaultFields": [{"name": "id", "type": "string"}]}}}}, "provider": "hibob", "provider_name": "Hibob", "resources": {"images": {"logo_url": "https://app.stackone.com/assets/logos/hibob.png", "original_logo_horizontal_url": "https://app.stackone.com/assets/logos/source/hibob.png"}}}] ats_create_application: speakeasy-default-ats-create-application: parameters: @@ -2405,6 +2493,18 @@ examples: responses: "200": application/octet-stream: "x-file: example.file" + speakeasy-default-ats-download-application-document: + parameters: + path: + id: "" + subResourceId: "" + query: + format: "base64" + header: + x-account-id: "" + responses: + "200": + application/octet-stream: "x-file: example.file" ats_get_application: "": parameters: @@ -2420,6 +2520,20 @@ examples: responses: "200": application/json: {"data": {"application_status": {"source_value": "Hired", "value": "hired"}, "candidate": {"company": "Company Inc.", "email": "john.doe@example.com", "emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "John", "last_name": "Doe", "name": "Romain Sestier", "phone_numbers": [{"phone": "+447700112233"}, {"phone": "+447700112233"}], "social_links": [{"type": "linkedin", "url": "https://www.linkedin.com/in/romainsestier/"}, {"type": "linkedin", "url": "https://www.linkedin.com/in/romainsestier/"}], "title": "Software Engineer"}, "candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "documents": [{"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-02T01:01:01.000Z"}, {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-02T01:01:01.000Z"}, {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-02T01:01:01.000Z"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_stage": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, "interview_stage_id": "18bcbb1b-3cbc-4198-a999-460861d19480", "job_id": "4071538b-3cac-4fbf-ac76-f78ed250ffdd", "location_id": "dd8d41d1-5eb8-4408-9c87-9ba44604eae4", "location_ids": ["dd8d41d1-5eb8-4408-9c87-9ba44604eae4"], "questionnaires": [{"answers": [{"id": "answer1", "values": ["Yes"]}], "id": "right_to_work"}], "rejected_at": "2021-01-01T01:01:01.000Z", "rejected_reason_ids": ["f223d7f6-908b-48f0-9237-b201c307f609"], "rejected_reasons": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Failed Phone Screen", "rejected_reason_type": {"source_value": "RejectedByOrg", "value": "rejected_by_organization"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Failed Phone Screen", "rejected_reason_type": {"source_value": "RejectedByOrg", "value": "rejected_by_organization"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}], "remote_candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_stage_id": "18bcbb1b-3cbc-4198-a999-460861d19480", "remote_job_id": "4071538b-3cac-4fbf-ac76-f78ed250ffdd", "remote_location_id": "dd8d41d1-5eb8-4408-9c87-9ba44604eae4", "remote_location_ids": ["dd8d41d1-5eb8-4408-9c87-9ba44604eae4"], "remote_rejected_reason_ids": ["f223d7f6-908b-48f0-9237-b201c307f609"], "result_links": [{"label": "test result link", "url": "http://example.com/test-result/4565765/data"}], "source": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "LinkedIn", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-ats-get-application: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate" + expand: "documents" + include: "attachments,custom_fields" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"application_status": {"source_value": "Hired", "value": "hired"}, "candidate": {"company": "Company Inc.", "email": "john.doe@example.com", "emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "John", "last_name": "Doe", "name": "Romain Sestier", "phone_numbers": [{"phone": "+447700112233"}, {"phone": "+447700112233"}], "social_links": [{"type": "linkedin", "url": "https://www.linkedin.com/in/romainsestier/"}, {"type": "linkedin", "url": "https://www.linkedin.com/in/romainsestier/"}], "title": "Software Engineer"}, "candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "documents": [{"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-02T01:01:01.000Z"}, {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-02T01:01:01.000Z"}, {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-02T01:01:01.000Z"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_stage": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, "interview_stage_id": "18bcbb1b-3cbc-4198-a999-460861d19480", "job_id": "4071538b-3cac-4fbf-ac76-f78ed250ffdd", "location_id": "dd8d41d1-5eb8-4408-9c87-9ba44604eae4", "location_ids": ["dd8d41d1-5eb8-4408-9c87-9ba44604eae4"], "questionnaires": [{"answers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "values": ["Yes", "No Travel", "It sounds pretty cool.", "Excel", "Power Point"]}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "rejected_at": "2021-01-01T01:01:01.000Z", "rejected_reason_ids": ["f223d7f6-908b-48f0-9237-b201c307f609"], "rejected_reasons": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Failed Phone Screen", "rejected_reason_type": {"source_value": "RejectedByOrg", "value": "rejected_by_organization"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Failed Phone Screen", "rejected_reason_type": {"source_value": "RejectedByOrg", "value": "rejected_by_organization"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}], "remote_candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_stage_id": "18bcbb1b-3cbc-4198-a999-460861d19480", "remote_job_id": "4071538b-3cac-4fbf-ac76-f78ed250ffdd", "remote_location_id": "dd8d41d1-5eb8-4408-9c87-9ba44604eae4", "remote_location_ids": ["dd8d41d1-5eb8-4408-9c87-9ba44604eae4"], "remote_rejected_reason_ids": ["f223d7f6-908b-48f0-9237-b201c307f609"], "result_links": [{"label": "test result link", "url": "http://example.com/test-result/4565765/data"}], "source": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "LinkedIn", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} ats_get_application_custom_field_definition: "": parameters: @@ -2436,6 +2550,21 @@ examples: responses: "200": application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "options": ["Not Started", "In Progress", "Completed", "Overdue"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} + speakeasy-default-ats-get-application-custom-field-definition: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,description,type,options" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "options": ["Not Started", "In Progress", "Completed", "Overdue"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} ats_get_application_document: "": parameters: @@ -2450,6 +2579,19 @@ examples: responses: "200": application/json: {"data": {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-02T01:01:01.000Z"}} + speakeasy-default-ats-get-application-document: + parameters: + path: + id: "" + subResourceId: "" + query: + raw: false + fields: "id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-02T01:01:01.000Z"}} ats_get_application_note: "": parameters: @@ -2464,6 +2606,19 @@ examples: responses: "200": application/json: {"data": {"author_id": "1234567890", "content": [{"body": "This candidate seems like a good fit for the role"}, {"body": "This candidate seems like a good fit for the role"}], "created_at": "2021-01-01T01:01:01.000Z", "deleted_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_author_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-ats-get-application-note: + parameters: + path: + id: "" + subResourceId: "" + query: + raw: false + fields: "id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"author_id": "1234567890", "content": [{"body": "This candidate seems like a good fit for the role"}, {"body": "This candidate seems like a good fit for the role"}], "created_at": "2021-01-01T01:01:01.000Z", "deleted_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_author_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} ats_get_application_offer: "": parameters: @@ -2478,6 +2633,19 @@ examples: responses: "200": application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "offer_history": [{"created_at": "2021-01-01T01:01:01.000Z", "start_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}], "offer_status": {"source_value": "Pending", "value": "pending"}, "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-ats-get-application-offer: + parameters: + path: + id: "" + subResourceId: "" + query: + raw: false + fields: "id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "offer_history": [{"created_at": "2021-01-01T01:01:01.000Z", "start_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}], "offer_status": {"source_value": "Pending", "value": "pending"}, "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} ats_get_application_scheduled_interview: "": parameters: @@ -2492,6 +2660,19 @@ examples: responses: "200": application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_parts": [{"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "interview_stage": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, "interview_status": {"source_value": "Unscheduled", "value": "unscheduled"}, "interviewers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_stage_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_interviewer_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "start_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-ats-get-application-scheduled-interview: + parameters: + path: + id: "" + subResourceId: "" + query: + raw: false + fields: "id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_parts": [{"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "interview_stage": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, "interview_status": {"source_value": "Unscheduled", "value": "unscheduled"}, "interviewers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_stage_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_interviewer_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "start_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}} ats_get_application_scorecard: "": parameters: @@ -2506,6 +2687,19 @@ examples: responses: "200": application/json: {"data": {"application_id": "1011-12", "author_id": "1617-18", "candidate_id": "5678-9", "created_at": "2021-01-01T00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_id": "1314-15", "label": "Technical Interview", "overall_recommendation": "strong_no", "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_author_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "sections": [{"fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Problem Solving", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "type": "score", "values": ["Excellent", "Good", "Average", "Poor"]}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Problem Solving", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "type": "email", "values": ["Excellent", "Good", "Average", "Poor"]}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Technical Skills", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Problem Solving", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "type": "date", "values": ["Excellent", "Good", "Average", "Poor"]}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Technical Skills", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Problem Solving", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "type": "date", "values": ["Excellent", "Good", "Average", "Poor"]}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Problem Solving", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "type": "email", "values": ["Excellent", "Good", "Average", "Poor"]}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Problem Solving", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "type": "email", "values": ["Excellent", "Good", "Average", "Poor"]}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Technical Skills", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "updated_at": "2021-01-01T00:00.000Z"}} + speakeasy-default-ats-get-application-scorecard: + parameters: + path: + id: "" + subResourceId: "" + query: + raw: false + fields: "id,remote_id,sections,label,candidate_id,remote_candidate_id,application_id,remote_application_id,interview_id,remote_interview_id,author_id,remote_author_id,overall_recommendation,created_at,updated_at" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"application_id": "1011-12", "author_id": "1617-18", "candidate_id": "5678-9", "created_at": "2021-01-01T00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_id": "1314-15", "label": "Technical Interview", "overall_recommendation": "strong_no", "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_author_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "sections": [{"fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Problem Solving", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "type": "score", "values": ["Excellent", "Good", "Average", "Poor"]}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Problem Solving", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "type": "email", "values": ["Excellent", "Good", "Average", "Poor"]}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Technical Skills", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Problem Solving", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "type": "date", "values": ["Excellent", "Good", "Average", "Poor"]}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Technical Skills", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Problem Solving", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "type": "date", "values": ["Excellent", "Good", "Average", "Poor"]}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Problem Solving", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "type": "email", "values": ["Excellent", "Good", "Average", "Poor"]}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Problem Solving", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "type": "email", "values": ["Excellent", "Good", "Average", "Poor"]}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Technical Skills", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "updated_at": "2021-01-01T00:00.000Z"}} ats_get_assessments_package: speakeasy-default-ats-get-assessments-package: parameters: @@ -2531,6 +2725,18 @@ examples: responses: "200": application/json: {"data": {"application": {"application_status": {"source_value": "Hired", "value": "hired"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "candidate": {"emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "Romain", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Sestier", "passthrough": {"other_known_names": "John Doe"}, "profile_url": "https://exmaple.com/candidate?id=xyz", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job": {"hiring_team": [{"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer"}, "package": {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "requester": {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, "results_update_url": "https://exmaple.com/integrations/results/update"}} + speakeasy-default-ats-get-assessments-request: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,package,application,job,candidate,requester,results_update_url" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"application": {"application_status": {"source_value": "Hired", "value": "hired"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "candidate": {"emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "Romain", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Sestier", "passthrough": {"other_known_names": "John Doe"}, "profile_url": "https://exmaple.com/candidate?id=xyz", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job": {"hiring_team": [{"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer"}, "package": {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "requester": {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, "results_update_url": "https://exmaple.com/integrations/results/update"}} ats_get_assessments_result: "": parameters: @@ -2544,145 +2750,137 @@ examples: responses: "200": application/json: {"data": {"attachments": [{"content_type": {"source_value": "Text", "value": "text"}, "url": "http://example.com/resume.pdf"}, {"content_type": {"source_value": "Text", "value": "text"}, "url": "http://example.com/resume.pdf"}], "candidate": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "profile_url": "https://exmaple.com/candidate?id=xyz", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "result": {"source_value": "Passed", "value": "passed"}, "result_url": "https://exmaple.com/result?id=xyz", "score": {"label": "Percentage", "max": "100", "min": "0", "value": "80"}, "start_date": "2021-01-01T01:01:01.000Z", "submission_date": "2021-01-01T01:01:01.000Z", "summary": "Test is passed"}} - ats_get_background_check_package: - "": + speakeasy-default-ats-get-assessments-result: parameters: path: id: "" query: raw: false - fields: "id,remote_id,name,description,tests" + fields: "id,remote_id,candidate,score,start_date,submission_date,summary,result,result_url,attachments" header: x-account-id: "" responses: "200": - application/json: {"data": {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "tests": [{"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]}} - ats_get_background_check_request: + application/json: {"data": {"attachments": [{"content_type": {"source_value": "Text", "value": "text"}, "url": "http://example.com/resume.pdf"}, {"content_type": {"source_value": "Text", "value": "text"}, "url": "http://example.com/resume.pdf"}], "candidate": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "profile_url": "https://exmaple.com/candidate?id=xyz", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "result": {"source_value": "Passed", "value": "passed"}, "result_url": "https://exmaple.com/result?id=xyz", "score": {"label": "Percentage", "max": "100", "min": "0", "value": "80"}, "start_date": "2021-01-01T01:01:01.000Z", "submission_date": "2021-01-01T01:01:01.000Z", "summary": "Test is passed"}} + ats_get_background_check_package: "": parameters: path: id: "" query: raw: false - fields: "id,remote_id,package,application,job,candidate,requester,results_update_url" + fields: "id,remote_id,name,description,tests" header: x-account-id: "" responses: "200": - application/json: {"data": {"application": {"application_status": {"source_value": "Hired", "value": "hired"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "candidate": {"emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "Romain", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Sestier", "passthrough": {"other_known_names": "John Doe"}, "profile_url": "https://exmaple.com/candidate?id=xyz", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job": {"hiring_team": [{"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer"}, "package": {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "tests": [{"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "requester": {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, "results_update_url": "https://exmaple.com/integrations/results/update"}} - ats_get_background_check_result: - "": + application/json: {"data": {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "tests": [{"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]}} + speakeasy-default-ats-get-background-check-package: parameters: path: id: "" query: raw: false - fields: "id,remote_id,candidate,score,start_date,submission_date,summary,result,result_url,attachments" + fields: "id,remote_id,name,description,tests" header: x-account-id: "" responses: "200": - application/json: {"data": {"attachments": [{"content_type": {"source_value": "Text", "value": "text"}, "url": "http://example.com/resume.pdf"}, {"content_type": {"source_value": "Text", "value": "text"}, "url": "http://example.com/resume.pdf"}, {"content_type": {"source_value": "Text", "value": "text"}, "url": "http://example.com/resume.pdf"}], "candidate": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "profile_url": "https://exmaple.com/candidate?id=xyz", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "result": {"source_value": "Passed", "value": "passed"}, "result_url": "https://exmaple.com/result?id=xyz", "score": {"label": "Percentage", "max": "100", "min": "0", "value": "80"}, "start_date": "2021-01-01T01:01:01.000Z", "submission_date": "2021-01-01T01:01:01.000Z", "summary": "Test is passed"}} - ats_get_candidate: + application/json: {"data": {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "tests": [{"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]}} + ats_get_background_check_request: "": parameters: path: id: "" query: raw: false - fields: "id,remote_id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,country,title,application_ids,remote_application_ids,hired_at,custom_fields,created_at,updated_at" - include: "custom_fields" + fields: "id,remote_id,package,application,job,candidate,requester,results_update_url" header: x-account-id: "" responses: "200": - application/json: {"data": {"application_ids": ["123e4567-e89b-12d3-a456-426614174000", "523e1234-e89b-fdd2-a456-762545121101"], "company": "Company Inc.", "country": "United States", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "email": "sestier.romain123@gmail.com", "emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "Romain", "hired_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Sestier", "name": "Romain Sestier", "phone_numbers": [{"phone": "+447700112233"}, {"phone": "+447700112233"}, {"phone": "+447700112233"}], "remote_application_ids": ["123e4567-e89b-12d3-a456-426614174000", "523e1234-e89b-fdd2-a456-762545121101"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "social_links": [{"type": "linkedin", "url": "https://www.linkedin.com/in/romainsestier/"}, {"type": "linkedin", "url": "https://www.linkedin.com/in/romainsestier/"}, {"type": "linkedin", "url": "https://www.linkedin.com/in/romainsestier/"}], "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} - ats_get_candidate_custom_field_definition: - "": + application/json: {"data": {"application": {"application_status": {"source_value": "Hired", "value": "hired"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "candidate": {"emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "Romain", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Sestier", "passthrough": {"other_known_names": "John Doe"}, "profile_url": "https://exmaple.com/candidate?id=xyz", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job": {"hiring_team": [{"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer"}, "package": {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "tests": [{"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "requester": {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, "results_update_url": "https://exmaple.com/integrations/results/update"}} + speakeasy-default-ats-get-background-check-request: parameters: path: id: "" query: raw: false - fields: "id,remote_id,name,description,type,options" - filter: {"updated_after": "2020-01-01T00:00:00.000Z"} - page_size: "25" - updated_after: "2020-01-01T00:00:00.000Z" + fields: "id,remote_id,package,application,job,candidate,requester,results_update_url" header: x-account-id: "" responses: "200": - application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "options": ["Not Started", "In Progress", "Completed", "Overdue"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} - ats_get_candidate_note: + application/json: {"data": {"application": {"application_status": {"source_value": "Hired", "value": "hired"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "candidate": {"emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "Romain", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Sestier", "passthrough": {"other_known_names": "John Doe"}, "profile_url": "https://exmaple.com/candidate?id=xyz", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job": {"hiring_team": [{"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer"}, "package": {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "tests": [{"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "requester": {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, "results_update_url": "https://exmaple.com/integrations/results/update"}} + ats_get_background_check_result: "": parameters: path: id: "" - subResourceId: "" query: raw: false - fields: "id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at" + fields: "id,remote_id,candidate,score,start_date,submission_date,summary,result,result_url,attachments" header: x-account-id: "" responses: "200": - application/json: {"data": {"author_id": "1234567890", "content": [{"body": "This candidate seems like a good fit for the role"}, {"body": "This candidate seems like a good fit for the role"}, {"body": "This candidate seems like a good fit for the role"}], "created_at": "2021-01-01T01:01:01.000Z", "deleted_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_author_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} - ats_get_department: - "": + application/json: {"data": {"attachments": [{"content_type": {"source_value": "Text", "value": "text"}, "url": "http://example.com/resume.pdf"}, {"content_type": {"source_value": "Text", "value": "text"}, "url": "http://example.com/resume.pdf"}, {"content_type": {"source_value": "Text", "value": "text"}, "url": "http://example.com/resume.pdf"}], "candidate": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "profile_url": "https://exmaple.com/candidate?id=xyz", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "result": {"source_value": "Passed", "value": "passed"}, "result_url": "https://exmaple.com/result?id=xyz", "score": {"label": "Percentage", "max": "100", "min": "0", "value": "80"}, "start_date": "2021-01-01T01:01:01.000Z", "submission_date": "2021-01-01T01:01:01.000Z", "summary": "Test is passed"}} + speakeasy-default-ats-get-background-check-result: parameters: path: id: "" query: raw: false - fields: "id,remote_id,name" + fields: "id,remote_id,candidate,score,start_date,submission_date,summary,result,result_url,attachments" header: x-account-id: "" responses: "200": - application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} - ats_get_interview: + application/json: {"data": {"attachments": [{"content_type": {"source_value": "Text", "value": "text"}, "url": "http://example.com/resume.pdf"}, {"content_type": {"source_value": "Text", "value": "text"}, "url": "http://example.com/resume.pdf"}, {"content_type": {"source_value": "Text", "value": "text"}, "url": "http://example.com/resume.pdf"}], "candidate": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "profile_url": "https://exmaple.com/candidate?id=xyz", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "result": {"source_value": "Passed", "value": "passed"}, "result_url": "https://exmaple.com/result?id=xyz", "score": {"label": "Percentage", "max": "100", "min": "0", "value": "80"}, "start_date": "2021-01-01T01:01:01.000Z", "submission_date": "2021-01-01T01:01:01.000Z", "summary": "Test is passed"}} + ats_get_candidate: "": parameters: path: id: "" query: raw: false - fields: "id,remote_id,application_id,remote_application_id,interview_stage_id,remote_interview_stage_id,interview_stage,status,interview_status,interviewer_ids,remote_interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at" + fields: "id,remote_id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,country,title,application_ids,remote_application_ids,hired_at,custom_fields,created_at,updated_at" + include: "custom_fields" header: x-account-id: "" responses: "200": - application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_parts": [{"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "interview_stage": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, "interview_status": {"source_value": "Unscheduled", "value": "unscheduled"}, "interviewers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_stage_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_interviewer_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "start_at": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} - ats_get_interview_stage: - "": + application/json: {"data": {"application_ids": ["123e4567-e89b-12d3-a456-426614174000", "523e1234-e89b-fdd2-a456-762545121101"], "company": "Company Inc.", "country": "United States", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "email": "sestier.romain123@gmail.com", "emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "Romain", "hired_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Sestier", "name": "Romain Sestier", "phone_numbers": [{"phone": "+447700112233"}, {"phone": "+447700112233"}, {"phone": "+447700112233"}], "remote_application_ids": ["123e4567-e89b-12d3-a456-426614174000", "523e1234-e89b-fdd2-a456-762545121101"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "social_links": [{"type": "linkedin", "url": "https://www.linkedin.com/in/romainsestier/"}, {"type": "linkedin", "url": "https://www.linkedin.com/in/romainsestier/"}, {"type": "linkedin", "url": "https://www.linkedin.com/in/romainsestier/"}], "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-ats-get-candidate: parameters: path: id: "" query: raw: false - fields: "id,remote_id,name,order,created_at,updated_at" + fields: "id,remote_id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,country,title,application_ids,remote_application_ids,hired_at,custom_fields,created_at,updated_at" + include: "custom_fields" header: x-account-id: "" responses: "200": - application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} - ats_get_job: + application/json: {"data": {"application_ids": ["123e4567-e89b-12d3-a456-426614174000", "523e1234-e89b-fdd2-a456-762545121101"], "company": "Company Inc.", "country": "United States", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "email": "sestier.romain123@gmail.com", "emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "Romain", "hired_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Sestier", "name": "Romain Sestier", "phone_numbers": [{"phone": "+447700112233"}, {"phone": "+447700112233"}, {"phone": "+447700112233"}], "remote_application_ids": ["123e4567-e89b-12d3-a456-426614174000", "523e1234-e89b-fdd2-a456-762545121101"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "social_links": [{"type": "linkedin", "url": "https://www.linkedin.com/in/romainsestier/"}, {"type": "linkedin", "url": "https://www.linkedin.com/in/romainsestier/"}, {"type": "linkedin", "url": "https://www.linkedin.com/in/romainsestier/"}], "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + ats_get_candidate_custom_field_definition: "": parameters: path: id: "" query: raw: false - fields: "id,remote_id,code,title,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,custom_fields,created_at,updated_at" - expand: "job_postings,interview_stages" - include: "custom_fields" + fields: "id,remote_id,name,description,type,options" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" header: x-account-id: "" responses: "200": - application/json: {"data": {"code": "184919", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "department_ids": ["308570", "308571", "308572"], "hiring_team": [{"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_stages": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "job_status": {"source_value": "Published", "value": "published"}, "location_ids": ["668570", "678571", "688572"], "remote_department_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_location_ids": ["668570", "678571", "688572"], "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} - ats_get_job_custom_field_definition: - "": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "options": ["Not Started", "In Progress", "Completed", "Overdue"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} + speakeasy-default-ats-get-candidate-custom-field-definition: parameters: path: id: "" @@ -2697,34 +2895,34 @@ examples: responses: "200": application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "options": ["Not Started", "In Progress", "Completed", "Overdue"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} - ats_get_job_posting: + ats_get_candidate_note: "": parameters: path: id: "" + subResourceId: "" query: raw: false - fields: "id,remote_id,title,locations,internal,status,job_id,remote_job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,updated_at,created_at" - include: "questionnaires" + fields: "id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at" header: x-account-id: "" responses: "200": - application/json: {"data": {"compensation": [{"currency": "USD", "max_value": "55000", "min_value": "45000", "name": "Base Salary", "value": "50000"}, {"currency": "USD", "name": "Bonus", "value": "10%"}], "content": {"html": "

This is an HTML description

", "plain": "This is a plain text description"}, "created_at": "2021-01-01T01:01:01.000Z", "employment_contract_type": {"source_value": "FullTime", "value": "full_time"}, "employment_type": {"source_value": "Permanent", "value": "permanent"}, "external_apply_url": "https://www.example.com/job-posting/abcd1234/apply", "external_url": "https://www.example.com/job-posting/abcd1234", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "internal": "true", "job_id": "job001", "locations": [{"id": "12345", "name": "New York"}, {"id": "67890", "name": "Remote"}], "questionnaires": [{"id": "about001", "internal": "false", "name": "About", "questions": [{"id": "question001", "parent_question": null, "required": true, "text": "What is your name?"}, {"id": "question002", "parent_question": null, "required": "true", "text": "What are your hobbies?"}, {"id": "question003", "multiple_choice_answers": [{"id": "1", "text": "Dog"}, {"id": "2", "text": "Cat"}, {"id": "3", "text": "Bird"}, {"id": "4", "text": "Other"}], "parent_question": null, "required": true, "text": "What is your favorite animal?"}, {"id": "question004", "multiple_choice_answers": [{"id": "1", "text": "Yes"}, {"id": "2", "text": "No"}], "parent_question": null, "required": true, "text": "Do you have previous work experience??"}, {"id": "question005", "multiple_choice_answers": [{"id": "1", "text": "Less than 1 year"}, {"id": "2", "text": "1-2 years"}, {"id": "2", "text": "More than 2 year"}], "parent_question": {"id": "question004", "option_ids": ["1"]}, "required": true, "text": "What was the duration of your last employment?"}]}, {"id": "experience001", "internal": "false", "name": "Experience", "questions": [{"id": "question004", "parent_question": null, "required": true, "text": "Please upload your resume."}, {"id": "question005", "multiple_choice_answers": [{"id": "1", "text": "JavaScript"}, {"id": "2", "text": "Python"}, {"id": "3", "text": "Java"}], "parent_question": null, "required": true, "text": "Select the programming languages you are proficient in."}, {"id": "question006", "parent_question": null, "text": "Are you willing to relocate?"}, {"id": "question007", "parent_question": null, "text": "How many years of experience do you have?"}, {"id": "question008", "parent_question": null, "text": "When did you start your most recent position?"}, {"id": "question009", "multiple_choice_answers": [{"id": "1", "text": "Yes"}, {"id": "2", "text": "No"}], "parent_question": null, "required": true, "text": "Do you have Project Management Experience?"}, {"id": "question010", "multiple_choice_answers": [{"id": "1", "text": "1-3 years"}, {"id": "2", "text": "3-5 years"}, {"id": "3", "text": "5-10 years"}, {"id": "4", "text": "More than 10 years"}], "parent_question": {"id": "question009", "option_ids": ["1"]}, "text": "How much Project Management experience do you have?"}]}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_job_posting_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "status": {"source_value": "Live", "value": "live"}, "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} - ats_get_list: - "": + application/json: {"data": {"author_id": "1234567890", "content": [{"body": "This candidate seems like a good fit for the role"}, {"body": "This candidate seems like a good fit for the role"}, {"body": "This candidate seems like a good fit for the role"}], "created_at": "2021-01-01T01:01:01.000Z", "deleted_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_author_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-ats-get-candidate-note: parameters: path: id: "" + subResourceId: "" query: raw: false - fields: "id,remote_id,name,created_at,updated_at,items,type" + fields: "id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at" header: x-account-id: "" responses: "200": - application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "items": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"source_value": "Contacts", "value": "contacts"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} - ats_get_location: + application/json: {"data": {"author_id": "1234567890", "content": [{"body": "This candidate seems like a good fit for the role"}, {"body": "This candidate seems like a good fit for the role"}, {"body": "This candidate seems like a good fit for the role"}], "created_at": "2021-01-01T01:01:01.000Z", "deleted_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_author_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + ats_get_department: "": parameters: path: @@ -2737,87 +2935,365 @@ examples: responses: "200": application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} - ats_get_offer: - "": + speakeasy-default-ats-get-department: parameters: path: id: "" query: raw: false - fields: "id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history" + fields: "id,remote_id,name" header: x-account-id: "" responses: "200": - application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "offer_history": [{"created_at": "2021-01-01T01:01:01.000Z", "start_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}], "offer_status": {"source_value": "Pending", "value": "pending"}, "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} - ats_get_rejected_reason: + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} + ats_get_interview: "": parameters: path: id: "" query: raw: false - fields: "id,remote_id,label,type,rejected_reason_type" + fields: "id,remote_id,application_id,remote_application_id,interview_stage_id,remote_interview_stage_id,interview_stage,status,interview_status,interviewer_ids,remote_interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at" header: x-account-id: "" responses: "200": - application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Failed Phone Screen", "rejected_reason_type": {"source_value": "RejectedByOrg", "value": "rejected_by_organization"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} - ats_get_user: - "": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_parts": [{"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "interview_stage": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, "interview_status": {"source_value": "Unscheduled", "value": "unscheduled"}, "interviewers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_stage_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_interviewer_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "start_at": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-ats-get-interview: parameters: path: id: "" query: raw: false - fields: "id,remote_id,first_name,last_name,name,email" + fields: "id,remote_id,application_id,remote_application_id,interview_stage_id,remote_interview_stage_id,interview_stage,status,interview_status,interviewer_ids,remote_interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at" header: x-account-id: "" responses: "200": - application/json: {"data": {"active": true, "created_at": "2021-01-01T01:01:01.000Z", "email": "john@dew.com", "external_reference": "al60043", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "John Dew", "phone_number": "+1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} - ats_list_application_custom_field_definitions: + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_parts": [{"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "interview_stage": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, "interview_status": {"source_value": "Unscheduled", "value": "unscheduled"}, "interviewers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_stage_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_interviewer_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "start_at": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + ats_get_interview_stage: "": parameters: + path: + id: "" query: raw: false - fields: "id,remote_id,name,description,type,options" - filter: {"updated_after": "2020-01-01T00:00:00.000Z"} - page_size: "25" - updated_after: "2020-01-01T00:00:00.000Z" + fields: "id,remote_id,name,order,created_at,updated_at" header: x-account-id: "" responses: "200": - application/json: {"data": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "options": ["Not Started", "In Progress", "Completed", "Overdue"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]} - ats_list_application_documents: - "": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-ats-get-interview-stage: parameters: path: id: "" query: raw: false - fields: "id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format" - filter: {"updated_after": "2020-01-01T00:00:00.000Z"} - page_size: "25" - updated_after: "2020-01-01T00:00:00.000Z" + fields: "id,remote_id,name,order,created_at,updated_at" header: x-account-id: "" responses: "200": - application/json: {"data": [{"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-02T01:01:01.000Z"}]} - ats_list_application_notes: + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + ats_get_job: "": parameters: path: id: "" query: raw: false - fields: "id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at" - filter: {"updated_after": "2020-01-01T00:00:00.000Z"} - page_size: "25" - updated_after: "2020-01-01T00:00:00.000Z" - header: + fields: "id,remote_id,code,title,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,custom_fields,created_at,updated_at" + expand: "job_postings,interview_stages" + include: "custom_fields" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"code": "184919", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "department_ids": ["308570", "308571", "308572"], "hiring_team": [{"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_stages": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "job_status": {"source_value": "Published", "value": "published"}, "location_ids": ["668570", "678571", "688572"], "remote_department_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_location_ids": ["668570", "678571", "688572"], "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-ats-get-job: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,code,title,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,custom_fields,created_at,updated_at" + expand: "job_postings,interview_stages" + include: "custom_fields" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"code": "184919", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "department_ids": ["308570", "308571", "308572"], "hiring_team": [{"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_stages": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "job_status": {"source_value": "Published", "value": "published"}, "location_ids": ["668570", "678571", "688572"], "remote_department_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_location_ids": ["668570", "678571", "688572"], "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + ats_get_job_custom_field_definition: + "": + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,description,type,options" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "options": ["Not Started", "In Progress", "Completed", "Overdue"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} + speakeasy-default-ats-get-job-custom-field-definition: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,description,type,options" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "options": ["Not Started", "In Progress", "Completed", "Overdue"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} + ats_get_job_posting: + "": + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,title,locations,internal,status,job_id,remote_job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,updated_at,created_at" + include: "questionnaires" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"compensation": [{"currency": "USD", "max_value": "55000", "min_value": "45000", "name": "Base Salary", "value": "50000"}, {"currency": "USD", "name": "Bonus", "value": "10%"}], "content": {"html": "

This is an HTML description

", "plain": "This is a plain text description"}, "created_at": "2021-01-01T01:01:01.000Z", "employment_contract_type": {"source_value": "FullTime", "value": "full_time"}, "employment_type": {"source_value": "Permanent", "value": "permanent"}, "external_apply_url": "https://www.example.com/job-posting/abcd1234/apply", "external_url": "https://www.example.com/job-posting/abcd1234", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "internal": "true", "job_id": "job001", "locations": [{"id": "12345", "name": "New York"}, {"id": "67890", "name": "Remote"}], "questionnaires": [{"id": "about001", "internal": "false", "name": "About", "questions": [{"id": "question001", "parent_question": null, "required": true, "text": "What is your name?"}, {"id": "question002", "parent_question": null, "required": "true", "text": "What are your hobbies?"}, {"id": "question003", "multiple_choice_answers": [{"id": "1", "text": "Dog"}, {"id": "2", "text": "Cat"}, {"id": "3", "text": "Bird"}, {"id": "4", "text": "Other"}], "parent_question": null, "required": true, "text": "What is your favorite animal?"}, {"id": "question004", "multiple_choice_answers": [{"id": "1", "text": "Yes"}, {"id": "2", "text": "No"}], "parent_question": null, "required": true, "text": "Do you have previous work experience??"}, {"id": "question005", "multiple_choice_answers": [{"id": "1", "text": "Less than 1 year"}, {"id": "2", "text": "1-2 years"}, {"id": "2", "text": "More than 2 year"}], "parent_question": {"id": "question004", "option_ids": ["1"]}, "required": true, "text": "What was the duration of your last employment?"}]}, {"id": "experience001", "internal": "false", "name": "Experience", "questions": [{"id": "question004", "parent_question": null, "required": true, "text": "Please upload your resume."}, {"id": "question005", "multiple_choice_answers": [{"id": "1", "text": "JavaScript"}, {"id": "2", "text": "Python"}, {"id": "3", "text": "Java"}], "parent_question": null, "required": true, "text": "Select the programming languages you are proficient in."}, {"id": "question006", "parent_question": null, "text": "Are you willing to relocate?"}, {"id": "question007", "parent_question": null, "text": "How many years of experience do you have?"}, {"id": "question008", "parent_question": null, "text": "When did you start your most recent position?"}, {"id": "question009", "multiple_choice_answers": [{"id": "1", "text": "Yes"}, {"id": "2", "text": "No"}], "parent_question": null, "required": true, "text": "Do you have Project Management Experience?"}, {"id": "question010", "multiple_choice_answers": [{"id": "1", "text": "1-3 years"}, {"id": "2", "text": "3-5 years"}, {"id": "3", "text": "5-10 years"}, {"id": "4", "text": "More than 10 years"}], "parent_question": {"id": "question009", "option_ids": ["1"]}, "text": "How much Project Management experience do you have?"}]}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_job_posting_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "status": {"source_value": "Live", "value": "live"}, "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-ats-get-job-posting: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,title,locations,internal,status,job_id,remote_job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,updated_at,created_at" + include: "questionnaires" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"compensation": [{"currency": "USD", "max_value": "55000", "min_value": "45000", "name": "Base Salary", "value": "50000"}, {"currency": "USD", "name": "Bonus", "value": "10%"}], "content": {"html": "

This is an HTML description

", "plain": "This is a plain text description"}, "created_at": "2021-01-01T01:01:01.000Z", "employment_contract_type": {"source_value": "FullTime", "value": "full_time"}, "employment_type": {"source_value": "Permanent", "value": "permanent"}, "external_apply_url": "https://www.example.com/job-posting/abcd1234/apply", "external_url": "https://www.example.com/job-posting/abcd1234", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "internal": "true", "job_id": "job001", "locations": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "New York"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote"}], "questionnaires": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "internal": "false", "name": "About", "questions": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "parent_question": null, "required": true, "text": "What is your name?"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "parent_question": null, "required": "true", "text": "What are your hobbies?"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "multiple_choice_answers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Dog"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Cat"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Bird"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Other"}], "parent_question": null, "required": true, "text": "What is your favorite animal?"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "multiple_choice_answers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Yes"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "No"}], "parent_question": null, "required": true, "text": "Do you have previous work experience??"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "multiple_choice_answers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Less than 1 year"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "1-2 years"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "More than 2 year"}], "parent_question": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "option_ids": ["123e4567-e89b-12d3-a456-426614174000", "523e1234-e89b-fdd2-a456-762545121101"]}, "required": true, "text": "What was the duration of your last employment?"}]}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "internal": "false", "name": "Experience", "questions": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "parent_question": null, "required": true, "text": "Please upload your resume."}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "multiple_choice_answers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "JavaScript"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Python"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Java"}], "parent_question": null, "required": true, "text": "Select the programming languages you are proficient in."}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "parent_question": null, "text": "Are you willing to relocate?"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "parent_question": null, "text": "How many years of experience do you have?"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "parent_question": null, "text": "When did you start your most recent position?"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "multiple_choice_answers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Yes"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "No"}], "parent_question": null, "required": true, "text": "Do you have Project Management Experience?"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "multiple_choice_answers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "1-3 years"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "3-5 years"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "5-10 years"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "More than 10 years"}], "parent_question": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "option_ids": ["123e4567-e89b-12d3-a456-426614174000", "523e1234-e89b-fdd2-a456-762545121101"]}, "text": "How much Project Management experience do you have?"}]}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_job_posting_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "status": {"source_value": "Live", "value": "live"}, "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + ats_get_list: + "": + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,created_at,updated_at,items,type" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "items": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"source_value": "Contacts", "value": "contacts"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-ats-get-list: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,created_at,updated_at,items,type" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "items": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"source_value": "Contacts", "value": "contacts"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + ats_get_location: + "": + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} + speakeasy-default-ats-get-location: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} + ats_get_offer: + "": + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "offer_history": [{"created_at": "2021-01-01T01:01:01.000Z", "start_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}], "offer_status": {"source_value": "Pending", "value": "pending"}, "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-ats-get-offer: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "offer_history": [{"created_at": "2021-01-01T01:01:01.000Z", "start_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}], "offer_status": {"source_value": "Pending", "value": "pending"}, "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + ats_get_rejected_reason: + "": + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,label,type,rejected_reason_type" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Failed Phone Screen", "rejected_reason_type": {"source_value": "RejectedByOrg", "value": "rejected_by_organization"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} + speakeasy-default-ats-get-rejected-reason: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,label,type,rejected_reason_type" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Failed Phone Screen", "rejected_reason_type": {"source_value": "RejectedByOrg", "value": "rejected_by_organization"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} + ats_get_user: + "": + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,first_name,last_name,name,email" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"active": true, "created_at": "2021-01-01T01:01:01.000Z", "email": "john@dew.com", "external_reference": "al60043", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "John Dew", "phone_number": "+1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-ats-get-user: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,first_name,last_name,name,email" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"active": true, "created_at": "2021-01-01T01:01:01.000Z", "email": "john@dew.com", "external_reference": "al60043", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "John Dew", "phone_number": "+1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + ats_list_application_custom_field_definitions: + "": + parameters: + query: + raw: false + fields: "id,remote_id,name,description,type,options" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "options": ["Not Started", "In Progress", "Completed", "Overdue"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]} + speakeasy-default-ats-list-application-custom-field-definitions: + parameters: + query: + raw: false + fields: "id,remote_id,name,description,type,options" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "options": ["Not Started", "In Progress", "Completed", "Overdue"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]} + ats_list_application_documents: + "": + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-02T01:01:01.000Z"}]} + speakeasy-default-ats-list-application-documents: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-02T01:01:01.000Z"}]} + ats_list_application_notes: + "": + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"author_id": "1234567890", "content": [{"body": "This candidate seems like a good fit for the role"}], "created_at": "2021-01-01T01:01:01.000Z", "deleted_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_author_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"author_id": "1234567890", "content": [{"body": "This candidate seems like a good fit for the role"}], "created_at": "2021-01-01T01:01:01.000Z", "deleted_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_author_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"author_id": "1234567890", "content": [{"body": "This candidate seems like a good fit for the role"}], "created_at": "2021-01-01T01:01:01.000Z", "deleted_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_author_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} + speakeasy-default-ats-list-application-notes: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: x-account-id: "" responses: "200": @@ -2838,6 +3314,21 @@ examples: responses: "200": application/json: {"data": [{"application_id": "1011-12", "author_id": "1617-18", "candidate_id": "5678-9", "created_at": "2021-01-01T00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_id": "1314-15", "label": "Technical Interview", "overall_recommendation": "unmapped_value", "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_author_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "sections": [{"fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Problem Solving", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "type": "location", "values": ["Excellent", "Good", "Average", "Poor"]}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Technical Skills", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "updated_at": "2021-01-01T00:00.000Z"}, {"application_id": "1011-12", "author_id": "1617-18", "candidate_id": "5678-9", "created_at": "2021-01-01T00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_id": "1314-15", "label": "Technical Interview", "overall_recommendation": "no", "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_author_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "sections": [{"fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Problem Solving", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "type": "short_text", "values": ["Excellent", "Good", "Average", "Poor"]}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Technical Skills", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "updated_at": "2021-01-01T00:00.000Z"}, {"application_id": "1011-12", "author_id": "1617-18", "candidate_id": "5678-9", "created_at": "2021-01-01T00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_id": "1314-15", "label": "Technical Interview", "overall_recommendation": "unmapped_value", "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_author_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "sections": [{"fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Problem Solving", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "type": "location", "values": ["Excellent", "Good", "Average", "Poor"]}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Problem Solving", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "type": "phone", "values": ["Excellent", "Good", "Average", "Poor"]}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Technical Skills", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Problem Solving", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "type": "long_text", "values": ["Excellent", "Good", "Average", "Poor"]}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Problem Solving", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "type": "boolean", "values": ["Excellent", "Good", "Average", "Poor"]}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Technical Skills", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "updated_at": "2021-01-01T00:00.000Z"}]} + speakeasy-default-ats-list-application-scorecards: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,sections,label,candidate_id,remote_candidate_id,application_id,remote_application_id,interview_id,remote_interview_id,author_id,remote_author_id,overall_recommendation,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"application_id": "1011-12", "author_id": "1617-18", "candidate_id": "5678-9", "created_at": "2021-01-01T00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_id": "1314-15", "label": "Technical Interview", "overall_recommendation": "unmapped_value", "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_author_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "sections": [{"fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Problem Solving", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "type": "location", "values": ["Excellent", "Good", "Average", "Poor"]}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Technical Skills", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "updated_at": "2021-01-01T00:00.000Z"}, {"application_id": "1011-12", "author_id": "1617-18", "candidate_id": "5678-9", "created_at": "2021-01-01T00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_id": "1314-15", "label": "Technical Interview", "overall_recommendation": "no", "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_author_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "sections": [{"fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Problem Solving", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "type": "short_text", "values": ["Excellent", "Good", "Average", "Poor"]}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Technical Skills", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "updated_at": "2021-01-01T00:00.000Z"}, {"application_id": "1011-12", "author_id": "1617-18", "candidate_id": "5678-9", "created_at": "2021-01-01T00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_id": "1314-15", "label": "Technical Interview", "overall_recommendation": "unmapped_value", "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_author_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "sections": [{"fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Problem Solving", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "type": "location", "values": ["Excellent", "Good", "Average", "Poor"]}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Problem Solving", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "type": "phone", "values": ["Excellent", "Good", "Average", "Poor"]}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Technical Skills", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Problem Solving", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "type": "long_text", "values": ["Excellent", "Good", "Average", "Poor"]}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Problem Solving", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "required": true, "type": "boolean", "values": ["Excellent", "Good", "Average", "Poor"]}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Technical Skills", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "updated_at": "2021-01-01T00:00.000Z"}]} ats_list_applications: "": parameters: @@ -2855,6 +3346,22 @@ examples: responses: "200": application/json: {"data": [{"application_status": {"source_value": "Hired", "value": "hired"}, "candidate": {"company": "Company Inc.", "email": "john.doe@example.com", "emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "John", "last_name": "Doe", "name": "Romain Sestier", "phone_numbers": [{"phone": "+447700112233"}, {"phone": "+447700112233"}, {"phone": "+447700112233"}], "social_links": [{"type": "linkedin", "url": "https://www.linkedin.com/in/romainsestier/"}], "title": "Software Engineer"}, "candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "documents": [{"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-02T01:01:01.000Z"}, {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-02T01:01:01.000Z"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_stage": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, "interview_stage_id": "18bcbb1b-3cbc-4198-a999-460861d19480", "job_id": "4071538b-3cac-4fbf-ac76-f78ed250ffdd", "location_id": "dd8d41d1-5eb8-4408-9c87-9ba44604eae4", "location_ids": ["dd8d41d1-5eb8-4408-9c87-9ba44604eae4"], "questionnaires": [{"answers": [{"id": "answer1", "values": ["Yes"]}], "id": "right_to_work"}], "rejected_at": "2021-01-01T01:01:01.000Z", "rejected_reason_ids": ["f223d7f6-908b-48f0-9237-b201c307f609"], "rejected_reasons": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Failed Phone Screen", "rejected_reason_type": {"source_value": "RejectedByOrg", "value": "rejected_by_organization"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}], "remote_candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_stage_id": "18bcbb1b-3cbc-4198-a999-460861d19480", "remote_job_id": "4071538b-3cac-4fbf-ac76-f78ed250ffdd", "remote_location_id": "dd8d41d1-5eb8-4408-9c87-9ba44604eae4", "remote_location_ids": ["dd8d41d1-5eb8-4408-9c87-9ba44604eae4"], "remote_rejected_reason_ids": ["f223d7f6-908b-48f0-9237-b201c307f609"], "result_links": [{"label": "test result link", "url": "http://example.com/test-result/4565765/data"}, {"label": "test result link", "url": "http://example.com/test-result/4565765/data"}, {"label": "test result link", "url": "http://example.com/test-result/4565765/data"}], "source": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "LinkedIn", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} + speakeasy-default-ats-list-applications: + parameters: + query: + raw: false + fields: "id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate" + filter: {"created_after": "2020-01-01T00:00:00.000Z", "updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + expand: "documents" + include: "attachments,custom_fields" + job_id: "cxQiyiuasdFKfdsYfer" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"application_status": {"source_value": "Hired", "value": "hired"}, "candidate": {"company": "Company Inc.", "email": "john.doe@example.com", "emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "John", "last_name": "Doe", "name": "Romain Sestier", "phone_numbers": [{"phone": "+447700112233"}, {"phone": "+447700112233"}, {"phone": "+447700112233"}], "social_links": [{"type": "linkedin", "url": "https://www.linkedin.com/in/romainsestier/"}], "title": "Software Engineer"}, "candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "documents": [{"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-02T01:01:01.000Z"}, {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-02T01:01:01.000Z"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_stage": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, "interview_stage_id": "18bcbb1b-3cbc-4198-a999-460861d19480", "job_id": "4071538b-3cac-4fbf-ac76-f78ed250ffdd", "location_id": "dd8d41d1-5eb8-4408-9c87-9ba44604eae4", "location_ids": ["dd8d41d1-5eb8-4408-9c87-9ba44604eae4"], "questionnaires": [{"answers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "values": ["Yes", "No Travel", "It sounds pretty cool.", "Excel", "Power Point"]}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "rejected_at": "2021-01-01T01:01:01.000Z", "rejected_reason_ids": ["f223d7f6-908b-48f0-9237-b201c307f609"], "rejected_reasons": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Failed Phone Screen", "rejected_reason_type": {"source_value": "RejectedByOrg", "value": "rejected_by_organization"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}], "remote_candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_stage_id": "18bcbb1b-3cbc-4198-a999-460861d19480", "remote_job_id": "4071538b-3cac-4fbf-ac76-f78ed250ffdd", "remote_location_id": "dd8d41d1-5eb8-4408-9c87-9ba44604eae4", "remote_location_ids": ["dd8d41d1-5eb8-4408-9c87-9ba44604eae4"], "remote_rejected_reason_ids": ["f223d7f6-908b-48f0-9237-b201c307f609"], "result_links": [{"label": "test result link", "url": "http://example.com/test-result/4565765/data"}, {"label": "test result link", "url": "http://example.com/test-result/4565765/data"}, {"label": "test result link", "url": "http://example.com/test-result/4565765/data"}], "source": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "LinkedIn", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} ats_list_applications_offers: "": parameters: @@ -2871,14 +3378,110 @@ examples: responses: "200": application/json: {"data": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "offer_history": [{"created_at": "2021-01-01T01:01:01.000Z", "start_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}], "offer_status": {"source_value": "Pending", "value": "pending"}, "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "offer_history": [{"created_at": "2021-01-01T01:01:01.000Z", "start_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}], "offer_status": {"source_value": "Pending", "value": "pending"}, "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "offer_history": [{"created_at": "2021-01-01T01:01:01.000Z", "start_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "start_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "start_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}], "offer_status": {"source_value": "Pending", "value": "pending"}, "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} + speakeasy-default-ats-list-applications-offers: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "offer_history": [{"created_at": "2021-01-01T01:01:01.000Z", "start_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}], "offer_status": {"source_value": "Pending", "value": "pending"}, "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "offer_history": [{"created_at": "2021-01-01T01:01:01.000Z", "start_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}], "offer_status": {"source_value": "Pending", "value": "pending"}, "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "offer_history": [{"created_at": "2021-01-01T01:01:01.000Z", "start_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "start_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "start_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}], "offer_status": {"source_value": "Pending", "value": "pending"}, "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} ats_list_applications_scheduled_interviews: "": parameters: - path: - id: "" + path: + id: "" + query: + raw: false + fields: "id,remote_id,application_id,remote_application_id,interview_stage_id,remote_interview_stage_id,interview_stage,status,interview_status,interviewer_ids,remote_interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_parts": [{"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "interview_stage": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, "interview_status": {"source_value": "Unscheduled", "value": "unscheduled"}, "interviewers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_stage_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_interviewer_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "start_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_parts": [{"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "interview_stage": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, "interview_status": {"source_value": "Unscheduled", "value": "unscheduled"}, "interviewers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_stage_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_interviewer_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "start_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_parts": [{"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "interview_stage": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, "interview_status": {"source_value": "Unscheduled", "value": "unscheduled"}, "interviewers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_stage_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_interviewer_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "start_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}]} + speakeasy-default-ats-list-applications-scheduled-interviews: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,application_id,remote_application_id,interview_stage_id,remote_interview_stage_id,interview_stage,status,interview_status,interviewer_ids,remote_interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_parts": [{"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "interview_stage": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, "interview_status": {"source_value": "Unscheduled", "value": "unscheduled"}, "interviewers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_stage_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_interviewer_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "start_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_parts": [{"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "interview_stage": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, "interview_status": {"source_value": "Unscheduled", "value": "unscheduled"}, "interviewers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_stage_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_interviewer_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "start_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_parts": [{"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "interview_stage": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, "interview_status": {"source_value": "Unscheduled", "value": "unscheduled"}, "interviewers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_stage_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_interviewer_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "start_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}]} + ats_list_assessments_packages: + "": + parameters: + query: + raw: false + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + speakeasy-default-ats-list-assessments-packages: + parameters: + query: + raw: false + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + ats_list_background_check_packages: + "": + parameters: + query: + raw: false + fields: "id,remote_id,name,description,tests" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "tests": [{"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]}]} + speakeasy-default-ats-list-background-check-packages: + parameters: + query: + raw: false + fields: "id,remote_id,name,description,tests" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "tests": [{"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]}]} + ats_list_background_check_request: + "": + parameters: query: raw: false - fields: "id,remote_id,application_id,remote_application_id,interview_stage_id,remote_interview_stage_id,interview_stage,status,interview_status,interviewer_ids,remote_interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at" + fields: "id,remote_id,package,application,job,candidate,requester,results_update_url" filter: {"updated_after": "2020-01-01T00:00:00.000Z"} page_size: "25" updated_after: "2020-01-01T00:00:00.000Z" @@ -2886,12 +3489,12 @@ examples: x-account-id: "" responses: "200": - application/json: {"data": [{"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_parts": [{"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "interview_stage": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, "interview_status": {"source_value": "Unscheduled", "value": "unscheduled"}, "interviewers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_stage_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_interviewer_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "start_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_parts": [{"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "interview_stage": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, "interview_status": {"source_value": "Unscheduled", "value": "unscheduled"}, "interviewers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_stage_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_interviewer_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "start_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_parts": [{"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "interview_stage": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, "interview_status": {"source_value": "Unscheduled", "value": "unscheduled"}, "interviewers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_stage_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_interviewer_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "start_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}]} - ats_list_assessments_packages: - "": + application/json: {"data": [{"application": {"application_status": {"source_value": "Hired", "value": "hired"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "candidate": {"emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "Romain", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Sestier", "passthrough": {"other_known_names": "John Doe"}, "profile_url": "https://exmaple.com/candidate?id=xyz", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job": {"hiring_team": [{"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer"}, "package": {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "tests": [{"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "requester": {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, "results_update_url": "https://exmaple.com/integrations/results/update"}, {"application": {"application_status": {"source_value": "Hired", "value": "hired"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "candidate": {"emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "Romain", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Sestier", "passthrough": {"other_known_names": "John Doe"}, "profile_url": "https://exmaple.com/candidate?id=xyz", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job": {"hiring_team": [{"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer"}, "package": {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "tests": [{"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "requester": {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, "results_update_url": "https://exmaple.com/integrations/results/update"}, {"application": {"application_status": {"source_value": "Hired", "value": "hired"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "candidate": {"emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "Romain", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Sestier", "passthrough": {"other_known_names": "John Doe"}, "profile_url": "https://exmaple.com/candidate?id=xyz", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job": {"hiring_team": [{"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer"}, "package": {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "tests": [{"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "requester": {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, "results_update_url": "https://exmaple.com/integrations/results/update"}]} + speakeasy-default-ats-list-background-check-request: parameters: query: raw: false + fields: "id,remote_id,package,application,job,candidate,requester,results_update_url" filter: {"updated_after": "2020-01-01T00:00:00.000Z"} page_size: "25" updated_after: "2020-01-01T00:00:00.000Z" @@ -2899,13 +3502,13 @@ examples: x-account-id: "" responses: "200": - application/json: {"data": []} - ats_list_background_check_packages: + application/json: {"data": [{"application": {"application_status": {"source_value": "Hired", "value": "hired"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "candidate": {"emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "Romain", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Sestier", "passthrough": {"other_known_names": "John Doe"}, "profile_url": "https://exmaple.com/candidate?id=xyz", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job": {"hiring_team": [{"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer"}, "package": {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "tests": [{"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "requester": {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, "results_update_url": "https://exmaple.com/integrations/results/update"}, {"application": {"application_status": {"source_value": "Hired", "value": "hired"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "candidate": {"emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "Romain", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Sestier", "passthrough": {"other_known_names": "John Doe"}, "profile_url": "https://exmaple.com/candidate?id=xyz", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job": {"hiring_team": [{"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer"}, "package": {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "tests": [{"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "requester": {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, "results_update_url": "https://exmaple.com/integrations/results/update"}, {"application": {"application_status": {"source_value": "Hired", "value": "hired"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "candidate": {"emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "Romain", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Sestier", "passthrough": {"other_known_names": "John Doe"}, "profile_url": "https://exmaple.com/candidate?id=xyz", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job": {"hiring_team": [{"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer"}, "package": {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "tests": [{"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "requester": {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, "results_update_url": "https://exmaple.com/integrations/results/update"}]} + ats_list_candidate_custom_field_definitions: "": parameters: query: raw: false - fields: "id,remote_id,name,description,tests" + fields: "id,remote_id,name,description,type,options" filter: {"updated_after": "2020-01-01T00:00:00.000Z"} page_size: "25" updated_after: "2020-01-01T00:00:00.000Z" @@ -2913,13 +3516,12 @@ examples: x-account-id: "" responses: "200": - application/json: {"data": [{"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "tests": [{"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]}]} - ats_list_background_check_request: - "": + application/json: {"data": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "options": ["Not Started", "In Progress", "Completed", "Overdue"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "options": ["Not Started", "In Progress", "Completed", "Overdue"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]} + speakeasy-default-ats-list-candidate-custom-field-definitions: parameters: query: raw: false - fields: "id,remote_id,package,application,job,candidate,requester,results_update_url" + fields: "id,remote_id,name,description,type,options" filter: {"updated_after": "2020-01-01T00:00:00.000Z"} page_size: "25" updated_after: "2020-01-01T00:00:00.000Z" @@ -2927,13 +3529,15 @@ examples: x-account-id: "" responses: "200": - application/json: {"data": [{"application": {"application_status": {"source_value": "Hired", "value": "hired"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "candidate": {"emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "Romain", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Sestier", "passthrough": {"other_known_names": "John Doe"}, "profile_url": "https://exmaple.com/candidate?id=xyz", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job": {"hiring_team": [{"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer"}, "package": {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "tests": [{"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "requester": {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, "results_update_url": "https://exmaple.com/integrations/results/update"}, {"application": {"application_status": {"source_value": "Hired", "value": "hired"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "candidate": {"emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "Romain", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Sestier", "passthrough": {"other_known_names": "John Doe"}, "profile_url": "https://exmaple.com/candidate?id=xyz", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job": {"hiring_team": [{"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer"}, "package": {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "tests": [{"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "requester": {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, "results_update_url": "https://exmaple.com/integrations/results/update"}, {"application": {"application_status": {"source_value": "Hired", "value": "hired"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "candidate": {"emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "Romain", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Sestier", "passthrough": {"other_known_names": "John Doe"}, "profile_url": "https://exmaple.com/candidate?id=xyz", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job": {"hiring_team": [{"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer"}, "package": {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "tests": [{"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "requester": {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, "results_update_url": "https://exmaple.com/integrations/results/update"}]} - ats_list_candidate_custom_field_definitions: + application/json: {"data": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "options": ["Not Started", "In Progress", "Completed", "Overdue"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "options": ["Not Started", "In Progress", "Completed", "Overdue"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]} + ats_list_candidate_notes: "": parameters: + path: + id: "" query: raw: false - fields: "id,remote_id,name,description,type,options" + fields: "id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at" filter: {"updated_after": "2020-01-01T00:00:00.000Z"} page_size: "25" updated_after: "2020-01-01T00:00:00.000Z" @@ -2941,9 +3545,8 @@ examples: x-account-id: "" responses: "200": - application/json: {"data": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "options": ["Not Started", "In Progress", "Completed", "Overdue"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "options": ["Not Started", "In Progress", "Completed", "Overdue"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]} - ats_list_candidate_notes: - "": + application/json: {"data": []} + speakeasy-default-ats-list-candidate-notes: parameters: path: id: "" @@ -2973,6 +3576,20 @@ examples: responses: "200": application/json: {"data": [{"application_ids": ["123e4567-e89b-12d3-a456-426614174000", "523e1234-e89b-fdd2-a456-762545121101"], "company": "Company Inc.", "country": "United States", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "email": "sestier.romain123@gmail.com", "emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "Romain", "hired_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Sestier", "name": "Romain Sestier", "phone_numbers": [{"phone": "+447700112233"}, {"phone": "+447700112233"}, {"phone": "+447700112233"}], "remote_application_ids": ["123e4567-e89b-12d3-a456-426614174000", "523e1234-e89b-fdd2-a456-762545121101"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "social_links": [{"type": "linkedin", "url": "https://www.linkedin.com/in/romainsestier/"}], "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"application_ids": ["123e4567-e89b-12d3-a456-426614174000", "523e1234-e89b-fdd2-a456-762545121101"], "company": "Company Inc.", "country": "United States", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "email": "sestier.romain123@gmail.com", "emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "Romain", "hired_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Sestier", "name": "Romain Sestier", "phone_numbers": [{"phone": "+447700112233"}, {"phone": "+447700112233"}, {"phone": "+447700112233"}], "remote_application_ids": ["123e4567-e89b-12d3-a456-426614174000", "523e1234-e89b-fdd2-a456-762545121101"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "social_links": [{"type": "linkedin", "url": "https://www.linkedin.com/in/romainsestier/"}, {"type": "linkedin", "url": "https://www.linkedin.com/in/romainsestier/"}], "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} + speakeasy-default-ats-list-candidates: + parameters: + query: + raw: false + fields: "id,remote_id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,country,title,application_ids,remote_application_ids,hired_at,custom_fields,created_at,updated_at" + filter: {"created_after": "2020-01-01T00:00:00.000Z", "updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + include: "custom_fields" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"application_ids": ["123e4567-e89b-12d3-a456-426614174000", "523e1234-e89b-fdd2-a456-762545121101"], "company": "Company Inc.", "country": "United States", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "email": "sestier.romain123@gmail.com", "emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "Romain", "hired_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Sestier", "name": "Romain Sestier", "phone_numbers": [{"phone": "+447700112233"}, {"phone": "+447700112233"}, {"phone": "+447700112233"}], "remote_application_ids": ["123e4567-e89b-12d3-a456-426614174000", "523e1234-e89b-fdd2-a456-762545121101"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "social_links": [{"type": "linkedin", "url": "https://www.linkedin.com/in/romainsestier/"}], "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"application_ids": ["123e4567-e89b-12d3-a456-426614174000", "523e1234-e89b-fdd2-a456-762545121101"], "company": "Company Inc.", "country": "United States", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "email": "sestier.romain123@gmail.com", "emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "Romain", "hired_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Sestier", "name": "Romain Sestier", "phone_numbers": [{"phone": "+447700112233"}, {"phone": "+447700112233"}, {"phone": "+447700112233"}], "remote_application_ids": ["123e4567-e89b-12d3-a456-426614174000", "523e1234-e89b-fdd2-a456-762545121101"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "social_links": [{"type": "linkedin", "url": "https://www.linkedin.com/in/romainsestier/"}, {"type": "linkedin", "url": "https://www.linkedin.com/in/romainsestier/"}], "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} ats_list_departments: "": parameters: @@ -2987,6 +3604,19 @@ examples: responses: "200": application/json: {"data": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}]} + speakeasy-default-ats-list-departments: + parameters: + query: + raw: false + fields: "id,remote_id,name" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}]} ats_list_interview_stages: "": parameters: @@ -3001,6 +3631,19 @@ examples: responses: "200": application/json: {"data": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} + speakeasy-default-ats-list-interview-stages: + parameters: + query: + raw: false + fields: "id,remote_id,name,order,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} ats_list_interviews: "": parameters: @@ -3015,6 +3658,19 @@ examples: responses: "200": application/json: {"data": [{"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_parts": [{"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "interview_stage": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, "interview_status": {"source_value": "Unscheduled", "value": "unscheduled"}, "interviewers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_stage_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_interviewer_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "start_at": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} + speakeasy-default-ats-list-interviews: + parameters: + query: + raw: false + fields: "id,remote_id,application_id,remote_application_id,interview_stage_id,remote_interview_stage_id,interview_stage,status,interview_status,interviewer_ids,remote_interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at" + filter: {"created_after": "2020-01-01T00:00:00.000Z", "updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_parts": [{"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "end_at": "2021-01-01T18:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "meeting_provider": "zoom", "meeting_url": "zoomus://zoom.us/join?confno=123456789", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interviewer_ids": ["cx28iQahdfDHa", "cx28iQokkD78das"], "start_at": "2021-01-01T17:00:00.000Z", "title": "Interview (Informal Interview) - Elon and StackOne", "type": {"source_value": "Onsite Interview", "value": "on_site"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "interview_stage": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, "interview_status": {"source_value": "Unscheduled", "value": "unscheduled"}, "interviewers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_interview_stage_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_interviewer_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "start_at": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} ats_list_job_custom_field_definitions: "": parameters: @@ -3029,6 +3685,19 @@ examples: responses: "200": application/json: {"data": []} + speakeasy-default-ats-list-job-custom-field-definitions: + parameters: + query: + raw: false + fields: "id,remote_id,name,description,type,options" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} ats_list_job_postings: "": parameters: @@ -3044,6 +3713,20 @@ examples: responses: "200": application/json: {"data": [{"compensation": [{"currency": "USD", "max_value": "55000", "min_value": "45000", "name": "Base Salary", "value": "50000"}, {"currency": "USD", "name": "Bonus", "value": "10%"}], "content": {"html": "

This is an HTML description

", "plain": "This is a plain text description"}, "created_at": "2021-01-01T01:01:01.000Z", "employment_contract_type": {"source_value": "FullTime", "value": "full_time"}, "employment_type": {"source_value": "Permanent", "value": "permanent"}, "external_apply_url": "https://www.example.com/job-posting/abcd1234/apply", "external_url": "https://www.example.com/job-posting/abcd1234", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "internal": "true", "job_id": "job001", "locations": [{"id": "12345", "name": "New York"}, {"id": "67890", "name": "Remote"}], "questionnaires": [{"id": "about001", "internal": "false", "name": "About", "questions": [{"id": "question001", "parent_question": null, "required": true, "text": "What is your name?"}, {"id": "question002", "parent_question": null, "required": false, "text": "What are your hobbies?"}, {"id": "question003", "multiple_choice_answers": [{"id": "1", "text": "Dog"}, {"id": "2", "text": "Cat"}, {"id": "3", "text": "Bird"}, {"id": "4", "text": "Other"}], "parent_question": null, "required": true, "text": "What is your favorite animal?"}, {"id": "question004", "multiple_choice_answers": [{"id": "1", "text": "Yes"}, {"id": "2", "text": "No"}], "parent_question": null, "required": true, "text": "Do you have previous work experience??"}, {"id": "question005", "multiple_choice_answers": [{"id": "1", "text": "Less than 1 year"}, {"id": "2", "text": "1-2 years"}, {"id": "2", "text": "More than 2 year"}], "parent_question": {"id": "question004", "option_ids": ["1"]}, "required": true, "text": "What was the duration of your last employment?"}]}, {"id": "experience001", "internal": "false", "name": "Experience", "questions": [{"id": "question004", "parent_question": null, "required": true, "text": "Please upload your resume."}, {"id": "question005", "multiple_choice_answers": [{"id": "1", "text": "JavaScript"}, {"id": "2", "text": "Python"}, {"id": "3", "text": "Java"}], "parent_question": null, "required": true, "text": "Select the programming languages you are proficient in."}, {"id": "question006", "parent_question": null, "text": "Are you willing to relocate?"}, {"id": "question007", "parent_question": null, "text": "How many years of experience do you have?"}, {"id": "question008", "parent_question": null, "text": "When did you start your most recent position?"}, {"id": "question009", "multiple_choice_answers": [{"id": "1", "text": "Yes"}, {"id": "2", "text": "No"}], "parent_question": null, "required": true, "text": "Do you have Project Management Experience?"}, {"id": "question010", "multiple_choice_answers": [{"id": "1", "text": "1-3 years"}, {"id": "2", "text": "3-5 years"}, {"id": "3", "text": "5-10 years"}, {"id": "4", "text": "More than 10 years"}], "parent_question": {"id": "question009", "option_ids": ["1"]}, "text": "How much Project Management experience do you have?"}]}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_job_posting_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "status": {"source_value": "Live", "value": "live"}, "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"compensation": [{"currency": "USD", "max_value": "55000", "min_value": "45000", "name": "Base Salary", "value": "50000"}, {"currency": "USD", "name": "Bonus", "value": "10%"}], "content": {"html": "

This is an HTML description

", "plain": "This is a plain text description"}, "created_at": "2021-01-01T01:01:01.000Z", "employment_contract_type": {"source_value": "FullTime", "value": "full_time"}, "employment_type": {"source_value": "Permanent", "value": "permanent"}, "external_apply_url": "https://www.example.com/job-posting/abcd1234/apply", "external_url": "https://www.example.com/job-posting/abcd1234", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "internal": "true", "job_id": "job001", "locations": [{"id": "12345", "name": "New York"}, {"id": "67890", "name": "Remote"}], "questionnaires": [{"id": "about001", "internal": "false", "name": "About", "questions": [{"id": "question001", "parent_question": null, "required": true, "text": "What is your name?"}, {"id": "question002", "parent_question": null, "required": false, "text": "What are your hobbies?"}, {"id": "question003", "multiple_choice_answers": [{"id": "1", "text": "Dog"}, {"id": "2", "text": "Cat"}, {"id": "3", "text": "Bird"}, {"id": "4", "text": "Other"}], "parent_question": null, "required": true, "text": "What is your favorite animal?"}, {"id": "question004", "multiple_choice_answers": [{"id": "1", "text": "Yes"}, {"id": "2", "text": "No"}], "parent_question": null, "required": true, "text": "Do you have previous work experience??"}, {"id": "question005", "multiple_choice_answers": [{"id": "1", "text": "Less than 1 year"}, {"id": "2", "text": "1-2 years"}, {"id": "2", "text": "More than 2 year"}], "parent_question": {"id": "question004", "option_ids": ["1"]}, "required": true, "text": "What was the duration of your last employment?"}]}, {"id": "experience001", "internal": "false", "name": "Experience", "questions": [{"id": "question004", "parent_question": null, "required": true, "text": "Please upload your resume."}, {"id": "question005", "multiple_choice_answers": [{"id": "1", "text": "JavaScript"}, {"id": "2", "text": "Python"}, {"id": "3", "text": "Java"}], "parent_question": null, "required": true, "text": "Select the programming languages you are proficient in."}, {"id": "question006", "parent_question": null, "text": "Are you willing to relocate?"}, {"id": "question007", "parent_question": null, "text": "How many years of experience do you have?"}, {"id": "question008", "parent_question": null, "text": "When did you start your most recent position?"}, {"id": "question009", "multiple_choice_answers": [{"id": "1", "text": "Yes"}, {"id": "2", "text": "No"}], "parent_question": null, "required": true, "text": "Do you have Project Management Experience?"}, {"id": "question010", "multiple_choice_answers": [{"id": "1", "text": "1-3 years"}, {"id": "2", "text": "3-5 years"}, {"id": "3", "text": "5-10 years"}, {"id": "4", "text": "More than 10 years"}], "parent_question": {"id": "question009", "option_ids": ["1"]}, "text": "How much Project Management experience do you have?"}]}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_job_posting_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "status": {"source_value": "Live", "value": "live"}, "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} + speakeasy-default-ats-list-job-postings: + parameters: + query: + raw: false + fields: "id,remote_id,title,locations,internal,status,job_id,remote_job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,updated_at,created_at" + filter: {"created_after": "2020-01-01T00:00:00.000Z", "updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + include: "questionnaires" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"compensation": [{"currency": "USD", "max_value": "55000", "min_value": "45000", "name": "Base Salary", "value": "50000"}, {"currency": "USD", "name": "Bonus", "value": "10%"}], "content": {"html": "

This is an HTML description

", "plain": "This is a plain text description"}, "created_at": "2021-01-01T01:01:01.000Z", "employment_contract_type": {"source_value": "FullTime", "value": "full_time"}, "employment_type": {"source_value": "Permanent", "value": "permanent"}, "external_apply_url": "https://www.example.com/job-posting/abcd1234/apply", "external_url": "https://www.example.com/job-posting/abcd1234", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "internal": "true", "job_id": "job001", "locations": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "New York"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote"}], "questionnaires": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "internal": "false", "name": "About", "questions": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "parent_question": null, "required": true, "text": "What is your name?"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "parent_question": null, "required": false, "text": "What are your hobbies?"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "multiple_choice_answers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Dog"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Cat"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Bird"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Other"}], "parent_question": null, "required": true, "text": "What is your favorite animal?"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "multiple_choice_answers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Yes"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "No"}], "parent_question": null, "required": true, "text": "Do you have previous work experience??"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "multiple_choice_answers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Less than 1 year"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "1-2 years"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "More than 2 year"}], "parent_question": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "option_ids": ["123e4567-e89b-12d3-a456-426614174000", "523e1234-e89b-fdd2-a456-762545121101"]}, "required": true, "text": "What was the duration of your last employment?"}]}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "internal": "false", "name": "Experience", "questions": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "parent_question": null, "required": true, "text": "Please upload your resume."}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "multiple_choice_answers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "JavaScript"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Python"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Java"}], "parent_question": null, "required": true, "text": "Select the programming languages you are proficient in."}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "parent_question": null, "text": "Are you willing to relocate?"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "parent_question": null, "text": "How many years of experience do you have?"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "parent_question": null, "text": "When did you start your most recent position?"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "multiple_choice_answers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Yes"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "No"}], "parent_question": null, "required": true, "text": "Do you have Project Management Experience?"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "multiple_choice_answers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "1-3 years"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "3-5 years"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "5-10 years"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "More than 10 years"}], "parent_question": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "option_ids": ["123e4567-e89b-12d3-a456-426614174000", "523e1234-e89b-fdd2-a456-762545121101"]}, "text": "How much Project Management experience do you have?"}]}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_job_posting_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "status": {"source_value": "Live", "value": "live"}, "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"compensation": [{"currency": "USD", "max_value": "55000", "min_value": "45000", "name": "Base Salary", "value": "50000"}, {"currency": "USD", "name": "Bonus", "value": "10%"}], "content": {"html": "

This is an HTML description

", "plain": "This is a plain text description"}, "created_at": "2021-01-01T01:01:01.000Z", "employment_contract_type": {"source_value": "FullTime", "value": "full_time"}, "employment_type": {"source_value": "Permanent", "value": "permanent"}, "external_apply_url": "https://www.example.com/job-posting/abcd1234/apply", "external_url": "https://www.example.com/job-posting/abcd1234", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "internal": "true", "job_id": "job001", "locations": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "New York"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote"}], "questionnaires": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "internal": "false", "name": "About", "questions": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "parent_question": null, "required": true, "text": "What is your name?"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "parent_question": null, "required": false, "text": "What are your hobbies?"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "multiple_choice_answers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Dog"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Cat"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Bird"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Other"}], "parent_question": null, "required": true, "text": "What is your favorite animal?"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "multiple_choice_answers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Yes"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "No"}], "parent_question": null, "required": true, "text": "Do you have previous work experience??"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "multiple_choice_answers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Less than 1 year"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "1-2 years"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "More than 2 year"}], "parent_question": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "option_ids": ["123e4567-e89b-12d3-a456-426614174000", "523e1234-e89b-fdd2-a456-762545121101"]}, "required": true, "text": "What was the duration of your last employment?"}]}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "internal": "false", "name": "Experience", "questions": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "parent_question": null, "required": true, "text": "Please upload your resume."}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "multiple_choice_answers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "JavaScript"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Python"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Java"}], "parent_question": null, "required": true, "text": "Select the programming languages you are proficient in."}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "parent_question": null, "text": "Are you willing to relocate?"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "parent_question": null, "text": "How many years of experience do you have?"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "parent_question": null, "text": "When did you start your most recent position?"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "multiple_choice_answers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "Yes"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "No"}], "parent_question": null, "required": true, "text": "Do you have Project Management Experience?"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "multiple_choice_answers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "1-3 years"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "3-5 years"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "5-10 years"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "text": "More than 10 years"}], "parent_question": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "option_ids": ["123e4567-e89b-12d3-a456-426614174000", "523e1234-e89b-fdd2-a456-762545121101"]}, "text": "How much Project Management experience do you have?"}]}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_job_posting_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "status": {"source_value": "Live", "value": "live"}, "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} ats_list_jobs: "": parameters: @@ -3060,6 +3743,21 @@ examples: responses: "200": application/json: {"data": []} + speakeasy-default-ats-list-jobs: + parameters: + query: + raw: false + fields: "id,remote_id,code,title,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,custom_fields,created_at,updated_at" + filter: {"created_after": "2020-01-01T00:00:00.000Z", "updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + expand: "job_postings,interview_stages" + include: "custom_fields" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} ats_list_lists: "": parameters: @@ -3074,6 +3772,19 @@ examples: responses: "200": application/json: {"data": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "items": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"source_value": "Contacts", "value": "contacts"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "items": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"source_value": "Contacts", "value": "contacts"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} + speakeasy-default-ats-list-lists: + parameters: + query: + raw: false + fields: "id,remote_id,name,created_at,updated_at,items,type" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "items": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"source_value": "Contacts", "value": "contacts"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "items": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"source_value": "Contacts", "value": "contacts"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} ats_list_locations: "": parameters: @@ -3088,6 +3799,19 @@ examples: responses: "200": application/json: {"data": []} + speakeasy-default-ats-list-locations: + parameters: + query: + raw: false + fields: "id,remote_id,name" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} ats_list_offers: "": parameters: @@ -3102,6 +3826,19 @@ examples: responses: "200": application/json: {"data": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "offer_history": [{"created_at": "2021-01-01T01:01:01.000Z", "start_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "start_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}], "offer_status": {"source_value": "Pending", "value": "pending"}, "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "offer_history": [{"created_at": "2021-01-01T01:01:01.000Z", "start_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}], "offer_status": {"source_value": "Pending", "value": "pending"}, "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "offer_history": [{"created_at": "2021-01-01T01:01:01.000Z", "start_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "start_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}], "offer_status": {"source_value": "Pending", "value": "pending"}, "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} + speakeasy-default-ats-list-offers: + parameters: + query: + raw: false + fields: "id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "offer_history": [{"created_at": "2021-01-01T01:01:01.000Z", "start_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "start_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}], "offer_status": {"source_value": "Pending", "value": "pending"}, "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "offer_history": [{"created_at": "2021-01-01T01:01:01.000Z", "start_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}], "offer_status": {"source_value": "Pending", "value": "pending"}, "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "offer_history": [{"created_at": "2021-01-01T01:01:01.000Z", "start_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "start_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}], "offer_status": {"source_value": "Pending", "value": "pending"}, "remote_application_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} ats_list_rejected_reasons: "": parameters: @@ -3116,6 +3853,19 @@ examples: responses: "200": application/json: {"data": []} + speakeasy-default-ats-list-rejected-reasons: + parameters: + query: + raw: false + fields: "id,remote_id,label,type,rejected_reason_type" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} ats_list_users: "": parameters: @@ -3130,6 +3880,19 @@ examples: responses: "200": application/json: {"data": [{"active": true, "created_at": "2021-01-01T01:01:01.000Z", "email": "john@dew.com", "external_reference": "al60043", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "John Dew", "phone_number": "+1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"active": true, "created_at": "2021-01-01T01:01:01.000Z", "email": "john@dew.com", "external_reference": "al60043", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "John Dew", "phone_number": "+1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} + speakeasy-default-ats-list-users: + parameters: + query: + raw: false + fields: "id,remote_id,first_name,last_name,name,email" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"active": true, "created_at": "2021-01-01T01:01:01.000Z", "email": "john@dew.com", "external_reference": "al60043", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "John Dew", "phone_number": "+1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"active": true, "created_at": "2021-01-01T01:01:01.000Z", "email": "john@dew.com", "external_reference": "al60043", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "John Dew", "phone_number": "+1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} ats_move_application: speakeasy-default-ats-move-application: parameters: @@ -3238,6 +4001,18 @@ examples: responses: "200": application/json: {"data": {"addresses": [{"country": {"source_value": "GB", "value": "GB"}, "location_type": {"source_value": "Home", "value": "home"}}], "created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "industries": ["Information Technology", "Airlines & Airports", "Personal Care & Household Products"], "phone_numbers": ["+1123425334"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-crm-get-account: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,owner_id,remote_owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"addresses": [{"country": {"source_value": "GB", "value": "GB"}, "location_type": {"source_value": "Home", "value": "home"}}], "created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "industries": ["Information Technology", "Airlines & Airports", "Personal Care & Household Products"], "phone_numbers": ["+1123425334"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} crm_get_contact: "": parameters: @@ -3251,15 +4026,82 @@ examples: x-account-id: "" responses: "200": - application/json: {"data": {"account_ids": ["account-123", "account-456"], "company_name": "Apple Inc.", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "deal_ids": ["deal-001", "deal-002"], "emails": ["steve@apple.com"], "first_name": "Steve", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Wozniak", "phone_numbers": ["123-456-7890"], "remote_account_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_deal_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} - crm_get_contact_custom_field_definition: + application/json: {"data": {"account_ids": ["account-123", "account-456"], "company_name": "Apple Inc.", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "deal_ids": ["deal-001", "deal-002"], "emails": ["steve@apple.com"], "first_name": "Steve", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Wozniak", "phone_numbers": ["123-456-7890"], "remote_account_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_deal_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-crm-get-contact: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,first_name,last_name,company_name,emails,phone_numbers,deal_ids,remote_deal_ids,account_ids,remote_account_ids,custom_fields,created_at,updated_at" + include: "custom_fields" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"account_ids": ["account-123", "account-456"], "company_name": "Apple Inc.", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "deal_ids": ["deal-001", "deal-002"], "emails": ["steve@apple.com"], "first_name": "Steve", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Wozniak", "phone_numbers": ["123-456-7890"], "remote_account_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_deal_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + crm_get_contact_custom_field_definition: + "": + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,description,type,options" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "options": ["Not Started", "In Progress", "Completed", "Overdue"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} + speakeasy-default-crm-get-contact-custom-field-definition: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,description,type,options" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "options": ["Not Started", "In Progress", "Completed", "Overdue"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} + crm_get_list: + "": + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,created_at,updated_at,items,type" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "items": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"source_value": "Contacts", "value": "contacts"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-crm-get-list: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,created_at,updated_at,items,type" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "items": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"source_value": "Contacts", "value": "contacts"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + crm_list_accounts: "": parameters: - path: - id: "" query: raw: false - fields: "id,remote_id,name,description,type,options" + fields: "id,remote_id,owner_id,remote_owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at" filter: {"updated_after": "2020-01-01T00:00:00.000Z"} page_size: "25" updated_after: "2020-01-01T00:00:00.000Z" @@ -3267,26 +4109,26 @@ examples: x-account-id: "" responses: "200": - application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "options": ["Not Started", "In Progress", "Completed", "Overdue"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} - crm_get_list: - "": + application/json: {"data": [{"addresses": [{"country": {"source_value": "GB", "value": "GB"}, "location_type": {"source_value": "Home", "value": "home"}}, {"country": {"source_value": "GB", "value": "GB"}, "location_type": {"source_value": "Home", "value": "home"}}], "created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "industries": ["Information Technology", "Airlines & Airports", "Personal Care & Household Products"], "phone_numbers": ["+1123425334"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"addresses": [{"country": {"source_value": "GB", "value": "GB"}, "location_type": {"source_value": "Home", "value": "home"}}], "created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "industries": ["Information Technology", "Airlines & Airports", "Personal Care & Household Products"], "phone_numbers": ["+1123425334"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} + speakeasy-default-crm-list-accounts: parameters: - path: - id: "" query: raw: false - fields: "id,remote_id,name,created_at,updated_at,items,type" + fields: "id,remote_id,owner_id,remote_owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" header: x-account-id: "" responses: "200": - application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "items": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"source_value": "Contacts", "value": "contacts"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} - crm_list_accounts: + application/json: {"data": [{"addresses": [{"country": {"source_value": "GB", "value": "GB"}, "location_type": {"source_value": "Home", "value": "home"}}, {"country": {"source_value": "GB", "value": "GB"}, "location_type": {"source_value": "Home", "value": "home"}}], "created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "industries": ["Information Technology", "Airlines & Airports", "Personal Care & Household Products"], "phone_numbers": ["+1123425334"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"addresses": [{"country": {"source_value": "GB", "value": "GB"}, "location_type": {"source_value": "Home", "value": "home"}}], "created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "industries": ["Information Technology", "Airlines & Airports", "Personal Care & Household Products"], "phone_numbers": ["+1123425334"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} + crm_list_contact_custom_field_definitions: "": parameters: query: raw: false - fields: "id,remote_id,owner_id,remote_owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at" + fields: "id,remote_id,name,description,type,options" filter: {"updated_after": "2020-01-01T00:00:00.000Z"} page_size: "25" updated_after: "2020-01-01T00:00:00.000Z" @@ -3294,9 +4136,8 @@ examples: x-account-id: "" responses: "200": - application/json: {"data": [{"addresses": [{"country": {"source_value": "GB", "value": "GB"}, "location_type": {"source_value": "Home", "value": "home"}}, {"country": {"source_value": "GB", "value": "GB"}, "location_type": {"source_value": "Home", "value": "home"}}], "created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "industries": ["Information Technology", "Airlines & Airports", "Personal Care & Household Products"], "phone_numbers": ["+1123425334"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"addresses": [{"country": {"source_value": "GB", "value": "GB"}, "location_type": {"source_value": "Home", "value": "home"}}], "created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "industries": ["Information Technology", "Airlines & Airports", "Personal Care & Household Products"], "phone_numbers": ["+1123425334"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} - crm_list_contact_custom_field_definitions: - "": + application/json: {"data": []} + speakeasy-default-crm-list-contact-custom-field-definitions: parameters: query: raw: false @@ -3324,6 +4165,20 @@ examples: responses: "200": application/json: {"data": [{"account_ids": ["account-123", "account-456"], "company_name": "Apple Inc.", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "deal_ids": ["deal-001", "deal-002"], "emails": ["steve@apple.com"], "first_name": "Steve", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Wozniak", "phone_numbers": ["123-456-7890"], "remote_account_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_deal_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} + speakeasy-default-crm-list-contacts: + parameters: + query: + raw: false + fields: "id,remote_id,first_name,last_name,company_name,emails,phone_numbers,deal_ids,remote_deal_ids,account_ids,remote_account_ids,custom_fields,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + include: "custom_fields" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"account_ids": ["account-123", "account-456"], "company_name": "Apple Inc.", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "deal_ids": ["deal-001", "deal-002"], "emails": ["steve@apple.com"], "first_name": "Steve", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Wozniak", "phone_numbers": ["123-456-7890"], "remote_account_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_deal_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} crm_list_lists: "": parameters: @@ -3338,6 +4193,19 @@ examples: responses: "200": application/json: {"data": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "items": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"source_value": "Contacts", "value": "contacts"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "items": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"source_value": "Contacts", "value": "contacts"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} + speakeasy-default-crm-list-lists: + parameters: + query: + raw: false + fields: "id,remote_id,name,created_at,updated_at,items,type" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "items": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"source_value": "Contacts", "value": "contacts"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "items": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"source_value": "Contacts", "value": "contacts"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} crm_update_contact: speakeasy-default-crm-update-contact: parameters: @@ -3431,6 +4299,18 @@ examples: responses: "200": application/octet-stream: "x-file: example.file" + speakeasy-default-hris-download-employee-document: + parameters: + path: + id: "" + subResourceId: "" + query: + format: "base64" + header: + x-account-id: "" + responses: + "200": + application/octet-stream: "x-file: example.file" hris_get_benefit: "": parameters: @@ -3444,6 +4324,18 @@ examples: responses: "200": application/json: {"data": {"created_at": "2021-01-01T00:00:00Z", "description": "Health insurance for employees", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Health Insurance", "provider": "Aetna", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T00:00:00Z"}} + speakeasy-default-hris-get-benefit: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,benefit_type,provider,description,created_at,updated_at" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T00:00:00Z", "description": "Health insurance for employees", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Health Insurance", "provider": "Aetna", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T00:00:00Z"}} hris_get_company: "": parameters: @@ -3457,6 +4349,18 @@ examples: responses: "200": application/json: {"data": {"created_at": "2023-02-23T00:00:00.000Z", "display_name": "StackOne", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "StackOne Technologies PLC", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2024-02-23T00:00:00.000Z"}} + speakeasy-default-hris-get-company: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,full_name,display_name,created_at,updated_at" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2023-02-23T00:00:00.000Z", "display_name": "StackOne", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "StackOne Technologies PLC", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2024-02-23T00:00:00.000Z"}} hris_get_cost_center_group: "": parameters: @@ -3470,6 +4374,18 @@ examples: responses: "200": application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "type": {"value": "team"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} + speakeasy-default-hris-get-cost-center-group: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "type": {"value": "team"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} hris_get_department_group: "": parameters: @@ -3483,6 +4399,18 @@ examples: responses: "200": application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} + speakeasy-default-hris-get-department-group: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} hris_get_employee: "": parameters: @@ -3498,6 +4426,20 @@ examples: responses: "200": application/json: {"data": {"avatar_url": "https://example.com/avatar.png", "benefits": [{"created_at": "2021-01-01T00:00:00Z", "description": "Health insurance for employees", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Health Insurance", "provider": "Aetna", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T00:00:00Z"}, {"created_at": "2021-01-01T00:00:00Z", "description": "Health insurance for employees", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Health Insurance", "provider": "Aetna", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T00:00:00Z"}], "birthday": "2021-01-01T00:00:00Z", "citizenships": [{"value": "US"}], "company": {"created_at": "2023-02-23T00:00:00.000Z", "display_name": "StackOne", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "StackOne Technologies PLC", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2024-02-23T00:00:00.000Z"}, "company_name": "Example Corp", "cost_centers": [{"distribution_percentage": 100, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "R&D", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"distribution_percentage": 100, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "R&D", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"distribution_percentage": 100, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "R&D", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "date_of_birth": "1990-01-01T00:00.000Z", "department": "Physics", "department_id": "3093", "display_name": "Sir Issac Newton", "employee_number": "125", "employments": [{"created_at": "2021-01-01T01:01:01.000Z", "effective_date": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job_title": "Software Engineer", "pay_currency": "USD", "pay_rate": "40.00", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "time_worked": "P0Y0M0DT8H0M0S", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "first_name": "Issac", "groups": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "type": {"value": "team"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "type": {"value": "team"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}], "hire_date": "2021-01-01T00:00.000Z", "home_location": {"city": "Grantham", "country": {"value": "US"}, "created_at": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Woolsthorpe Manor", "phone_number": "+44 1476 860 364", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "state": "Lincolnshire", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z", "zip_code": "NG33 5NR"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job_id": "5290", "job_title": "Physicist", "last_name": "Newton", "manager_id": "67890", "name": "Issac Newton", "national_identity_number": {"country": {"value": "US"}, "type": {"value": "ssn"}, "value": "123456789"}, "personal_email": "isaac.newton@example.com", "personal_phone_number": "+1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_manager_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "start_date": "2021-01-01T00:00.000Z", "tenure": 2, "termination_date": "2021-01-01T00:00:00Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z", "work_anniversary": "2021-01-01T00:00:00Z", "work_email": "newton@example.com", "work_location": {"city": "Grantham", "country": {"value": "US"}, "created_at": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Woolsthorpe Manor", "phone_number": "+44 1476 860 364", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "state": "Lincolnshire", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z", "zip_code": "NG33 5NR"}, "work_phone_number": "+1234567890"}} + speakeasy-default-hris-get-employee: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,benefits,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number" + expand: "company,employments,work_location,home_location,groups" + include: "avatar_url,avatar,custom_fields,job_description,benefits" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"avatar_url": "https://example.com/avatar.png", "benefits": [{"created_at": "2021-01-01T00:00:00Z", "description": "Health insurance for employees", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Health Insurance", "provider": "Aetna", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T00:00:00Z"}, {"created_at": "2021-01-01T00:00:00Z", "description": "Health insurance for employees", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Health Insurance", "provider": "Aetna", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T00:00:00Z"}], "birthday": "2021-01-01T00:00:00Z", "citizenships": [{"value": "US"}], "company": {"created_at": "2023-02-23T00:00:00.000Z", "display_name": "StackOne", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "StackOne Technologies PLC", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2024-02-23T00:00:00.000Z"}, "company_name": "Example Corp", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "date_of_birth": "1990-01-01T00:00.000Z", "display_name": "Sir Issac Newton", "employee_number": "125", "employments": [{"active": true, "contract_type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Full-Time", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "cost_center": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "created_at": "2021-01-01T01:01:01.000Z", "department": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "division": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "effective_date": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "end_date": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job": {"description": {"text": "Testing the laws of motion"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "owner_id": "5356", "parent_id": "7577", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer"}, "manager": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "role": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Admin", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}}], "pay_currency": "USD", "pay_rate": "40.00", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "time_worked": "P0Y0M0DT8H0M0S", "type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Permanent", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"active": true, "contract_type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Full-Time", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "cost_center": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "created_at": "2021-01-01T01:01:01.000Z", "department": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "division": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "effective_date": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "end_date": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job": {"description": {"text": "Testing the laws of motion"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "owner_id": "5356", "parent_id": "7577", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer"}, "manager": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "role": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Admin", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "role": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Admin", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}}], "pay_currency": "USD", "pay_rate": "40.00", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "time_worked": "P0Y0M0DT8H0M0S", "type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Permanent", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "first_name": "Issac", "groups": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "type": {"value": "team"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}], "hire_date": "2021-01-01T00:00.000Z", "home_location": {"city": "Grantham", "country": {"value": "US"}, "created_at": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Woolsthorpe Manor", "phone_number": "+44 1476 860 364", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "state": "Lincolnshire", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z", "zip_code": "NG33 5NR"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Newton", "name": "Issac Newton", "national_identity_number": {"country": {"value": "US"}, "type": {"value": "ssn"}, "value": "123456789"}, "personal_email": "isaac.newton@example.com", "personal_phone_number": "+1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_manager_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "tenure": 2, "termination_date": "2021-01-01T00:00:00Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z", "work_anniversary": "2021-01-01T00:00:00Z", "work_email": "newton@example.com", "work_location": {"city": "Grantham", "country": {"value": "US"}, "created_at": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Woolsthorpe Manor", "phone_number": "+44 1476 860 364", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "state": "Lincolnshire", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z", "zip_code": "NG33 5NR"}, "work_phone_number": "+1234567890"}} hris_get_employee_custom_field_definition: "": parameters: @@ -3514,6 +4456,21 @@ examples: responses: "200": application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "options": ["Not Started", "In Progress", "Completed", "Overdue"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} + speakeasy-default-hris-get-employee-custom-field-definition: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,description,type,options" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "options": ["Not Started", "In Progress", "Completed", "Overdue"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} hris_get_employee_document: "": parameters: @@ -3528,6 +4485,19 @@ examples: responses: "200": application/json: {"data": {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-02T01:01:01.000Z"}} + speakeasy-default-hris-get-employee-document: + parameters: + path: + id: "" + subResourceId: "" + query: + raw: false + fields: "id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-02T01:01:01.000Z"}} hris_get_employee_document_category: "": parameters: @@ -3541,6 +4511,18 @@ examples: responses: "200": application/json: {"data": {"active": true, "id": "1687-3", "name": "1687-4", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} + speakeasy-default-hris-get-employee-document-category: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,active" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"active": true, "id": "1687-3", "name": "1687-4", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} hris_get_employee_employment: "": parameters: @@ -3556,6 +4538,20 @@ examples: responses: "200": application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "effective_date": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job_title": "Software Engineer", "pay_currency": "USD", "pay_rate": "40.00", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "time_worked": "P0Y0M0DT8H0M0S", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-hris-get-employee-employment: + parameters: + path: + id: "" + subResourceId: "" + query: + raw: false + fields: "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at,start_date,end_date,active,department,cost_center,division,job,type,contract_type,manager" + expand: "groups" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"active": true, "contract_type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Full-Time", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "cost_center": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "created_at": "2021-01-01T01:01:01.000Z", "department": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "division": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "effective_date": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "end_date": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job": {"description": {"text": "Testing the laws of motion"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "owner_id": "5356", "parent_id": "7577", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer"}, "manager": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "role": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Admin", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "role": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Admin", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}}], "pay_currency": "USD", "pay_rate": "40.00", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "time_worked": "P0Y0M0DT8H0M0S", "type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Permanent", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} hris_get_employees_time_off_request: "": parameters: @@ -3570,75 +4566,162 @@ examples: responses: "200": application/json: {"data": {"approver_id": "1687-4", "created_date": "2021-01-01T01:01:01.000Z", "duration": "P3Y6M4DT12H30M5S", "employee_id": "1687-3", "end_date": "2021-01-01T01:01:01.000Z", "end_half_day": true, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_approver_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "start_half_day": true, "updated_date": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-hris-get-employees-time-off-request: + parameters: + path: + id: "" + subResourceId: "" + query: + raw: false + fields: "id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,created_at,updated_at" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"approver_id": "1687-4", "created_date": "2021-01-01T01:01:01.000Z", "duration": "P3Y6M4DT12H30M5S", "employee_id": "1687-3", "end_date": "2021-01-01T01:01:01.000Z", "end_half_day": true, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_approver_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "start_half_day": true, "updated_date": "2021-01-01T01:01:01.000Z"}} hris_get_employees_work_eligibility: "": parameters: path: id: "" - subResourceId: "" + subResourceId: "" + query: + raw: false + fields: "id,remote_id,type,sub_type,document,valid_from,valid_to,issued_by,number" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"document": {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "updated_at": "2021-01-02T01:01:01.000Z"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "issued_by": {"value": "US"}, "number": "1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "sub_type": "H1B", "valid_from": "2021-01-01T00:00.000Z", "valid_to": "2021-01-01T00:00.000Z"}} + speakeasy-default-hris-get-employees-work-eligibility: + parameters: + path: + id: "" + subResourceId: "" + query: + raw: false + fields: "id,remote_id,type,sub_type,document,valid_from,valid_to,issued_by,number" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"document": {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "updated_at": "2021-01-02T01:01:01.000Z"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "issued_by": {"value": "US"}, "number": "1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "sub_type": "H1B", "valid_from": "2021-01-01T00:00.000Z", "valid_to": "2021-01-01T00:00.000Z"}} + hris_get_employment: + "": + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at" + expand: "groups" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "effective_date": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job_title": "Software Engineer", "pay_currency": "USD", "pay_rate": "40.00", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "time_worked": "P0Y0M0DT8H0M0S", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-hris-get-employment: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at,start_date,end_date,active,department,cost_center,division,job,type,contract_type,manager" + expand: "groups" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"active": true, "contract_type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Full-Time", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "cost_center": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "created_at": "2021-01-01T01:01:01.000Z", "department": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "division": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "effective_date": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "end_date": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job": {"description": {"text": "Testing the laws of motion"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "owner_id": "5356", "parent_id": "7577", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer"}, "manager": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "role": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Admin", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}}], "pay_currency": "USD", "pay_rate": "40.00", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "time_worked": "P0Y0M0DT8H0M0S", "type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Permanent", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + hris_get_group: + "": + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "type": {"value": "team"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} + speakeasy-default-hris-get-group: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "type": {"value": "team"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} + hris_get_job: + "": + parameters: + path: + id: "" query: raw: false - fields: "id,remote_id,type,sub_type,document,valid_from,valid_to,issued_by,number" + fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids" header: x-account-id: "" responses: "200": - application/json: {"data": {"document": {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "updated_at": "2021-01-02T01:01:01.000Z"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "issued_by": {"value": "US"}, "number": "1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "sub_type": "H1B", "valid_from": "2021-01-01T00:00.000Z", "valid_to": "2021-01-01T00:00.000Z"}} - hris_get_employment: - "": + application/json: {"data": {"code": "184919", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "department_ids": ["308570", "308571", "308572"], "hiring_team": [{"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_stages": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "job_status": {"source_value": "Published", "value": "published"}, "location_ids": ["668570", "678571", "688572"], "remote_department_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_location_ids": ["668570", "678571", "688572"], "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-hris-get-job: parameters: path: id: "" query: raw: false - fields: "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at" - expand: "groups" + fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids" header: x-account-id: "" responses: "200": - application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "effective_date": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job_title": "Software Engineer", "pay_currency": "USD", "pay_rate": "40.00", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "time_worked": "P0Y0M0DT8H0M0S", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} - hris_get_group: + application/json: {"data": {"code": "184919", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "department_ids": ["308570", "308571", "308572"], "hiring_team": [{"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_stages": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "job_status": {"source_value": "Published", "value": "published"}, "location_ids": ["668570", "678571", "688572"], "remote_department_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_location_ids": ["668570", "678571", "688572"], "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + hris_get_location: "": parameters: path: id: "" query: raw: false - fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids" + fields: "id,remote_id,employee_id,remote_employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at" header: x-account-id: "" responses: "200": - application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "type": {"value": "team"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} - hris_get_job: - "": + application/json: {"data": {"city": "Grantham", "country": {"value": "US"}, "created_at": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Woolsthorpe Manor", "phone_number": "+44 1476 860 364", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "state": "Lincolnshire", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z", "zip_code": "NG33 5NR"}} + speakeasy-default-hris-get-location: parameters: path: id: "" query: raw: false - fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids" + fields: "id,remote_id,employee_id,remote_employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at" header: x-account-id: "" responses: "200": - application/json: {"data": {"code": "184919", "created_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "department_ids": ["308570", "308571", "308572"], "hiring_team": [{"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "interview_stages": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "job_status": {"source_value": "Published", "value": "published"}, "location_ids": ["668570", "678571", "688572"], "remote_department_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_location_ids": ["668570", "678571", "688572"], "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} - hris_get_location: + application/json: {"data": {"city": "Grantham", "country": {"value": "US"}, "created_at": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Woolsthorpe Manor", "phone_number": "+44 1476 860 364", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "state": "Lincolnshire", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z", "zip_code": "NG33 5NR"}} + hris_get_time_off_request: "": parameters: path: id: "" query: raw: false - fields: "id,remote_id,employee_id,remote_employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at" + fields: "id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,created_at,updated_at" header: x-account-id: "" responses: "200": - application/json: {"data": {"city": "Grantham", "country": {"value": "US"}, "created_at": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Woolsthorpe Manor", "phone_number": "+44 1476 860 364", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "state": "Lincolnshire", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z", "zip_code": "NG33 5NR"}} - hris_get_time_off_request: - "": + application/json: {"data": {"approver_id": "1687-4", "created_date": "2021-01-01T01:01:01.000Z", "duration": "P3Y6M4DT12H30M5S", "employee_id": "1687-3", "end_date": "2021-01-01T01:01:01.000Z", "end_half_day": true, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_approver_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "start_half_day": true, "updated_date": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-hris-get-time-off-request: parameters: path: id: "" @@ -3663,6 +4746,18 @@ examples: responses: "200": application/json: {"data": {"active": true, "id": "1687-3", "name": "1687-4", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} + speakeasy-default-hris-get-time-off-type: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,active" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"active": true, "id": "1687-3", "name": "1687-4", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} hris_list_benefits: "": parameters: @@ -3677,6 +4772,19 @@ examples: responses: "200": application/json: {"data": [{"created_at": "2021-01-01T00:00:00Z", "description": "Health insurance for employees", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Health Insurance", "provider": "Aetna", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T00:00:00Z"}, {"created_at": "2021-01-01T00:00:00Z", "description": "Health insurance for employees", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Health Insurance", "provider": "Aetna", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T00:00:00Z"}, {"created_at": "2021-01-01T00:00:00Z", "description": "Health insurance for employees", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Health Insurance", "provider": "Aetna", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T00:00:00Z"}]} + speakeasy-default-hris-list-benefits: + parameters: + query: + raw: false + fields: "id,remote_id,name,benefit_type,provider,description,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"created_at": "2021-01-01T00:00:00Z", "description": "Health insurance for employees", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Health Insurance", "provider": "Aetna", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T00:00:00Z"}, {"created_at": "2021-01-01T00:00:00Z", "description": "Health insurance for employees", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Health Insurance", "provider": "Aetna", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T00:00:00Z"}, {"created_at": "2021-01-01T00:00:00Z", "description": "Health insurance for employees", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Health Insurance", "provider": "Aetna", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T00:00:00Z"}]} hris_list_companies: "": parameters: @@ -3691,6 +4799,19 @@ examples: responses: "200": application/json: {"data": []} + speakeasy-default-hris-list-companies: + parameters: + query: + raw: false + fields: "id,remote_id,name,full_name,display_name,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} hris_list_cost_center_groups: "": parameters: @@ -3705,6 +4826,19 @@ examples: responses: "200": application/json: {"data": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "type": {"value": "team"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "type": {"value": "team"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}]} + speakeasy-default-hris-list-cost-center-groups: + parameters: + query: + raw: false + fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "type": {"value": "team"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "type": {"value": "team"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}]} hris_list_department_groups: "": parameters: @@ -3719,6 +4853,19 @@ examples: responses: "200": application/json: {"data": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}]} + speakeasy-default-hris-list-department-groups: + parameters: + query: + raw: false + fields: "id,remote_id,name" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}]} hris_list_employee_categories: "": parameters: @@ -3733,6 +4880,19 @@ examples: responses: "200": application/json: {"data": [{"active": true, "id": "1687-3", "name": "1687-4", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"active": true, "id": "1687-3", "name": "1687-4", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"active": true, "id": "1687-3", "name": "1687-4", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]} + speakeasy-default-hris-list-employee-categories: + parameters: + query: + raw: false + fields: "id,remote_id,name,active" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"active": true, "id": "1687-3", "name": "1687-4", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"active": true, "id": "1687-3", "name": "1687-4", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"active": true, "id": "1687-3", "name": "1687-4", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]} hris_list_employee_custom_field_definitions: "": parameters: @@ -3747,6 +4907,19 @@ examples: responses: "200": application/json: {"data": []} + speakeasy-default-hris-list-employee-custom-field-definitions: + parameters: + query: + raw: false + fields: "id,remote_id,name,description,type,options" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} hris_list_employee_documents: "": parameters: @@ -3763,6 +4936,21 @@ examples: responses: "200": application/json: {"data": [{"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-02T01:01:01.000Z"}]} + speakeasy-default-hris-list-employee-documents: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-02T01:01:01.000Z"}]} hris_list_employee_employments: "": parameters: @@ -3780,6 +4968,22 @@ examples: responses: "200": application/json: {"data": [{"created_at": "2021-01-01T01:01:01.000Z", "effective_date": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job_title": "Software Engineer", "pay_currency": "USD", "pay_rate": "40.00", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "time_worked": "P0Y0M0DT8H0M0S", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "effective_date": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job_title": "Software Engineer", "pay_currency": "USD", "pay_rate": "40.00", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "time_worked": "P0Y0M0DT8H0M0S", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "effective_date": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job_title": "Software Engineer", "pay_currency": "USD", "pay_rate": "40.00", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "time_worked": "P0Y0M0DT8H0M0S", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} + speakeasy-default-hris-list-employee-employments: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at,start_date,end_date,active,department,cost_center,division,job,type,contract_type,manager" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + expand: "groups" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"active": true, "contract_type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Full-Time", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "cost_center": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "created_at": "2021-01-01T01:01:01.000Z", "department": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "division": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "effective_date": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "end_date": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job": {"description": {"text": "Testing the laws of motion"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "owner_id": "5356", "parent_id": "7577", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer"}, "manager": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "role": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Admin", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "role": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Admin", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}}], "pay_currency": "USD", "pay_rate": "40.00", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "time_worked": "P0Y0M0DT8H0M0S", "type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Permanent", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"active": true, "contract_type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Full-Time", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "cost_center": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "created_at": "2021-01-01T01:01:01.000Z", "department": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "division": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "effective_date": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "end_date": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job": {"description": {"text": "Testing the laws of motion"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "owner_id": "5356", "parent_id": "7577", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer"}, "manager": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "role": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Admin", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "role": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Admin", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}}], "pay_currency": "USD", "pay_rate": "40.00", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "time_worked": "P0Y0M0DT8H0M0S", "type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Permanent", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"active": true, "contract_type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Full-Time", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "cost_center": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "created_at": "2021-01-01T01:01:01.000Z", "department": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "division": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "effective_date": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "end_date": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job": {"description": {"text": "Testing the laws of motion"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "owner_id": "5356", "parent_id": "7577", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer"}, "manager": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "role": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Admin", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}}], "pay_currency": "USD", "pay_rate": "40.00", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "time_worked": "P0Y0M0DT8H0M0S", "type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Permanent", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} hris_list_employee_time_off_requests: "": parameters: @@ -3796,6 +5000,21 @@ examples: responses: "200": application/json: {"data": [{"approver_id": "1687-4", "created_date": "2021-01-01T01:01:01.000Z", "duration": "P3Y6M4DT12H30M5S", "employee_id": "1687-3", "end_date": "2021-01-01T01:01:01.000Z", "end_half_day": true, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_approver_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "start_half_day": true, "updated_date": "2021-01-01T01:01:01.000Z"}]} + speakeasy-default-hris-list-employee-time-off-requests: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"approver_id": "1687-4", "created_date": "2021-01-01T01:01:01.000Z", "duration": "P3Y6M4DT12H30M5S", "employee_id": "1687-3", "end_date": "2021-01-01T01:01:01.000Z", "end_half_day": true, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_approver_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "start_half_day": true, "updated_date": "2021-01-01T01:01:01.000Z"}]} hris_list_employee_work_eligibility: "": parameters: @@ -3812,6 +5031,21 @@ examples: responses: "200": application/json: {"data": [{"document": {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "updated_at": "2021-01-02T01:01:01.000Z"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "issued_by": {"value": "US"}, "number": "1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "sub_type": "H1B", "valid_from": "2021-01-01T00:00.000Z", "valid_to": "2021-01-01T00:00.000Z"}]} + speakeasy-default-hris-list-employee-work-eligibility: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,type,sub_type,document,valid_from,valid_to,issued_by,number" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"document": {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "updated_at": "2021-01-02T01:01:01.000Z"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "issued_by": {"value": "US"}, "number": "1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "sub_type": "H1B", "valid_from": "2021-01-01T00:00.000Z", "valid_to": "2021-01-01T00:00.000Z"}]} hris_list_employees: "": parameters: @@ -3828,6 +5062,21 @@ examples: responses: "200": application/json: {"data": []} + speakeasy-default-hris-list-employees: + parameters: + query: + raw: false + fields: "id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,benefits,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + expand: "company,employments,work_location,home_location,groups" + include: "avatar_url,avatar,custom_fields,job_description,benefits" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} hris_list_employments: "": parameters: @@ -3843,6 +5092,20 @@ examples: responses: "200": application/json: {"data": [{"created_at": "2021-01-01T01:01:01.000Z", "effective_date": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job_title": "Software Engineer", "pay_currency": "USD", "pay_rate": "40.00", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "time_worked": "P0Y0M0DT8H0M0S", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "effective_date": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job_title": "Software Engineer", "pay_currency": "USD", "pay_rate": "40.00", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "time_worked": "P0Y0M0DT8H0M0S", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} + speakeasy-default-hris-list-employments: + parameters: + query: + raw: false + fields: "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at,start_date,end_date,active,department,cost_center,division,job,type,contract_type,manager" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + expand: "groups" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"active": true, "contract_type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Full-Time", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "cost_center": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "created_at": "2021-01-01T01:01:01.000Z", "department": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "division": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "effective_date": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "end_date": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job": {"description": {"text": "Testing the laws of motion"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "owner_id": "5356", "parent_id": "7577", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer"}, "manager": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "role": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Admin", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}}], "pay_currency": "USD", "pay_rate": "40.00", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "time_worked": "P0Y0M0DT8H0M0S", "type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Permanent", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"active": true, "contract_type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Full-Time", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "cost_center": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "created_at": "2021-01-01T01:01:01.000Z", "department": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "division": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "effective_date": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "end_date": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job": {"description": {"text": "Testing the laws of motion"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "owner_id": "5356", "parent_id": "7577", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer"}, "manager": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "role": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Admin", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "role": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Admin", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}}], "pay_currency": "USD", "pay_rate": "40.00", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "time_worked": "P0Y0M0DT8H0M0S", "type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Permanent", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} hris_list_groups: "": parameters: @@ -3857,6 +5120,19 @@ examples: responses: "200": application/json: {"data": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "type": {"value": "team"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}]} + speakeasy-default-hris-list-groups: + parameters: + query: + raw: false + fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Engineering", "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_owner_ids": ["475364", "4327652"], "remote_parent_ids": ["652434", "6437241"], "type": {"value": "team"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}]} hris_list_jobs: "": parameters: @@ -3871,6 +5147,19 @@ examples: responses: "200": application/json: {"data": []} + speakeasy-default-hris-list-jobs: + parameters: + query: + raw: false + fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} hris_list_locations: "": parameters: @@ -3884,13 +5173,53 @@ examples: x-account-id: "" responses: "200": - application/json: {"data": []} - hris_list_time_off_requests: + application/json: {"data": []} + speakeasy-default-hris-list-locations: + parameters: + query: + raw: false + fields: "id,remote_id,employee_id,remote_employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + hris_list_time_off_requests: + "": + parameters: + query: + raw: false + fields: "id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"approver_id": "1687-4", "created_date": "2021-01-01T01:01:01.000Z", "duration": "P3Y6M4DT12H30M5S", "employee_id": "1687-3", "end_date": "2021-01-01T01:01:01.000Z", "end_half_day": true, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_approver_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "start_half_day": true, "updated_date": "2021-01-01T01:01:01.000Z"}, {"approver_id": "1687-4", "created_date": "2021-01-01T01:01:01.000Z", "duration": "P3Y6M4DT12H30M5S", "employee_id": "1687-3", "end_date": "2021-01-01T01:01:01.000Z", "end_half_day": true, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_approver_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "start_half_day": true, "updated_date": "2021-01-01T01:01:01.000Z"}]} + speakeasy-default-hris-list-time-off-requests: + parameters: + query: + raw: false + fields: "id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"approver_id": "1687-4", "created_date": "2021-01-01T01:01:01.000Z", "duration": "P3Y6M4DT12H30M5S", "employee_id": "1687-3", "end_date": "2021-01-01T01:01:01.000Z", "end_half_day": true, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_approver_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "start_half_day": true, "updated_date": "2021-01-01T01:01:01.000Z"}, {"approver_id": "1687-4", "created_date": "2021-01-01T01:01:01.000Z", "duration": "P3Y6M4DT12H30M5S", "employee_id": "1687-3", "end_date": "2021-01-01T01:01:01.000Z", "end_half_day": true, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_approver_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "start_half_day": true, "updated_date": "2021-01-01T01:01:01.000Z"}]} + hris_list_time_off_types: "": parameters: query: raw: false - fields: "id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,created_at,updated_at" + fields: "id,remote_id,name,active" filter: {"updated_after": "2020-01-01T00:00:00.000Z"} page_size: "25" updated_after: "2020-01-01T00:00:00.000Z" @@ -3898,9 +5227,8 @@ examples: x-account-id: "" responses: "200": - application/json: {"data": [{"approver_id": "1687-4", "created_date": "2021-01-01T01:01:01.000Z", "duration": "P3Y6M4DT12H30M5S", "employee_id": "1687-3", "end_date": "2021-01-01T01:01:01.000Z", "end_half_day": true, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_approver_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "start_half_day": true, "updated_date": "2021-01-01T01:01:01.000Z"}, {"approver_id": "1687-4", "created_date": "2021-01-01T01:01:01.000Z", "duration": "P3Y6M4DT12H30M5S", "employee_id": "1687-3", "end_date": "2021-01-01T01:01:01.000Z", "end_half_day": true, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_approver_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_date": "2021-01-01T01:01:01.000Z", "start_half_day": true, "updated_date": "2021-01-01T01:01:01.000Z"}]} - hris_list_time_off_types: - "": + application/json: {"data": [{"active": true, "id": "1687-3", "name": "1687-4", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]} + speakeasy-default-hris-list-time-off-types: parameters: query: raw: false @@ -3921,10 +5249,10 @@ examples: header: x-account-id: "" requestBody: - application/json: {"avatar_url": "https://example.com/avatar.png", "benefits": [{"created_at": "2021-01-01T00:00:00Z", "description": "Health insurance for employees", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Health Insurance", "provider": "Aetna", "updated_at": "2021-01-01T00:00:00Z"}], "birthday": "2021-01-01T00:00:00Z", "citizenships": [{"value": "US"}, {"value": "US"}], "company_name": "Example Corp", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "date_of_birth": "1990-01-01T00:00.000Z", "department": "Physics", "department_id": "3093", "display_name": "Sir Issac Newton", "employee_number": "125", "employments": [{"effective_date": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job_title": "Software Engineer", "pay_currency": "USD", "pay_rate": "40.00", "time_worked": "P0Y0M0DT8H0M0S", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}], "first_name": "Issac", "hire_date": "2021-01-01T00:00.000Z", "home_location": {"city": "Grantham", "country": {"value": "US"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Woolsthorpe Manor", "passthrough": {"other_known_names": "John Doe"}, "phone_number": "+44 1476 860 364", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "zip_code": "NG33 5NR"}, "job_id": "R-6789", "job_title": "Physicist", "last_name": "Newton", "manager_id": "67890", "name": "Issac Newton", "national_identity_number": {"country": {"value": "US"}, "type": {"value": "ssn"}, "value": "123456789"}, "passthrough": {"other_known_names": "John Doe"}, "personal_email": "isaac.newton@example.com", "personal_phone_number": "+1234567890", "start_date": "2021-01-01T00:00.000Z", "tenure": 2, "termination_date": "2021-01-01T00:00:00Z", "work_anniversary": "2021-01-01T00:00:00Z", "work_email": "newton@example.com", "work_location": {"city": "Grantham", "country": {"value": "US"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Woolsthorpe Manor", "passthrough": {"other_known_names": "John Doe"}, "phone_number": "+44 1476 860 364", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "zip_code": "NG33 5NR"}, "work_phone_number": "+1234567890"} + application/json: {"avatar_url": "https://example.com/avatar.png", "benefits": [{"created_at": "2021-01-01T00:00:00Z", "description": "Health insurance for employees", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Health Insurance", "provider": "Aetna", "updated_at": "2021-01-01T00:00:00Z"}], "birthday": "2021-01-01T00:00:00Z", "citizenships": [{"value": "US"}, {"value": "US"}], "company_name": "Example Corp", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "date_of_birth": "1990-01-01T00:00.000Z", "department": "Physics", "department_id": "3093", "display_name": "Sir Issac Newton", "employee_number": "125", "first_name": "Issac", "hire_date": "2021-01-01T00:00.000Z", "home_location": {"city": "Grantham", "country": {"value": "US"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Woolsthorpe Manor", "passthrough": {"other_known_names": "John Doe"}, "phone_number": "+44 1476 860 364", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "zip_code": "NG33 5NR"}, "job_id": "R-6789", "job_title": "Physicist", "last_name": "Newton", "manager_id": "67890", "name": "Issac Newton", "national_identity_number": {"country": {"value": "US"}, "type": {"value": "ssn"}, "value": "123456789"}, "passthrough": {"other_known_names": "John Doe"}, "personal_email": "isaac.newton@example.com", "personal_phone_number": "+1234567890", "start_date": "2021-01-01T00:00.000Z", "tenure": 2, "termination_date": "2021-01-01T00:00:00Z", "work_anniversary": "2021-01-01T00:00:00Z", "work_email": "newton@example.com", "work_location": {"city": "Grantham", "country": {"value": "US"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Woolsthorpe Manor", "passthrough": {"other_known_names": "John Doe"}, "phone_number": "+44 1476 860 364", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "zip_code": "NG33 5NR"}, "work_phone_number": "+1234567890"} responses: "200": - application/json: {"avatar_url": "https://example.com/avatar.png", "benefits": [{"created_at": "2021-01-01T00:00:00Z", "description": "Health insurance for employees", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Health Insurance", "provider": "Aetna", "updated_at": "2021-01-01T00:00:00Z"}, {"created_at": "2021-01-01T00:00:00Z", "description": "Health insurance for employees", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Health Insurance", "provider": "Aetna", "updated_at": "2021-01-01T00:00:00Z"}, {"created_at": "2021-01-01T00:00:00Z", "description": "Health insurance for employees", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Health Insurance", "provider": "Aetna", "updated_at": "2021-01-01T00:00:00Z"}], "birthday": "2021-01-01T00:00:00Z", "citizenships": [{"value": "US"}, {"value": "US"}], "company_name": "Example Corp", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "date_of_birth": "1990-01-01T00:00.000Z", "department": "Physics", "department_id": "3093", "display_name": "Sir Issac Newton", "employee_number": "125", "employments": [{"effective_date": "2021-01-01T01:01:01.000Z", "employee_id": "1687-3", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job_title": "Software Engineer", "pay_currency": "USD", "pay_rate": "40.00", "time_worked": "P0Y0M0DT8H0M0S", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}], "first_name": "Issac", "hire_date": "2021-01-01T00:00.000Z", "home_location": {"city": "Grantham", "country": {"value": "US"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Woolsthorpe Manor", "passthrough": {"other_known_names": "John Doe"}, "phone_number": "+44 1476 860 364", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "zip_code": "NG33 5NR"}, "job_id": "R-6789", "job_title": "Physicist", "last_name": "Newton", "manager_id": "67890", "name": "Issac Newton", "national_identity_number": {"country": {"value": "US"}, "type": {"value": "ssn"}, "value": "123456789"}, "personal_email": "isaac.newton@example.com", "personal_phone_number": "+1234567890", "start_date": "2021-01-01T00:00.000Z", "tenure": 2, "termination_date": "2021-01-01T00:00:00Z", "work_anniversary": "2021-01-01T00:00:00Z", "work_email": "newton@example.com", "work_location": {"city": "Grantham", "country": {"value": "US"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Woolsthorpe Manor", "passthrough": {"other_known_names": "John Doe"}, "phone_number": "+44 1476 860 364", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "zip_code": "NG33 5NR"}, "work_phone_number": "+1234567890"} + application/json: {"avatar_url": "https://example.com/avatar.png", "benefits": [{"created_at": "2021-01-01T00:00:00Z", "description": "Health insurance for employees", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Health Insurance", "provider": "Aetna", "updated_at": "2021-01-01T00:00:00Z"}, {"created_at": "2021-01-01T00:00:00Z", "description": "Health insurance for employees", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Health Insurance", "provider": "Aetna", "updated_at": "2021-01-01T00:00:00Z"}, {"created_at": "2021-01-01T00:00:00Z", "description": "Health insurance for employees", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Health Insurance", "provider": "Aetna", "updated_at": "2021-01-01T00:00:00Z"}], "birthday": "2021-01-01T00:00:00Z", "citizenships": [{"value": "US"}, {"value": "US"}], "company_name": "Example Corp", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "value": "Completed", "value_id": "value_456"}], "date_of_birth": "1990-01-01T00:00.000Z", "department": "Physics", "department_id": "3093", "display_name": "Sir Issac Newton", "employee_number": "125", "first_name": "Issac", "hire_date": "2021-01-01T00:00.000Z", "home_location": {"city": "Grantham", "country": {"value": "US"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Woolsthorpe Manor", "passthrough": {"other_known_names": "John Doe"}, "phone_number": "+44 1476 860 364", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "zip_code": "NG33 5NR"}, "job_id": "R-6789", "job_title": "Physicist", "last_name": "Newton", "manager_id": "67890", "name": "Issac Newton", "national_identity_number": {"country": {"value": "US"}, "type": {"value": "ssn"}, "value": "123456789"}, "personal_email": "isaac.newton@example.com", "personal_phone_number": "+1234567890", "start_date": "2021-01-01T00:00.000Z", "tenure": 2, "termination_date": "2021-01-01T00:00:00Z", "work_anniversary": "2021-01-01T00:00:00Z", "work_email": "newton@example.com", "work_location": {"city": "Grantham", "country": {"value": "US"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Woolsthorpe Manor", "passthrough": {"other_known_names": "John Doe"}, "phone_number": "+44 1476 860 364", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "zip_code": "NG33 5NR"}, "work_phone_number": "+1234567890"} hris_update_employee_employment: speakeasy-default-hris-update-employee-employment: parameters: @@ -3986,6 +5314,19 @@ examples: responses: "200": application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_parent_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "roles": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "team"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-iam-get-group: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,parent_id,remote_parent_id,name,description,roles,type,created_at,updated_at" + expand: "roles" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_parent_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "roles": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "team"}, "updated_at": "2021-01-01T01:01:01.000Z"}} iam_get_policy: "": parameters: @@ -4000,6 +5341,19 @@ examples: responses: "200": application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-iam-get-policy: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,permissions,description,created_at,updated_at" + expand: "permissions" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}} iam_get_role: "": parameters: @@ -4014,6 +5368,19 @@ examples: responses: "200": application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-iam-get-role: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,type,policies,description,created_at,updated_at" + expand: "policies" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}} iam_get_user: "": parameters: @@ -4028,6 +5395,19 @@ examples: responses: "200": application/json: {"data": {"avatar": {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "updated_at": "2021-01-02T01:01:01.000Z"}, "created_at": "2021-01-01T01:01:01.000Z", "first_name": "Han", "groups": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_parent_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "roles": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "team"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_parent_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "roles": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "team"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "is_bot_user": true, "last_active_at": "2021-01-01T01:01:01.000Z", "last_login_at": "2021-01-01T01:01:01.000Z", "last_name": "Solo", "multi_factor_enabled": [{"value": "totp"}, {"value": "totp"}], "name": "Han Solo", "primary_email_address": "han@stackone.com", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "roles": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "status": {"value": "enabled"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z", "username": "hansolo1977"}} + speakeasy-default-iam-get-user: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,first_name,last_name,name,primary_email_address,username,roles,groups,status,avatar,is_bot_user,last_active_at,last_login_at,created_at,updated_at,multi_factor_enabled" + expand: "roles,groups" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"avatar": {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "updated_at": "2021-01-02T01:01:01.000Z"}, "created_at": "2021-01-01T01:01:01.000Z", "first_name": "Han", "groups": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_parent_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "roles": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "team"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_parent_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "roles": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "team"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "is_bot_user": true, "last_active_at": "2021-01-01T01:01:01.000Z", "last_login_at": "2021-01-01T01:01:01.000Z", "last_name": "Solo", "multi_factor_enabled": [{"value": "totp"}, {"value": "totp"}], "name": "Han Solo", "primary_email_address": "han@stackone.com", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "roles": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "status": {"value": "enabled"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z", "username": "hansolo1977"}} iam_list_groups: "": parameters: @@ -4043,6 +5423,20 @@ examples: responses: "200": application/json: {"data": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_parent_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "roles": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "team"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} + speakeasy-default-iam-list-groups: + parameters: + query: + raw: false + fields: "id,remote_id,parent_id,remote_parent_id,name,description,roles,type,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + expand: "roles" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_parent_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "roles": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "team"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} iam_list_policies: "": parameters: @@ -4058,6 +5452,20 @@ examples: responses: "200": application/json: {"data": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}]} + speakeasy-default-iam-list-policies: + parameters: + query: + raw: false + fields: "id,remote_id,name,permissions,description,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + expand: "permissions" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}]} iam_list_roles: "": parameters: @@ -4073,6 +5481,20 @@ examples: responses: "200": application/json: {"data": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} + speakeasy-default-iam-list-roles: + parameters: + query: + raw: false + fields: "id,remote_id,name,type,policies,description,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + expand: "policies" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} iam_list_users: "": parameters: @@ -4088,6 +5510,20 @@ examples: responses: "200": application/json: {"data": [{"avatar": {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "updated_at": "2021-01-02T01:01:01.000Z"}, "created_at": "2021-01-01T01:01:01.000Z", "first_name": "Han", "groups": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_parent_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "roles": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "team"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_parent_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "roles": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "team"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "is_bot_user": true, "last_active_at": "2021-01-01T01:01:01.000Z", "last_login_at": "2021-01-01T01:01:01.000Z", "last_name": "Solo", "multi_factor_enabled": [{"value": "totp"}, {"value": "totp"}], "name": "Han Solo", "primary_email_address": "han@stackone.com", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "roles": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "status": {"value": "enabled"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z", "username": "hansolo1977"}, {"avatar": {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "updated_at": "2021-01-02T01:01:01.000Z"}, "created_at": "2021-01-01T01:01:01.000Z", "first_name": "Han", "groups": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_parent_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "roles": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "team"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_parent_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "roles": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "team"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_parent_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "roles": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "team"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "is_bot_user": true, "last_active_at": "2021-01-01T01:01:01.000Z", "last_login_at": "2021-01-01T01:01:01.000Z", "last_name": "Solo", "multi_factor_enabled": [{"value": "totp"}, {"value": "totp"}], "name": "Han Solo", "primary_email_address": "han@stackone.com", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "roles": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "status": {"value": "enabled"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z", "username": "hansolo1977"}]} + speakeasy-default-iam-list-users: + parameters: + query: + raw: false + fields: "id,remote_id,first_name,last_name,name,primary_email_address,username,roles,groups,status,avatar,is_bot_user,last_active_at,last_login_at,created_at,updated_at,multi_factor_enabled" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + expand: "roles,groups" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"avatar": {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "updated_at": "2021-01-02T01:01:01.000Z"}, "created_at": "2021-01-01T01:01:01.000Z", "first_name": "Han", "groups": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_parent_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "roles": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "team"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_parent_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "roles": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "team"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "is_bot_user": true, "last_active_at": "2021-01-01T01:01:01.000Z", "last_login_at": "2021-01-01T01:01:01.000Z", "last_name": "Solo", "multi_factor_enabled": [{"value": "totp"}, {"value": "totp"}], "name": "Han Solo", "primary_email_address": "han@stackone.com", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "roles": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "status": {"value": "enabled"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z", "username": "hansolo1977"}, {"avatar": {"category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "file_format": {"source_value": "abc", "value": "pdf"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "path": "/path/to/file", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_url": "https://example.com/file.pdf", "updated_at": "2021-01-02T01:01:01.000Z"}, "created_at": "2021-01-01T01:01:01.000Z", "first_name": "Han", "groups": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_parent_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "roles": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "team"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_parent_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "roles": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "team"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_parent_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "roles": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "team"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "is_bot_user": true, "last_active_at": "2021-01-01T01:01:01.000Z", "last_login_at": "2021-01-01T01:01:01.000Z", "last_name": "Solo", "multi_factor_enabled": [{"value": "totp"}, {"value": "totp"}], "name": "Han Solo", "primary_email_address": "han@stackone.com", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "roles": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "policies": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Remote Contractor Policy", "permissions": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "read:users", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "resources": [{"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"created_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "location": "s3://bucket-name/folder-name", "name": "Company History Records", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "file"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "type": {"value": "read_write"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T01:01:01.000Z"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"value": "admin"}, "updated_at": "2021-01-01T01:01:01.000Z"}], "status": {"value": "enabled"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z", "username": "hansolo1977"}]} lms_batch_upsert_content: speakeasy-default-lms-batch-upsert-content: parameters: @@ -4167,6 +5603,18 @@ examples: responses: "200": application/json: {"data": {"active": true, "id": "16873-IT345", "language": {"value": "en_GB"}, "name": "Information-Technology", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} + speakeasy-default-lms-get-category: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,active,level,language" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"active": true, "id": "16873-IT345", "language": {"value": "en_GB"}, "name": "Information-Technology", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} lms_get_completion: speakeasy-default-lms-get-completion: parameters: @@ -4192,6 +5640,18 @@ examples: responses: "200": application/json: {"data": {"active": true, "categories": [{"id": "12345", "name": "Technology"}], "content_url": "https://www.youtube.com/watch?v=16873", "course_ids": ["16873-SOFTWARE-ENG-COURSE", "16874-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "description": "This video acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "languages": [{"value": "en_GB"}, {"value": "en_GB"}, {"value": "en_GB"}], "order": 1, "provider": "Content Provider", "remote_course_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "short_description": "This course is a valuable resource and acts as learning content for...", "skills": [{"id": "12345", "name": "Sales Techniques"}], "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} + speakeasy-default-lms-get-content: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,external_reference,course_ids,remote_course_ids,title,description,short_description,additional_data,languages,content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"active": true, "additional_data": [{"id": "learning_outcomes", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "learning_outcomes", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "learning_outcomes", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "categories": [{"id": "16873-IT345", "name": "Information-Technology"}], "content_url": "https://www.youtube.com/watch?v=16873", "course_ids": ["16873-SOFTWARE-ENG-COURSE", "16874-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "description": "This video acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "languages": [{"value": "en_GB"}], "order": 1, "provider": "Content Provider", "remote_course_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "skills": [{"id": "16873-IT345", "name": "Information-Technology"}], "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}} lms_get_course: "": parameters: @@ -4205,6 +5665,18 @@ examples: responses: "200": application/json: {"data": {"active": true, "categories": [{"id": "12345", "name": "Technology"}], "content_ids": ["16873-SOFTWARE-ENG-COURSE", "16874-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "created_at": "2021-07-21T14:00:00.000Z", "description": "This course acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "languages": [{"value": "en_GB"}], "provider": "Course Provider", "remote_content_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "skills": [{"id": "12345", "name": "Sales Techniques"}], "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-07-21T14:00:00.000Z", "url": "https://www.linkedinlearning.com/?v=16873"}} + speakeasy-default-lms-get-course: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,external_reference,content_ids,remote_content_ids,title,description,languages,cover_url,url,active,duration,categories,skills,updated_at,created_at,content,provider" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"active": true, "categories": [{"id": "16873-IT345", "name": "Information-Technology"}], "content_ids": ["16873-SOFTWARE-ENG-COURSE", "16874-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "created_at": "2021-07-21T14:00:00.000Z", "description": "This course acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "languages": [{"value": "en_GB"}], "provider": "Course Provider", "remote_content_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "skills": [{"id": "16873-IT345", "name": "Information-Technology"}], "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-07-21T14:00:00.000Z", "url": "https://www.linkedinlearning.com/?v=16873"}} lms_get_skill: "": parameters: @@ -4218,6 +5690,18 @@ examples: responses: "200": application/json: {"data": {"active": true, "id": "16873-IT345", "name": "Information-Technology", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} + speakeasy-default-lms-get-skill: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,active,level" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"active": true, "id": "16873-IT345", "name": "Information-Technology", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} lms_get_user: "": parameters: @@ -4231,6 +5715,18 @@ examples: responses: "200": application/json: {"data": {"active": true, "created_at": "2021-01-01T01:01:01.000Z", "email": "john@dew.com", "external_reference": "al60043", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "John Dew", "phone_number": "+1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-lms-get-user: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,external_reference,active,email,phone_number,created_at,updated_at,name" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"active": true, "created_at": "2021-01-01T01:01:01.000Z", "email": "john@dew.com", "external_reference": "al60043", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "John Dew", "phone_number": "+1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}} lms_get_user_assignment: speakeasy-default-lms-get-user-assignment: parameters: @@ -4262,23 +5758,119 @@ examples: parameters: query: raw: false - fields: "id,remote_id,external_reference,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status,progress,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference" + fields: "id,remote_id,external_reference,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status,progress,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + user_id: "c28xyrc55866bvuv" + remote_user_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + speakeasy-default-lms-list-assignments: + parameters: + query: + raw: false + fields: "id,remote_id,external_reference,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status,progress,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + user_id: "c28xyrc55866bvuv" + remote_user_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + lms_list_categories: + "": + parameters: + query: + raw: false + fields: "id,remote_id,name,active,level,language" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + speakeasy-default-lms-list-categories: + parameters: + query: + raw: false + fields: "id,remote_id,name,active,level,language" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + lms_list_completions: + "": + parameters: + query: + raw: false + fields: "id,remote_id,external_id,remote_external_id,external_reference,content_id,remote_content_id,course_id,remote_course_id,user_id,remote_user_id,completed_at,updated_at,created_at,result,content_external_reference,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + speakeasy-default-lms-list-completions: + parameters: + query: + raw: false + fields: "id,remote_id,external_id,remote_external_id,external_reference,content_id,remote_content_id,course_id,remote_course_id,user_id,remote_user_id,completed_at,updated_at,created_at,result,content_external_reference,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} + lms_list_content: + "": + parameters: + query: + raw: false + fields: "id,remote_id,external_reference,course_ids,remote_course_ids,title,description,short_description,languages,content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"active": true, "categories": [{"id": "12345", "name": "Technology"}], "content_url": "https://www.youtube.com/watch?v=16873", "course_ids": ["16873-SOFTWARE-ENG-COURSE", "16874-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "description": "This video acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "languages": [{"value": "en_GB"}], "order": 1, "provider": "Content Provider", "remote_course_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "short_description": "This course is a valuable resource and acts as learning content for...", "skills": [{"id": "12345", "name": "Sales Techniques"}], "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, {"active": true, "categories": [{"id": "12345", "name": "Technology"}], "content_url": "https://www.youtube.com/watch?v=16873", "course_ids": ["16873-SOFTWARE-ENG-COURSE", "16874-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "description": "This video acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "languages": [{"value": "en_GB"}], "order": 1, "provider": "Content Provider", "remote_course_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "short_description": "This course is a valuable resource and acts as learning content for...", "skills": [{"id": "12345", "name": "Sales Techniques"}], "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, {"active": true, "categories": [{"id": "12345", "name": "Technology"}], "content_url": "https://www.youtube.com/watch?v=16873", "course_ids": ["16873-SOFTWARE-ENG-COURSE", "16874-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "description": "This video acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "languages": [{"value": "en_GB"}, {"value": "en_GB"}, {"value": "en_GB"}], "order": 1, "provider": "Content Provider", "remote_course_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "short_description": "This course is a valuable resource and acts as learning content for...", "skills": [{"id": "12345", "name": "Sales Techniques"}], "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}]} + speakeasy-default-lms-list-content: + parameters: + query: + raw: false + fields: "id,remote_id,external_reference,course_ids,remote_course_ids,title,description,short_description,additional_data,languages,content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider" filter: {"updated_after": "2020-01-01T00:00:00.000Z"} page_size: "25" updated_after: "2020-01-01T00:00:00.000Z" - user_id: "c28xyrc55866bvuv" - remote_user_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48" header: x-account-id: "" responses: "200": - application/json: {"data": []} - lms_list_categories: + application/json: {"data": [{"active": true, "additional_data": [{"id": "learning_outcomes", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "categories": [{"id": "16873-IT345", "name": "Information-Technology"}], "content_url": "https://www.youtube.com/watch?v=16873", "course_ids": ["16873-SOFTWARE-ENG-COURSE", "16874-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "description": "This video acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "languages": [{"value": "en_GB"}], "order": 1, "provider": "Content Provider", "remote_course_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "skills": [{"id": "16873-IT345", "name": "Information-Technology"}], "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, {"active": true, "additional_data": [{"id": "learning_outcomes", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "learning_outcomes", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "learning_outcomes", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "categories": [{"id": "16873-IT345", "name": "Information-Technology"}], "content_url": "https://www.youtube.com/watch?v=16873", "course_ids": ["16873-SOFTWARE-ENG-COURSE", "16874-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "description": "This video acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "languages": [{"value": "en_GB"}], "order": 1, "provider": "Content Provider", "remote_course_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "skills": [{"id": "16873-IT345", "name": "Information-Technology"}], "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, {"active": true, "additional_data": [{"id": "learning_outcomes", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "learning_outcomes", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "categories": [{"id": "16873-IT345", "name": "Information-Technology"}], "content_url": "https://www.youtube.com/watch?v=16873", "course_ids": ["16873-SOFTWARE-ENG-COURSE", "16874-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "description": "This video acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "languages": [{"value": "en_GB"}, {"value": "en_GB"}, {"value": "en_GB"}], "order": 1, "provider": "Content Provider", "remote_course_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "skills": [{"id": "16873-IT345", "name": "Information-Technology"}], "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}]} + lms_list_courses: "": parameters: query: raw: false - fields: "id,remote_id,name,active,level,language" + fields: "id,remote_id,external_reference,content_ids,remote_content_ids,title,description,languages,cover_url,url,active,duration,categories,skills,updated_at,created_at,content,provider" filter: {"updated_after": "2020-01-01T00:00:00.000Z"} page_size: "25" updated_after: "2020-01-01T00:00:00.000Z" @@ -4286,13 +5878,12 @@ examples: x-account-id: "" responses: "200": - application/json: {"data": []} - lms_list_completions: - "": + application/json: {"data": [{"active": true, "categories": [{"id": "12345", "name": "Technology"}], "content_ids": ["16873-SOFTWARE-ENG-COURSE", "16874-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "created_at": "2021-07-21T14:00:00.000Z", "description": "This course acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "languages": [{"value": "en_GB"}, {"value": "en_GB"}], "provider": "Course Provider", "remote_content_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "skills": [{"id": "12345", "name": "Sales Techniques"}], "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-07-21T14:00:00.000Z", "url": "https://www.linkedinlearning.com/?v=16873"}]} + speakeasy-default-lms-list-courses: parameters: query: raw: false - fields: "id,remote_id,external_id,remote_external_id,external_reference,content_id,remote_content_id,course_id,remote_course_id,user_id,remote_user_id,completed_at,updated_at,created_at,result,content_external_reference,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference" + fields: "id,remote_id,external_reference,content_ids,remote_content_ids,title,description,languages,cover_url,url,active,duration,categories,skills,updated_at,created_at,content,provider" filter: {"updated_after": "2020-01-01T00:00:00.000Z"} page_size: "25" updated_after: "2020-01-01T00:00:00.000Z" @@ -4300,13 +5891,13 @@ examples: x-account-id: "" responses: "200": - application/json: {"data": []} - lms_list_content: + application/json: {"data": [{"active": true, "categories": [{"id": "16873-IT345", "name": "Information-Technology"}], "content_ids": ["16873-SOFTWARE-ENG-COURSE", "16874-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "created_at": "2021-07-21T14:00:00.000Z", "description": "This course acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "languages": [{"value": "en_GB"}, {"value": "en_GB"}], "provider": "Course Provider", "remote_content_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "skills": [{"id": "16873-IT345", "name": "Information-Technology"}], "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-07-21T14:00:00.000Z", "url": "https://www.linkedinlearning.com/?v=16873"}]} + lms_list_skills: "": parameters: query: raw: false - fields: "id,remote_id,external_reference,course_ids,remote_course_ids,title,description,short_description,languages,content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider" + fields: "id,remote_id,name,active,level" filter: {"updated_after": "2020-01-01T00:00:00.000Z"} page_size: "25" updated_after: "2020-01-01T00:00:00.000Z" @@ -4314,13 +5905,12 @@ examples: x-account-id: "" responses: "200": - application/json: {"data": [{"active": true, "categories": [{"id": "12345", "name": "Technology"}], "content_url": "https://www.youtube.com/watch?v=16873", "course_ids": ["16873-SOFTWARE-ENG-COURSE", "16874-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "description": "This video acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "languages": [{"value": "en_GB"}], "order": 1, "provider": "Content Provider", "remote_course_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "short_description": "This course is a valuable resource and acts as learning content for...", "skills": [{"id": "12345", "name": "Sales Techniques"}], "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, {"active": true, "categories": [{"id": "12345", "name": "Technology"}], "content_url": "https://www.youtube.com/watch?v=16873", "course_ids": ["16873-SOFTWARE-ENG-COURSE", "16874-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "description": "This video acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "languages": [{"value": "en_GB"}], "order": 1, "provider": "Content Provider", "remote_course_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "short_description": "This course is a valuable resource and acts as learning content for...", "skills": [{"id": "12345", "name": "Sales Techniques"}], "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, {"active": true, "categories": [{"id": "12345", "name": "Technology"}], "content_url": "https://www.youtube.com/watch?v=16873", "course_ids": ["16873-SOFTWARE-ENG-COURSE", "16874-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "description": "This video acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "languages": [{"value": "en_GB"}, {"value": "en_GB"}, {"value": "en_GB"}], "order": 1, "provider": "Content Provider", "remote_course_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "short_description": "This course is a valuable resource and acts as learning content for...", "skills": [{"id": "12345", "name": "Sales Techniques"}], "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}]} - lms_list_courses: - "": + application/json: {"data": [{"active": true, "id": "16873-IT345", "name": "Information-Technology", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"active": true, "id": "16873-IT345", "name": "Information-Technology", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]} + speakeasy-default-lms-list-skills: parameters: query: raw: false - fields: "id,remote_id,external_reference,content_ids,remote_content_ids,title,description,languages,cover_url,url,active,duration,categories,skills,updated_at,created_at,content,provider" + fields: "id,remote_id,name,active,level" filter: {"updated_after": "2020-01-01T00:00:00.000Z"} page_size: "25" updated_after: "2020-01-01T00:00:00.000Z" @@ -4328,23 +5918,26 @@ examples: x-account-id: "" responses: "200": - application/json: {"data": [{"active": true, "categories": [{"id": "12345", "name": "Technology"}], "content_ids": ["16873-SOFTWARE-ENG-COURSE", "16874-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "created_at": "2021-07-21T14:00:00.000Z", "description": "This course acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "languages": [{"value": "en_GB"}, {"value": "en_GB"}], "provider": "Course Provider", "remote_content_ids": ["e3cb75bf-aa84-466e-a6c1-b8322b257a48", "e3cb75bf-aa84-466e-a6c1-b8322b257a49"], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "skills": [{"id": "12345", "name": "Sales Techniques"}], "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-07-21T14:00:00.000Z", "url": "https://www.linkedinlearning.com/?v=16873"}]} - lms_list_skills: + application/json: {"data": [{"active": true, "id": "16873-IT345", "name": "Information-Technology", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"active": true, "id": "16873-IT345", "name": "Information-Technology", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]} + lms_list_user_assignments: "": parameters: + path: + id: "" query: raw: false - fields: "id,remote_id,name,active,level" + fields: "id,remote_id,external_reference,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status,progress,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference" filter: {"updated_after": "2020-01-01T00:00:00.000Z"} page_size: "25" updated_after: "2020-01-01T00:00:00.000Z" + user_id: "c28xyrc55866bvuv" + remote_user_id: "e3cb75bf-aa84-466e-a6c1-b8322b257a48" header: x-account-id: "" responses: "200": - application/json: {"data": [{"active": true, "id": "16873-IT345", "name": "Information-Technology", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"active": true, "id": "16873-IT345", "name": "Information-Technology", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]} - lms_list_user_assignments: - "": + application/json: {"data": [{"created_at": "2021-07-21T14:00:00.000Z", "due_date": "2021-07-21T14:00:00.000Z", "external_reference": "e3gd34-23tr21-er234-345er56", "id": "123456", "learning_object_external_reference": "learning-content-123", "learning_object_id": "e3gd34-23tr21-er234-345er56", "progress": "40", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_learning_object_id": "e3cb55bf-aa84-466e-a6c1-b8302b257a49", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "status": {"value": "in_progress"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-07-21T14:00:00.000Z", "user_id": "c28xyrc55866bvuv"}, {"created_at": "2021-07-21T14:00:00.000Z", "due_date": "2021-07-21T14:00:00.000Z", "external_reference": "e3gd34-23tr21-er234-345er56", "id": "123456", "learning_object_external_reference": "learning-content-123", "learning_object_id": "e3gd34-23tr21-er234-345er56", "progress": "40", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_learning_object_id": "e3cb55bf-aa84-466e-a6c1-b8302b257a49", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "status": {"value": "in_progress"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-07-21T14:00:00.000Z", "user_id": "c28xyrc55866bvuv"}]} + speakeasy-default-lms-list-user-assignments: parameters: path: id: "" @@ -4377,6 +5970,21 @@ examples: responses: "200": application/json: {"data": []} + speakeasy-default-lms-list-user-completions: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,external_id,remote_external_id,external_reference,content_id,remote_content_id,course_id,remote_course_id,user_id,remote_user_id,completed_at,updated_at,created_at,result,content_external_reference,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} lms_list_users: "": parameters: @@ -4391,6 +5999,19 @@ examples: responses: "200": application/json: {"data": [{"active": true, "created_at": "2021-01-01T01:01:01.000Z", "email": "john@dew.com", "external_reference": "al60043", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "John Dew", "phone_number": "+1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"active": true, "created_at": "2021-01-01T01:01:01.000Z", "email": "john@dew.com", "external_reference": "al60043", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "John Dew", "phone_number": "+1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} + speakeasy-default-lms-list-users: + parameters: + query: + raw: false + fields: "id,remote_id,external_reference,active,email,phone_number,created_at,updated_at,name" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"active": true, "created_at": "2021-01-01T01:01:01.000Z", "email": "john@dew.com", "external_reference": "al60043", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "John Dew", "phone_number": "+1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}, {"active": true, "created_at": "2021-01-01T01:01:01.000Z", "email": "john@dew.com", "external_reference": "al60043", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "John Dew", "phone_number": "+1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}]} lms_update_collection: speakeasy-default-lms-update-collection: parameters: @@ -4496,6 +6117,18 @@ examples: responses: "200": application/json: {"data": {"channels": [{"source_value": "SMS", "value": "sms"}], "created_at": "2021-01-01T01:01:01.000Z", "first_sent_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_sent_at": "2021-01-01T01:01:01.000Z", "messages": [{"id": "message-id-1", "message_content": {"body": "This is an example SMS body.", "from": "1-555-123-4567"}, "message_type": {"value": "sms"}, "name": "SMS Message"}, {"id": "message-id-2", "message_content": {"body": "

This is an example

\n

email body

", "from": "Jane Smith", "preheader": "This is the preheader of the email.", "reply-to": "reply@example.com", "subject": "Example Email Subject"}, "message_type": {"value": "email"}, "name": "Email Message"}, {"id": "message-id-3", "message_content": {"body": "This is an example push notification body."}, "message_type": {"value": "ios_push"}, "name": "iOS Push Message"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "schedule_type": {"source_value": "Immediate", "value": "immediate"}, "status": {"source_value": "Email", "value": "live"}, "updated_at": "2021-01-01T01:01:01.000Z"}} + speakeasy-default-marketing-get-campaign: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,created_at,updated_at,description,schedule_type,status,channels,first_sent_at,last_sent_at,tags,messages" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"channels": [{"source_value": "SMS", "value": "sms"}], "created_at": "2021-01-01T01:01:01.000Z", "first_sent_at": "2021-01-01T01:01:01.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_sent_at": "2021-01-01T01:01:01.000Z", "messages": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_content": {"body": "This is an example SMS body.", "from": "1-555-123-4567"}, "message_type": {"value": "email"}, "name": "SMS Message"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_content": {"body": "

This is an example

\n

email body

", "from": "Jane Smith", "preheader": "This is the preheader of the email.", "reply-to": "reply@example.com", "subject": "Example Email Subject"}, "message_type": {"value": "email"}, "name": "Email Message"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_content": {"body": "This is an example push notification body."}, "message_type": {"value": "email"}, "name": "iOS Push Message"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "schedule_type": {"source_value": "Immediate", "value": "immediate"}, "status": {"source_value": "Email", "value": "live"}, "updated_at": "2021-01-01T01:01:01.000Z"}} marketing_get_content_block: "": parameters: @@ -4509,6 +6142,18 @@ examples: responses: "200": application/json: {"data": {"created_at": "2021-01-01T00:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "status": {"source_value": "active", "value": "live"}, "type": {"source_value": "text", "value": "html"}, "updated_at": "2021-01-01T00:00:00.000Z"}} + speakeasy-default-marketing-get-content-block: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,type,content,status,tags,created_at,updated_at" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T00:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "status": {"source_value": "active", "value": "live"}, "type": {"source_value": "text", "value": "html"}, "updated_at": "2021-01-01T00:00:00.000Z"}} marketing_get_email_template: "": parameters: @@ -4522,6 +6167,18 @@ examples: responses: "200": application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "messages": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} + speakeasy-default-marketing-get-email-template: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,messages,created_at,updated_at,tags" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "messages": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} marketing_get_in_app_template: "": parameters: @@ -4535,6 +6192,18 @@ examples: responses: "200": application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "messages": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} + speakeasy-default-marketing-get-in-app-template: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,messages,created_at,updated_at,tags" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "messages": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} marketing_get_omni_channel_template: "": parameters: @@ -4548,6 +6217,18 @@ examples: responses: "200": application/json: {"data": {"created_at": "2021-01-01T00:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T00:00:00.000Z"}} + speakeasy-default-marketing-get-omni-channel-template: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,messages,created_at,updated_at,tags" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"created_at": "2021-01-01T00:00:00.000Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2021-01-01T00:00:00.000Z"}} marketing_get_push_template: "": parameters: @@ -4561,6 +6242,18 @@ examples: responses: "200": application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "messages": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} + speakeasy-default-marketing-get-push-template: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,messages,created_at,updated_at,tags" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "messages": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} marketing_get_sms_template: "": parameters: @@ -4574,6 +6267,18 @@ examples: responses: "200": application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "messages": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} + speakeasy-default-marketing-get-sms-template: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,name,messages,created_at,updated_at,tags" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "messages": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} marketing_list_campaigns: "": parameters: @@ -4588,6 +6293,19 @@ examples: responses: "200": application/json: {"data": []} + speakeasy-default-marketing-list-campaigns: + parameters: + query: + raw: false + fields: "id,remote_id,name,created_at,updated_at,description,schedule_type,status,channels,first_sent_at,last_sent_at,tags,messages" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} marketing_list_content_blocks: "": parameters: @@ -4602,6 +6320,19 @@ examples: responses: "200": application/json: {"data": []} + speakeasy-default-marketing-list-content-blocks: + parameters: + query: + raw: false + fields: "id,remote_id,name,type,content,status,tags,created_at,updated_at" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} marketing_list_email_templates: "": parameters: @@ -4616,6 +6347,19 @@ examples: responses: "200": application/json: {"data": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "messages": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]} + speakeasy-default-marketing-list-email-templates: + parameters: + query: + raw: false + fields: "id,remote_id,name,messages,created_at,updated_at,tags" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "messages": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]} marketing_list_in_app_templates: "": parameters: @@ -4630,6 +6374,19 @@ examples: responses: "200": application/json: {"data": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "messages": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]} + speakeasy-default-marketing-list-in-app-templates: + parameters: + query: + raw: false + fields: "id,remote_id,name,messages,created_at,updated_at,tags" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "messages": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]} marketing_list_omni_channel_templates: "": parameters: @@ -4644,6 +6401,19 @@ examples: responses: "200": application/json: {"data": []} + speakeasy-default-marketing-list-omni-channel-templates: + parameters: + query: + raw: false + fields: "id,remote_id,name,messages,created_at,updated_at,tags" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": []} marketing_list_push_templates: "": parameters: @@ -4658,6 +6428,19 @@ examples: responses: "200": application/json: {"data": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "messages": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "messages": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "messages": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]} + speakeasy-default-marketing-list-push-templates: + parameters: + query: + raw: false + fields: "id,remote_id,name,messages,created_at,updated_at,tags" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "messages": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "messages": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "messages": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]} marketing_list_sms_templates: "": parameters: @@ -4672,6 +6455,19 @@ examples: responses: "200": application/json: {"data": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "messages": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "messages": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "messages": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]} + speakeasy-default-marketing-list-sms-templates: + parameters: + query: + raw: false + fields: "id,remote_id,name,messages,created_at,updated_at,tags" + filter: {"updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "messages": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "messages": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "messages": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "message_type": {"source_value": "Email", "value": "email"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]} marketing_update_content_block: speakeasy-default-marketing-update-content-block: parameters: @@ -4763,5 +6559,52 @@ examples: responses: "207": application/json: [{"event": "hris_employees.created", "message": "The event was created", "record_id": "", "status": 200}, {"event": "hris_employees.created", "message": "The event was created", "record_id": "", "status": 200}] + ats_order_assessments_request: + speakeasy-default-ats-order-assessments-request: + parameters: + header: + x-account-id: "" + requestBody: + application/json: {"application": {"application_status": {"source_value": "Hired", "value": "hired"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "candidate": {"emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "Romain", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Sestier", "passthrough": {"other_known_names": "John Doe"}, "profile_url": "https://exmaple.com/candidate?id=xyz", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job": {"hiring_team": [{"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer"}, "package": {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "passthrough": {"other_known_names": "John Doe"}, "requester": {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, "results_update_url": "https://exmaple.com/integrations/results/update"} + responses: + "200": + application/json: {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "test_url": "https://exmaple.com/integrations/candidate/test"} + ats_order_background_check_request: + speakeasy-default-ats-order-background-check-request: + parameters: + header: + x-account-id: "" + requestBody: + application/json: {"application": {"application_status": {"source_value": "Hired", "value": "hired"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "candidate": {"emails": [{"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}, {"type": "personal", "value": "sestier.romain123@gmail.com"}], "first_name": "Romain", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "last_name": "Sestier", "passthrough": {"other_known_names": "John Doe"}, "profile_url": "https://exmaple.com/candidate?id=xyz", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "job": {"hiring_team": [{"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer"}, "package": {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "tests": [{"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, {"description": "Skills test to gauge a candidate's proficiency in job-specific skills", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Test 1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}]}, "passthrough": {"other_known_names": "John Doe"}, "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "requester": {"email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "remote_user_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "role": "Software Engineer", "user_id": "123456"}, "results_update_url": "https://exmaple.com/integrations/results/update"} + responses: + "200": + application/json: {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "test_url": "https://exmaple.com/integrations/candidate/test"} + hris_get_time_entries: + speakeasy-default-hris-get-time-entries: + parameters: + path: + id: "" + query: + raw: false + fields: "id,remote_id,employee_id,remote_employee_id,start_time,end_time,hours_worked,break_duration,labor_type,location,status,created_at,updated_at" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": {"break_duration": 0.5, "created_at": "2023-02-23T00:00:00.000Z", "employee_id": "1687-3", "end_time": "2021-01-01T01:01:01.000Z", "hours_worked": 8, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "labor_type": {"code": "ABC123"}, "location": {"active": true, "id": "1687-3", "name": "1687-4", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_time": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2024-02-23T00:00:00.000Z"}} + hris_list_time_entries: + speakeasy-default-hris-list-time-entries: + parameters: + query: + raw: false + fields: "id,remote_id,employee_id,remote_employee_id,start_time,end_time,hours_worked,break_duration,labor_type,location,status,created_at,updated_at" + filter: {"end_time": "2020-01-01T00:00:00.000Z", "start_time": "2020-01-01T00:00:00.000Z", "updated_after": "2020-01-01T00:00:00.000Z"} + page_size: "25" + updated_after: "2020-01-01T00:00:00.000Z" + header: + x-account-id: "" + responses: + "200": + application/json: {"data": [{"break_duration": 0.5, "created_at": "2023-02-23T00:00:00.000Z", "employee_id": "1687-3", "end_time": "2021-01-01T01:01:01.000Z", "hours_worked": 8, "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "labor_type": {"code": "ABC123"}, "location": {"active": true, "id": "1687-3", "name": "1687-4", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "start_time": "2021-01-01T01:01:01.000Z", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2024-02-23T00:00:00.000Z"}]} examplesVersion: 1.0.0 generatedTests: {} diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 046cffcf4..0c44a7c53 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,21 +1,21 @@ -speakeasyVersion: 1.476.1 +speakeasyVersion: 1.481.0 sources: my-source: sourceNamespace: my-source - sourceRevisionDigest: sha256:81f6af029b83b6bb8cfb97190e8c6f1a8b9c6f041d24dd226aeba633c14f91e4 - sourceBlobDigest: sha256:f8a6d9c7d975ba98931c391d4c4ac608c086a2e25ff311daa50f44e0428f0017 + sourceRevisionDigest: sha256:f332da54f18670ab01874ac9ab7cab355c53b28afc0c9e88776f65782650db1d + sourceBlobDigest: sha256:3e9e3c60734a28230a0ccdabc128867221852f87180604a1f36d899164111d49 tags: - latest - - speakeasy-sdk-regen-1737968816 + - speakeasy-sdk-regen-1738334890 - 1.0.0 targets: StackOneTypeScriptClient: source: my-source sourceNamespace: my-source - sourceRevisionDigest: sha256:81f6af029b83b6bb8cfb97190e8c6f1a8b9c6f041d24dd226aeba633c14f91e4 - sourceBlobDigest: sha256:f8a6d9c7d975ba98931c391d4c4ac608c086a2e25ff311daa50f44e0428f0017 + sourceRevisionDigest: sha256:f332da54f18670ab01874ac9ab7cab355c53b28afc0c9e88776f65782650db1d + sourceBlobDigest: sha256:3e9e3c60734a28230a0ccdabc128867221852f87180604a1f36d899164111d49 codeSamplesNamespace: code-samples-typescript-stackonetypescriptclient - codeSamplesRevisionDigest: sha256:4b8d127b11cffe888c936e6ac3f357b78a70a9560b2dd5796d7cb264a90590be + codeSamplesRevisionDigest: sha256:6c731ca4668d8e11e6f05ce569418a523d3699e5cdfedf3a07a8827c2927b6a2 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/FUNCTIONS.md b/FUNCTIONS.md index 5e70b9b71..12669461d 100644 --- a/FUNCTIONS.md +++ b/FUNCTIONS.md @@ -40,8 +40,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, include: "avatar_url,avatar,custom_fields,job_description,benefits", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); diff --git a/README.md b/README.md index 7dcaafed2..20bb97ede 100755 --- a/README.md +++ b/README.md @@ -85,8 +85,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, include: "avatar_url,avatar,custom_fields,job_description,benefits", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -178,6 +176,8 @@ run(); * [listRejectedReasons](docs/sdks/ats/README.md#listrejectedreasons) - List Rejected Reasons * [listUsers](docs/sdks/ats/README.md#listusers) - List Users * [moveApplication](docs/sdks/ats/README.md#moveapplication) - Move Application +* [orderAssessmentsRequest](docs/sdks/ats/README.md#orderassessmentsrequest) - Order Assessments Request +* [orderBackgroundCheckRequest](docs/sdks/ats/README.md#orderbackgroundcheckrequest) - Order Background Check Request * [rejectApplication](docs/sdks/ats/README.md#rejectapplication) - Reject Application * [updateApplication](docs/sdks/ats/README.md#updateapplication) - Update an Application * [updateApplicationNote](docs/sdks/ats/README.md#updateapplicationnote) - Update an Application Note @@ -232,6 +232,7 @@ run(); * [getGroup](docs/sdks/hris/README.md#getgroup) - Get Group * [getJob](docs/sdks/hris/README.md#getjob) - Get Job * [getLocation](docs/sdks/hris/README.md#getlocation) - Get Location +* [getTimeEntries](docs/sdks/hris/README.md#gettimeentries) - Get Time Entry * [getTimeOffRequest](docs/sdks/hris/README.md#gettimeoffrequest) - Get time off request * [getTimeOffType](docs/sdks/hris/README.md#gettimeofftype) - Get time off type * [listBenefits](docs/sdks/hris/README.md#listbenefits) - List benefits @@ -249,6 +250,7 @@ run(); * [listGroups](docs/sdks/hris/README.md#listgroups) - List Groups * [listJobs](docs/sdks/hris/README.md#listjobs) - List Jobs * [listLocations](docs/sdks/hris/README.md#listlocations) - List locations +* [listTimeEntries](docs/sdks/hris/README.md#listtimeentries) - List Time Entries * [listTimeOffRequests](docs/sdks/hris/README.md#listtimeoffrequests) - List time off requests * [listTimeOffTypes](docs/sdks/hris/README.md#listtimeofftypes) - List time off types * [updateEmployee](docs/sdks/hris/README.md#updateemployee) - Updates an employee @@ -331,10 +333,6 @@ run(); * [proxyRequest](docs/sdks/proxy/README.md#proxyrequest) - Proxy Request -### [webhooks](docs/sdks/webhooks/README.md) - -* [create](docs/sdks/webhooks/README.md#create) - @@ -369,8 +367,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, include: "avatar_url,avatar,custom_fields,job_description,benefits", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -710,6 +706,8 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`atsListRejectedReasons`](docs/sdks/ats/README.md#listrejectedreasons) - List Rejected Reasons - [`atsListUsers`](docs/sdks/ats/README.md#listusers) - List Users - [`atsMoveApplication`](docs/sdks/ats/README.md#moveapplication) - Move Application +- [`atsOrderAssessmentsRequest`](docs/sdks/ats/README.md#orderassessmentsrequest) - Order Assessments Request +- [`atsOrderBackgroundCheckRequest`](docs/sdks/ats/README.md#orderbackgroundcheckrequest) - Order Background Check Request - [`atsRejectApplication`](docs/sdks/ats/README.md#rejectapplication) - Reject Application - [`atsUpdateApplication`](docs/sdks/ats/README.md#updateapplication) - Update an Application - [`atsUpdateApplicationNote`](docs/sdks/ats/README.md#updateapplicationnote) - Update an Application Note @@ -752,6 +750,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`hrisGetGroup`](docs/sdks/hris/README.md#getgroup) - Get Group - [`hrisGetJob`](docs/sdks/hris/README.md#getjob) - Get Job - [`hrisGetLocation`](docs/sdks/hris/README.md#getlocation) - Get Location +- [`hrisGetTimeEntries`](docs/sdks/hris/README.md#gettimeentries) - Get Time Entry - [`hrisGetTimeOffRequest`](docs/sdks/hris/README.md#gettimeoffrequest) - Get time off request - [`hrisGetTimeOffType`](docs/sdks/hris/README.md#gettimeofftype) - Get time off type - [`hrisListBenefits`](docs/sdks/hris/README.md#listbenefits) - List benefits @@ -769,6 +768,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`hrisListGroups`](docs/sdks/hris/README.md#listgroups) - List Groups - [`hrisListJobs`](docs/sdks/hris/README.md#listjobs) - List Jobs - [`hrisListLocations`](docs/sdks/hris/README.md#listlocations) - List locations +- [`hrisListTimeEntries`](docs/sdks/hris/README.md#listtimeentries) - List Time Entries - [`hrisListTimeOffRequests`](docs/sdks/hris/README.md#listtimeoffrequests) - List time off requests - [`hrisListTimeOffTypes`](docs/sdks/hris/README.md#listtimeofftypes) - List time off types - [`hrisUpdateEmployee`](docs/sdks/hris/README.md#updateemployee) - Updates an employee @@ -833,7 +833,6 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`marketingUpdatePushTemplate`](docs/sdks/marketing/README.md#updatepushtemplate) - Update Push Template - [`marketingUpdateSmsTemplate`](docs/sdks/marketing/README.md#updatesmstemplate) - Update SMS Template - [`proxyProxyRequest`](docs/sdks/proxy/README.md#proxyrequest) - Proxy Request -- [`webhooksCreate`](docs/sdks/webhooks/README.md#create) - ~~[`marketingCreateOmniChannelTemplate`](docs/sdks/marketing/README.md#createomnichanneltemplate)~~ - Create Omni-Channel Template :warning: **Deprecated** - ~~[`marketingGetOmniChannelTemplate`](docs/sdks/marketing/README.md#getomnichanneltemplate)~~ - Get Omni-Channel Template :warning: **Deprecated** - ~~[`marketingListOmniChannelTemplates`](docs/sdks/marketing/README.md#listomnichanneltemplates)~~ - List Omni-Channel Templates :warning: **Deprecated** diff --git a/RELEASES.md b/RELEASES.md index 946a9b5d0..4afdde714 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1436,4 +1436,14 @@ Based on: ### Generated - [typescript v4.17.11] . ### Releases -- [NPM v4.17.11] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.17.11 - . \ No newline at end of file +- [NPM v4.17.11] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.17.11 - . + +## 2025-01-31 14:47:52 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.481.0 (2.500.4) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v4.17.12] . +### Releases +- [NPM v4.17.12] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.17.12 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index 1d6edfad0..c3262a3a1 100644 --- a/USAGE.md +++ b/USAGE.md @@ -20,8 +20,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, include: "avatar_url,avatar,custom_fields,job_description,benefits", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); diff --git a/codeSamples.yaml b/codeSamples.yaml index 45db37ae4..0f038352f 100644 --- a/codeSamples.yaml +++ b/codeSamples.yaml @@ -8,7 +8,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "stackone_list_linked_accounts" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.accounts.listLinkedAccounts({\n pageSize: 25,\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.accounts.listLinkedAccounts({});\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/accounts/{id}"]["delete"] update: "x-codeSamples": @@ -38,7 +38,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "stackone_create_connect_session" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport { Categories } from \"@stackone/stackone-client-ts/sdk/models/shared\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.connectSessions.createConnectSession({\n categories: [\n Categories.Ats,\n Categories.Hris,\n Categories.Crm,\n Categories.Crm,\n Categories.Iam,\n Categories.Marketing,\n Categories.Lms,\n Categories.Ats,\n Categories.Documents,\n ],\n originOwnerId: \"\",\n originOwnerName: \"\",\n expiresIn: 1800,\n multiple: false,\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport { Categories } from \"@stackone/stackone-client-ts/sdk/models/shared\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.connectSessions.createConnectSession({\n categories: [\n Categories.Ats,\n Categories.Hris,\n Categories.Crm,\n Categories.Crm,\n Categories.Iam,\n Categories.Marketing,\n Categories.Lms,\n Categories.Ats,\n Categories.Documents,\n ],\n originOwnerId: \"\",\n originOwnerName: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/connect_sessions/authenticate"]["post"] update: "x-codeSamples": @@ -62,7 +62,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_list_applications" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplications({\n raw: false,\n fields: \"id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n createdAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n expand: \"documents\",\n include: \"attachments,custom_fields\",\n jobId: \"cxQiyiuasdFKfdsYfer\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplications({\n fields: \"id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n createdAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n expand: \"documents\",\n include: \"attachments,custom_fields\",\n jobId: \"cxQiyiuasdFKfdsYfer\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/applications"]["post"] update: "x-codeSamples": @@ -74,7 +74,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_get_application" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getApplication({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate\",\n expand: \"documents\",\n include: \"attachments,custom_fields\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getApplication({\n id: \"\",\n fields: \"id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate\",\n expand: \"documents\",\n include: \"attachments,custom_fields\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/applications/{id}"]["patch"] update: "x-codeSamples": @@ -86,7 +86,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_list_application_documents" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationDocuments({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationDocuments({\n id: \"\",\n fields: \"id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/applications/{id}/documents/upload"]["post"] update: "x-codeSamples": @@ -98,7 +98,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_get_application_document" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getApplicationDocument({\n id: \"\",\n subResourceId: \"\",\n raw: false,\n fields: \"id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getApplicationDocument({\n id: \"\",\n subResourceId: \"\",\n fields: \"id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/applications/{id}/documents/{subResourceId}/download"]["get"] update: "x-codeSamples": @@ -116,7 +116,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_list_application_notes" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationNotes({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationNotes({\n id: \"\",\n fields: \"id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/applications/{id}/notes"]["post"] update: "x-codeSamples": @@ -128,7 +128,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_get_application_note" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getApplicationNote({\n id: \"\",\n subResourceId: \"\",\n raw: false,\n fields: \"id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getApplicationNote({\n id: \"\",\n subResourceId: \"\",\n fields: \"id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/applications/{id}/notes/{subResourceId}"]["patch"] update: "x-codeSamples": @@ -140,13 +140,13 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_list_applications_offers" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationsOffers({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationsOffers({\n id: \"\",\n fields: \"id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/applications/{id}/offers/{subResourceId}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_get_application_offer" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getApplicationOffer({\n id: \"\",\n subResourceId: \"\",\n raw: false,\n fields: \"id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getApplicationOffer({\n id: \"\",\n subResourceId: \"\",\n fields: \"id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/applications/{id}/reject"]["post"] update: "x-codeSamples": @@ -158,73 +158,85 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_list_applications_scheduled_interviews" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationsScheduledInterviews({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,application_id,remote_application_id,interview_stage_id,remote_interview_stage_id,interview_stage,status,interview_status,interviewer_ids,remote_interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationsScheduledInterviews({\n id: \"\",\n fields: \"id,remote_id,application_id,remote_application_id,interview_stage_id,remote_interview_stage_id,interview_stage,status,interview_status,interviewer_ids,remote_interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/applications/{id}/scheduled_interviews/{subResourceId}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_get_application_scheduled_interview" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getApplicationScheduledInterview({\n id: \"\",\n subResourceId: \"\",\n raw: false,\n fields: \"id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getApplicationScheduledInterview({\n id: \"\",\n subResourceId: \"\",\n fields: \"id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/applications/{id}/scorecards"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_list_application_scorecards" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationScorecards({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,sections,label,candidate_id,remote_candidate_id,application_id,remote_application_id,interview_id,remote_interview_id,author_id,remote_author_id,overall_recommendation,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationScorecards({\n id: \"\",\n fields: \"id,remote_id,sections,label,candidate_id,remote_candidate_id,application_id,remote_application_id,interview_id,remote_interview_id,author_id,remote_author_id,overall_recommendation,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/applications/{id}/scorecards/{subResourceId}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_get_application_scorecard" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getApplicationScorecard({\n id: \"\",\n subResourceId: \"\",\n raw: false,\n fields: \"id,remote_id,sections,label,candidate_id,remote_candidate_id,application_id,remote_application_id,interview_id,remote_interview_id,author_id,remote_author_id,overall_recommendation,created_at,updated_at\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getApplicationScorecard({\n id: \"\",\n subResourceId: \"\",\n fields: \"id,remote_id,sections,label,candidate_id,remote_candidate_id,application_id,remote_application_id,interview_id,remote_interview_id,author_id,remote_author_id,overall_recommendation,created_at,updated_at\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + - target: $["paths"]["/unified/ats/assessments/orders"]["post"] + update: + "x-codeSamples": + - "lang": "typescript" + "label": "ats_order_assessments_request" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport { AtsCreateCandidatesAssessmentsRequestDtoValue } from \"@stackone/stackone-client-ts/sdk/models/shared\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.orderAssessmentsRequest({\n xAccountId: \"\",\n atsCreateCandidatesAssessmentsRequestDto: {\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n package: {\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remoteId: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Test 1\",\n description: \"Skills test to gauge a candidate's proficiency in job-specific skills\",\n },\n application: {\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remoteId: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n applicationStatus: {\n value: AtsCreateCandidatesAssessmentsRequestDtoValue.Hired,\n sourceValue: \"Hired\",\n },\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n },\n job: {\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remoteId: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n title: \"Software Engineer\",\n hiringTeam: [\n {\n userId: \"123456\",\n remoteUserId: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n firstName: \"John\",\n lastName: \"Doe\",\n email: \"john.doe@gmail.com\",\n role: \"Software Engineer\",\n },\n ],\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n },\n candidate: {\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remoteId: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n firstName: \"Romain\",\n lastName: \"Sestier\",\n emails: [\n {\n type: \"personal\",\n value: \"sestier.romain123@gmail.com\",\n },\n ],\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n profileUrl: \"https://exmaple.com/candidate?id=xyz\",\n },\n requester: {\n userId: \"123456\",\n remoteUserId: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n firstName: \"John\",\n lastName: \"Doe\",\n email: \"john.doe@gmail.com\",\n role: \"Software Engineer\",\n },\n resultsUpdateUrl: \"https://exmaple.com/integrations/results/update\",\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n },\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/assessments/orders/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_get_assessments_request" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getAssessmentsRequest({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,package,application,job,candidate,requester,results_update_url\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getAssessmentsRequest({\n id: \"\",\n fields: \"id,remote_id,package,application,job,candidate,requester,results_update_url\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/assessments/orders/{id}/results"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_get_assessments_result" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getAssessmentsResult({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,candidate,score,start_date,submission_date,summary,result,result_url,attachments\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getAssessmentsResult({\n id: \"\",\n fields: \"id,remote_id,candidate,score,start_date,submission_date,summary,result,result_url,attachments\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/assessments/packages"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_list_assessments_packages" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listAssessmentsPackages({\n raw: false,\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listAssessmentsPackages({\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/assessments/packages/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_get_assessments_package" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getAssessmentsPackage({\n id: \"\",\n raw: false,\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getAssessmentsPackage({\n id: \"\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/background_checks/orders"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_list_background_check_request" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listBackgroundCheckRequest({\n raw: false,\n fields: \"id,remote_id,package,application,job,candidate,requester,results_update_url\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listBackgroundCheckRequest({\n fields: \"id,remote_id,package,application,job,candidate,requester,results_update_url\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + - target: $["paths"]["/unified/ats/background_checks/orders"]["post"] + update: + "x-codeSamples": + - "lang": "typescript" + "label": "ats_order_background_check_request" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport { AtsCreateBackgroundCheckOrderRequestDtoValue } from \"@stackone/stackone-client-ts/sdk/models/shared\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.orderBackgroundCheckRequest({\n xAccountId: \"\",\n atsCreateBackgroundCheckOrderRequestDto: {\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remoteId: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n application: {\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remoteId: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n applicationStatus: {\n value: AtsCreateBackgroundCheckOrderRequestDtoValue.Hired,\n sourceValue: \"Hired\",\n },\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n },\n job: {\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remoteId: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n title: \"Software Engineer\",\n hiringTeam: [\n {\n userId: \"123456\",\n remoteUserId: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n firstName: \"John\",\n lastName: \"Doe\",\n email: \"john.doe@gmail.com\",\n role: \"Software Engineer\",\n },\n {\n userId: \"123456\",\n remoteUserId: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n firstName: \"John\",\n lastName: \"Doe\",\n email: \"john.doe@gmail.com\",\n role: \"Software Engineer\",\n },\n {\n userId: \"123456\",\n remoteUserId: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n firstName: \"John\",\n lastName: \"Doe\",\n email: \"john.doe@gmail.com\",\n role: \"Software Engineer\",\n },\n ],\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n },\n candidate: {\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remoteId: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n firstName: \"Romain\",\n lastName: \"Sestier\",\n emails: [\n {\n type: \"personal\",\n value: \"sestier.romain123@gmail.com\",\n },\n ],\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n profileUrl: \"https://exmaple.com/candidate?id=xyz\",\n },\n requester: {\n userId: \"123456\",\n remoteUserId: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n firstName: \"John\",\n lastName: \"Doe\",\n email: \"john.doe@gmail.com\",\n role: \"Software Engineer\",\n },\n resultsUpdateUrl: \"https://exmaple.com/integrations/results/update\",\n package: {\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remoteId: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Test 1\",\n description: \"Skills test to gauge a candidate's proficiency in job-specific skills\",\n tests: [\n {\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remoteId: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Test 1\",\n description: \"Skills test to gauge a candidate's proficiency in job-specific skills\",\n },\n {\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remoteId: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Test 1\",\n description: \"Skills test to gauge a candidate's proficiency in job-specific skills\",\n },\n {\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remoteId: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Test 1\",\n description: \"Skills test to gauge a candidate's proficiency in job-specific skills\",\n },\n ],\n },\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n },\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/background_checks/orders/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_get_background_check_request" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getBackgroundCheckRequest({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,package,application,job,candidate,requester,results_update_url\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getBackgroundCheckRequest({\n id: \"\",\n fields: \"id,remote_id,package,application,job,candidate,requester,results_update_url\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/background_checks/orders/{id}/results"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_get_background_check_result" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getBackgroundCheckResult({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,candidate,score,start_date,submission_date,summary,result,result_url,attachments\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getBackgroundCheckResult({\n id: \"\",\n fields: \"id,remote_id,candidate,score,start_date,submission_date,summary,result,result_url,attachments\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/background_checks/packages"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_list_background_check_packages" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listBackgroundCheckPackages({\n raw: false,\n fields: \"id,remote_id,name,description,tests\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listBackgroundCheckPackages({\n fields: \"id,remote_id,name,description,tests\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/background_checks/packages"]["post"] update: "x-codeSamples": @@ -236,13 +248,13 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_get_background_check_package" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getBackgroundCheckPackage({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,description,tests\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getBackgroundCheckPackage({\n id: \"\",\n fields: \"id,remote_id,name,description,tests\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/candidates"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_list_candidates" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listCandidates({\n raw: false,\n fields: \"id,remote_id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,country,title,application_ids,remote_application_ids,hired_at,custom_fields,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n createdAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n include: \"custom_fields\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listCandidates({\n fields: \"id,remote_id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,country,title,application_ids,remote_application_ids,hired_at,custom_fields,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n createdAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n include: \"custom_fields\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/candidates"]["post"] update: "x-codeSamples": @@ -254,7 +266,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_get_candidate" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getCandidate({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,country,title,application_ids,remote_application_ids,hired_at,custom_fields,created_at,updated_at\",\n include: \"custom_fields\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getCandidate({\n id: \"\",\n fields: \"id,remote_id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,country,title,application_ids,remote_application_ids,hired_at,custom_fields,created_at,updated_at\",\n include: \"custom_fields\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/candidates/{id}"]["patch"] update: "x-codeSamples": @@ -266,7 +278,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_list_candidate_notes" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listCandidateNotes({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listCandidateNotes({\n id: \"\",\n fields: \"id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/candidates/{id}/notes"]["post"] update: "x-codeSamples": @@ -278,97 +290,97 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_get_candidate_note" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getCandidateNote({\n id: \"\",\n subResourceId: \"\",\n raw: false,\n fields: \"id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getCandidateNote({\n id: \"\",\n subResourceId: \"\",\n fields: \"id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/custom_field_definitions/applications"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_list_application_custom_field_definitions" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationCustomFieldDefinitions({\n raw: false,\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listApplicationCustomFieldDefinitions({\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/custom_field_definitions/applications/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_get_application_custom_field_definition" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getApplicationCustomFieldDefinition({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getApplicationCustomFieldDefinition({\n id: \"\",\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/custom_field_definitions/candidates"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_list_candidate_custom_field_definitions" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listCandidateCustomFieldDefinitions({\n raw: false,\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listCandidateCustomFieldDefinitions({\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/custom_field_definitions/candidates/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_get_candidate_custom_field_definition" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getCandidateCustomFieldDefinition({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getCandidateCustomFieldDefinition({\n id: \"\",\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/custom_field_definitions/jobs"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_list_job_custom_field_definitions" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listJobCustomFieldDefinitions({\n raw: false,\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listJobCustomFieldDefinitions({\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/custom_field_definitions/jobs/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_get_job_custom_field_definition" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getJobCustomFieldDefinition({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getJobCustomFieldDefinition({\n id: \"\",\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/departments"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_list_departments" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listDepartments({\n raw: false,\n fields: \"id,remote_id,name\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listDepartments({\n fields: \"id,remote_id,name\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/departments/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_get_department" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getDepartment({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getDepartment({\n id: \"\",\n fields: \"id,remote_id,name\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/interview_stages"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_list_interview_stages" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listInterviewStages({\n raw: false,\n fields: \"id,remote_id,name,order,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listInterviewStages({\n fields: \"id,remote_id,name,order,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/interview_stages/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_get_interview_stage" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getInterviewStage({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,order,created_at,updated_at\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getInterviewStage({\n id: \"\",\n fields: \"id,remote_id,name,order,created_at,updated_at\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/interviews"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_list_interviews" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listInterviews({\n raw: false,\n fields: \"id,remote_id,application_id,remote_application_id,interview_stage_id,remote_interview_stage_id,interview_stage,status,interview_status,interviewer_ids,remote_interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n createdAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listInterviews({\n fields: \"id,remote_id,application_id,remote_application_id,interview_stage_id,remote_interview_stage_id,interview_stage,status,interview_status,interviewer_ids,remote_interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n createdAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/interviews/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_get_interview" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getInterview({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,application_id,remote_application_id,interview_stage_id,remote_interview_stage_id,interview_stage,status,interview_status,interviewer_ids,remote_interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getInterview({\n id: \"\",\n fields: \"id,remote_id,application_id,remote_application_id,interview_stage_id,remote_interview_stage_id,interview_stage,status,interview_status,interviewer_ids,remote_interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/job_postings"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_list_job_postings" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listJobPostings({\n raw: false,\n fields: \"id,remote_id,title,locations,internal,status,job_id,remote_job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,updated_at,created_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n createdAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n include: \"questionnaires\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listJobPostings({\n fields: \"id,remote_id,title,locations,internal,status,job_id,remote_job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,updated_at,created_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n createdAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n include: \"questionnaires\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/job_postings/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_get_job_posting" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getJobPosting({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,title,locations,internal,status,job_id,remote_job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,updated_at,created_at\",\n include: \"questionnaires\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getJobPosting({\n id: \"\",\n fields: \"id,remote_id,title,locations,internal,status,job_id,remote_job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,updated_at,created_at\",\n include: \"questionnaires\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/jobs"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_list_jobs" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listJobs({\n raw: false,\n fields: \"id,remote_id,code,title,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,custom_fields,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n createdAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n expand: \"job_postings,interview_stages\",\n include: \"custom_fields\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listJobs({\n fields: \"id,remote_id,code,title,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,custom_fields,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n createdAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n expand: \"job_postings,interview_stages\",\n include: \"custom_fields\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/jobs"]["post"] update: "x-codeSamples": @@ -380,7 +392,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_get_job" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getJob({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,code,title,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,custom_fields,created_at,updated_at\",\n expand: \"job_postings,interview_stages\",\n include: \"custom_fields\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getJob({\n id: \"\",\n fields: \"id,remote_id,code,title,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,custom_fields,created_at,updated_at\",\n expand: \"job_postings,interview_stages\",\n include: \"custom_fields\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/jobs/{id}"]["patch"] update: "x-codeSamples": @@ -392,31 +404,31 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_list_lists" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listLists({\n raw: false,\n fields: \"id,remote_id,name,created_at,updated_at,items,type\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listLists({\n fields: \"id,remote_id,name,created_at,updated_at,items,type\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/lists/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_get_list" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getList({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,created_at,updated_at,items,type\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getList({\n id: \"\",\n fields: \"id,remote_id,name,created_at,updated_at,items,type\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/locations"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_list_locations" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listLocations({\n raw: false,\n fields: \"id,remote_id,name\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listLocations({\n fields: \"id,remote_id,name\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/locations/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_get_location" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getLocation({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getLocation({\n id: \"\",\n fields: \"id,remote_id,name\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/offers"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_list_offers" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listOffers({\n raw: false,\n fields: \"id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listOffers({\n fields: \"id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/offers"]["post"] update: "x-codeSamples": @@ -428,49 +440,49 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "ats_get_offer" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getOffer({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getOffer({\n id: \"\",\n fields: \"id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/rejected_reasons"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_list_rejected_reasons" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listRejectedReasons({\n raw: false,\n fields: \"id,remote_id,label,type,rejected_reason_type\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listRejectedReasons({\n fields: \"id,remote_id,label,type,rejected_reason_type\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/rejected_reasons/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_get_rejected_reason" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getRejectedReason({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,label,type,rejected_reason_type\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getRejectedReason({\n id: \"\",\n fields: \"id,remote_id,label,type,rejected_reason_type\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/users"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_list_users" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listUsers({\n raw: false,\n fields: \"id,remote_id,first_name,last_name,name,email\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.listUsers({\n fields: \"id,remote_id,first_name,last_name,name,email\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/ats/users/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "ats_get_user" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getUser({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,first_name,last_name,name,email\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.ats.getUser({\n id: \"\",\n fields: \"id,remote_id,first_name,last_name,name,email\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/crm/accounts"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "crm_list_accounts" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.listAccounts({\n raw: false,\n fields: \"id,remote_id,owner_id,remote_owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.listAccounts({\n fields: \"id,remote_id,owner_id,remote_owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/crm/accounts/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "crm_get_account" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.getAccount({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,owner_id,remote_owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.getAccount({\n id: \"\",\n fields: \"id,remote_id,owner_id,remote_owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/crm/contacts"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "crm_list_contacts" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.listContacts({\n raw: false,\n fields: \"id,remote_id,first_name,last_name,company_name,emails,phone_numbers,deal_ids,remote_deal_ids,account_ids,remote_account_ids,custom_fields,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n include: \"custom_fields\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.listContacts({\n fields: \"id,remote_id,first_name,last_name,company_name,emails,phone_numbers,deal_ids,remote_deal_ids,account_ids,remote_account_ids,custom_fields,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n include: \"custom_fields\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/crm/contacts"]["post"] update: "x-codeSamples": @@ -482,7 +494,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "crm_get_contact" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.getContact({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,first_name,last_name,company_name,emails,phone_numbers,deal_ids,remote_deal_ids,account_ids,remote_account_ids,custom_fields,created_at,updated_at\",\n include: \"custom_fields\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.getContact({\n id: \"\",\n fields: \"id,remote_id,first_name,last_name,company_name,emails,phone_numbers,deal_ids,remote_deal_ids,account_ids,remote_account_ids,custom_fields,created_at,updated_at\",\n include: \"custom_fields\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/crm/contacts/{id}"]["patch"] update: "x-codeSamples": @@ -494,79 +506,79 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "crm_list_contact_custom_field_definitions" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.listContactCustomFieldDefinitions({\n raw: false,\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.listContactCustomFieldDefinitions({\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/crm/custom_field_definitions/contacts/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "crm_get_contact_custom_field_definition" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.getContactCustomFieldDefinition({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.getContactCustomFieldDefinition({\n id: \"\",\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/crm/lists"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "crm_list_lists" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.listLists({\n raw: false,\n fields: \"id,remote_id,name,created_at,updated_at,items,type\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.listLists({\n fields: \"id,remote_id,name,created_at,updated_at,items,type\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/crm/lists/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "crm_get_list" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.getList({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,created_at,updated_at,items,type\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.crm.getList({\n id: \"\",\n fields: \"id,remote_id,name,created_at,updated_at,items,type\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/benefits"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_list_benefits" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listBenefits({\n raw: false,\n fields: \"id,remote_id,name,benefit_type,provider,description,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listBenefits({\n fields: \"id,remote_id,name,benefit_type,provider,description,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/benefits/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_get_benefit" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getBenefit({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,benefit_type,provider,description,created_at,updated_at\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getBenefit({\n id: \"\",\n fields: \"id,remote_id,name,benefit_type,provider,description,created_at,updated_at\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/companies"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_list_companies" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listCompanies({\n raw: false,\n fields: \"id,remote_id,name,full_name,display_name,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listCompanies({\n fields: \"id,remote_id,name,full_name,display_name,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/companies/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_get_company" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getCompany({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,full_name,display_name,created_at,updated_at\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getCompany({\n id: \"\",\n fields: \"id,remote_id,name,full_name,display_name,created_at,updated_at\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/custom_field_definitions/employees"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_list_employee_custom_field_definitions" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeCustomFieldDefinitions({\n raw: false,\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeCustomFieldDefinitions({\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/custom_field_definitions/employees/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_get_employee_custom_field_definition" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getEmployeeCustomFieldDefinition({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getEmployeeCustomFieldDefinition({\n id: \"\",\n fields: \"id,remote_id,name,description,type,options\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/documents/employee_categories"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_list_employee_categories" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeCategories({\n raw: false,\n fields: \"id,remote_id,name,active\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeCategories({\n fields: \"id,remote_id,name,active\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/documents/employee_categories/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_get_employee_document_category" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getEmployeeDocumentCategory({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,active\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getEmployeeDocumentCategory({\n id: \"\",\n fields: \"id,remote_id,name,active\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/employees"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_list_employees" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployees({\n raw: false,\n fields: \"id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,benefits,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n expand: \"company,employments,work_location,home_location,groups\",\n include: \"avatar_url,avatar,custom_fields,job_description,benefits\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployees({\n fields: \"id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,benefits,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n expand: \"company,employments,work_location,home_location,groups\",\n include: \"avatar_url,avatar,custom_fields,job_description,benefits\",\n xAccountId: \"\",\n });\n\n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - target: $["paths"]["/unified/hris/employees"]["post"] update: "x-codeSamples": @@ -578,19 +590,19 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_get_employee" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getEmployee({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,benefits,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number\",\n expand: \"company,employments,work_location,home_location,groups\",\n include: \"avatar_url,avatar,custom_fields,job_description,benefits\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getEmployee({\n id: \"\",\n fields: \"id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,benefits,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number\",\n expand: \"company,employments,work_location,home_location,groups\",\n include: \"avatar_url,avatar,custom_fields,job_description,benefits\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/employees/{id}"]["patch"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_update_employee" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport {\n HrisUpdateEmployeeRequestDtoSchemasHomeLocationValue,\n HrisUpdateEmployeeRequestDtoSchemasNationalIdentityNumberCountryValue,\n HrisUpdateEmployeeRequestDtoSchemasNationalIdentityNumberValue,\n HrisUpdateEmployeeRequestDtoSchemasWorkLocationValue,\n Value,\n} from \"@stackone/stackone-client-ts/sdk/models/shared\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.updateEmployee({\n id: \"\",\n xAccountId: \"\",\n hrisUpdateEmployeeRequestDto: {\n firstName: \"Issac\",\n lastName: \"Newton\",\n name: \"Issac Newton\",\n displayName: \"Sir Issac Newton\",\n avatarUrl: \"https://example.com/avatar.png\",\n personalEmail: \"isaac.newton@example.com\",\n personalPhoneNumber: \"+1234567890\",\n workEmail: \"newton@example.com\",\n workPhoneNumber: \"+1234567890\",\n jobId: \"R-6789\",\n jobTitle: \"Physicist\",\n departmentId: \"3093\",\n department: \"Physics\",\n managerId: \"67890\",\n dateOfBirth: new Date(\"1990-01-01T00:00.000Z\"),\n birthday: new Date(\"2021-01-01T00:00:00Z\"),\n hireDate: new Date(\"2021-01-01T00:00.000Z\"),\n startDate: new Date(\"2021-01-01T00:00.000Z\"),\n tenure: 2,\n workAnniversary: new Date(\"2021-01-01T00:00:00Z\"),\n terminationDate: new Date(\"2021-01-01T00:00:00Z\"),\n companyName: \"Example Corp\",\n citizenships: [\n {\n value: Value.Us,\n },\n ],\n employments: [\n {\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n unifiedCustomFields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n employeeId: \"1687-3\",\n jobTitle: \"Software Engineer\",\n payRate: \"40.00\",\n payCurrency: \"USD\",\n effectiveDate: new Date(\"2021-01-01T01:01:01.000Z\"),\n timeWorked: \"P0Y0M0DT8H0M0S\",\n },\n {\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n unifiedCustomFields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n employeeId: \"1687-3\",\n jobTitle: \"Software Engineer\",\n payRate: \"40.00\",\n payCurrency: \"USD\",\n effectiveDate: new Date(\"2021-01-01T01:01:01.000Z\"),\n timeWorked: \"P0Y0M0DT8H0M0S\",\n },\n ],\n customFields: [\n {\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remoteId: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Training Completion Status\",\n value: \"Completed\",\n valueId: \"value_456\",\n remoteValueId: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n },\n ],\n benefits: [\n {\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Health Insurance\",\n provider: \"Aetna\",\n description: \"Health insurance for employees\",\n createdAt: new Date(\"2021-01-01T00:00:00Z\"),\n updatedAt: new Date(\"2021-01-01T00:00:00Z\"),\n },\n ],\n employeeNumber: \"125\",\n nationalIdentityNumber: {\n value: \"123456789\",\n type: {\n value: HrisUpdateEmployeeRequestDtoSchemasNationalIdentityNumberValue.Ssn,\n },\n country: {\n value: HrisUpdateEmployeeRequestDtoSchemasNationalIdentityNumberCountryValue.Us,\n },\n },\n homeLocation: {\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Woolsthorpe Manor\",\n phoneNumber: \"+44 1476 860 364\",\n street1: \"Water Lane\",\n street2: \"Woolsthorpe by Colsterworth\",\n city: \"Grantham\",\n zipCode: \"NG33 5NR\",\n country: {\n value: HrisUpdateEmployeeRequestDtoSchemasHomeLocationValue.Us,\n },\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n },\n workLocation: {\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Woolsthorpe Manor\",\n phoneNumber: \"+44 1476 860 364\",\n street1: \"Water Lane\",\n street2: \"Woolsthorpe by Colsterworth\",\n city: \"Grantham\",\n zipCode: \"NG33 5NR\",\n country: {\n value: HrisUpdateEmployeeRequestDtoSchemasWorkLocationValue.Us,\n },\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n },\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n },\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport {\n HrisUpdateEmployeeRequestDtoSchemasHomeLocationValue,\n HrisUpdateEmployeeRequestDtoSchemasNationalIdentityNumberCountryValue,\n HrisUpdateEmployeeRequestDtoSchemasNationalIdentityNumberValue,\n HrisUpdateEmployeeRequestDtoSchemasWorkLocationValue,\n Value,\n} from \"@stackone/stackone-client-ts/sdk/models/shared\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.updateEmployee({\n id: \"\",\n xAccountId: \"\",\n hrisUpdateEmployeeRequestDto: {\n firstName: \"Issac\",\n lastName: \"Newton\",\n name: \"Issac Newton\",\n displayName: \"Sir Issac Newton\",\n avatarUrl: \"https://example.com/avatar.png\",\n personalEmail: \"isaac.newton@example.com\",\n personalPhoneNumber: \"+1234567890\",\n workEmail: \"newton@example.com\",\n workPhoneNumber: \"+1234567890\",\n jobId: \"R-6789\",\n jobTitle: \"Physicist\",\n departmentId: \"3093\",\n department: \"Physics\",\n managerId: \"67890\",\n dateOfBirth: new Date(\"1990-01-01T00:00.000Z\"),\n birthday: new Date(\"2021-01-01T00:00:00Z\"),\n hireDate: new Date(\"2021-01-01T00:00.000Z\"),\n startDate: new Date(\"2021-01-01T00:00.000Z\"),\n tenure: 2,\n workAnniversary: new Date(\"2021-01-01T00:00:00Z\"),\n terminationDate: new Date(\"2021-01-01T00:00:00Z\"),\n companyName: \"Example Corp\",\n citizenships: [\n {\n value: Value.Us,\n },\n ],\n customFields: [\n {\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remoteId: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Training Completion Status\",\n value: \"Completed\",\n valueId: \"value_456\",\n remoteValueId: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n },\n {\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n remoteId: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Training Completion Status\",\n value: \"Completed\",\n valueId: \"value_456\",\n remoteValueId: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n },\n ],\n benefits: [\n {\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Health Insurance\",\n provider: \"Aetna\",\n description: \"Health insurance for employees\",\n createdAt: new Date(\"2021-01-01T00:00:00Z\"),\n updatedAt: new Date(\"2021-01-01T00:00:00Z\"),\n },\n ],\n employeeNumber: \"125\",\n nationalIdentityNumber: {\n value: \"123456789\",\n type: {\n value: HrisUpdateEmployeeRequestDtoSchemasNationalIdentityNumberValue.Ssn,\n },\n country: {\n value: HrisUpdateEmployeeRequestDtoSchemasNationalIdentityNumberCountryValue.Us,\n },\n },\n homeLocation: {\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Woolsthorpe Manor\",\n phoneNumber: \"+44 1476 860 364\",\n street1: \"Water Lane\",\n street2: \"Woolsthorpe by Colsterworth\",\n city: \"Grantham\",\n zipCode: \"NG33 5NR\",\n country: {\n value: HrisUpdateEmployeeRequestDtoSchemasHomeLocationValue.Us,\n },\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n },\n workLocation: {\n id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n name: \"Woolsthorpe Manor\",\n phoneNumber: \"+44 1476 860 364\",\n street1: \"Water Lane\",\n street2: \"Woolsthorpe by Colsterworth\",\n city: \"Grantham\",\n zipCode: \"NG33 5NR\",\n country: {\n value: HrisUpdateEmployeeRequestDtoSchemasWorkLocationValue.Us,\n },\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n },\n passthrough: {\n \"other_known_names\": \"John Doe\",\n },\n },\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/employees/{id}/documents"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_list_employee_documents" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeDocuments({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeDocuments({\n id: \"\",\n fields: \"id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/employees/{id}/documents/upload"]["post"] update: "x-codeSamples": @@ -608,7 +620,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_get_employee_document" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getEmployeeDocument({\n id: \"\",\n subResourceId: \"\",\n raw: false,\n fields: \"id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getEmployeeDocument({\n id: \"\",\n subResourceId: \"\",\n fields: \"id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/employees/{id}/documents/{subResourceId}/download"]["get"] update: "x-codeSamples": @@ -620,7 +632,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_employee_employments" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeEmployments({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n expand: \"groups\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeEmployments({\n id: \"\",\n fields: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at,start_date,end_date,active,department,cost_center,division,job,type,contract_type,manager\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n expand: \"groups\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/employees/{id}/employments"]["post"] update: "x-codeSamples": @@ -632,7 +644,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_get_employee_employment" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getEmployeeEmployment({\n id: \"\",\n subResourceId: \"\",\n raw: false,\n fields: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at\",\n expand: \"groups\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getEmployeeEmployment({\n id: \"\",\n subResourceId: \"\",\n fields: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at,start_date,end_date,active,department,cost_center,division,job,type,contract_type,manager\",\n expand: \"groups\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/employees/{id}/employments/{subResourceId}"]["patch"] update: "x-codeSamples": @@ -644,7 +656,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_employee_time_off_requests" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeTimeOffRequests({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeTimeOffRequests({\n id: \"\",\n fields: \"id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/employees/{id}/time_off"]["post"] update: "x-codeSamples": @@ -656,13 +668,13 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_get_employees_time_off_request" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getEmployeesTimeOffRequest({\n id: \"\",\n subResourceId: \"\",\n raw: false,\n fields: \"id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,created_at,updated_at\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getEmployeesTimeOffRequest({\n id: \"\",\n subResourceId: \"\",\n fields: \"id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,created_at,updated_at\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/employees/{id}/work_eligibility"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_list_employee_work_eligibility" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeWorkEligibility({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,type,sub_type,document,valid_from,valid_to,issued_by,number\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployeeWorkEligibility({\n id: \"\",\n fields: \"id,remote_id,type,sub_type,document,valid_from,valid_to,issued_by,number\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/employees/{id}/work_eligibility"]["post"] update: "x-codeSamples": @@ -674,7 +686,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_get_employees_work_eligibility" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getEmployeesWorkEligibility({\n id: \"\",\n subResourceId: \"\",\n raw: false,\n fields: \"id,remote_id,type,sub_type,document,valid_from,valid_to,issued_by,number\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getEmployeesWorkEligibility({\n id: \"\",\n subResourceId: \"\",\n fields: \"id,remote_id,type,sub_type,document,valid_from,valid_to,issued_by,number\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/employees/{id}/work_eligibility/{subResourceId}"]["patch"] update: "x-codeSamples": @@ -686,79 +698,91 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_employments" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployments({\n raw: false,\n fields: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n expand: \"groups\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listEmployments({\n fields: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at,start_date,end_date,active,department,cost_center,division,job,type,contract_type,manager\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n expand: \"groups\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/employments/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_get_employment" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getEmployment({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at\",\n expand: \"groups\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getEmployment({\n id: \"\",\n fields: \"id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at,start_date,end_date,active,department,cost_center,division,job,type,contract_type,manager\",\n expand: \"groups\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/groups"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_list_groups" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listGroups({\n raw: false,\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listGroups({\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/groups/cost_centers"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_list_cost_center_groups" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listCostCenterGroups({\n raw: false,\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listCostCenterGroups({\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/groups/cost_centers/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_get_cost_center_group" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getCostCenterGroup({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getCostCenterGroup({\n id: \"\",\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/groups/departments"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_list_department_groups" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listDepartmentGroups({\n raw: false,\n fields: \"id,remote_id,name\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listDepartmentGroups({\n fields: \"id,remote_id,name\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/groups/departments/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_get_department_group" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getDepartmentGroup({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getDepartmentGroup({\n id: \"\",\n fields: \"id,remote_id,name\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/groups/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_get_group" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getGroup({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getGroup({\n id: \"\",\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/jobs"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_list_jobs" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listJobs({\n raw: false,\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listJobs({\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/jobs/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_get_job" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getJob({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getJob({\n id: \"\",\n fields: \"id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/locations"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_list_locations" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listLocations({\n raw: false,\n fields: \"id,remote_id,employee_id,remote_employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listLocations({\n fields: \"id,remote_id,employee_id,remote_employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/locations/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_get_location" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getLocation({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,employee_id,remote_employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getLocation({\n id: \"\",\n fields: \"id,remote_id,employee_id,remote_employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + - target: $["paths"]["/unified/hris/time_entries"]["get"] + update: + "x-codeSamples": + - "lang": "typescript" + "label": "hris_list_time_entries" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listTimeEntries({\n fields: \"id,remote_id,employee_id,remote_employee_id,start_time,end_time,hours_worked,break_duration,labor_type,location,status,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n startTime: \"2020-01-01T00:00:00.000Z\",\n endTime: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + - target: $["paths"]["/unified/hris/time_entries/{id}"]["get"] + update: + "x-codeSamples": + - "lang": "typescript" + "label": "hris_get_time_entries" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getTimeEntries({\n id: \"\",\n fields: \"id,remote_id,employee_id,remote_employee_id,start_time,end_time,hours_worked,break_duration,labor_type,location,status,created_at,updated_at\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/time_off"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_list_time_off_requests" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listTimeOffRequests({\n raw: false,\n fields: \"id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listTimeOffRequests({\n fields: \"id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/time_off"]["post"] update: "x-codeSamples": @@ -770,7 +794,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_get_time_off_request" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getTimeOffRequest({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,created_at,updated_at\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getTimeOffRequest({\n id: \"\",\n fields: \"id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,created_at,updated_at\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/time_off/{id}"]["patch"] update: "x-codeSamples": @@ -782,85 +806,85 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "hris_list_time_off_types" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listTimeOffTypes({\n raw: false,\n fields: \"id,remote_id,name,active\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.listTimeOffTypes({\n fields: \"id,remote_id,name,active\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/hris/time_off_types/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "hris_get_time_off_type" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getTimeOffType({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,active\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.hris.getTimeOffType({\n id: \"\",\n fields: \"id,remote_id,name,active\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/iam/groups"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "iam_list_groups" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.iam.listGroups({\n raw: false,\n fields: \"id,remote_id,parent_id,remote_parent_id,name,description,roles,type,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n expand: \"roles\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.iam.listGroups({\n fields: \"id,remote_id,parent_id,remote_parent_id,name,description,roles,type,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n expand: \"roles\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/iam/groups/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "iam_get_group" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.iam.getGroup({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,parent_id,remote_parent_id,name,description,roles,type,created_at,updated_at\",\n expand: \"roles\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.iam.getGroup({\n id: \"\",\n fields: \"id,remote_id,parent_id,remote_parent_id,name,description,roles,type,created_at,updated_at\",\n expand: \"roles\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/iam/policies"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "iam_list_policies" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.iam.listPolicies({\n raw: false,\n fields: \"id,remote_id,name,permissions,description,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n expand: \"permissions\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.iam.listPolicies({\n fields: \"id,remote_id,name,permissions,description,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n expand: \"permissions\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/iam/policies/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "iam_get_policy" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.iam.getPolicy({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,permissions,description,created_at,updated_at\",\n expand: \"permissions\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.iam.getPolicy({\n id: \"\",\n fields: \"id,remote_id,name,permissions,description,created_at,updated_at\",\n expand: \"permissions\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/iam/roles"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "iam_list_roles" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.iam.listRoles({\n raw: false,\n fields: \"id,remote_id,name,type,policies,description,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n expand: \"policies\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.iam.listRoles({\n fields: \"id,remote_id,name,type,policies,description,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n expand: \"policies\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/iam/roles/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "iam_get_role" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.iam.getRole({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,type,policies,description,created_at,updated_at\",\n expand: \"policies\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.iam.getRole({\n id: \"\",\n fields: \"id,remote_id,name,type,policies,description,created_at,updated_at\",\n expand: \"policies\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/iam/users"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "iam_list_users" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.iam.listUsers({\n raw: false,\n fields: \"id,remote_id,first_name,last_name,name,primary_email_address,username,roles,groups,status,avatar,is_bot_user,last_active_at,last_login_at,created_at,updated_at,multi_factor_enabled\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n expand: \"roles,groups\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.iam.listUsers({\n fields: \"id,remote_id,first_name,last_name,name,primary_email_address,username,roles,groups,status,avatar,is_bot_user,last_active_at,last_login_at,created_at,updated_at,multi_factor_enabled\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n expand: \"roles,groups\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/iam/users/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "iam_get_user" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.iam.getUser({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,first_name,last_name,name,primary_email_address,username,roles,groups,status,avatar,is_bot_user,last_active_at,last_login_at,created_at,updated_at,multi_factor_enabled\",\n expand: \"roles,groups\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.iam.getUser({\n id: \"\",\n fields: \"id,remote_id,first_name,last_name,name,primary_email_address,username,roles,groups,status,avatar,is_bot_user,last_active_at,last_login_at,created_at,updated_at,multi_factor_enabled\",\n expand: \"roles,groups\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/lms/assignments"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "lms_list_assignments" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listAssignments({\n raw: false,\n fields: \"id,remote_id,external_reference,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status,progress,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n userId: \"c28xyrc55866bvuv\",\n remoteUserId: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listAssignments({\n fields: \"id,remote_id,external_reference,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status,progress,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n userId: \"c28xyrc55866bvuv\",\n remoteUserId: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/lms/assignments/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "lms_get_assignment" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.getAssignment({\n id: \"\",\n raw: false,\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.getAssignment({\n id: \"\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/lms/categories"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "lms_list_categories" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listCategories({\n raw: false,\n fields: \"id,remote_id,name,active,level,language\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listCategories({\n fields: \"id,remote_id,name,active,level,language\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/lms/categories/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "lms_get_category" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.getCategory({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,active,level,language\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.getCategory({\n id: \"\",\n fields: \"id,remote_id,name,active,level,language\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/lms/collections"]["post"] update: "x-codeSamples": @@ -878,43 +902,43 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "lms_list_completions" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listCompletions({\n raw: false,\n fields: \"id,remote_id,external_id,remote_external_id,external_reference,content_id,remote_content_id,course_id,remote_course_id,user_id,remote_user_id,completed_at,updated_at,created_at,result,content_external_reference,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listCompletions({\n fields: \"id,remote_id,external_id,remote_external_id,external_reference,content_id,remote_content_id,course_id,remote_course_id,user_id,remote_user_id,completed_at,updated_at,created_at,result,content_external_reference,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/lms/completions/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "lms_get_completion" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.getCompletion({\n id: \"\",\n raw: false,\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.getCompletion({\n id: \"\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/lms/content"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "lms_list_content" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listContent({\n raw: false,\n fields: \"id,remote_id,external_reference,course_ids,remote_course_ids,title,description,short_description,languages,content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listContent({\n fields: \"id,remote_id,external_reference,course_ids,remote_course_ids,title,description,short_description,additional_data,languages,content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/lms/content"]["put"] update: "x-codeSamples": - "lang": "typescript" "label": "lms_upsert_content" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport { CreateCategoriesApiModelSchemasValue, LanguageEnumValue } from \"@stackone/stackone-client-ts/sdk/models/shared\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.upsertContent({\n xAccountId: \"\",\n lmsUpsertContentRequestDto: {\n unifiedCustomFields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n externalReference: \"SOFTWARE-ENG-LV1-TRAINING-VIDEO-1\",\n courseIds: [\n \"16873-SOFTWARE-ENG-COURSE\",\n ],\n title: \"Software Engineer Lv 1\",\n description: \"This video acts as learning content for software engineers.\",\n shortDescription: \"This course is a valuable resource and acts as learning content for...\",\n languages: [\n {\n value: LanguageEnumValue.EnGB,\n },\n {\n value: LanguageEnumValue.EnGB,\n },\n ],\n contentUrl: \"https://www.youtube.com/watch?v=16873\",\n coverUrl: \"https://www.googledrive.com/?v=16873\",\n active: true,\n duration: \"P3Y6M4DT12H30M5S\",\n skills: [\n {\n id: \"16873-IT345\",\n name: \"Information-Technology\",\n },\n ],\n order: 1,\n provider: \"Content Provider\",\n categories: [\n {\n id: \"16873-IT345\",\n unifiedCustomFields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n name: \"Information-Technology\",\n language: {\n value: CreateCategoriesApiModelSchemasValue.EnGB,\n },\n },\n ],\n },\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport { CreateCategoriesApiModelSchemasValue, LanguageEnumValue } from \"@stackone/stackone-client-ts/sdk/models/shared\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.upsertContent({\n xAccountId: \"\",\n lmsUpsertContentRequestDto: {\n unifiedCustomFields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n externalReference: \"SOFTWARE-ENG-LV1-TRAINING-VIDEO-1\",\n courseIds: [\n \"16873-SOFTWARE-ENG-COURSE\",\n ],\n title: \"Software Engineer Lv 1\",\n description: \"This video acts as learning content for software engineers.\",\n additionalData: [\n {\n id: \"learning_outcomes\",\n remoteId: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n },\n {\n id: \"learning_outcomes\",\n remoteId: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n },\n ],\n languages: [\n {\n value: LanguageEnumValue.EnGB,\n },\n ],\n contentUrl: \"https://www.youtube.com/watch?v=16873\",\n coverUrl: \"https://www.googledrive.com/?v=16873\",\n active: true,\n duration: \"P3Y6M4DT12H30M5S\",\n skills: [\n {\n id: \"16873-IT345\",\n name: \"Information-Technology\",\n },\n ],\n order: 1,\n provider: \"Content Provider\",\n categories: [\n {\n id: \"16873-IT345\",\n unifiedCustomFields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n name: \"Information-Technology\",\n language: {\n value: CreateCategoriesApiModelSchemasValue.EnGB,\n },\n },\n {\n id: \"16873-IT345\",\n unifiedCustomFields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n name: \"Information-Technology\",\n language: {\n value: CreateCategoriesApiModelSchemasValue.EnGB,\n },\n },\n {\n id: \"16873-IT345\",\n unifiedCustomFields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n name: \"Information-Technology\",\n language: {\n value: CreateCategoriesApiModelSchemasValue.EnGB,\n },\n },\n ],\n },\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/lms/content/batch"]["post"] update: "x-codeSamples": - "lang": "typescript" "label": "lms_batch_upsert_content" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport { CreateCategoriesApiModelSchemasValue, LanguageEnumValue } from \"@stackone/stackone-client-ts/sdk/models/shared\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.batchUpsertContent({\n xAccountId: \"\",\n lmsBatchUpsertContentRequestDto: {\n items: [\n {\n unifiedCustomFields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n externalReference: \"SOFTWARE-ENG-LV1-TRAINING-VIDEO-1\",\n courseIds: [\n \"16873-SOFTWARE-ENG-COURSE\",\n ],\n title: \"Software Engineer Lv 1\",\n description: \"This video acts as learning content for software engineers.\",\n shortDescription: \"This course is a valuable resource and acts as learning content for...\",\n languages: [\n {\n value: LanguageEnumValue.EnGB,\n },\n {\n value: LanguageEnumValue.EnGB,\n },\n {\n value: LanguageEnumValue.EnGB,\n },\n ],\n contentUrl: \"https://www.youtube.com/watch?v=16873\",\n coverUrl: \"https://www.googledrive.com/?v=16873\",\n active: true,\n duration: \"P3Y6M4DT12H30M5S\",\n skills: [\n {\n id: \"16873-IT345\",\n name: \"Information-Technology\",\n },\n ],\n order: 1,\n provider: \"Content Provider\",\n categories: [\n {\n id: \"16873-IT345\",\n unifiedCustomFields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n name: \"Information-Technology\",\n language: {\n value: CreateCategoriesApiModelSchemasValue.EnGB,\n },\n },\n ],\n },\n {\n unifiedCustomFields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n externalReference: \"SOFTWARE-ENG-LV1-TRAINING-VIDEO-1\",\n courseIds: [\n \"16873-SOFTWARE-ENG-COURSE\",\n ],\n title: \"Software Engineer Lv 1\",\n description: \"This video acts as learning content for software engineers.\",\n shortDescription: \"This course is a valuable resource and acts as learning content for...\",\n languages: [\n {\n value: LanguageEnumValue.EnGB,\n },\n {\n value: LanguageEnumValue.EnGB,\n },\n ],\n contentUrl: \"https://www.youtube.com/watch?v=16873\",\n coverUrl: \"https://www.googledrive.com/?v=16873\",\n active: true,\n duration: \"P3Y6M4DT12H30M5S\",\n skills: [\n {\n id: \"16873-IT345\",\n name: \"Information-Technology\",\n },\n ],\n order: 1,\n provider: \"Content Provider\",\n categories: [\n {\n id: \"16873-IT345\",\n unifiedCustomFields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n name: \"Information-Technology\",\n language: {\n value: CreateCategoriesApiModelSchemasValue.EnGB,\n },\n },\n {\n id: \"16873-IT345\",\n unifiedCustomFields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n name: \"Information-Technology\",\n language: {\n value: CreateCategoriesApiModelSchemasValue.EnGB,\n },\n },\n {\n id: \"16873-IT345\",\n unifiedCustomFields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n name: \"Information-Technology\",\n language: {\n value: CreateCategoriesApiModelSchemasValue.EnGB,\n },\n },\n ],\n },\n ],\n },\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport { CreateCategoriesApiModelSchemasValue, LanguageEnumValue } from \"@stackone/stackone-client-ts/sdk/models/shared\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.batchUpsertContent({\n xAccountId: \"\",\n lmsBatchUpsertContentRequestDto: {\n items: [\n {\n unifiedCustomFields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n externalReference: \"SOFTWARE-ENG-LV1-TRAINING-VIDEO-1\",\n courseIds: [\n \"16873-SOFTWARE-ENG-COURSE\",\n ],\n title: \"Software Engineer Lv 1\",\n description: \"This video acts as learning content for software engineers.\",\n additionalData: [\n {\n id: \"learning_outcomes\",\n remoteId: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n },\n {\n id: \"learning_outcomes\",\n remoteId: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n },\n {\n id: \"learning_outcomes\",\n remoteId: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n },\n ],\n languages: [\n {\n value: LanguageEnumValue.EnGB,\n },\n ],\n contentUrl: \"https://www.youtube.com/watch?v=16873\",\n coverUrl: \"https://www.googledrive.com/?v=16873\",\n active: true,\n duration: \"P3Y6M4DT12H30M5S\",\n skills: [\n {\n id: \"16873-IT345\",\n name: \"Information-Technology\",\n },\n ],\n order: 1,\n provider: \"Content Provider\",\n categories: [\n {\n id: \"16873-IT345\",\n unifiedCustomFields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n name: \"Information-Technology\",\n language: {\n value: CreateCategoriesApiModelSchemasValue.EnGB,\n },\n },\n {\n id: \"16873-IT345\",\n unifiedCustomFields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n name: \"Information-Technology\",\n language: {\n value: CreateCategoriesApiModelSchemasValue.EnGB,\n },\n },\n ],\n },\n {\n unifiedCustomFields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n externalReference: \"SOFTWARE-ENG-LV1-TRAINING-VIDEO-1\",\n courseIds: [\n \"16873-SOFTWARE-ENG-COURSE\",\n ],\n title: \"Software Engineer Lv 1\",\n description: \"This video acts as learning content for software engineers.\",\n additionalData: [\n {\n id: \"learning_outcomes\",\n remoteId: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n },\n {\n id: \"learning_outcomes\",\n remoteId: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n },\n {\n id: \"learning_outcomes\",\n remoteId: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n },\n ],\n languages: [\n {\n value: LanguageEnumValue.EnGB,\n },\n {\n value: LanguageEnumValue.EnGB,\n },\n {\n value: LanguageEnumValue.EnGB,\n },\n ],\n contentUrl: \"https://www.youtube.com/watch?v=16873\",\n coverUrl: \"https://www.googledrive.com/?v=16873\",\n active: true,\n duration: \"P3Y6M4DT12H30M5S\",\n skills: [\n {\n id: \"16873-IT345\",\n name: \"Information-Technology\",\n },\n ],\n order: 1,\n provider: \"Content Provider\",\n categories: [\n {\n id: \"16873-IT345\",\n unifiedCustomFields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n name: \"Information-Technology\",\n language: {\n value: CreateCategoriesApiModelSchemasValue.EnGB,\n },\n },\n ],\n },\n ],\n },\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/lms/content/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "lms_get_content" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.getContent({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,external_reference,course_ids,remote_course_ids,title,description,short_description,languages,content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.getContent({\n id: \"\",\n fields: \"id,remote_id,external_reference,course_ids,remote_course_ids,title,description,short_description,additional_data,languages,content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/lms/courses"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "lms_list_courses" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listCourses({\n raw: false,\n fields: \"id,remote_id,external_reference,content_ids,remote_content_ids,title,description,languages,cover_url,url,active,duration,categories,skills,updated_at,created_at,content,provider\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listCourses({\n fields: \"id,remote_id,external_reference,content_ids,remote_content_ids,title,description,languages,cover_url,url,active,duration,categories,skills,updated_at,created_at,content,provider\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/lms/courses"]["put"] update: "x-codeSamples": @@ -932,37 +956,37 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "lms_get_course" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.getCourse({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,external_reference,content_ids,remote_content_ids,title,description,languages,cover_url,url,active,duration,categories,skills,updated_at,created_at,content,provider\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.getCourse({\n id: \"\",\n fields: \"id,remote_id,external_reference,content_ids,remote_content_ids,title,description,languages,cover_url,url,active,duration,categories,skills,updated_at,created_at,content,provider\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/lms/skills"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "lms_list_skills" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listSkills({\n raw: false,\n fields: \"id,remote_id,name,active,level\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listSkills({\n fields: \"id,remote_id,name,active,level\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/lms/skills/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "lms_get_skill" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.getSkill({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,active,level\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.getSkill({\n id: \"\",\n fields: \"id,remote_id,name,active,level\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/lms/users"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "lms_list_users" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listUsers({\n raw: false,\n fields: \"id,remote_id,external_reference,active,email,phone_number,created_at,updated_at,name\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listUsers({\n fields: \"id,remote_id,external_reference,active,email,phone_number,created_at,updated_at,name\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/lms/users/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "lms_get_user" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.getUser({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,external_reference,active,email,phone_number,created_at,updated_at,name\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.getUser({\n id: \"\",\n fields: \"id,remote_id,external_reference,active,email,phone_number,created_at,updated_at,name\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/lms/users/{id}/assignments"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "lms_list_user_assignments" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listUserAssignments({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,external_reference,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status,progress,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n userId: \"c28xyrc55866bvuv\",\n remoteUserId: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listUserAssignments({\n id: \"\",\n fields: \"id,remote_id,external_reference,user_id,remote_user_id,course_id,remote_course_id,updated_at,created_at,due_date,status,progress,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n userId: \"c28xyrc55866bvuv\",\n remoteUserId: \"e3cb75bf-aa84-466e-a6c1-b8322b257a48\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/lms/users/{id}/assignments"]["post"] update: "x-codeSamples": @@ -974,13 +998,13 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "lms_get_user_assignment" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.getUserAssignment({\n id: \"\",\n subResourceId: \"\",\n raw: false,\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.getUserAssignment({\n id: \"\",\n subResourceId: \"\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/lms/users/{id}/completions"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "lms_list_user_completions" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listUserCompletions({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,external_id,remote_external_id,external_reference,content_id,remote_content_id,course_id,remote_course_id,user_id,remote_user_id,completed_at,updated_at,created_at,result,content_external_reference,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.listUserCompletions({\n id: \"\",\n fields: \"id,remote_id,external_id,remote_external_id,external_reference,content_id,remote_content_id,course_id,remote_course_id,user_id,remote_user_id,completed_at,updated_at,created_at,result,content_external_reference,learning_object_type,learning_object_id,remote_learning_object_id,learning_object_external_reference\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/lms/users/{id}/completions"]["post"] update: "x-codeSamples": @@ -992,25 +1016,25 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "lms_get_user_completion" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.getUserCompletion({\n id: \"\",\n subResourceId: \"\",\n raw: false,\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.lms.getUserCompletion({\n id: \"\",\n subResourceId: \"\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/marketing/campaigns"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "marketing_list_campaigns" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.listCampaigns({\n raw: false,\n fields: \"id,remote_id,name,created_at,updated_at,description,schedule_type,status,channels,first_sent_at,last_sent_at,tags,messages\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.listCampaigns({\n fields: \"id,remote_id,name,created_at,updated_at,description,schedule_type,status,channels,first_sent_at,last_sent_at,tags,messages\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/marketing/campaigns/{id}"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "marketing_get_campaign" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.getCampaign({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,created_at,updated_at,description,schedule_type,status,channels,first_sent_at,last_sent_at,tags,messages\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.getCampaign({\n id: \"\",\n fields: \"id,remote_id,name,created_at,updated_at,description,schedule_type,status,channels,first_sent_at,last_sent_at,tags,messages\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/marketing/content_blocks"]["get"] update: "x-codeSamples": - "lang": "typescript" "label": "marketing_list_content_blocks" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.listContentBlocks({\n raw: false,\n fields: \"id,remote_id,name,type,content,status,tags,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.listContentBlocks({\n fields: \"id,remote_id,name,type,content,status,tags,created_at,updated_at\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/marketing/content_blocks"]["post"] update: "x-codeSamples": @@ -1022,7 +1046,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "marketing_get_content_block" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.getContentBlock({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,type,content,status,tags,created_at,updated_at\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.getContentBlock({\n id: \"\",\n fields: \"id,remote_id,name,type,content,status,tags,created_at,updated_at\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/marketing/content_blocks/{id}"]["patch"] update: "x-codeSamples": @@ -1034,7 +1058,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "marketing_list_email_templates" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.listEmailTemplates({\n raw: false,\n fields: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.listEmailTemplates({\n fields: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/marketing/templates/email"]["post"] update: "x-codeSamples": @@ -1046,7 +1070,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "marketing_get_email_template" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.getEmailTemplate({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.getEmailTemplate({\n id: \"\",\n fields: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/marketing/templates/email/{id}"]["patch"] update: "x-codeSamples": @@ -1058,7 +1082,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "marketing_list_in_app_templates" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.listInAppTemplates({\n raw: false,\n fields: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.listInAppTemplates({\n fields: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/marketing/templates/in_app"]["post"] update: "x-codeSamples": @@ -1070,7 +1094,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "marketing_get_in_app_template" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.getInAppTemplate({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.getInAppTemplate({\n id: \"\",\n fields: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/marketing/templates/in_app/{id}"]["patch"] update: "x-codeSamples": @@ -1082,7 +1106,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "marketing_list_push_templates" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.listPushTemplates({\n raw: false,\n fields: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.listPushTemplates({\n fields: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/marketing/templates/push"]["post"] update: "x-codeSamples": @@ -1094,7 +1118,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "marketing_get_push_template" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.getPushTemplate({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.getPushTemplate({\n id: \"\",\n fields: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/marketing/templates/push/{id}"]["patch"] update: "x-codeSamples": @@ -1106,7 +1130,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "marketing_list_sms_templates" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.listSmsTemplates({\n raw: false,\n fields: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n pageSize: \"25\",\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.listSmsTemplates({\n fields: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n filter: {\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n },\n updatedAfter: \"2020-01-01T00:00:00.000Z\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/marketing/templates/sms"]["post"] update: "x-codeSamples": @@ -1118,7 +1142,7 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "marketing_get_sms_template" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.getSmsTemplate({\n id: \"\",\n raw: false,\n fields: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.marketing.getSmsTemplate({\n id: \"\",\n fields: \"id,remote_id,name,messages,created_at,updated_at,tags\",\n xAccountId: \"\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - target: $["paths"]["/unified/marketing/templates/sms/{id}"]["patch"] update: "x-codeSamples": @@ -1130,10 +1154,4 @@ actions: "x-codeSamples": - "lang": "typescript" "label": "stackone_proxy_request" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\nimport { Method } from \"@stackone/stackone-client-ts/sdk/models/shared\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.proxy.proxyRequest({\n xAccountId: \"\",\n proxyRequestBody: {\n url: \"https://api.sample-integration.com/v1\",\n method: Method.Get,\n path: \"/employees/directory\",\n headers: {\n \"Content-Type\": \"application/json\",\n },\n },\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" - - target: $["paths"]["/webhooks/{id}/events"]["post"] - update: - "x-codeSamples": - - "lang": "typescript" - "label": "create" - "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.webhooks.create({\n id: 6384.24,\n xAccountId: \"\",\n requestBody: [\n {\n event: \"hris_employees.created\",\n recordId: \"\",\n },\n ],\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" + "source": "import { StackOne } from \"@stackone/stackone-client-ts\";\n\nconst stackOne = new StackOne({\n security: {\n username: \"\",\n password: \"\",\n },\n});\n\nasync function run() {\n const result = await stackOne.proxy.proxyRequest({\n xAccountId: \"\",\n proxyRequestBody: {\n url: \"https://api.sample-integration.com/v1\",\n path: \"/employees/directory\",\n headers: {\n \"Content-Type\": \"application/json\",\n },\n },\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();" diff --git a/docs/sdk/models/operations/atsorderassessmentsrequestrequest.md b/docs/sdk/models/operations/atsorderassessmentsrequestrequest.md new file mode 100644 index 000000000..7722818ce --- /dev/null +++ b/docs/sdk/models/operations/atsorderassessmentsrequestrequest.md @@ -0,0 +1,86 @@ +# AtsOrderAssessmentsRequestRequest + +## Example Usage + +```typescript +import { AtsOrderAssessmentsRequestRequest } from "@stackone/stackone-client-ts/sdk/models/operations"; +import { AtsCreateCandidatesAssessmentsRequestDtoValue } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: AtsOrderAssessmentsRequestRequest = { + atsCreateCandidatesAssessmentsRequestDto: { + application: { + applicationStatus: { + sourceValue: "Hired", + value: AtsCreateCandidatesAssessmentsRequestDtoValue.Hired, + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "other_known_names": "John Doe", + }, + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + candidate: { + emails: [ + { + type: "personal", + value: "sestier.romain123@gmail.com", + }, + ], + firstName: "Romain", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + lastName: "Sestier", + passthrough: { + "other_known_names": "John Doe", + }, + profileUrl: "https://exmaple.com/candidate?id=xyz", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + job: { + hiringTeam: [ + { + email: "john.doe@gmail.com", + firstName: "John", + lastName: "Doe", + remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + role: "Software Engineer", + userId: "123456", + }, + ], + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "other_known_names": "John Doe", + }, + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + title: "Software Engineer", + }, + package: { + description: + "Skills test to gauge a candidate's proficiency in job-specific skills", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Test 1", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + passthrough: { + "other_known_names": "John Doe", + }, + requester: { + email: "john.doe@gmail.com", + firstName: "John", + lastName: "Doe", + remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + role: "Software Engineer", + userId: "123456", + }, + resultsUpdateUrl: "https://exmaple.com/integrations/results/update", + }, + xAccountId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | +| `atsCreateCandidatesAssessmentsRequestDto` | [shared.AtsCreateCandidatesAssessmentsRequestDto](../../../sdk/models/shared/atscreatecandidatesassessmentsrequestdto.md) | :heavy_check_mark: | N/A | +| `xAccountId` | *string* | :heavy_check_mark: | The account identifier | \ No newline at end of file diff --git a/docs/sdk/models/operations/atsorderassessmentsrequestresponse.md b/docs/sdk/models/operations/atsorderassessmentsrequestresponse.md new file mode 100644 index 000000000..d62cdb777 --- /dev/null +++ b/docs/sdk/models/operations/atsorderassessmentsrequestresponse.md @@ -0,0 +1,35 @@ +# AtsOrderAssessmentsRequestResponse + +## Example Usage + +```typescript +import { AtsOrderAssessmentsRequestResponse } from "@stackone/stackone-client-ts/sdk/models/operations"; + +let value: AtsOrderAssessmentsRequestResponse = { + contentType: "", + createAssessmentOrderResult: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + testUrl: "https://exmaple.com/integrations/candidate/test", + }, + headers: { + "key": [ + "", + ], + }, + statusCode: 300, + rawResponse: new Response("{\"message\": \"hello world\"}", { + headers: { "Content-Type": "application/json" }, + }), +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | +| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | +| `createAssessmentOrderResult` | [shared.CreateAssessmentOrderResult](../../../sdk/models/shared/createassessmentorderresult.md) | :heavy_minus_sign: | The order request of the assessment for candidate. | +| `headers` | Record | :heavy_check_mark: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/sdk/models/operations/atsorderbackgroundcheckrequestrequest.md b/docs/sdk/models/operations/atsorderbackgroundcheckrequestrequest.md new file mode 100644 index 000000000..c35dc92ed --- /dev/null +++ b/docs/sdk/models/operations/atsorderbackgroundcheckrequestrequest.md @@ -0,0 +1,96 @@ +# AtsOrderBackgroundCheckRequestRequest + +## Example Usage + +```typescript +import { AtsOrderBackgroundCheckRequestRequest } from "@stackone/stackone-client-ts/sdk/models/operations"; +import { AtsCreateBackgroundCheckOrderRequestDtoValue } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: AtsOrderBackgroundCheckRequestRequest = { + atsCreateBackgroundCheckOrderRequestDto: { + application: { + applicationStatus: { + sourceValue: "Hired", + value: AtsCreateBackgroundCheckOrderRequestDtoValue.Hired, + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "other_known_names": "John Doe", + }, + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + candidate: { + emails: [ + { + type: "personal", + value: "sestier.romain123@gmail.com", + }, + ], + firstName: "Romain", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + lastName: "Sestier", + passthrough: { + "other_known_names": "John Doe", + }, + profileUrl: "https://exmaple.com/candidate?id=xyz", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + job: { + hiringTeam: [ + { + email: "john.doe@gmail.com", + firstName: "John", + lastName: "Doe", + remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + role: "Software Engineer", + userId: "123456", + }, + ], + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "other_known_names": "John Doe", + }, + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + title: "Software Engineer", + }, + package: { + description: + "Skills test to gauge a candidate's proficiency in job-specific skills", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Test 1", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + tests: [ + { + description: + "Skills test to gauge a candidate's proficiency in job-specific skills", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Test 1", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + ], + }, + passthrough: { + "other_known_names": "John Doe", + }, + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + requester: { + email: "john.doe@gmail.com", + firstName: "John", + lastName: "Doe", + remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + role: "Software Engineer", + userId: "123456", + }, + resultsUpdateUrl: "https://exmaple.com/integrations/results/update", + }, + xAccountId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | +| `atsCreateBackgroundCheckOrderRequestDto` | [shared.AtsCreateBackgroundCheckOrderRequestDto](../../../sdk/models/shared/atscreatebackgroundcheckorderrequestdto.md) | :heavy_check_mark: | N/A | +| `xAccountId` | *string* | :heavy_check_mark: | The account identifier | \ No newline at end of file diff --git a/docs/sdk/models/operations/atsorderbackgroundcheckrequestresponse.md b/docs/sdk/models/operations/atsorderbackgroundcheckrequestresponse.md new file mode 100644 index 000000000..f5ab94c7e --- /dev/null +++ b/docs/sdk/models/operations/atsorderbackgroundcheckrequestresponse.md @@ -0,0 +1,35 @@ +# AtsOrderBackgroundCheckRequestResponse + +## Example Usage + +```typescript +import { AtsOrderBackgroundCheckRequestResponse } from "@stackone/stackone-client-ts/sdk/models/operations"; + +let value: AtsOrderBackgroundCheckRequestResponse = { + contentType: "", + createBackgroundCheckOrderResult: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + testUrl: "https://exmaple.com/integrations/candidate/test", + }, + headers: { + "key": [ + "", + ], + }, + statusCode: 413, + rawResponse: new Response("{\"message\": \"hello world\"}", { + headers: { "Content-Type": "application/json" }, + }), +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | +| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | +| `createBackgroundCheckOrderResult` | [shared.CreateBackgroundCheckOrderResult](../../../sdk/models/shared/createbackgroundcheckorderresult.md) | :heavy_minus_sign: | The order request of the background check for candidate. | +| `headers` | Record | :heavy_check_mark: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/sdk/models/operations/atsrejectapplicationresponse.md b/docs/sdk/models/operations/atsrejectapplicationresponse.md index 026838c41..c8c9443c7 100644 --- a/docs/sdk/models/operations/atsrejectapplicationresponse.md +++ b/docs/sdk/models/operations/atsrejectapplicationresponse.md @@ -21,7 +21,7 @@ let value: AtsRejectApplicationResponse = { statusCode: 200, timestamp: new Date("2021-01-01T01:01:01.000Z"), }, - statusCode: 300, + statusCode: 428, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/atsupdateapplicationnoteresponse.md b/docs/sdk/models/operations/atsupdateapplicationnoteresponse.md index dff4b7516..3e00f66c2 100644 --- a/docs/sdk/models/operations/atsupdateapplicationnoteresponse.md +++ b/docs/sdk/models/operations/atsupdateapplicationnoteresponse.md @@ -12,7 +12,7 @@ let value: AtsUpdateApplicationNoteResponse = { "", ], }, - statusCode: 428, + statusCode: 101, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/atsupdateapplicationresponse.md b/docs/sdk/models/operations/atsupdateapplicationresponse.md index cfdf8a186..bfa13163d 100644 --- a/docs/sdk/models/operations/atsupdateapplicationresponse.md +++ b/docs/sdk/models/operations/atsupdateapplicationresponse.md @@ -12,7 +12,7 @@ let value: AtsUpdateApplicationResponse = { "", ], }, - statusCode: 413, + statusCode: 510, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/atsupdatecandidateresponse.md b/docs/sdk/models/operations/atsupdatecandidateresponse.md index 912ed0314..ac86829e7 100644 --- a/docs/sdk/models/operations/atsupdatecandidateresponse.md +++ b/docs/sdk/models/operations/atsupdatecandidateresponse.md @@ -21,7 +21,7 @@ let value: AtsUpdateCandidateResponse = { "", ], }, - statusCode: 510, + statusCode: 404, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/atsupdatejobresponse.md b/docs/sdk/models/operations/atsupdatejobresponse.md index 43aaeb233..8aca29531 100644 --- a/docs/sdk/models/operations/atsupdatejobresponse.md +++ b/docs/sdk/models/operations/atsupdatejobresponse.md @@ -21,7 +21,7 @@ let value: AtsUpdateJobResponse = { "", ], }, - statusCode: 101, + statusCode: 300, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/atsuploadapplicationdocumentresponse.md b/docs/sdk/models/operations/atsuploadapplicationdocumentresponse.md index 3d1cace05..5cc36c113 100644 --- a/docs/sdk/models/operations/atsuploadapplicationdocumentresponse.md +++ b/docs/sdk/models/operations/atsuploadapplicationdocumentresponse.md @@ -12,7 +12,7 @@ let value: AtsUploadApplicationDocumentResponse = { "", ], }, - statusCode: 404, + statusCode: 100, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/createrequest.md b/docs/sdk/models/operations/createrequest.md deleted file mode 100644 index b2a3f30de..000000000 --- a/docs/sdk/models/operations/createrequest.md +++ /dev/null @@ -1,26 +0,0 @@ -# CreateRequest - -## Example Usage - -```typescript -import { CreateRequest } from "@stackone/stackone-client-ts/sdk/models/operations"; - -let value: CreateRequest = { - requestBody: [ - { - event: "hris_employees.created", - recordId: "", - }, - ], - id: 2531.91, - xAccountId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | -| `requestBody` | [shared.CreateEvent](../../../sdk/models/shared/createevent.md)[] | :heavy_check_mark: | N/A | -| `id` | *number* | :heavy_check_mark: | N/A | -| `xAccountId` | *string* | :heavy_check_mark: | The account identifier | \ No newline at end of file diff --git a/docs/sdk/models/operations/crmcreatecontactresponse.md b/docs/sdk/models/operations/crmcreatecontactresponse.md index 9ea5a264b..0e25b88c0 100644 --- a/docs/sdk/models/operations/crmcreatecontactresponse.md +++ b/docs/sdk/models/operations/crmcreatecontactresponse.md @@ -59,7 +59,7 @@ let value: CrmCreateContactResponse = { "", ], }, - statusCode: 300, + statusCode: 406, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/crmgetaccountresponse.md b/docs/sdk/models/operations/crmgetaccountresponse.md index d6e1a4ed9..e5cfc38b3 100644 --- a/docs/sdk/models/operations/crmgetaccountresponse.md +++ b/docs/sdk/models/operations/crmgetaccountresponse.md @@ -46,7 +46,7 @@ let value: CrmGetAccountResponse = { "", ], }, - statusCode: 100, + statusCode: 226, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/crmgetcontactcustomfielddefinitionresponse.md b/docs/sdk/models/operations/crmgetcontactcustomfielddefinitionresponse.md index 7326f7289..870b4c539 100644 --- a/docs/sdk/models/operations/crmgetcontactcustomfielddefinitionresponse.md +++ b/docs/sdk/models/operations/crmgetcontactcustomfielddefinitionresponse.md @@ -25,7 +25,7 @@ let value: CrmGetContactCustomFieldDefinitionResponse = { "", ], }, - statusCode: 226, + statusCode: 102, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/crmgetcontactresponse.md b/docs/sdk/models/operations/crmgetcontactresponse.md index 5fba02d4a..4c4b88011 100644 --- a/docs/sdk/models/operations/crmgetcontactresponse.md +++ b/docs/sdk/models/operations/crmgetcontactresponse.md @@ -59,7 +59,7 @@ let value: CrmGetContactResponse = { "", ], }, - statusCode: 406, + statusCode: 400, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/crmgetlistresponse.md b/docs/sdk/models/operations/crmgetlistresponse.md index 4e95fa16b..fc4673bac 100644 --- a/docs/sdk/models/operations/crmgetlistresponse.md +++ b/docs/sdk/models/operations/crmgetlistresponse.md @@ -35,7 +35,7 @@ let value: CrmGetListResponse = { updatedAt: new Date("2021-01-01T01:01:01.000Z"), }, }, - statusCode: 400, + statusCode: 302, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/crmlistaccountsresponse.md b/docs/sdk/models/operations/crmlistaccountsresponse.md index 63fe9a26a..d791a0e38 100644 --- a/docs/sdk/models/operations/crmlistaccountsresponse.md +++ b/docs/sdk/models/operations/crmlistaccountsresponse.md @@ -48,7 +48,7 @@ let value: CrmListAccountsResponse = { "", ], }, - statusCode: 102, + statusCode: 506, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/crmlistcontactcustomfielddefinitionsresponse.md b/docs/sdk/models/operations/crmlistcontactcustomfielddefinitionsresponse.md index 183cedb28..3b88bda73 100644 --- a/docs/sdk/models/operations/crmlistcontactcustomfielddefinitionsresponse.md +++ b/docs/sdk/models/operations/crmlistcontactcustomfielddefinitionsresponse.md @@ -27,7 +27,7 @@ let value: CrmListContactCustomFieldDefinitionsResponse = { "", ], }, - statusCode: 302, + statusCode: 305, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/crmlistcontactsresponse.md b/docs/sdk/models/operations/crmlistcontactsresponse.md index fa4fffae0..1645f4d24 100644 --- a/docs/sdk/models/operations/crmlistcontactsresponse.md +++ b/docs/sdk/models/operations/crmlistcontactsresponse.md @@ -61,7 +61,7 @@ let value: CrmListContactsResponse = { "", ], }, - statusCode: 506, + statusCode: 409, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/crmlistlistsresponse.md b/docs/sdk/models/operations/crmlistlistsresponse.md index 03baa3b70..97b5a80cc 100644 --- a/docs/sdk/models/operations/crmlistlistsresponse.md +++ b/docs/sdk/models/operations/crmlistlistsresponse.md @@ -37,7 +37,7 @@ let value: CrmListListsResponse = { }, ], }, - statusCode: 305, + statusCode: 202, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/crmupdatecontactresponse.md b/docs/sdk/models/operations/crmupdatecontactresponse.md index bd39aa753..c09594ec0 100644 --- a/docs/sdk/models/operations/crmupdatecontactresponse.md +++ b/docs/sdk/models/operations/crmupdatecontactresponse.md @@ -59,7 +59,7 @@ let value: CrmUpdateContactResponse = { "", ], }, - statusCode: 409, + statusCode: 103, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrisbatchuploademployeedocumentresponse.md b/docs/sdk/models/operations/hrisbatchuploademployeedocumentresponse.md index 1760e0c8a..a7b5ef6d5 100644 --- a/docs/sdk/models/operations/hrisbatchuploademployeedocumentresponse.md +++ b/docs/sdk/models/operations/hrisbatchuploademployeedocumentresponse.md @@ -24,7 +24,7 @@ let value: HrisBatchUploadEmployeeDocumentResponse = { "", ], }, - statusCode: 202, + statusCode: 414, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hriscreateemployeeemploymentresponse.md b/docs/sdk/models/operations/hriscreateemployeeemploymentresponse.md index 7165ae7ec..d229526a2 100644 --- a/docs/sdk/models/operations/hriscreateemployeeemploymentresponse.md +++ b/docs/sdk/models/operations/hriscreateemployeeemploymentresponse.md @@ -9,20 +9,129 @@ let value: HrisCreateEmployeeEmploymentResponse = { contentType: "", employmentResult: { data: { + active: true, + contractType: { + contractType: {}, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Full-Time", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + costCenter: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, createdAt: new Date("2021-01-01T01:01:01.000Z"), + department: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, + division: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, effectiveDate: new Date("2021-01-01T01:01:01.000Z"), employeeId: "1687-3", - employmentContractType: {}, - employmentType: {}, + endDate: new Date("2021-01-01T01:01:01.000Z"), id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - jobTitle: "Software Engineer", + job: { + description: { + text: "Testing the laws of motion", + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ownerId: "5356", + parentId: "7577", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + title: "Software Engineer", + }, + manager: [ + { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + role: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Admin", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + roleType: {}, + }, + }, + ], payCurrency: "USD", payFrequency: {}, payPeriod: {}, payRate: "40.00", remoteEmployeeId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + startDate: new Date("2021-01-01T01:01:01.000Z"), timeWorked: "P0Y0M0DT8H0M0S", + type: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Permanent", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + type: {}, + }, unifiedCustomFields: { "my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value", @@ -35,7 +144,7 @@ let value: HrisCreateEmployeeEmploymentResponse = { "", ], }, - statusCode: 414, + statusCode: 101, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hriscreateemployeeresponse.md b/docs/sdk/models/operations/hriscreateemployeeresponse.md index 045005c36..69af81818 100644 --- a/docs/sdk/models/operations/hriscreateemployeeresponse.md +++ b/docs/sdk/models/operations/hriscreateemployeeresponse.md @@ -21,7 +21,7 @@ let value: HrisCreateEmployeeResponse = { "", ], }, - statusCode: 103, + statusCode: 202, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hriscreateemployeetimeoffrequestresponse.md b/docs/sdk/models/operations/hriscreateemployeetimeoffrequestresponse.md index e9cd469bf..550369018 100644 --- a/docs/sdk/models/operations/hriscreateemployeetimeoffrequestresponse.md +++ b/docs/sdk/models/operations/hriscreateemployeetimeoffrequestresponse.md @@ -21,7 +21,7 @@ let value: HrisCreateEmployeeTimeOffRequestResponse = { "", ], }, - statusCode: 202, + statusCode: 206, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hriscreateemployeeworkeligibilityrequestresponse.md b/docs/sdk/models/operations/hriscreateemployeeworkeligibilityrequestresponse.md index 734be1b59..e7741d6a6 100644 --- a/docs/sdk/models/operations/hriscreateemployeeworkeligibilityrequestresponse.md +++ b/docs/sdk/models/operations/hriscreateemployeeworkeligibilityrequestresponse.md @@ -21,7 +21,7 @@ let value: HrisCreateEmployeeWorkEligibilityRequestResponse = { "", ], }, - statusCode: 101, + statusCode: 201, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hriscreatetimeoffrequestresponse.md b/docs/sdk/models/operations/hriscreatetimeoffrequestresponse.md index 07c2024ac..945b89c67 100644 --- a/docs/sdk/models/operations/hriscreatetimeoffrequestresponse.md +++ b/docs/sdk/models/operations/hriscreatetimeoffrequestresponse.md @@ -21,7 +21,7 @@ let value: HrisCreateTimeOffRequestResponse = { "", ], }, - statusCode: 206, + statusCode: 100, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrisgetbenefitresponse.md b/docs/sdk/models/operations/hrisgetbenefitresponse.md index 314c9dabf..f9ae8d311 100644 --- a/docs/sdk/models/operations/hrisgetbenefitresponse.md +++ b/docs/sdk/models/operations/hrisgetbenefitresponse.md @@ -23,7 +23,7 @@ let value: HrisGetBenefitResponse = { "", ], }, - statusCode: 201, + statusCode: 413, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrisgetcompanyresponse.md b/docs/sdk/models/operations/hrisgetcompanyresponse.md index 276258cab..cd7dd2dcb 100644 --- a/docs/sdk/models/operations/hrisgetcompanyresponse.md +++ b/docs/sdk/models/operations/hrisgetcompanyresponse.md @@ -26,7 +26,7 @@ let value: HrisGetCompanyResponse = { "", ], }, - statusCode: 100, + statusCode: 308, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrisgetcostcentergroupresponse.md b/docs/sdk/models/operations/hrisgetcostcentergroupresponse.md index d5efa18f1..a917f95bf 100644 --- a/docs/sdk/models/operations/hrisgetcostcentergroupresponse.md +++ b/docs/sdk/models/operations/hrisgetcostcentergroupresponse.md @@ -43,7 +43,7 @@ let value: HrisGetCostCenterGroupResponse = { "", ], }, - statusCode: 413, + statusCode: 502, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrisgetdepartmentgroupresponse.md b/docs/sdk/models/operations/hrisgetdepartmentgroupresponse.md index 9989f7515..68e2c3f54 100644 --- a/docs/sdk/models/operations/hrisgetdepartmentgroupresponse.md +++ b/docs/sdk/models/operations/hrisgetdepartmentgroupresponse.md @@ -40,7 +40,7 @@ let value: HrisGetDepartmentGroupResponse = { "", ], }, - statusCode: 308, + statusCode: 407, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrisgetemployeecustomfielddefinitionresponse.md b/docs/sdk/models/operations/hrisgetemployeecustomfielddefinitionresponse.md index 69eb3a1f4..537357bac 100644 --- a/docs/sdk/models/operations/hrisgetemployeecustomfielddefinitionresponse.md +++ b/docs/sdk/models/operations/hrisgetemployeecustomfielddefinitionresponse.md @@ -25,7 +25,7 @@ let value: HrisGetEmployeeCustomFieldDefinitionResponse = { "", ], }, - statusCode: 407, + statusCode: 203, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrisgetemployeedocumentcategoryresponse.md b/docs/sdk/models/operations/hrisgetemployeedocumentcategoryresponse.md index 6ef6660d2..b0384f306 100644 --- a/docs/sdk/models/operations/hrisgetemployeedocumentcategoryresponse.md +++ b/docs/sdk/models/operations/hrisgetemployeedocumentcategoryresponse.md @@ -20,7 +20,7 @@ let value: HrisGetEmployeeDocumentCategoryResponse = { remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", }, }, - statusCode: 203, + statusCode: 428, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrisgetemployeedocumentresponse.md b/docs/sdk/models/operations/hrisgetemployeedocumentresponse.md index da41cc6d4..c6379959a 100644 --- a/docs/sdk/models/operations/hrisgetemployeedocumentresponse.md +++ b/docs/sdk/models/operations/hrisgetemployeedocumentresponse.md @@ -34,7 +34,7 @@ let value: HrisGetEmployeeDocumentResponse = { updatedAt: new Date("2021-01-02T01:01:01.000Z"), }, }, - statusCode: 103, + statusCode: 307, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrisgetemployeeemploymentrequest.md b/docs/sdk/models/operations/hrisgetemployeeemploymentrequest.md index d9044088e..11ba722d1 100644 --- a/docs/sdk/models/operations/hrisgetemployeeemploymentrequest.md +++ b/docs/sdk/models/operations/hrisgetemployeeemploymentrequest.md @@ -8,7 +8,7 @@ import { HrisGetEmployeeEmploymentRequest } from "@stackone/stackone-client-ts/s let value: HrisGetEmployeeEmploymentRequest = { expand: "groups", fields: - "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at", + "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at,start_date,end_date,active,department,cost_center,division,job,type,contract_type,manager", id: "", subResourceId: "", xAccountId: "", @@ -17,12 +17,12 @@ let value: HrisGetEmployeeEmploymentRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `expand` | *string* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | groups | -| `fields` | *string* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at | -| `id` | *string* | :heavy_check_mark: | N/A | | -| `proxy` | Record | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | -| `raw` | *boolean* | :heavy_minus_sign: | Indicates that the raw request result is returned | | -| `subResourceId` | *string* | :heavy_check_mark: | N/A | | -| `xAccountId` | *string* | :heavy_check_mark: | The account identifier | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `expand` | *string* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | groups | +| `fields` | *string* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at,start_date,end_date,active,department,cost_center,division,job,type,contract_type,manager | +| `id` | *string* | :heavy_check_mark: | N/A | | +| `proxy` | Record | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | +| `raw` | *boolean* | :heavy_minus_sign: | Indicates that the raw request result is returned | | +| `subResourceId` | *string* | :heavy_check_mark: | N/A | | +| `xAccountId` | *string* | :heavy_check_mark: | The account identifier | | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrisgetemployeeemploymentresponse.md b/docs/sdk/models/operations/hrisgetemployeeemploymentresponse.md index 90a7643e4..a6cdef3c4 100644 --- a/docs/sdk/models/operations/hrisgetemployeeemploymentresponse.md +++ b/docs/sdk/models/operations/hrisgetemployeeemploymentresponse.md @@ -9,20 +9,129 @@ let value: HrisGetEmployeeEmploymentResponse = { contentType: "", employmentResult: { data: { + active: true, + contractType: { + contractType: {}, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Full-Time", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + costCenter: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, createdAt: new Date("2021-01-01T01:01:01.000Z"), + department: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, + division: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, effectiveDate: new Date("2021-01-01T01:01:01.000Z"), employeeId: "1687-3", - employmentContractType: {}, - employmentType: {}, + endDate: new Date("2021-01-01T01:01:01.000Z"), id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - jobTitle: "Software Engineer", + job: { + description: { + text: "Testing the laws of motion", + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ownerId: "5356", + parentId: "7577", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + title: "Software Engineer", + }, + manager: [ + { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + role: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Admin", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + roleType: {}, + }, + }, + ], payCurrency: "USD", payFrequency: {}, payPeriod: {}, payRate: "40.00", remoteEmployeeId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + startDate: new Date("2021-01-01T01:01:01.000Z"), timeWorked: "P0Y0M0DT8H0M0S", + type: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Permanent", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + type: {}, + }, unifiedCustomFields: { "my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value", @@ -35,7 +144,7 @@ let value: HrisGetEmployeeEmploymentResponse = { "", ], }, - statusCode: 307, + statusCode: 207, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrisgetemployeeresponse.md b/docs/sdk/models/operations/hrisgetemployeeresponse.md index fa48e516c..57fed23a6 100644 --- a/docs/sdk/models/operations/hrisgetemployeeresponse.md +++ b/docs/sdk/models/operations/hrisgetemployeeresponse.md @@ -49,14 +49,6 @@ let value: HrisGetEmployeeResponse = { updatedAt: new Date("2024-02-23T00:00:00.000Z"), }, companyName: "Example Corp", - costCenters: [ - { - distributionPercentage: 100, - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - name: "R&D", - remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - }, - ], createdAt: new Date("2021-01-01T01:01:01.000Z"), customFields: [ { @@ -69,29 +61,134 @@ let value: HrisGetEmployeeResponse = { }, ], dateOfBirth: new Date("1990-01-01T00:00.000Z"), - department: "Physics", - departmentId: "3093", displayName: "Sir Issac Newton", employeeNumber: "125", - employmentContractType: {}, employmentStatus: {}, - employmentType: {}, employments: [ { + active: true, + contractType: { + contractType: {}, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Full-Time", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + costCenter: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, createdAt: new Date("2021-01-01T01:01:01.000Z"), + department: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, + division: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, effectiveDate: new Date("2021-01-01T01:01:01.000Z"), employeeId: "1687-3", - employmentContractType: {}, - employmentType: {}, + endDate: new Date("2021-01-01T01:01:01.000Z"), id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - jobTitle: "Software Engineer", + job: { + description: { + text: "Testing the laws of motion", + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ownerId: "5356", + parentId: "7577", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + title: "Software Engineer", + }, + manager: [ + { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + role: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Admin", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + roleType: {}, + }, + }, + ], payCurrency: "USD", payFrequency: {}, payPeriod: {}, payRate: "40.00", remoteEmployeeId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + startDate: new Date("2021-01-01T01:01:01.000Z"), timeWorked: "P0Y0M0DT8H0M0S", + type: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Permanent", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + type: {}, + }, unifiedCustomFields: { "my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value", @@ -157,11 +254,7 @@ let value: HrisGetEmployeeResponse = { zipCode: "NG33 5NR", }, id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - jobDescription: {}, - jobId: "5290", - jobTitle: "Physicist", lastName: "Newton", - managerId: "67890", maritalStatus: {}, name: "Issac Newton", nationalIdentityNumber: { @@ -178,7 +271,6 @@ let value: HrisGetEmployeeResponse = { preferredLanguage: {}, remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", remoteManagerId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", - startDate: new Date("2021-01-01T00:00.000Z"), tenure: 2, terminationDate: new Date("2021-01-01T00:00:00Z"), unifiedCustomFields: { @@ -219,7 +311,7 @@ let value: HrisGetEmployeeResponse = { "", ], }, - statusCode: 502, + statusCode: 103, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrisgetemployeestimeoffrequestresponse.md b/docs/sdk/models/operations/hrisgetemployeestimeoffrequestresponse.md index 0d0547be7..da05ed384 100644 --- a/docs/sdk/models/operations/hrisgetemployeestimeoffrequestresponse.md +++ b/docs/sdk/models/operations/hrisgetemployeestimeoffrequestresponse.md @@ -12,7 +12,7 @@ let value: HrisGetEmployeesTimeOffRequestResponse = { "", ], }, - statusCode: 428, + statusCode: 103, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrisgetemployeesworkeligibilityresponse.md b/docs/sdk/models/operations/hrisgetemployeesworkeligibilityresponse.md index b5f72db90..1ac52fa21 100644 --- a/docs/sdk/models/operations/hrisgetemployeesworkeligibilityresponse.md +++ b/docs/sdk/models/operations/hrisgetemployeesworkeligibilityresponse.md @@ -13,7 +13,7 @@ let value: HrisGetEmployeesWorkEligibilityResponse = { "", ], }, - statusCode: 207, + statusCode: 406, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrisgetemploymentrequest.md b/docs/sdk/models/operations/hrisgetemploymentrequest.md index 6a2381675..b6e31accf 100644 --- a/docs/sdk/models/operations/hrisgetemploymentrequest.md +++ b/docs/sdk/models/operations/hrisgetemploymentrequest.md @@ -8,7 +8,7 @@ import { HrisGetEmploymentRequest } from "@stackone/stackone-client-ts/sdk/model let value: HrisGetEmploymentRequest = { expand: "groups", fields: - "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at", + "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at,start_date,end_date,active,department,cost_center,division,job,type,contract_type,manager", id: "", xAccountId: "", }; @@ -16,11 +16,11 @@ let value: HrisGetEmploymentRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `expand` | *string* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | groups | -| `fields` | *string* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at | -| `id` | *string* | :heavy_check_mark: | N/A | | -| `proxy` | Record | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | -| `raw` | *boolean* | :heavy_minus_sign: | Indicates that the raw request result is returned | | -| `xAccountId` | *string* | :heavy_check_mark: | The account identifier | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `expand` | *string* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | groups | +| `fields` | *string* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at,start_date,end_date,active,department,cost_center,division,job,type,contract_type,manager | +| `id` | *string* | :heavy_check_mark: | N/A | | +| `proxy` | Record | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | +| `raw` | *boolean* | :heavy_minus_sign: | Indicates that the raw request result is returned | | +| `xAccountId` | *string* | :heavy_check_mark: | The account identifier | | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrisgetemploymentresponse.md b/docs/sdk/models/operations/hrisgetemploymentresponse.md index 814856872..ac085dfd3 100644 --- a/docs/sdk/models/operations/hrisgetemploymentresponse.md +++ b/docs/sdk/models/operations/hrisgetemploymentresponse.md @@ -9,20 +9,129 @@ let value: HrisGetEmploymentResponse = { contentType: "", employmentResult: { data: { + active: true, + contractType: { + contractType: {}, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Full-Time", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + costCenter: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, createdAt: new Date("2021-01-01T01:01:01.000Z"), + department: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, + division: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, effectiveDate: new Date("2021-01-01T01:01:01.000Z"), employeeId: "1687-3", - employmentContractType: {}, - employmentType: {}, + endDate: new Date("2021-01-01T01:01:01.000Z"), id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - jobTitle: "Software Engineer", + job: { + description: { + text: "Testing the laws of motion", + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ownerId: "5356", + parentId: "7577", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + title: "Software Engineer", + }, + manager: [ + { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + role: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Admin", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + roleType: {}, + }, + }, + ], payCurrency: "USD", payFrequency: {}, payPeriod: {}, payRate: "40.00", remoteEmployeeId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + startDate: new Date("2021-01-01T01:01:01.000Z"), timeWorked: "P0Y0M0DT8H0M0S", + type: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Permanent", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + type: {}, + }, unifiedCustomFields: { "my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value", @@ -35,7 +144,7 @@ let value: HrisGetEmploymentResponse = { "", ], }, - statusCode: 103, + statusCode: 508, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrisgetgroupresponse.md b/docs/sdk/models/operations/hrisgetgroupresponse.md index 8c51aebcf..efc3182a4 100644 --- a/docs/sdk/models/operations/hrisgetgroupresponse.md +++ b/docs/sdk/models/operations/hrisgetgroupresponse.md @@ -43,7 +43,7 @@ let value: HrisGetGroupResponse = { "", ], }, - statusCode: 406, + statusCode: 202, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrisgetjobresponse.md b/docs/sdk/models/operations/hrisgetjobresponse.md index 7cbd190b6..07759bddb 100644 --- a/docs/sdk/models/operations/hrisgetjobresponse.md +++ b/docs/sdk/models/operations/hrisgetjobresponse.md @@ -81,7 +81,7 @@ let value: HrisGetJobResponse = { updatedAt: new Date("2021-01-01T01:01:01.000Z"), }, }, - statusCode: 508, + statusCode: 300, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrisgetlocationresponse.md b/docs/sdk/models/operations/hrisgetlocationresponse.md index 1a825398f..2e465cfe7 100644 --- a/docs/sdk/models/operations/hrisgetlocationresponse.md +++ b/docs/sdk/models/operations/hrisgetlocationresponse.md @@ -38,7 +38,7 @@ let value: HrisGetLocationResponse = { "", ], }, - statusCode: 202, + statusCode: 204, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrisgettimeentriesrequest.md b/docs/sdk/models/operations/hrisgettimeentriesrequest.md new file mode 100644 index 000000000..52d88412b --- /dev/null +++ b/docs/sdk/models/operations/hrisgettimeentriesrequest.md @@ -0,0 +1,24 @@ +# HrisGetTimeEntriesRequest + +## Example Usage + +```typescript +import { HrisGetTimeEntriesRequest } from "@stackone/stackone-client-ts/sdk/models/operations"; + +let value: HrisGetTimeEntriesRequest = { + fields: + "id,remote_id,employee_id,remote_employee_id,start_time,end_time,hours_worked,break_duration,labor_type,location,status,created_at,updated_at", + id: "", + xAccountId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | +| `fields` | *string* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,employee_id,remote_employee_id,start_time,end_time,hours_worked,break_duration,labor_type,location,status,created_at,updated_at | +| `id` | *string* | :heavy_check_mark: | N/A | | +| `proxy` | Record | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | +| `raw` | *boolean* | :heavy_minus_sign: | Indicates that the raw request result is returned | | +| `xAccountId` | *string* | :heavy_check_mark: | The account identifier | | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrisgettimeentriesresponse.md b/docs/sdk/models/operations/hrisgettimeentriesresponse.md new file mode 100644 index 000000000..8bfb4a65a --- /dev/null +++ b/docs/sdk/models/operations/hrisgettimeentriesresponse.md @@ -0,0 +1,57 @@ +# HrisGetTimeEntriesResponse + +## Example Usage + +```typescript +import { HrisGetTimeEntriesResponse } from "@stackone/stackone-client-ts/sdk/models/operations"; + +let value: HrisGetTimeEntriesResponse = { + contentType: "", + headers: { + "key": [ + "", + ], + }, + statusCode: 204, + rawResponse: new Response("{\"message\": \"hello world\"}", { + headers: { "Content-Type": "application/json" }, + }), + timeEntriesResult: { + data: { + breakDuration: 0.5, + createdAt: new Date("2023-02-23T00:00:00.000Z"), + employeeId: "1687-3", + endTime: new Date("2021-01-01T01:01:01.000Z"), + hoursWorked: 8, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + laborType: { + code: "ABC123", + }, + location: { + active: true, + id: "1687-3", + name: "1687-4", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + remoteEmployeeId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + startTime: new Date("2021-01-01T01:01:01.000Z"), + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + updatedAt: new Date("2024-02-23T00:00:00.000Z"), + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | +| `headers` | Record | :heavy_check_mark: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `timeEntriesResult` | [shared.TimeEntriesResult](../../../sdk/models/shared/timeentriesresult.md) | :heavy_minus_sign: | The time entry with the given identifier was retrieved. | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrisgettimeoffrequestresponse.md b/docs/sdk/models/operations/hrisgettimeoffrequestresponse.md index c90523980..9afe6499a 100644 --- a/docs/sdk/models/operations/hrisgettimeoffrequestresponse.md +++ b/docs/sdk/models/operations/hrisgettimeoffrequestresponse.md @@ -12,7 +12,7 @@ let value: HrisGetTimeOffRequestResponse = { "", ], }, - statusCode: 300, + statusCode: 205, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrisgettimeofftyperesponse.md b/docs/sdk/models/operations/hrisgettimeofftyperesponse.md index 1ea0110fc..9d1c6fdf3 100644 --- a/docs/sdk/models/operations/hrisgettimeofftyperesponse.md +++ b/docs/sdk/models/operations/hrisgettimeofftyperesponse.md @@ -20,7 +20,7 @@ let value: HrisGetTimeOffTypeResponse = { remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", }, }, - statusCode: 204, + statusCode: 501, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrislistbenefitsresponse.md b/docs/sdk/models/operations/hrislistbenefitsresponse.md index ca2c4065b..59a4ebdab 100644 --- a/docs/sdk/models/operations/hrislistbenefitsresponse.md +++ b/docs/sdk/models/operations/hrislistbenefitsresponse.md @@ -25,7 +25,7 @@ let value: HrisListBenefitsResponse = { "", ], }, - statusCode: 204, + statusCode: 301, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrislistcompaniesresponse.md b/docs/sdk/models/operations/hrislistcompaniesresponse.md index 7e4e41626..3f36d58ef 100644 --- a/docs/sdk/models/operations/hrislistcompaniesresponse.md +++ b/docs/sdk/models/operations/hrislistcompaniesresponse.md @@ -28,7 +28,7 @@ let value: HrisListCompaniesResponse = { "", ], }, - statusCode: 205, + statusCode: 411, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrislistcostcentergroupsresponse.md b/docs/sdk/models/operations/hrislistcostcentergroupsresponse.md index 259f47946..e93b69ec2 100644 --- a/docs/sdk/models/operations/hrislistcostcentergroupsresponse.md +++ b/docs/sdk/models/operations/hrislistcostcentergroupsresponse.md @@ -45,7 +45,7 @@ let value: HrisListCostCenterGroupsResponse = { "", ], }, - statusCode: 501, + statusCode: 301, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrislistdepartmentgroupsresponse.md b/docs/sdk/models/operations/hrislistdepartmentgroupsresponse.md index 7bddf428f..84e990242 100644 --- a/docs/sdk/models/operations/hrislistdepartmentgroupsresponse.md +++ b/docs/sdk/models/operations/hrislistdepartmentgroupsresponse.md @@ -42,7 +42,7 @@ let value: HrisListDepartmentGroupsResponse = { "", ], }, - statusCode: 301, + statusCode: 101, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrislistemployeecategoriesresponse.md b/docs/sdk/models/operations/hrislistemployeecategoriesresponse.md index 4411c5640..714d87983 100644 --- a/docs/sdk/models/operations/hrislistemployeecategoriesresponse.md +++ b/docs/sdk/models/operations/hrislistemployeecategoriesresponse.md @@ -22,7 +22,7 @@ let value: HrisListEmployeeCategoriesResponse = { }, ], }, - statusCode: 411, + statusCode: 226, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrislistemployeecustomfielddefinitionsresponse.md b/docs/sdk/models/operations/hrislistemployeecustomfielddefinitionsresponse.md index 13b173c80..cb082ceed 100644 --- a/docs/sdk/models/operations/hrislistemployeecustomfielddefinitionsresponse.md +++ b/docs/sdk/models/operations/hrislistemployeecustomfielddefinitionsresponse.md @@ -27,7 +27,7 @@ let value: HrisListEmployeeCustomFieldDefinitionsResponse = { "", ], }, - statusCode: 301, + statusCode: 423, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrislistemployeedocumentsresponse.md b/docs/sdk/models/operations/hrislistemployeedocumentsresponse.md index 24d28319b..c742b46ce 100644 --- a/docs/sdk/models/operations/hrislistemployeedocumentsresponse.md +++ b/docs/sdk/models/operations/hrislistemployeedocumentsresponse.md @@ -36,7 +36,7 @@ let value: HrisListEmployeeDocumentsResponse = { }, ], }, - statusCode: 101, + statusCode: 500, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrislistemployeeemploymentsrequest.md b/docs/sdk/models/operations/hrislistemployeeemploymentsrequest.md index 6855c6753..da726ef3b 100644 --- a/docs/sdk/models/operations/hrislistemployeeemploymentsrequest.md +++ b/docs/sdk/models/operations/hrislistemployeeemploymentsrequest.md @@ -8,7 +8,7 @@ import { HrisListEmployeeEmploymentsRequest } from "@stackone/stackone-client-ts let value: HrisListEmployeeEmploymentsRequest = { expand: "groups", fields: - "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at", + "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at,start_date,end_date,active,department,cost_center,division,job,type,contract_type,manager", filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, @@ -19,16 +19,16 @@ let value: HrisListEmployeeEmploymentsRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `expand` | *string* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | groups | -| `fields` | *string* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at | -| `filter` | [operations.HrisListEmployeeEmploymentsQueryParamFilter](../../../sdk/models/operations/hrislistemployeeemploymentsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | -| `id` | *string* | :heavy_check_mark: | N/A | | -| `next` | *string* | :heavy_minus_sign: | The unified cursor | | -| ~~`page`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | -| `pageSize` | *string* | :heavy_minus_sign: | The number of results per page | | -| `proxy` | Record | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | -| `raw` | *boolean* | :heavy_minus_sign: | Indicates that the raw request result is returned | | -| ~~`updatedAfter`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | -| `xAccountId` | *string* | :heavy_check_mark: | The account identifier | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `expand` | *string* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | groups | +| `fields` | *string* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at,start_date,end_date,active,department,cost_center,division,job,type,contract_type,manager | +| `filter` | [operations.HrisListEmployeeEmploymentsQueryParamFilter](../../../sdk/models/operations/hrislistemployeeemploymentsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | +| `id` | *string* | :heavy_check_mark: | N/A | | +| `next` | *string* | :heavy_minus_sign: | The unified cursor | | +| ~~`page`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | +| `pageSize` | *string* | :heavy_minus_sign: | The number of results per page | | +| `proxy` | Record | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | +| `raw` | *boolean* | :heavy_minus_sign: | Indicates that the raw request result is returned | | +| ~~`updatedAfter`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `xAccountId` | *string* | :heavy_check_mark: | The account identifier | | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistemployeeemploymentsresponse.md b/docs/sdk/models/operations/hrislistemployeeemploymentsresponse.md index 412395d0e..1ee41f44c 100644 --- a/docs/sdk/models/operations/hrislistemployeeemploymentsresponse.md +++ b/docs/sdk/models/operations/hrislistemployeeemploymentsresponse.md @@ -10,20 +10,129 @@ let value: HrisListEmployeeEmploymentsResponse = { employmentsPaginated: { data: [ { + active: true, + contractType: { + contractType: {}, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Full-Time", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + costCenter: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, createdAt: new Date("2021-01-01T01:01:01.000Z"), + department: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, + division: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, effectiveDate: new Date("2021-01-01T01:01:01.000Z"), employeeId: "1687-3", - employmentContractType: {}, - employmentType: {}, + endDate: new Date("2021-01-01T01:01:01.000Z"), id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - jobTitle: "Software Engineer", + job: { + description: { + text: "Testing the laws of motion", + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ownerId: "5356", + parentId: "7577", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + title: "Software Engineer", + }, + manager: [ + { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + role: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Admin", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + roleType: {}, + }, + }, + ], payCurrency: "USD", payFrequency: {}, payPeriod: {}, payRate: "40.00", remoteEmployeeId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + startDate: new Date("2021-01-01T01:01:01.000Z"), timeWorked: "P0Y0M0DT8H0M0S", + type: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Permanent", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + type: {}, + }, unifiedCustomFields: { "my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value", @@ -37,7 +146,7 @@ let value: HrisListEmployeeEmploymentsResponse = { "", ], }, - statusCode: 226, + statusCode: 305, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrislistemployeesresponse.md b/docs/sdk/models/operations/hrislistemployeesresponse.md index 486211c19..c67944283 100644 --- a/docs/sdk/models/operations/hrislistemployeesresponse.md +++ b/docs/sdk/models/operations/hrislistemployeesresponse.md @@ -50,14 +50,6 @@ let value: HrisListEmployeesResponse = { updatedAt: new Date("2024-02-23T00:00:00.000Z"), }, companyName: "Example Corp", - costCenters: [ - { - distributionPercentage: 100, - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - name: "R&D", - remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - }, - ], createdAt: new Date("2021-01-01T01:01:01.000Z"), customFields: [ { @@ -70,29 +62,134 @@ let value: HrisListEmployeesResponse = { }, ], dateOfBirth: new Date("1990-01-01T00:00.000Z"), - department: "Physics", - departmentId: "3093", displayName: "Sir Issac Newton", employeeNumber: "125", - employmentContractType: {}, employmentStatus: {}, - employmentType: {}, employments: [ { + active: true, + contractType: { + contractType: {}, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Full-Time", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + costCenter: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, createdAt: new Date("2021-01-01T01:01:01.000Z"), + department: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, + division: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, effectiveDate: new Date("2021-01-01T01:01:01.000Z"), employeeId: "1687-3", - employmentContractType: {}, - employmentType: {}, + endDate: new Date("2021-01-01T01:01:01.000Z"), id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - jobTitle: "Software Engineer", + job: { + description: { + text: "Testing the laws of motion", + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ownerId: "5356", + parentId: "7577", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + title: "Software Engineer", + }, + manager: [ + { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + role: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Admin", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + roleType: {}, + }, + }, + ], payCurrency: "USD", payFrequency: {}, payPeriod: {}, payRate: "40.00", remoteEmployeeId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + startDate: new Date("2021-01-01T01:01:01.000Z"), timeWorked: "P0Y0M0DT8H0M0S", + type: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Permanent", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + type: {}, + }, unifiedCustomFields: { "my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value", @@ -158,11 +255,7 @@ let value: HrisListEmployeesResponse = { zipCode: "NG33 5NR", }, id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - jobDescription: {}, - jobId: "5290", - jobTitle: "Physicist", lastName: "Newton", - managerId: "67890", maritalStatus: {}, name: "Issac Newton", nationalIdentityNumber: { @@ -179,7 +272,6 @@ let value: HrisListEmployeesResponse = { preferredLanguage: {}, remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", remoteManagerId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", - startDate: new Date("2021-01-01T00:00.000Z"), tenure: 2, terminationDate: new Date("2021-01-01T00:00:00Z"), unifiedCustomFields: { @@ -221,7 +313,7 @@ let value: HrisListEmployeesResponse = { "", ], }, - statusCode: 305, + statusCode: 103, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrislistemployeetimeoffrequestsresponse.md b/docs/sdk/models/operations/hrislistemployeetimeoffrequestsresponse.md index c12c5345a..604515fdc 100644 --- a/docs/sdk/models/operations/hrislistemployeetimeoffrequestsresponse.md +++ b/docs/sdk/models/operations/hrislistemployeetimeoffrequestsresponse.md @@ -12,7 +12,7 @@ let value: HrisListEmployeeTimeOffRequestsResponse = { "", ], }, - statusCode: 423, + statusCode: 503, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrislistemployeeworkeligibilityresponse.md b/docs/sdk/models/operations/hrislistemployeeworkeligibilityresponse.md index 5c56e13c0..876eb914b 100644 --- a/docs/sdk/models/operations/hrislistemployeeworkeligibilityresponse.md +++ b/docs/sdk/models/operations/hrislistemployeeworkeligibilityresponse.md @@ -13,7 +13,7 @@ let value: HrisListEmployeeWorkEligibilityResponse = { "", ], }, - statusCode: 500, + statusCode: 201, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrislistemploymentsrequest.md b/docs/sdk/models/operations/hrislistemploymentsrequest.md index bb0ca225d..775c2cd2d 100644 --- a/docs/sdk/models/operations/hrislistemploymentsrequest.md +++ b/docs/sdk/models/operations/hrislistemploymentsrequest.md @@ -8,7 +8,7 @@ import { HrisListEmploymentsRequest } from "@stackone/stackone-client-ts/sdk/mod let value: HrisListEmploymentsRequest = { expand: "groups", fields: - "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at", + "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at,start_date,end_date,active,department,cost_center,division,job,type,contract_type,manager", filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, @@ -18,15 +18,15 @@ let value: HrisListEmploymentsRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `expand` | *string* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | groups | -| `fields` | *string* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at | -| `filter` | [operations.HrisListEmploymentsQueryParamFilter](../../../sdk/models/operations/hrislistemploymentsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | -| `next` | *string* | :heavy_minus_sign: | The unified cursor | | -| ~~`page`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | -| `pageSize` | *string* | :heavy_minus_sign: | The number of results per page | | -| `proxy` | Record | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | -| `raw` | *boolean* | :heavy_minus_sign: | Indicates that the raw request result is returned | | -| ~~`updatedAfter`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | -| `xAccountId` | *string* | :heavy_check_mark: | The account identifier | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `expand` | *string* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | groups | +| `fields` | *string* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at,start_date,end_date,active,department,cost_center,division,job,type,contract_type,manager | +| `filter` | [operations.HrisListEmploymentsQueryParamFilter](../../../sdk/models/operations/hrislistemploymentsqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | +| `next` | *string* | :heavy_minus_sign: | The unified cursor | | +| ~~`page`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | +| `pageSize` | *string* | :heavy_minus_sign: | The number of results per page | | +| `proxy` | Record | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | +| `raw` | *boolean* | :heavy_minus_sign: | Indicates that the raw request result is returned | | +| ~~`updatedAfter`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `xAccountId` | *string* | :heavy_check_mark: | The account identifier | | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislistemploymentsresponse.md b/docs/sdk/models/operations/hrislistemploymentsresponse.md index 5c67b931c..f227efc15 100644 --- a/docs/sdk/models/operations/hrislistemploymentsresponse.md +++ b/docs/sdk/models/operations/hrislistemploymentsresponse.md @@ -10,20 +10,129 @@ let value: HrisListEmploymentsResponse = { employmentsPaginated: { data: [ { + active: true, + contractType: { + contractType: {}, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Full-Time", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + costCenter: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, createdAt: new Date("2021-01-01T01:01:01.000Z"), + department: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, + division: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, effectiveDate: new Date("2021-01-01T01:01:01.000Z"), employeeId: "1687-3", - employmentContractType: {}, - employmentType: {}, + endDate: new Date("2021-01-01T01:01:01.000Z"), id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - jobTitle: "Software Engineer", + job: { + description: { + text: "Testing the laws of motion", + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ownerId: "5356", + parentId: "7577", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + title: "Software Engineer", + }, + manager: [ + { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + role: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Admin", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + roleType: {}, + }, + }, + ], payCurrency: "USD", payFrequency: {}, payPeriod: {}, payRate: "40.00", remoteEmployeeId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + startDate: new Date("2021-01-01T01:01:01.000Z"), timeWorked: "P0Y0M0DT8H0M0S", + type: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Permanent", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + type: {}, + }, unifiedCustomFields: { "my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value", @@ -37,7 +146,7 @@ let value: HrisListEmploymentsResponse = { "", ], }, - statusCode: 503, + statusCode: 424, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrislistgroupsresponse.md b/docs/sdk/models/operations/hrislistgroupsresponse.md index 47f8ddda8..69ab5c5fb 100644 --- a/docs/sdk/models/operations/hrislistgroupsresponse.md +++ b/docs/sdk/models/operations/hrislistgroupsresponse.md @@ -45,7 +45,7 @@ let value: HrisListGroupsResponse = { "", ], }, - statusCode: 201, + statusCode: 205, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrislistjobsresponse.md b/docs/sdk/models/operations/hrislistjobsresponse.md index 45c3170ea..2df47f260 100644 --- a/docs/sdk/models/operations/hrislistjobsresponse.md +++ b/docs/sdk/models/operations/hrislistjobsresponse.md @@ -83,7 +83,7 @@ let value: HrisListJobsResponse = { }, ], }, - statusCode: 103, + statusCode: 101, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrislistlocationsresponse.md b/docs/sdk/models/operations/hrislistlocationsresponse.md index 52b66a73b..4700e2e01 100644 --- a/docs/sdk/models/operations/hrislistlocationsresponse.md +++ b/docs/sdk/models/operations/hrislistlocationsresponse.md @@ -40,7 +40,7 @@ let value: HrisListLocationsResponse = { "", ], }, - statusCode: 424, + statusCode: 510, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrislisttimeentriesqueryparamfilter.md b/docs/sdk/models/operations/hrislisttimeentriesqueryparamfilter.md new file mode 100644 index 000000000..72e0d0a0f --- /dev/null +++ b/docs/sdk/models/operations/hrislisttimeentriesqueryparamfilter.md @@ -0,0 +1,24 @@ +# HrisListTimeEntriesQueryParamFilter + +HRIS Time Entries filters + +## Example Usage + +```typescript +import { HrisListTimeEntriesQueryParamFilter } from "@stackone/stackone-client-ts/sdk/models/operations"; + +let value: HrisListTimeEntriesQueryParamFilter = { + endTime: "2020-01-01T00:00:00.000Z", + startTime: "2020-01-01T00:00:00.000Z", + updatedAfter: "2020-01-01T00:00:00.000Z", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `employeeId` | *string* | :heavy_minus_sign: | Filter to select time entries by employee_id | | +| `endTime` | *string* | :heavy_minus_sign: | Filter to select time entries before a given time | 2020-01-01T00:00:00.000Z | +| `startTime` | *string* | :heavy_minus_sign: | Filter to select time entries after a given time | 2020-01-01T00:00:00.000Z | +| `updatedAfter` | *string* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislisttimeentriesrequest.md b/docs/sdk/models/operations/hrislisttimeentriesrequest.md new file mode 100644 index 000000000..428c344bd --- /dev/null +++ b/docs/sdk/models/operations/hrislisttimeentriesrequest.md @@ -0,0 +1,32 @@ +# HrisListTimeEntriesRequest + +## Example Usage + +```typescript +import { HrisListTimeEntriesRequest } from "@stackone/stackone-client-ts/sdk/models/operations"; + +let value: HrisListTimeEntriesRequest = { + fields: + "id,remote_id,employee_id,remote_employee_id,start_time,end_time,hours_worked,break_duration,labor_type,location,status,created_at,updated_at", + filter: { + endTime: "2020-01-01T00:00:00.000Z", + startTime: "2020-01-01T00:00:00.000Z", + updatedAfter: "2020-01-01T00:00:00.000Z", + }, + xAccountId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `fields` | *string* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,employee_id,remote_employee_id,start_time,end_time,hours_worked,break_duration,labor_type,location,status,created_at,updated_at | +| `filter` | [operations.HrisListTimeEntriesQueryParamFilter](../../../sdk/models/operations/hrislisttimeentriesqueryparamfilter.md) | :heavy_minus_sign: | HRIS Time Entries filters | | +| `next` | *string* | :heavy_minus_sign: | The unified cursor | | +| ~~`page`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | +| `pageSize` | *string* | :heavy_minus_sign: | The number of results per page | | +| `proxy` | Record | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | +| `raw` | *boolean* | :heavy_minus_sign: | Indicates that the raw request result is returned | | +| ~~`updatedAfter`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `xAccountId` | *string* | :heavy_check_mark: | The account identifier | | \ No newline at end of file diff --git a/docs/sdk/models/operations/createresponse.md b/docs/sdk/models/operations/hrislisttimeentriesresponse.md similarity index 61% rename from docs/sdk/models/operations/createresponse.md rename to docs/sdk/models/operations/hrislisttimeentriesresponse.md index bbe3b2564..752a254a2 100644 --- a/docs/sdk/models/operations/createresponse.md +++ b/docs/sdk/models/operations/hrislisttimeentriesresponse.md @@ -1,29 +1,50 @@ -# CreateResponse +# HrisListTimeEntriesResponse ## Example Usage ```typescript -import { CreateResponse } from "@stackone/stackone-client-ts/sdk/models/operations"; +import { HrisListTimeEntriesResponse } from "@stackone/stackone-client-ts/sdk/models/operations"; -let value: CreateResponse = { +let value: HrisListTimeEntriesResponse = { contentType: "", headers: { "key": [ "", ], }, - statusCode: 100, + statusCode: 226, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), - classes: [ - { - event: "hris_employees.created", - message: "The event was created", - recordId: "", - status: 200, - }, - ], + timeEntriesPaginated: { + data: [ + { + breakDuration: 0.5, + createdAt: new Date("2023-02-23T00:00:00.000Z"), + employeeId: "1687-3", + endTime: new Date("2021-01-01T01:01:01.000Z"), + hoursWorked: 8, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + laborType: { + code: "ABC123", + }, + location: { + active: true, + id: "1687-3", + name: "1687-4", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + remoteEmployeeId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + startTime: new Date("2021-01-01T01:01:01.000Z"), + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + updatedAt: new Date("2024-02-23T00:00:00.000Z"), + }, + ], + }, }; ``` @@ -35,4 +56,4 @@ let value: CreateResponse = { | `headers` | Record | :heavy_check_mark: | N/A | | `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation | | `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `classes` | [shared.CreateEventResponse](../../../sdk/models/shared/createeventresponse.md)[] | :heavy_minus_sign: | Multiple status returned. Check the response body for details. | \ No newline at end of file +| `timeEntriesPaginated` | [shared.TimeEntriesPaginated](../../../sdk/models/shared/timeentriespaginated.md) | :heavy_minus_sign: | The list of time entries was retrieved. | \ No newline at end of file diff --git a/docs/sdk/models/operations/hrislisttimeoffrequestsresponse.md b/docs/sdk/models/operations/hrislisttimeoffrequestsresponse.md index a313a2368..0e2174173 100644 --- a/docs/sdk/models/operations/hrislisttimeoffrequestsresponse.md +++ b/docs/sdk/models/operations/hrislisttimeoffrequestsresponse.md @@ -12,7 +12,7 @@ let value: HrisListTimeOffRequestsResponse = { "", ], }, - statusCode: 205, + statusCode: 226, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrislisttimeofftypesresponse.md b/docs/sdk/models/operations/hrislisttimeofftypesresponse.md index 09d25227b..a4410a51b 100644 --- a/docs/sdk/models/operations/hrislisttimeofftypesresponse.md +++ b/docs/sdk/models/operations/hrislisttimeofftypesresponse.md @@ -22,7 +22,7 @@ let value: HrisListTimeOffTypesResponse = { }, ], }, - statusCode: 101, + statusCode: 508, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrisupdateemployeeemploymentresponse.md b/docs/sdk/models/operations/hrisupdateemployeeemploymentresponse.md index ec6c3111c..ffaf8fb08 100644 --- a/docs/sdk/models/operations/hrisupdateemployeeemploymentresponse.md +++ b/docs/sdk/models/operations/hrisupdateemployeeemploymentresponse.md @@ -9,20 +9,129 @@ let value: HrisUpdateEmployeeEmploymentResponse = { contentType: "", employmentResult: { data: { + active: true, + contractType: { + contractType: {}, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Full-Time", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + costCenter: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, createdAt: new Date("2021-01-01T01:01:01.000Z"), + department: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, + division: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, effectiveDate: new Date("2021-01-01T01:01:01.000Z"), employeeId: "1687-3", - employmentContractType: {}, - employmentType: {}, + endDate: new Date("2021-01-01T01:01:01.000Z"), id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - jobTitle: "Software Engineer", + job: { + description: { + text: "Testing the laws of motion", + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ownerId: "5356", + parentId: "7577", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + title: "Software Engineer", + }, + manager: [ + { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + role: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Admin", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + roleType: {}, + }, + }, + ], payCurrency: "USD", payFrequency: {}, payPeriod: {}, payRate: "40.00", remoteEmployeeId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + startDate: new Date("2021-01-01T01:01:01.000Z"), timeWorked: "P0Y0M0DT8H0M0S", + type: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Permanent", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + type: {}, + }, unifiedCustomFields: { "my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value", @@ -35,7 +144,7 @@ let value: HrisUpdateEmployeeEmploymentResponse = { "", ], }, - statusCode: 226, + statusCode: 208, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrisupdateemployeerequest.md b/docs/sdk/models/operations/hrisupdateemployeerequest.md index aa1b6fde1..7da789f06 100644 --- a/docs/sdk/models/operations/hrisupdateemployeerequest.md +++ b/docs/sdk/models/operations/hrisupdateemployeerequest.md @@ -51,25 +51,6 @@ let value: HrisUpdateEmployeeRequest = { employmentContractType: {}, employmentStatus: {}, employmentType: {}, - employments: [ - { - effectiveDate: new Date("2021-01-01T01:01:01.000Z"), - employeeId: "1687-3", - employmentContractType: {}, - employmentType: {}, - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - jobTitle: "Software Engineer", - payCurrency: "USD", - payFrequency: {}, - payPeriod: {}, - payRate: "40.00", - timeWorked: "P0Y0M0DT8H0M0S", - unifiedCustomFields: { - "my_project_custom_field_1": "REF-1236", - "my_project_custom_field_2": "some other value", - }, - }, - ], ethnicity: {}, firstName: "Issac", gender: {}, diff --git a/docs/sdk/models/operations/hrisupdateemployeeresponse.md b/docs/sdk/models/operations/hrisupdateemployeeresponse.md index 203343226..11c80bc45 100644 --- a/docs/sdk/models/operations/hrisupdateemployeeresponse.md +++ b/docs/sdk/models/operations/hrisupdateemployeeresponse.md @@ -19,7 +19,7 @@ let value: HrisUpdateEmployeeResponse = { "", ], }, - statusCode: 510, + statusCode: 428, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), @@ -61,25 +61,6 @@ let value: HrisUpdateEmployeeResponse = { employmentContractType: {}, employmentStatus: {}, employmentType: {}, - employments: [ - { - effectiveDate: new Date("2021-01-01T01:01:01.000Z"), - employeeId: "1687-3", - employmentContractType: {}, - employmentType: {}, - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - jobTitle: "Software Engineer", - payCurrency: "USD", - payFrequency: {}, - payPeriod: {}, - payRate: "40.00", - timeWorked: "P0Y0M0DT8H0M0S", - unifiedCustomFields: { - "my_project_custom_field_1": "REF-1236", - "my_project_custom_field_2": "some other value", - }, - }, - ], ethnicity: {}, firstName: "Issac", gender: {}, diff --git a/docs/sdk/models/operations/hrisupdateemployeeworkeligibilityrequestresponse.md b/docs/sdk/models/operations/hrisupdateemployeeworkeligibilityrequestresponse.md index ce7d65d53..3780f6ba0 100644 --- a/docs/sdk/models/operations/hrisupdateemployeeworkeligibilityrequestresponse.md +++ b/docs/sdk/models/operations/hrisupdateemployeeworkeligibilityrequestresponse.md @@ -12,7 +12,7 @@ let value: HrisUpdateEmployeeWorkEligibilityRequestResponse = { "", ], }, - statusCode: 226, + statusCode: 400, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrisupdatetimeoffrequestresponse.md b/docs/sdk/models/operations/hrisupdatetimeoffrequestresponse.md index e0a63d54a..67dc955e9 100644 --- a/docs/sdk/models/operations/hrisupdatetimeoffrequestresponse.md +++ b/docs/sdk/models/operations/hrisupdatetimeoffrequestresponse.md @@ -21,7 +21,7 @@ let value: HrisUpdateTimeOffRequestResponse = { "", ], }, - statusCode: 508, + statusCode: 201, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/hrisuploademployeedocumentresponse.md b/docs/sdk/models/operations/hrisuploademployeedocumentresponse.md index 7d90dee70..7f9f6b9ab 100644 --- a/docs/sdk/models/operations/hrisuploademployeedocumentresponse.md +++ b/docs/sdk/models/operations/hrisuploademployeedocumentresponse.md @@ -12,7 +12,7 @@ let value: HrisUploadEmployeeDocumentResponse = { "", ], }, - statusCode: 428, + statusCode: 505, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/iamgetgroupresponse.md b/docs/sdk/models/operations/iamgetgroupresponse.md index a09632eff..4b430579e 100644 --- a/docs/sdk/models/operations/iamgetgroupresponse.md +++ b/docs/sdk/models/operations/iamgetgroupresponse.md @@ -70,7 +70,7 @@ let value: IamGetGroupResponse = { updatedAt: new Date("2021-01-01T01:01:01.000Z"), }, }, - statusCode: 208, + statusCode: 305, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/iamgetpolicyresponse.md b/docs/sdk/models/operations/iamgetpolicyresponse.md index 3370b2659..5854732c1 100644 --- a/docs/sdk/models/operations/iamgetpolicyresponse.md +++ b/docs/sdk/models/operations/iamgetpolicyresponse.md @@ -47,7 +47,7 @@ let value: IamGetPolicyResponse = { updatedAt: new Date("2021-01-01T01:01:01.000Z"), }, }, - statusCode: 400, + statusCode: 201, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/iamgetroleresponse.md b/docs/sdk/models/operations/iamgetroleresponse.md index 7beb343e5..a3475c7b9 100644 --- a/docs/sdk/models/operations/iamgetroleresponse.md +++ b/docs/sdk/models/operations/iamgetroleresponse.md @@ -58,7 +58,7 @@ let value: IamGetRoleResponse = { updatedAt: new Date("2021-01-01T01:01:01.000Z"), }, }, - statusCode: 201, + statusCode: 502, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/iamgetuserresponse.md b/docs/sdk/models/operations/iamgetuserresponse.md index fad650410..5c43d005e 100644 --- a/docs/sdk/models/operations/iamgetuserresponse.md +++ b/docs/sdk/models/operations/iamgetuserresponse.md @@ -166,7 +166,7 @@ let value: IamGetUserResponse = { username: "hansolo1977", }, }, - statusCode: 505, + statusCode: 302, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/iamlistgroupsresponse.md b/docs/sdk/models/operations/iamlistgroupsresponse.md index 3fccd6d51..f12ef97f4 100644 --- a/docs/sdk/models/operations/iamlistgroupsresponse.md +++ b/docs/sdk/models/operations/iamlistgroupsresponse.md @@ -72,7 +72,7 @@ let value: IamListGroupsResponse = { }, ], }, - statusCode: 305, + statusCode: 103, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/iamlistpoliciesresponse.md b/docs/sdk/models/operations/iamlistpoliciesresponse.md index 35fc7c50d..a5467cabb 100644 --- a/docs/sdk/models/operations/iamlistpoliciesresponse.md +++ b/docs/sdk/models/operations/iamlistpoliciesresponse.md @@ -49,7 +49,7 @@ let value: IamListPoliciesResponse = { }, ], }, - statusCode: 201, + statusCode: 511, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/iamlistrolesresponse.md b/docs/sdk/models/operations/iamlistrolesresponse.md index db60b6c40..833914d9a 100644 --- a/docs/sdk/models/operations/iamlistrolesresponse.md +++ b/docs/sdk/models/operations/iamlistrolesresponse.md @@ -60,7 +60,7 @@ let value: IamListRolesResponse = { }, ], }, - statusCode: 502, + statusCode: 508, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/iamlistusersresponse.md b/docs/sdk/models/operations/iamlistusersresponse.md index bb09358de..1273f8711 100644 --- a/docs/sdk/models/operations/iamlistusersresponse.md +++ b/docs/sdk/models/operations/iamlistusersresponse.md @@ -168,7 +168,7 @@ let value: IamListUsersResponse = { }, ], }, - statusCode: 302, + statusCode: 200, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmsbatchupsertcontentrequest.md b/docs/sdk/models/operations/lmsbatchupsertcontentrequest.md index 1d97effe0..b3fe2414b 100644 --- a/docs/sdk/models/operations/lmsbatchupsertcontentrequest.md +++ b/docs/sdk/models/operations/lmsbatchupsertcontentrequest.md @@ -11,6 +11,13 @@ let value: LmsBatchUpsertContentRequest = { items: [ { active: true, + additionalData: [ + { + id: "learning_outcomes", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + value: {}, + }, + ], categories: [ { id: "16873-IT345", @@ -40,8 +47,6 @@ let value: LmsBatchUpsertContentRequest = { ], order: 1, provider: "Content Provider", - shortDescription: - "This course is a valuable resource and acts as learning content for...", skills: [ { id: "12345", diff --git a/docs/sdk/models/operations/lmsbatchupsertcontentresponse.md b/docs/sdk/models/operations/lmsbatchupsertcontentresponse.md index 2cdc121a5..8f7bf035c 100644 --- a/docs/sdk/models/operations/lmsbatchupsertcontentresponse.md +++ b/docs/sdk/models/operations/lmsbatchupsertcontentresponse.md @@ -24,7 +24,7 @@ let value: LmsBatchUpsertContentResponse = { "", ], }, - statusCode: 103, + statusCode: 302, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmsbatchupsertcourseresponse.md b/docs/sdk/models/operations/lmsbatchupsertcourseresponse.md index 0e6e8c10d..6f374f2fe 100644 --- a/docs/sdk/models/operations/lmsbatchupsertcourseresponse.md +++ b/docs/sdk/models/operations/lmsbatchupsertcourseresponse.md @@ -24,7 +24,7 @@ let value: LmsBatchUpsertCourseResponse = { "", ], }, - statusCode: 511, + statusCode: 100, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmscreatecollectionresponse.md b/docs/sdk/models/operations/lmscreatecollectionresponse.md index ce4c5607f..c994c593c 100644 --- a/docs/sdk/models/operations/lmscreatecollectionresponse.md +++ b/docs/sdk/models/operations/lmscreatecollectionresponse.md @@ -21,7 +21,7 @@ let value: LmsCreateCollectionResponse = { "", ], }, - statusCode: 508, + statusCode: 400, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmscreateuserassignmentrequest.md b/docs/sdk/models/operations/lmscreateuserassignmentrequest.md index 8c5b9bca1..d0b1a5b37 100644 --- a/docs/sdk/models/operations/lmscreateuserassignmentrequest.md +++ b/docs/sdk/models/operations/lmscreateuserassignmentrequest.md @@ -18,7 +18,7 @@ let value: LmsCreateUserAssignmentRequest = { }, progress: 40, status: { - value: LmsCreateAssignmentRequestDtoValue.Pending, + value: LmsCreateAssignmentRequestDtoValue.Completed, }, }, id: "", diff --git a/docs/sdk/models/operations/lmscreateuserassignmentresponse.md b/docs/sdk/models/operations/lmscreateuserassignmentresponse.md index a8add417e..01f451b4f 100644 --- a/docs/sdk/models/operations/lmscreateuserassignmentresponse.md +++ b/docs/sdk/models/operations/lmscreateuserassignmentresponse.md @@ -21,7 +21,7 @@ let value: LmsCreateUserAssignmentResponse = { "", ], }, - statusCode: 101, + statusCode: 100, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmscreateusercompletionresponse.md b/docs/sdk/models/operations/lmscreateusercompletionresponse.md index da89aa539..acf1fc97f 100644 --- a/docs/sdk/models/operations/lmscreateusercompletionresponse.md +++ b/docs/sdk/models/operations/lmscreateusercompletionresponse.md @@ -21,7 +21,7 @@ let value: LmsCreateUserCompletionResponse = { "", ], }, - statusCode: 201, + statusCode: 102, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmsgetassignmentresponse.md b/docs/sdk/models/operations/lmsgetassignmentresponse.md index 1bddd9e3f..d1a35d2b1 100644 --- a/docs/sdk/models/operations/lmsgetassignmentresponse.md +++ b/docs/sdk/models/operations/lmsgetassignmentresponse.md @@ -36,7 +36,7 @@ let value: LmsGetAssignmentResponse = { "", ], }, - statusCode: 400, + statusCode: 305, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmsgetcategoryresponse.md b/docs/sdk/models/operations/lmsgetcategoryresponse.md index 3527cd20e..e5bae5cd2 100644 --- a/docs/sdk/models/operations/lmsgetcategoryresponse.md +++ b/docs/sdk/models/operations/lmsgetcategoryresponse.md @@ -28,7 +28,7 @@ let value: LmsGetCategoryResponse = { "", ], }, - statusCode: 404, + statusCode: 507, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmsgetcompletionresponse.md b/docs/sdk/models/operations/lmsgetcompletionresponse.md index 3a6dfaf9b..972d619e0 100644 --- a/docs/sdk/models/operations/lmsgetcompletionresponse.md +++ b/docs/sdk/models/operations/lmsgetcompletionresponse.md @@ -31,7 +31,7 @@ let value: LmsGetCompletionResponse = { "", ], }, - statusCode: 100, + statusCode: 201, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmsgetcontentrequest.md b/docs/sdk/models/operations/lmsgetcontentrequest.md index 0dd47b982..1da867feb 100644 --- a/docs/sdk/models/operations/lmsgetcontentrequest.md +++ b/docs/sdk/models/operations/lmsgetcontentrequest.md @@ -7,7 +7,7 @@ import { LmsGetContentRequest } from "@stackone/stackone-client-ts/sdk/models/op let value: LmsGetContentRequest = { fields: - "id,remote_id,external_reference,course_ids,remote_course_ids,title,description,short_description,languages,content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider", + "id,remote_id,external_reference,course_ids,remote_course_ids,title,description,short_description,additional_data,languages,content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider", id: "", xAccountId: "", }; @@ -15,10 +15,10 @@ let value: LmsGetContentRequest = { ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `fields` | *string* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,external_reference,course_ids,remote_course_ids,title,description,short_description,languages,content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider | -| `id` | *string* | :heavy_check_mark: | N/A | | -| `proxy` | Record | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | -| `raw` | *boolean* | :heavy_minus_sign: | Indicates that the raw request result is returned | | -| `xAccountId` | *string* | :heavy_check_mark: | The account identifier | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `fields` | *string* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,external_reference,course_ids,remote_course_ids,title,description,short_description,additional_data,languages,content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider | +| `id` | *string* | :heavy_check_mark: | N/A | | +| `proxy` | Record | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | +| `raw` | *boolean* | :heavy_minus_sign: | Indicates that the raw request result is returned | | +| `xAccountId` | *string* | :heavy_check_mark: | The account identifier | | \ No newline at end of file diff --git a/docs/sdk/models/operations/lmsgetcontentresponse.md b/docs/sdk/models/operations/lmsgetcontentresponse.md index 7c0302bf3..5d776aff9 100644 --- a/docs/sdk/models/operations/lmsgetcontentresponse.md +++ b/docs/sdk/models/operations/lmsgetcontentresponse.md @@ -10,6 +10,13 @@ let value: LmsGetContentResponse = { contentResult: { data: { active: true, + additionalData: [ + { + id: "learning_outcomes", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + value: {}, + }, + ], categories: [ { id: "12345", @@ -39,8 +46,6 @@ let value: LmsGetContentResponse = { "e3cb75bf-aa84-466e-a6c1-b8322b257a49", ], remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - shortDescription: - "This course is a valuable resource and acts as learning content for...", skills: [ { id: "12345", @@ -60,7 +65,7 @@ let value: LmsGetContentResponse = { "", ], }, - statusCode: 407, + statusCode: 101, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmsgetcourseresponse.md b/docs/sdk/models/operations/lmsgetcourseresponse.md index 4a07d53eb..8b1f030a6 100644 --- a/docs/sdk/models/operations/lmsgetcourseresponse.md +++ b/docs/sdk/models/operations/lmsgetcourseresponse.md @@ -59,7 +59,7 @@ let value: LmsGetCourseResponse = { "", ], }, - statusCode: 305, + statusCode: 204, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmsgetskillresponse.md b/docs/sdk/models/operations/lmsgetskillresponse.md index cc15e172a..efc44b01b 100644 --- a/docs/sdk/models/operations/lmsgetskillresponse.md +++ b/docs/sdk/models/operations/lmsgetskillresponse.md @@ -20,7 +20,7 @@ let value: LmsGetSkillResponse = { remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", }, }, - statusCode: 507, + statusCode: 422, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmsgetuserassignmentresponse.md b/docs/sdk/models/operations/lmsgetuserassignmentresponse.md index cf6b2acd2..30ccb68df 100644 --- a/docs/sdk/models/operations/lmsgetuserassignmentresponse.md +++ b/docs/sdk/models/operations/lmsgetuserassignmentresponse.md @@ -36,7 +36,7 @@ let value: LmsGetUserAssignmentResponse = { "", ], }, - statusCode: 202, + statusCode: 401, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmsgetusercompletionresponse.md b/docs/sdk/models/operations/lmsgetusercompletionresponse.md index cc479e156..6f94a0351 100644 --- a/docs/sdk/models/operations/lmsgetusercompletionresponse.md +++ b/docs/sdk/models/operations/lmsgetusercompletionresponse.md @@ -31,7 +31,7 @@ let value: LmsGetUserCompletionResponse = { "", ], }, - statusCode: 306, + statusCode: 424, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmsgetuserresponse.md b/docs/sdk/models/operations/lmsgetuserresponse.md index c5838bd0c..6eb1270ec 100644 --- a/docs/sdk/models/operations/lmsgetuserresponse.md +++ b/docs/sdk/models/operations/lmsgetuserresponse.md @@ -12,7 +12,7 @@ let value: LmsGetUserResponse = { "", ], }, - statusCode: 201, + statusCode: 203, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmslistassignmentsresponse.md b/docs/sdk/models/operations/lmslistassignmentsresponse.md index d8afe6dad..872ba3407 100644 --- a/docs/sdk/models/operations/lmslistassignmentsresponse.md +++ b/docs/sdk/models/operations/lmslistassignmentsresponse.md @@ -38,7 +38,7 @@ let value: LmsListAssignmentsResponse = { "", ], }, - statusCode: 103, + statusCode: 302, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmslistcategoriesresponse.md b/docs/sdk/models/operations/lmslistcategoriesresponse.md index c85d2d38a..6dcd41e5f 100644 --- a/docs/sdk/models/operations/lmslistcategoriesresponse.md +++ b/docs/sdk/models/operations/lmslistcategoriesresponse.md @@ -30,7 +30,7 @@ let value: LmsListCategoriesResponse = { "", ], }, - statusCode: 102, + statusCode: 201, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmslistcompletionsresponse.md b/docs/sdk/models/operations/lmslistcompletionsresponse.md index 3a95fe4b6..b01ee023b 100644 --- a/docs/sdk/models/operations/lmslistcompletionsresponse.md +++ b/docs/sdk/models/operations/lmslistcompletionsresponse.md @@ -33,7 +33,7 @@ let value: LmsListCompletionsResponse = { "", ], }, - statusCode: 407, + statusCode: 103, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmslistcontentrequest.md b/docs/sdk/models/operations/lmslistcontentrequest.md index 3fe63407d..6b1e65f36 100644 --- a/docs/sdk/models/operations/lmslistcontentrequest.md +++ b/docs/sdk/models/operations/lmslistcontentrequest.md @@ -7,7 +7,7 @@ import { LmsListContentRequest } from "@stackone/stackone-client-ts/sdk/models/o let value: LmsListContentRequest = { fields: - "id,remote_id,external_reference,course_ids,remote_course_ids,title,description,short_description,languages,content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider", + "id,remote_id,external_reference,course_ids,remote_course_ids,title,description,short_description,additional_data,languages,content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider", filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, @@ -17,14 +17,14 @@ let value: LmsListContentRequest = { ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `fields` | *string* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,external_reference,course_ids,remote_course_ids,title,description,short_description,languages,content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider | -| `filter` | [operations.LmsListContentQueryParamFilter](../../../sdk/models/operations/lmslistcontentqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | -| `next` | *string* | :heavy_minus_sign: | The unified cursor | | -| ~~`page`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | -| `pageSize` | *string* | :heavy_minus_sign: | The number of results per page | | -| `proxy` | Record | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | -| `raw` | *boolean* | :heavy_minus_sign: | Indicates that the raw request result is returned | | -| ~~`updatedAfter`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | -| `xAccountId` | *string* | :heavy_check_mark: | The account identifier | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `fields` | *string* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,external_reference,course_ids,remote_course_ids,title,description,short_description,additional_data,languages,content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider | +| `filter` | [operations.LmsListContentQueryParamFilter](../../../sdk/models/operations/lmslistcontentqueryparamfilter.md) | :heavy_minus_sign: | Filter parameters that allow greater customisation of the list response | | +| `next` | *string* | :heavy_minus_sign: | The unified cursor | | +| ~~`page`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | +| `pageSize` | *string* | :heavy_minus_sign: | The number of results per page | | +| `proxy` | Record | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | +| `raw` | *boolean* | :heavy_minus_sign: | Indicates that the raw request result is returned | | +| ~~`updatedAfter`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `xAccountId` | *string* | :heavy_check_mark: | The account identifier | | \ No newline at end of file diff --git a/docs/sdk/models/operations/lmslistcontentresponse.md b/docs/sdk/models/operations/lmslistcontentresponse.md index bf7f1c57c..272e89627 100644 --- a/docs/sdk/models/operations/lmslistcontentresponse.md +++ b/docs/sdk/models/operations/lmslistcontentresponse.md @@ -11,6 +11,13 @@ let value: LmsListContentResponse = { data: [ { active: true, + additionalData: [ + { + id: "learning_outcomes", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + value: {}, + }, + ], categories: [ { id: "12345", @@ -40,8 +47,6 @@ let value: LmsListContentResponse = { "e3cb75bf-aa84-466e-a6c1-b8322b257a49", ], remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - shortDescription: - "This course is a valuable resource and acts as learning content for...", skills: [ { id: "12345", @@ -62,7 +67,7 @@ let value: LmsListContentResponse = { "", ], }, - statusCode: 205, + statusCode: 102, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmslistcoursesresponse.md b/docs/sdk/models/operations/lmslistcoursesresponse.md index 593347dfd..c5591206e 100644 --- a/docs/sdk/models/operations/lmslistcoursesresponse.md +++ b/docs/sdk/models/operations/lmslistcoursesresponse.md @@ -61,7 +61,7 @@ let value: LmsListCoursesResponse = { "", ], }, - statusCode: 203, + statusCode: 205, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmslistskillsresponse.md b/docs/sdk/models/operations/lmslistskillsresponse.md index 241c3e62f..7bcbb4a46 100644 --- a/docs/sdk/models/operations/lmslistskillsresponse.md +++ b/docs/sdk/models/operations/lmslistskillsresponse.md @@ -22,7 +22,7 @@ let value: LmsListSkillsResponse = { }, ], }, - statusCode: 101, + statusCode: 507, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmslistuserassignmentsqueryparamstatus.md b/docs/sdk/models/operations/lmslistuserassignmentsqueryparamstatus.md index 54230e47e..c59abf62d 100644 --- a/docs/sdk/models/operations/lmslistuserassignmentsqueryparamstatus.md +++ b/docs/sdk/models/operations/lmslistuserassignmentsqueryparamstatus.md @@ -8,7 +8,7 @@ Filter to select assignment by status import { LmsListUserAssignmentsQueryParamStatus } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: LmsListUserAssignmentsQueryParamStatus = - LmsListUserAssignmentsQueryParamStatus.Completed; + LmsListUserAssignmentsQueryParamStatus.InProgress; ``` ## Values diff --git a/docs/sdk/models/operations/lmslistuserassignmentsresponse.md b/docs/sdk/models/operations/lmslistuserassignmentsresponse.md index 741d96b7d..394f1e29e 100644 --- a/docs/sdk/models/operations/lmslistuserassignmentsresponse.md +++ b/docs/sdk/models/operations/lmslistuserassignmentsresponse.md @@ -21,7 +21,7 @@ let value: LmsListUserAssignmentsResponse = { remoteLearningObjectId: "e3cb55bf-aa84-466e-a6c1-b8302b257a49", remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", status: { - value: AssignmentSchemasValue.Pending, + value: AssignmentSchemasValue.InProgress, }, unifiedCustomFields: { "my_project_custom_field_1": "REF-1236", @@ -38,7 +38,7 @@ let value: LmsListUserAssignmentsResponse = { "", ], }, - statusCode: 302, + statusCode: 306, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmslistusercompletionsqueryparamlearningobjecttype.md b/docs/sdk/models/operations/lmslistusercompletionsqueryparamlearningobjecttype.md index c1e13fa0f..cd59be885 100644 --- a/docs/sdk/models/operations/lmslistusercompletionsqueryparamlearningobjecttype.md +++ b/docs/sdk/models/operations/lmslistusercompletionsqueryparamlearningobjecttype.md @@ -8,7 +8,7 @@ Filter to select completions by learning object type. import { LmsListUserCompletionsQueryParamLearningObjectType } from "@stackone/stackone-client-ts/sdk/models/operations"; let value: LmsListUserCompletionsQueryParamLearningObjectType = - LmsListUserCompletionsQueryParamLearningObjectType.Course; + LmsListUserCompletionsQueryParamLearningObjectType.Content; ``` ## Values diff --git a/docs/sdk/models/operations/lmslistusercompletionsresponse.md b/docs/sdk/models/operations/lmslistusercompletionsresponse.md index 001f37041..ce094f8c6 100644 --- a/docs/sdk/models/operations/lmslistusercompletionsresponse.md +++ b/docs/sdk/models/operations/lmslistusercompletionsresponse.md @@ -33,7 +33,7 @@ let value: LmsListUserCompletionsResponse = { "", ], }, - statusCode: 507, + statusCode: 101, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmslistusersresponse.md b/docs/sdk/models/operations/lmslistusersresponse.md index edd774853..afd57f74a 100644 --- a/docs/sdk/models/operations/lmslistusersresponse.md +++ b/docs/sdk/models/operations/lmslistusersresponse.md @@ -12,7 +12,7 @@ let value: LmsListUsersResponse = { "", ], }, - statusCode: 101, + statusCode: 502, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmsupdatecollectionresponse.md b/docs/sdk/models/operations/lmsupdatecollectionresponse.md index b82997358..b7fb8a127 100644 --- a/docs/sdk/models/operations/lmsupdatecollectionresponse.md +++ b/docs/sdk/models/operations/lmsupdatecollectionresponse.md @@ -12,7 +12,7 @@ let value: LmsUpdateCollectionResponse = { "", ], }, - statusCode: 304, + statusCode: 505, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmsupsertcontentrequest.md b/docs/sdk/models/operations/lmsupsertcontentrequest.md index 5f44927b5..049de7253 100644 --- a/docs/sdk/models/operations/lmsupsertcontentrequest.md +++ b/docs/sdk/models/operations/lmsupsertcontentrequest.md @@ -9,6 +9,13 @@ import { CreateCategoriesApiModelValue, LanguageEnumValue } from "@stackone/stac let value: LmsUpsertContentRequest = { lmsUpsertContentRequestDto: { active: true, + additionalData: [ + { + id: "learning_outcomes", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + value: {}, + }, + ], categories: [ { id: "16873-IT345", @@ -37,8 +44,6 @@ let value: LmsUpsertContentRequest = { ], order: 1, provider: "Content Provider", - shortDescription: - "This course is a valuable resource and acts as learning content for...", skills: [ { id: "12345", diff --git a/docs/sdk/models/operations/lmsupsertcontentresponse.md b/docs/sdk/models/operations/lmsupsertcontentresponse.md index cf088e571..468b47c8a 100644 --- a/docs/sdk/models/operations/lmsupsertcontentresponse.md +++ b/docs/sdk/models/operations/lmsupsertcontentresponse.md @@ -12,7 +12,7 @@ let value: LmsUpsertContentResponse = { "", ], }, - statusCode: 408, + statusCode: 307, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/lmsupsertcourseresponse.md b/docs/sdk/models/operations/lmsupsertcourseresponse.md index 06ad6f0bb..d24dd4f2d 100644 --- a/docs/sdk/models/operations/lmsupsertcourseresponse.md +++ b/docs/sdk/models/operations/lmsupsertcourseresponse.md @@ -12,7 +12,7 @@ let value: LmsUpsertCourseResponse = { "", ], }, - statusCode: 101, + statusCode: 306, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/marketingcreatecontentblockresponse.md b/docs/sdk/models/operations/marketingcreatecontentblockresponse.md index fcfebbbbf..2e4d8280e 100644 --- a/docs/sdk/models/operations/marketingcreatecontentblockresponse.md +++ b/docs/sdk/models/operations/marketingcreatecontentblockresponse.md @@ -21,7 +21,7 @@ let value: MarketingCreateContentBlockResponse = { "", ], }, - statusCode: 502, + statusCode: 226, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/marketingcreateemailtemplateresponse.md b/docs/sdk/models/operations/marketingcreateemailtemplateresponse.md index b904f8610..c8209971b 100644 --- a/docs/sdk/models/operations/marketingcreateemailtemplateresponse.md +++ b/docs/sdk/models/operations/marketingcreateemailtemplateresponse.md @@ -21,7 +21,7 @@ let value: MarketingCreateEmailTemplateResponse = { "", ], }, - statusCode: 505, + statusCode: 422, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/marketingcreateinapptemplateresponse.md b/docs/sdk/models/operations/marketingcreateinapptemplateresponse.md index 76bbad9f7..b47c47933 100644 --- a/docs/sdk/models/operations/marketingcreateinapptemplateresponse.md +++ b/docs/sdk/models/operations/marketingcreateinapptemplateresponse.md @@ -21,7 +21,7 @@ let value: MarketingCreateInAppTemplateResponse = { "", ], }, - statusCode: 307, + statusCode: 207, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/marketingcreateomnichanneltemplateresponse.md b/docs/sdk/models/operations/marketingcreateomnichanneltemplateresponse.md index eb8a57917..3bf96052d 100644 --- a/docs/sdk/models/operations/marketingcreateomnichanneltemplateresponse.md +++ b/docs/sdk/models/operations/marketingcreateomnichanneltemplateresponse.md @@ -21,7 +21,7 @@ let value: MarketingCreateOmniChannelTemplateResponse = { "", ], }, - statusCode: 306, + statusCode: 406, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/marketingcreatepushtemplateresponse.md b/docs/sdk/models/operations/marketingcreatepushtemplateresponse.md index 9c84084da..495b96d2a 100644 --- a/docs/sdk/models/operations/marketingcreatepushtemplateresponse.md +++ b/docs/sdk/models/operations/marketingcreatepushtemplateresponse.md @@ -21,7 +21,7 @@ let value: MarketingCreatePushTemplateResponse = { "", ], }, - statusCode: 226, + statusCode: 103, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/marketingcreatesmstemplateresponse.md b/docs/sdk/models/operations/marketingcreatesmstemplateresponse.md index 989374067..4436bb350 100644 --- a/docs/sdk/models/operations/marketingcreatesmstemplateresponse.md +++ b/docs/sdk/models/operations/marketingcreatesmstemplateresponse.md @@ -21,7 +21,7 @@ let value: MarketingCreateSmsTemplateResponse = { "", ], }, - statusCode: 422, + statusCode: 505, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/marketinggetcampaignresponse.md b/docs/sdk/models/operations/marketinggetcampaignresponse.md index 7f54b09e4..38afd4d60 100644 --- a/docs/sdk/models/operations/marketinggetcampaignresponse.md +++ b/docs/sdk/models/operations/marketinggetcampaignresponse.md @@ -4,7 +4,7 @@ ```typescript import { MarketingGetCampaignResponse } from "@stackone/stackone-client-ts/sdk/models/operations"; -import { CampaignSchemasValue, CampaignValue, MessageValue, Value } from "@stackone/stackone-client-ts/sdk/models/shared"; +import { CampaignSchemasValue, CampaignValue, ChannelsEnumValue, MessageValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: MarketingGetCampaignResponse = { campaignResult: { @@ -12,7 +12,7 @@ let value: MarketingGetCampaignResponse = { channels: [ { sourceValue: "SMS", - value: Value.Sms, + value: ChannelsEnumValue.Sms, }, ], createdAt: new Date("2021-01-01T01:01:01.000Z"), @@ -64,7 +64,7 @@ let value: MarketingGetCampaignResponse = { }, status: { sourceValue: "Email", - value: CampaignSchemasValue.Draft, + value: CampaignSchemasValue.Archived, }, updatedAt: new Date("2021-01-01T01:01:01.000Z"), }, @@ -75,7 +75,7 @@ let value: MarketingGetCampaignResponse = { "", ], }, - statusCode: 418, + statusCode: 505, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/marketinggetcontentblockresponse.md b/docs/sdk/models/operations/marketinggetcontentblockresponse.md index fa784d2db..25215a6ef 100644 --- a/docs/sdk/models/operations/marketinggetcontentblockresponse.md +++ b/docs/sdk/models/operations/marketinggetcontentblockresponse.md @@ -29,7 +29,7 @@ let value: MarketingGetContentBlockResponse = { "", ], }, - statusCode: 201, + statusCode: 506, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/marketinggetemailtemplateresponse.md b/docs/sdk/models/operations/marketinggetemailtemplateresponse.md index ec0ea7455..2b047c17c 100644 --- a/docs/sdk/models/operations/marketinggetemailtemplateresponse.md +++ b/docs/sdk/models/operations/marketinggetemailtemplateresponse.md @@ -29,7 +29,7 @@ let value: MarketingGetEmailTemplateResponse = { "", ], }, - statusCode: 431, + statusCode: 510, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/marketinggetinapptemplateresponse.md b/docs/sdk/models/operations/marketinggetinapptemplateresponse.md index 52c112229..335e7a0eb 100644 --- a/docs/sdk/models/operations/marketinggetinapptemplateresponse.md +++ b/docs/sdk/models/operations/marketinggetinapptemplateresponse.md @@ -29,7 +29,7 @@ let value: MarketingGetInAppTemplateResponse = { remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", }, }, - statusCode: 305, + statusCode: 501, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/marketinggetomnichanneltemplateresponse.md b/docs/sdk/models/operations/marketinggetomnichanneltemplateresponse.md index 33e6222a5..d4963d1a6 100644 --- a/docs/sdk/models/operations/marketinggetomnichanneltemplateresponse.md +++ b/docs/sdk/models/operations/marketinggetomnichanneltemplateresponse.md @@ -12,7 +12,7 @@ let value: MarketingGetOmniChannelTemplateResponse = { "", ], }, - statusCode: 505, + statusCode: 411, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/marketinggetpushtemplateresponse.md b/docs/sdk/models/operations/marketinggetpushtemplateresponse.md index bddce845b..bcfe8a687 100644 --- a/docs/sdk/models/operations/marketinggetpushtemplateresponse.md +++ b/docs/sdk/models/operations/marketinggetpushtemplateresponse.md @@ -29,7 +29,7 @@ let value: MarketingGetPushTemplateResponse = { remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", }, }, - statusCode: 506, + statusCode: 101, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/marketinggetsmstemplateresponse.md b/docs/sdk/models/operations/marketinggetsmstemplateresponse.md index ec832a05e..5f05c0905 100644 --- a/docs/sdk/models/operations/marketinggetsmstemplateresponse.md +++ b/docs/sdk/models/operations/marketinggetsmstemplateresponse.md @@ -29,7 +29,7 @@ let value: MarketingGetSmsTemplateResponse = { remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", }, }, - statusCode: 510, + statusCode: 208, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/marketinglistcampaignsresponse.md b/docs/sdk/models/operations/marketinglistcampaignsresponse.md index 4076bbfae..b7302e811 100644 --- a/docs/sdk/models/operations/marketinglistcampaignsresponse.md +++ b/docs/sdk/models/operations/marketinglistcampaignsresponse.md @@ -4,7 +4,7 @@ ```typescript import { MarketingListCampaignsResponse } from "@stackone/stackone-client-ts/sdk/models/operations"; -import { CampaignSchemasValue, CampaignValue, MessageValue, Value } from "@stackone/stackone-client-ts/sdk/models/shared"; +import { CampaignSchemasValue, CampaignValue, ChannelsEnumValue, MessageValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: MarketingListCampaignsResponse = { campaignsPaginated: { @@ -13,7 +13,7 @@ let value: MarketingListCampaignsResponse = { channels: [ { sourceValue: "SMS", - value: Value.Sms, + value: ChannelsEnumValue.Sms, }, ], createdAt: new Date("2021-01-01T01:01:01.000Z"), @@ -65,7 +65,7 @@ let value: MarketingListCampaignsResponse = { }, status: { sourceValue: "Email", - value: CampaignSchemasValue.Live, + value: CampaignSchemasValue.Draft, }, updatedAt: new Date("2021-01-01T01:01:01.000Z"), }, @@ -77,7 +77,7 @@ let value: MarketingListCampaignsResponse = { "", ], }, - statusCode: 102, + statusCode: 503, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/marketinglistemailtemplatesresponse.md b/docs/sdk/models/operations/marketinglistemailtemplatesresponse.md index 6571b3544..e67423809 100644 --- a/docs/sdk/models/operations/marketinglistemailtemplatesresponse.md +++ b/docs/sdk/models/operations/marketinglistemailtemplatesresponse.md @@ -31,7 +31,7 @@ let value: MarketingListEmailTemplatesResponse = { "", ], }, - statusCode: 302, + statusCode: 101, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/marketinglistinapptemplatesresponse.md b/docs/sdk/models/operations/marketinglistinapptemplatesresponse.md index db234cbfa..fddc8a605 100644 --- a/docs/sdk/models/operations/marketinglistinapptemplatesresponse.md +++ b/docs/sdk/models/operations/marketinglistinapptemplatesresponse.md @@ -31,7 +31,7 @@ let value: MarketingListInAppTemplatesResponse = { }, ], }, - statusCode: 500, + statusCode: 501, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/marketinglistomnichanneltemplatesresponse.md b/docs/sdk/models/operations/marketinglistomnichanneltemplatesresponse.md index 013d45cfc..01c9f6150 100644 --- a/docs/sdk/models/operations/marketinglistomnichanneltemplatesresponse.md +++ b/docs/sdk/models/operations/marketinglistomnichanneltemplatesresponse.md @@ -12,7 +12,7 @@ let value: MarketingListOmniChannelTemplatesResponse = { "", ], }, - statusCode: 503, + statusCode: 510, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/marketinglistpushtemplatesresponse.md b/docs/sdk/models/operations/marketinglistpushtemplatesresponse.md index 2fa4621b8..1ea726322 100644 --- a/docs/sdk/models/operations/marketinglistpushtemplatesresponse.md +++ b/docs/sdk/models/operations/marketinglistpushtemplatesresponse.md @@ -31,7 +31,7 @@ let value: MarketingListPushTemplatesResponse = { }, ], }, - statusCode: 200, + statusCode: 302, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/marketinglistsmstemplatesresponse.md b/docs/sdk/models/operations/marketinglistsmstemplatesresponse.md index 2d2e87a5f..7e6a716a7 100644 --- a/docs/sdk/models/operations/marketinglistsmstemplatesresponse.md +++ b/docs/sdk/models/operations/marketinglistsmstemplatesresponse.md @@ -31,7 +31,7 @@ let value: MarketingListSmsTemplatesResponse = { }, ], }, - statusCode: 101, + statusCode: 206, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/marketingupdatecontentblockresponse.md b/docs/sdk/models/operations/marketingupdatecontentblockresponse.md index 4e2868d7a..3876bb0b9 100644 --- a/docs/sdk/models/operations/marketingupdatecontentblockresponse.md +++ b/docs/sdk/models/operations/marketingupdatecontentblockresponse.md @@ -21,7 +21,7 @@ let value: MarketingUpdateContentBlockResponse = { "", ], }, - statusCode: 501, + statusCode: 100, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/marketingupdateemailtemplateresponse.md b/docs/sdk/models/operations/marketingupdateemailtemplateresponse.md index 279d49dbe..84509c624 100644 --- a/docs/sdk/models/operations/marketingupdateemailtemplateresponse.md +++ b/docs/sdk/models/operations/marketingupdateemailtemplateresponse.md @@ -21,7 +21,7 @@ let value: MarketingUpdateEmailTemplateResponse = { "", ], }, - statusCode: 510, + statusCode: 300, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/marketingupdateinapptemplateresponse.md b/docs/sdk/models/operations/marketingupdateinapptemplateresponse.md index f2fb5d20b..3e14bb124 100644 --- a/docs/sdk/models/operations/marketingupdateinapptemplateresponse.md +++ b/docs/sdk/models/operations/marketingupdateinapptemplateresponse.md @@ -21,7 +21,7 @@ let value: MarketingUpdateInAppTemplateResponse = { "", ], }, - statusCode: 302, + statusCode: 202, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/marketingupdateomnichanneltemplateresponse.md b/docs/sdk/models/operations/marketingupdateomnichanneltemplateresponse.md index 814f202fc..07d419ddd 100644 --- a/docs/sdk/models/operations/marketingupdateomnichanneltemplateresponse.md +++ b/docs/sdk/models/operations/marketingupdateomnichanneltemplateresponse.md @@ -21,7 +21,7 @@ let value: MarketingUpdateOmniChannelTemplateResponse = { "", ], }, - statusCode: 206, + statusCode: 201, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/marketingupdatesmstemplateresponse.md b/docs/sdk/models/operations/marketingupdatesmstemplateresponse.md index 1d648e5f9..8c272a332 100644 --- a/docs/sdk/models/operations/marketingupdatesmstemplateresponse.md +++ b/docs/sdk/models/operations/marketingupdatesmstemplateresponse.md @@ -21,7 +21,7 @@ let value: MarketingUpdateSmsTemplateResponse = { "", ], }, - statusCode: 300, + statusCode: 451, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/operations/queryparamlearningobjecttype.md b/docs/sdk/models/operations/queryparamlearningobjecttype.md index eed6eb095..f04095d32 100644 --- a/docs/sdk/models/operations/queryparamlearningobjecttype.md +++ b/docs/sdk/models/operations/queryparamlearningobjecttype.md @@ -7,8 +7,7 @@ Filter to select completions by learning object type. ```typescript import { QueryParamLearningObjectType } from "@stackone/stackone-client-ts/sdk/models/operations"; -let value: QueryParamLearningObjectType = - QueryParamLearningObjectType.Collection; +let value: QueryParamLearningObjectType = QueryParamLearningObjectType.Course; ``` ## Values diff --git a/docs/sdk/models/operations/stackoneproxyrequestresponse.md b/docs/sdk/models/operations/stackoneproxyrequestresponse.md index b7d82940f..c0b521ecb 100644 --- a/docs/sdk/models/operations/stackoneproxyrequestresponse.md +++ b/docs/sdk/models/operations/stackoneproxyrequestresponse.md @@ -12,7 +12,7 @@ let value: StackoneProxyRequestResponse = { "", ], }, - statusCode: 202, + statusCode: 504, rawResponse: new Response("{\"message\": \"hello world\"}", { headers: { "Content-Type": "application/json" }, }), diff --git a/docs/sdk/models/shared/additionaldata.md b/docs/sdk/models/shared/additionaldata.md new file mode 100644 index 000000000..e8087ce51 --- /dev/null +++ b/docs/sdk/models/shared/additionaldata.md @@ -0,0 +1,21 @@ +# AdditionalData + +## Example Usage + +```typescript +import { AdditionalData } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: AdditionalData = { + id: "learning_outcomes", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + value: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | The type of the additional data | learning_outcomes | +| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `value` | [shared.Value](../../../sdk/models/shared/value.md) | :heavy_minus_sign: | The value of the additional data | This is additional data | \ No newline at end of file diff --git a/docs/sdk/models/shared/assignment.md b/docs/sdk/models/shared/assignment.md index 3555c0d83..799ec1b9e 100644 --- a/docs/sdk/models/shared/assignment.md +++ b/docs/sdk/models/shared/assignment.md @@ -17,7 +17,7 @@ let value: Assignment = { remoteLearningObjectId: "e3cb55bf-aa84-466e-a6c1-b8302b257a49", remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", status: { - value: AssignmentSchemasValue.Completed, + value: AssignmentSchemasValue.Pending, }, unifiedCustomFields: { "my_project_custom_field_1": "REF-1236", diff --git a/docs/sdk/models/shared/assignmentresult.md b/docs/sdk/models/shared/assignmentresult.md index e607fea13..3613de28b 100644 --- a/docs/sdk/models/shared/assignmentresult.md +++ b/docs/sdk/models/shared/assignmentresult.md @@ -18,7 +18,7 @@ let value: AssignmentResult = { remoteLearningObjectId: "e3cb55bf-aa84-466e-a6c1-b8302b257a49", remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", status: { - value: AssignmentSchemasValue.Pending, + value: AssignmentSchemasValue.Completed, }, unifiedCustomFields: { "my_project_custom_field_1": "REF-1236", diff --git a/docs/sdk/models/shared/assignmentschemassourcevalue.md b/docs/sdk/models/shared/assignmentschemassourcevalue.md index 4ee13fc0c..f3c5e4f2d 100644 --- a/docs/sdk/models/shared/assignmentschemassourcevalue.md +++ b/docs/sdk/models/shared/assignmentschemassourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 5910.27; +const value: number = 3354.98; ``` ### `boolean` diff --git a/docs/sdk/models/shared/assignmentschemasvalue.md b/docs/sdk/models/shared/assignmentschemasvalue.md index 934a26202..5074ed560 100644 --- a/docs/sdk/models/shared/assignmentschemasvalue.md +++ b/docs/sdk/models/shared/assignmentschemasvalue.md @@ -5,7 +5,7 @@ ```typescript import { AssignmentSchemasValue } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: AssignmentSchemasValue = AssignmentSchemasValue.InProgress; +let value: AssignmentSchemasValue = AssignmentSchemasValue.Pending; ``` ## Values diff --git a/docs/sdk/models/shared/assignmentsourcevalue.md b/docs/sdk/models/shared/assignmentsourcevalue.md index 2719ae7d3..7585da95f 100644 --- a/docs/sdk/models/shared/assignmentsourcevalue.md +++ b/docs/sdk/models/shared/assignmentsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 968.04; +const value: number = 7645.62; ``` ### `boolean` diff --git a/docs/sdk/models/shared/assignmentspaginated.md b/docs/sdk/models/shared/assignmentspaginated.md index dd3dee1c1..6598a1a80 100644 --- a/docs/sdk/models/shared/assignmentspaginated.md +++ b/docs/sdk/models/shared/assignmentspaginated.md @@ -19,7 +19,7 @@ let value: AssignmentsPaginated = { remoteLearningObjectId: "e3cb55bf-aa84-466e-a6c1-b8302b257a49", remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", status: { - value: AssignmentSchemasValue.Completed, + value: AssignmentSchemasValue.Pending, }, unifiedCustomFields: { "my_project_custom_field_1": "REF-1236", diff --git a/docs/sdk/models/shared/assignmentvalue.md b/docs/sdk/models/shared/assignmentvalue.md index d60681504..9b0a4d90d 100644 --- a/docs/sdk/models/shared/assignmentvalue.md +++ b/docs/sdk/models/shared/assignmentvalue.md @@ -5,7 +5,7 @@ ```typescript import { AssignmentValue } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: AssignmentValue = AssignmentValue.Course; +let value: AssignmentValue = AssignmentValue.Collection; ``` ## Values diff --git a/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdto.md b/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdto.md new file mode 100644 index 000000000..4240e2e47 --- /dev/null +++ b/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdto.md @@ -0,0 +1,102 @@ +# AtsCreateBackgroundCheckOrderRequestDto + +## Example Usage + +```typescript +import { + AtsCreateBackgroundCheckOrderRequestDto, + AtsCreateBackgroundCheckOrderRequestDtoValue, +} from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: AtsCreateBackgroundCheckOrderRequestDto = { + application: { + applicationStatus: { + sourceValue: "Hired", + value: AtsCreateBackgroundCheckOrderRequestDtoValue.Hired, + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "other_known_names": "John Doe", + }, + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + candidate: { + emails: [ + { + type: "personal", + value: "sestier.romain123@gmail.com", + }, + ], + firstName: "Romain", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + lastName: "Sestier", + passthrough: { + "other_known_names": "John Doe", + }, + profileUrl: "https://exmaple.com/candidate?id=xyz", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + job: { + hiringTeam: [ + { + email: "john.doe@gmail.com", + firstName: "John", + lastName: "Doe", + remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + role: "Software Engineer", + userId: "123456", + }, + ], + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "other_known_names": "John Doe", + }, + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + title: "Software Engineer", + }, + package: { + description: + "Skills test to gauge a candidate's proficiency in job-specific skills", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Test 1", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + tests: [ + { + description: + "Skills test to gauge a candidate's proficiency in job-specific skills", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Test 1", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + ], + }, + passthrough: { + "other_known_names": "John Doe", + }, + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + requester: { + email: "john.doe@gmail.com", + firstName: "John", + lastName: "Doe", + remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + role: "Software Engineer", + userId: "123456", + }, + resultsUpdateUrl: "https://exmaple.com/integrations/results/update", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | +| `application` | [shared.AtsCreateBackgroundCheckOrderRequestDtoApplication](../../../sdk/models/shared/atscreatebackgroundcheckorderrequestdtoapplication.md) | :heavy_minus_sign: | N/A | | +| `candidate` | [shared.AtsCreateBackgroundCheckOrderRequestDtoCandidate](../../../sdk/models/shared/atscreatebackgroundcheckorderrequestdtocandidate.md) | :heavy_minus_sign: | N/A | | +| `id` | *string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `job` | [shared.AtsCreateBackgroundCheckOrderRequestDtoJob](../../../sdk/models/shared/atscreatebackgroundcheckorderrequestdtojob.md) | :heavy_minus_sign: | N/A | | +| `package` | [shared.AtsCreateBackgroundCheckOrderRequestDtoPackage](../../../sdk/models/shared/atscreatebackgroundcheckorderrequestdtopackage.md) | :heavy_minus_sign: | N/A | | +| `passthrough` | Record | :heavy_minus_sign: | Value to pass through to the provider | {
"other_known_names": "John Doe"
} | +| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `requester` | [shared.AtsCreateBackgroundCheckOrderRequestDtoRequester](../../../sdk/models/shared/atscreatebackgroundcheckorderrequestdtorequester.md) | :heavy_minus_sign: | N/A | | +| `resultsUpdateUrl` | *string* | :heavy_minus_sign: | Results update url | https://exmaple.com/integrations/results/update | \ No newline at end of file diff --git a/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdto4.md b/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdto4.md new file mode 100644 index 000000000..f77424ed7 --- /dev/null +++ b/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdto4.md @@ -0,0 +1,14 @@ +# AtsCreateBackgroundCheckOrderRequestDto4 + +## Example Usage + +```typescript +import { AtsCreateBackgroundCheckOrderRequestDto4 } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: AtsCreateBackgroundCheckOrderRequestDto4 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtoapplication.md b/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtoapplication.md new file mode 100644 index 000000000..a78733f0b --- /dev/null +++ b/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtoapplication.md @@ -0,0 +1,31 @@ +# AtsCreateBackgroundCheckOrderRequestDtoApplication + +## Example Usage + +```typescript +import { + AtsCreateBackgroundCheckOrderRequestDtoApplication, + AtsCreateBackgroundCheckOrderRequestDtoValue, +} from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: AtsCreateBackgroundCheckOrderRequestDtoApplication = { + applicationStatus: { + sourceValue: "Hired", + value: AtsCreateBackgroundCheckOrderRequestDtoValue.Hired, + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "other_known_names": "John Doe", + }, + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `applicationStatus` | [shared.AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus](../../../sdk/models/shared/atscreatebackgroundcheckorderrequestdtoapplicationstatus.md) | :heavy_minus_sign: | N/A | | +| `id` | *string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `passthrough` | Record | :heavy_minus_sign: | Value to pass through to the provider | {
"other_known_names": "John Doe"
} | +| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | \ No newline at end of file diff --git a/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtoapplicationstatus.md b/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtoapplicationstatus.md new file mode 100644 index 000000000..e5069b13e --- /dev/null +++ b/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtoapplicationstatus.md @@ -0,0 +1,22 @@ +# AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus + +## Example Usage + +```typescript +import { + AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus, + AtsCreateBackgroundCheckOrderRequestDtoValue, +} from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus = { + sourceValue: "Hired", + value: AtsCreateBackgroundCheckOrderRequestDtoValue.Hired, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | +| `sourceValue` | *shared.AtsCreateBackgroundCheckOrderRequestDtoSourceValue* | :heavy_minus_sign: | The source value of the application status. | Hired | +| `value` | [shared.AtsCreateBackgroundCheckOrderRequestDtoValue](../../../sdk/models/shared/atscreatebackgroundcheckorderrequestdtovalue.md) | :heavy_minus_sign: | The status of the application. | hired | \ No newline at end of file diff --git a/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtocandidate.md b/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtocandidate.md new file mode 100644 index 000000000..95b300d4d --- /dev/null +++ b/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtocandidate.md @@ -0,0 +1,36 @@ +# AtsCreateBackgroundCheckOrderRequestDtoCandidate + +## Example Usage + +```typescript +import { AtsCreateBackgroundCheckOrderRequestDtoCandidate } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: AtsCreateBackgroundCheckOrderRequestDtoCandidate = { + emails: [ + { + type: "personal", + value: "sestier.romain123@gmail.com", + }, + ], + firstName: "Romain", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + lastName: "Sestier", + passthrough: { + "other_known_names": "John Doe", + }, + profileUrl: "https://exmaple.com/candidate?id=xyz", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `emails` | [shared.CandidateEmail](../../../sdk/models/shared/candidateemail.md)[] | :heavy_minus_sign: | List of candidate emails | | +| `firstName` | *string* | :heavy_minus_sign: | Candidate first name | Romain | +| `id` | *string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `lastName` | *string* | :heavy_minus_sign: | Candidate last name | Sestier | +| `passthrough` | Record | :heavy_minus_sign: | Value to pass through to the provider | {
"other_known_names": "John Doe"
} | +| `profileUrl` | *string* | :heavy_minus_sign: | Candidate profile url | https://exmaple.com/candidate?id=xyz | +| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | \ No newline at end of file diff --git a/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtojob.md b/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtojob.md new file mode 100644 index 000000000..13aba5ecf --- /dev/null +++ b/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtojob.md @@ -0,0 +1,36 @@ +# AtsCreateBackgroundCheckOrderRequestDtoJob + +## Example Usage + +```typescript +import { AtsCreateBackgroundCheckOrderRequestDtoJob } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: AtsCreateBackgroundCheckOrderRequestDtoJob = { + hiringTeam: [ + { + email: "john.doe@gmail.com", + firstName: "John", + lastName: "Doe", + remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + role: "Software Engineer", + userId: "123456", + }, + ], + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "other_known_names": "John Doe", + }, + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + title: "Software Engineer", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `hiringTeam` | [shared.JobHiringTeam](../../../sdk/models/shared/jobhiringteam.md)[] | :heavy_minus_sign: | Hiring team for the job. | | +| `id` | *string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `passthrough` | Record | :heavy_minus_sign: | Value to pass through to the provider | {
"other_known_names": "John Doe"
} | +| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `title` | *string* | :heavy_minus_sign: | Title of the job | Software Engineer | \ No newline at end of file diff --git a/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtopackage.md b/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtopackage.md new file mode 100644 index 000000000..355260709 --- /dev/null +++ b/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtopackage.md @@ -0,0 +1,34 @@ +# AtsCreateBackgroundCheckOrderRequestDtoPackage + +## Example Usage + +```typescript +import { AtsCreateBackgroundCheckOrderRequestDtoPackage } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: AtsCreateBackgroundCheckOrderRequestDtoPackage = { + description: + "Skills test to gauge a candidate's proficiency in job-specific skills", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Test 1", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + tests: [ + { + description: + "Skills test to gauge a candidate's proficiency in job-specific skills", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Test 1", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `description` | *string* | :heavy_minus_sign: | Package description | Skills test to gauge a candidate's proficiency in job-specific skills | +| `id` | *string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `name` | *string* | :heavy_minus_sign: | Package name | Test 1 | +| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `tests` | [shared.Package](../../../sdk/models/shared/package.md)[] | :heavy_minus_sign: | Package tests | | \ No newline at end of file diff --git a/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtorequester.md b/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtorequester.md new file mode 100644 index 000000000..13cfb057e --- /dev/null +++ b/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtorequester.md @@ -0,0 +1,27 @@ +# AtsCreateBackgroundCheckOrderRequestDtoRequester + +## Example Usage + +```typescript +import { AtsCreateBackgroundCheckOrderRequestDtoRequester } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: AtsCreateBackgroundCheckOrderRequestDtoRequester = { + email: "john.doe@gmail.com", + firstName: "John", + lastName: "Doe", + remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + role: "Software Engineer", + userId: "123456", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `email` | *string* | :heavy_minus_sign: | Email of the hiring team member. | john.doe@gmail.com | +| `firstName` | *string* | :heavy_minus_sign: | First name of the hiring team member. | John | +| `lastName` | *string* | :heavy_minus_sign: | Last name of the hiring team member. | Doe | +| `remoteUserId` | *string* | :heavy_minus_sign: | Provider's unique identifier of the user | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | +| `role` | *string* | :heavy_minus_sign: | Role of the hiring team member. | Software Engineer | +| `userId` | *string* | :heavy_minus_sign: | User ID of the hiring team member. | 123456 | \ No newline at end of file diff --git a/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtosourcevalue.md b/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtosourcevalue.md new file mode 100644 index 000000000..9a1abffe8 --- /dev/null +++ b/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtosourcevalue.md @@ -0,0 +1,39 @@ +# AtsCreateBackgroundCheckOrderRequestDtoSourceValue + +The source value of the application status. + + +## Supported Types + +### `string` + +```typescript +const value: string = "Hired"; +``` + +### `number` + +```typescript +const value: number = Hired; +``` + +### `boolean` + +```typescript +const value: boolean = true; +``` + +### `shared.AtsCreateBackgroundCheckOrderRequestDto4` + +```typescript +const value: shared.AtsCreateBackgroundCheckOrderRequestDto4 = {}; +``` + +### `any[]` + +```typescript +const value: any[] = [ + "Hired", +]; +``` + diff --git a/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtovalue.md b/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtovalue.md new file mode 100644 index 000000000..26a4eb350 --- /dev/null +++ b/docs/sdk/models/shared/atscreatebackgroundcheckorderrequestdtovalue.md @@ -0,0 +1,40 @@ +# AtsCreateBackgroundCheckOrderRequestDtoValue + +The status of the application. + +## Example Usage + +```typescript +import { AtsCreateBackgroundCheckOrderRequestDtoValue } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: AtsCreateBackgroundCheckOrderRequestDtoValue = + AtsCreateBackgroundCheckOrderRequestDtoValue.Hired; +``` + +## Values + +This is an open enum. Unrecognized values will be captured as the `Unrecognized` branded type. + +| Name | Value | +| ---------------------- | ---------------------- | +| `Active` | active | +| `Assessment` | assessment | +| `BackgroundCheck` | background_check | +| `Converted` | converted | +| `DeclinedByCandidate` | declined_by_candidate | +| `Hired` | hired | +| `Interview` | interview | +| `Lead` | lead | +| `Offer` | offer | +| `ReferenceCheck` | reference_check | +| `Rejected` | rejected | +| `Review` | review | +| `Screen` | screen | +| `New` | new | +| `Onboarding` | onboarding | +| `Created` | created | +| `Accepted` | accepted | +| `ShortList` | short_list | +| `Approved` | approved | +| `UnmappedValue` | unmapped_value | +| - | `Unrecognized` | \ No newline at end of file diff --git a/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdto.md b/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdto.md new file mode 100644 index 000000000..bbc7a0ecc --- /dev/null +++ b/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdto.md @@ -0,0 +1,91 @@ +# AtsCreateCandidatesAssessmentsRequestDto + +## Example Usage + +```typescript +import { + AtsCreateCandidatesAssessmentsRequestDto, + AtsCreateCandidatesAssessmentsRequestDtoValue, +} from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: AtsCreateCandidatesAssessmentsRequestDto = { + application: { + applicationStatus: { + sourceValue: "Hired", + value: AtsCreateCandidatesAssessmentsRequestDtoValue.Hired, + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "other_known_names": "John Doe", + }, + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + candidate: { + emails: [ + { + type: "personal", + value: "sestier.romain123@gmail.com", + }, + ], + firstName: "Romain", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + lastName: "Sestier", + passthrough: { + "other_known_names": "John Doe", + }, + profileUrl: "https://exmaple.com/candidate?id=xyz", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + job: { + hiringTeam: [ + { + email: "john.doe@gmail.com", + firstName: "John", + lastName: "Doe", + remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + role: "Software Engineer", + userId: "123456", + }, + ], + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "other_known_names": "John Doe", + }, + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + title: "Software Engineer", + }, + package: { + description: + "Skills test to gauge a candidate's proficiency in job-specific skills", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Test 1", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + passthrough: { + "other_known_names": "John Doe", + }, + requester: { + email: "john.doe@gmail.com", + firstName: "John", + lastName: "Doe", + remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + role: "Software Engineer", + userId: "123456", + }, + resultsUpdateUrl: "https://exmaple.com/integrations/results/update", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | +| `application` | [shared.AtsCreateCandidatesAssessmentsRequestDtoApplication](../../../sdk/models/shared/atscreatecandidatesassessmentsrequestdtoapplication.md) | :heavy_minus_sign: | N/A | | +| `candidate` | [shared.AtsCreateCandidatesAssessmentsRequestDtoCandidate](../../../sdk/models/shared/atscreatecandidatesassessmentsrequestdtocandidate.md) | :heavy_minus_sign: | N/A | | +| `id` | *string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `job` | [shared.AtsCreateCandidatesAssessmentsRequestDtoJob](../../../sdk/models/shared/atscreatecandidatesassessmentsrequestdtojob.md) | :heavy_minus_sign: | N/A | | +| `package` | [shared.AtsCreateCandidatesAssessmentsRequestDtoPackage](../../../sdk/models/shared/atscreatecandidatesassessmentsrequestdtopackage.md) | :heavy_minus_sign: | N/A | | +| `passthrough` | Record | :heavy_minus_sign: | Value to pass through to the provider | {
"other_known_names": "John Doe"
} | +| `requester` | [shared.AtsCreateCandidatesAssessmentsRequestDtoRequester](../../../sdk/models/shared/atscreatecandidatesassessmentsrequestdtorequester.md) | :heavy_minus_sign: | N/A | | +| `resultsUpdateUrl` | *string* | :heavy_minus_sign: | Results update url | https://exmaple.com/integrations/results/update | \ No newline at end of file diff --git a/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdto4.md b/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdto4.md new file mode 100644 index 000000000..9bfde55b3 --- /dev/null +++ b/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdto4.md @@ -0,0 +1,14 @@ +# AtsCreateCandidatesAssessmentsRequestDto4 + +## Example Usage + +```typescript +import { AtsCreateCandidatesAssessmentsRequestDto4 } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: AtsCreateCandidatesAssessmentsRequestDto4 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtoapplication.md b/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtoapplication.md new file mode 100644 index 000000000..7f35e9032 --- /dev/null +++ b/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtoapplication.md @@ -0,0 +1,31 @@ +# AtsCreateCandidatesAssessmentsRequestDtoApplication + +## Example Usage + +```typescript +import { + AtsCreateCandidatesAssessmentsRequestDtoApplication, + AtsCreateCandidatesAssessmentsRequestDtoValue, +} from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: AtsCreateCandidatesAssessmentsRequestDtoApplication = { + applicationStatus: { + sourceValue: "Hired", + value: AtsCreateCandidatesAssessmentsRequestDtoValue.Hired, + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "other_known_names": "John Doe", + }, + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `applicationStatus` | [shared.AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus](../../../sdk/models/shared/atscreatecandidatesassessmentsrequestdtoapplicationstatus.md) | :heavy_minus_sign: | N/A | | +| `id` | *string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `passthrough` | Record | :heavy_minus_sign: | Value to pass through to the provider | {
"other_known_names": "John Doe"
} | +| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | \ No newline at end of file diff --git a/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtoapplicationstatus.md b/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtoapplicationstatus.md new file mode 100644 index 000000000..90567cfbd --- /dev/null +++ b/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtoapplicationstatus.md @@ -0,0 +1,22 @@ +# AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus + +## Example Usage + +```typescript +import { + AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus, + AtsCreateCandidatesAssessmentsRequestDtoValue, +} from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus = { + sourceValue: "Hired", + value: AtsCreateCandidatesAssessmentsRequestDtoValue.Hired, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | +| `sourceValue` | *shared.AtsCreateCandidatesAssessmentsRequestDtoSourceValue* | :heavy_minus_sign: | The source value of the application status. | Hired | +| `value` | [shared.AtsCreateCandidatesAssessmentsRequestDtoValue](../../../sdk/models/shared/atscreatecandidatesassessmentsrequestdtovalue.md) | :heavy_minus_sign: | The status of the application. | hired | \ No newline at end of file diff --git a/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtocandidate.md b/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtocandidate.md new file mode 100644 index 000000000..a53cc3c7f --- /dev/null +++ b/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtocandidate.md @@ -0,0 +1,36 @@ +# AtsCreateCandidatesAssessmentsRequestDtoCandidate + +## Example Usage + +```typescript +import { AtsCreateCandidatesAssessmentsRequestDtoCandidate } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: AtsCreateCandidatesAssessmentsRequestDtoCandidate = { + emails: [ + { + type: "personal", + value: "sestier.romain123@gmail.com", + }, + ], + firstName: "Romain", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + lastName: "Sestier", + passthrough: { + "other_known_names": "John Doe", + }, + profileUrl: "https://exmaple.com/candidate?id=xyz", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `emails` | [shared.CandidateEmail](../../../sdk/models/shared/candidateemail.md)[] | :heavy_minus_sign: | List of candidate emails | | +| `firstName` | *string* | :heavy_minus_sign: | Candidate first name | Romain | +| `id` | *string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `lastName` | *string* | :heavy_minus_sign: | Candidate last name | Sestier | +| `passthrough` | Record | :heavy_minus_sign: | Value to pass through to the provider | {
"other_known_names": "John Doe"
} | +| `profileUrl` | *string* | :heavy_minus_sign: | Candidate profile url | https://exmaple.com/candidate?id=xyz | +| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | \ No newline at end of file diff --git a/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtojob.md b/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtojob.md new file mode 100644 index 000000000..a4ec2a995 --- /dev/null +++ b/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtojob.md @@ -0,0 +1,36 @@ +# AtsCreateCandidatesAssessmentsRequestDtoJob + +## Example Usage + +```typescript +import { AtsCreateCandidatesAssessmentsRequestDtoJob } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: AtsCreateCandidatesAssessmentsRequestDtoJob = { + hiringTeam: [ + { + email: "john.doe@gmail.com", + firstName: "John", + lastName: "Doe", + remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + role: "Software Engineer", + userId: "123456", + }, + ], + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "other_known_names": "John Doe", + }, + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + title: "Software Engineer", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `hiringTeam` | [shared.JobHiringTeam](../../../sdk/models/shared/jobhiringteam.md)[] | :heavy_minus_sign: | Hiring team for the job. | | +| `id` | *string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `passthrough` | Record | :heavy_minus_sign: | Value to pass through to the provider | {
"other_known_names": "John Doe"
} | +| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `title` | *string* | :heavy_minus_sign: | Title of the job | Software Engineer | \ No newline at end of file diff --git a/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtopackage.md b/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtopackage.md new file mode 100644 index 000000000..d10ce4c5f --- /dev/null +++ b/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtopackage.md @@ -0,0 +1,24 @@ +# AtsCreateCandidatesAssessmentsRequestDtoPackage + +## Example Usage + +```typescript +import { AtsCreateCandidatesAssessmentsRequestDtoPackage } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: AtsCreateCandidatesAssessmentsRequestDtoPackage = { + description: + "Skills test to gauge a candidate's proficiency in job-specific skills", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Test 1", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `description` | *string* | :heavy_minus_sign: | Package description | Skills test to gauge a candidate's proficiency in job-specific skills | +| `id` | *string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `name` | *string* | :heavy_minus_sign: | Package name | Test 1 | +| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | \ No newline at end of file diff --git a/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtorequester.md b/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtorequester.md new file mode 100644 index 000000000..43f3180bf --- /dev/null +++ b/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtorequester.md @@ -0,0 +1,27 @@ +# AtsCreateCandidatesAssessmentsRequestDtoRequester + +## Example Usage + +```typescript +import { AtsCreateCandidatesAssessmentsRequestDtoRequester } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: AtsCreateCandidatesAssessmentsRequestDtoRequester = { + email: "john.doe@gmail.com", + firstName: "John", + lastName: "Doe", + remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + role: "Software Engineer", + userId: "123456", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `email` | *string* | :heavy_minus_sign: | Email of the hiring team member. | john.doe@gmail.com | +| `firstName` | *string* | :heavy_minus_sign: | First name of the hiring team member. | John | +| `lastName` | *string* | :heavy_minus_sign: | Last name of the hiring team member. | Doe | +| `remoteUserId` | *string* | :heavy_minus_sign: | Provider's unique identifier of the user | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | +| `role` | *string* | :heavy_minus_sign: | Role of the hiring team member. | Software Engineer | +| `userId` | *string* | :heavy_minus_sign: | User ID of the hiring team member. | 123456 | \ No newline at end of file diff --git a/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtosourcevalue.md b/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtosourcevalue.md new file mode 100644 index 000000000..42208038b --- /dev/null +++ b/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtosourcevalue.md @@ -0,0 +1,39 @@ +# AtsCreateCandidatesAssessmentsRequestDtoSourceValue + +The source value of the application status. + + +## Supported Types + +### `string` + +```typescript +const value: string = "Hired"; +``` + +### `number` + +```typescript +const value: number = Hired; +``` + +### `boolean` + +```typescript +const value: boolean = true; +``` + +### `shared.AtsCreateCandidatesAssessmentsRequestDto4` + +```typescript +const value: shared.AtsCreateCandidatesAssessmentsRequestDto4 = {}; +``` + +### `any[]` + +```typescript +const value: any[] = [ + "Hired", +]; +``` + diff --git a/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtovalue.md b/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtovalue.md new file mode 100644 index 000000000..6927ef6b0 --- /dev/null +++ b/docs/sdk/models/shared/atscreatecandidatesassessmentsrequestdtovalue.md @@ -0,0 +1,40 @@ +# AtsCreateCandidatesAssessmentsRequestDtoValue + +The status of the application. + +## Example Usage + +```typescript +import { AtsCreateCandidatesAssessmentsRequestDtoValue } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: AtsCreateCandidatesAssessmentsRequestDtoValue = + AtsCreateCandidatesAssessmentsRequestDtoValue.Hired; +``` + +## Values + +This is an open enum. Unrecognized values will be captured as the `Unrecognized` branded type. + +| Name | Value | +| ---------------------- | ---------------------- | +| `Active` | active | +| `Assessment` | assessment | +| `BackgroundCheck` | background_check | +| `Converted` | converted | +| `DeclinedByCandidate` | declined_by_candidate | +| `Hired` | hired | +| `Interview` | interview | +| `Lead` | lead | +| `Offer` | offer | +| `ReferenceCheck` | reference_check | +| `Rejected` | rejected | +| `Review` | review | +| `Screen` | screen | +| `New` | new | +| `Onboarding` | onboarding | +| `Created` | created | +| `Accepted` | accepted | +| `ShortList` | short_list | +| `Approved` | approved | +| `UnmappedValue` | unmapped_value | +| - | `Unrecognized` | \ No newline at end of file diff --git a/docs/sdk/models/shared/atsdocumentapimodelschemastypesourcevalue.md b/docs/sdk/models/shared/atsdocumentapimodelschemastypesourcevalue.md index 7e84adfcd..31d1dcefb 100644 --- a/docs/sdk/models/shared/atsdocumentapimodelschemastypesourcevalue.md +++ b/docs/sdk/models/shared/atsdocumentapimodelschemastypesourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 2965.56; +const value: number = 2334.2; ``` ### `boolean` diff --git a/docs/sdk/models/shared/atsdocumentapimodelschemasvalue.md b/docs/sdk/models/shared/atsdocumentapimodelschemasvalue.md index 006232c39..954ee0158 100644 --- a/docs/sdk/models/shared/atsdocumentapimodelschemasvalue.md +++ b/docs/sdk/models/shared/atsdocumentapimodelschemasvalue.md @@ -8,7 +8,7 @@ The category of the file import { AtsDocumentApiModelSchemasValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: AtsDocumentApiModelSchemasValue = - AtsDocumentApiModelSchemasValue.UnmappedValue; + AtsDocumentApiModelSchemasValue.SignedOfferLetter; ``` ## Values diff --git a/docs/sdk/models/shared/atsdocumentapimodelsourcevalue.md b/docs/sdk/models/shared/atsdocumentapimodelsourcevalue.md index 0357e7cff..4b600acbd 100644 --- a/docs/sdk/models/shared/atsdocumentapimodelsourcevalue.md +++ b/docs/sdk/models/shared/atsdocumentapimodelsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 9049.49; +const value: number = 9509.53; ``` ### `boolean` diff --git a/docs/sdk/models/shared/atsupdatejobrequestdtoconfidential.md b/docs/sdk/models/shared/atsupdatejobrequestdtoconfidential.md index 5a87b5651..96a07e500 100644 --- a/docs/sdk/models/shared/atsupdatejobrequestdtoconfidential.md +++ b/docs/sdk/models/shared/atsupdatejobrequestdtoconfidential.md @@ -8,7 +8,7 @@ Confidential status of the job import { AtsUpdateJobRequestDtoConfidential } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: AtsUpdateJobRequestDtoConfidential = - AtsUpdateJobRequestDtoConfidential.True; + AtsUpdateJobRequestDtoConfidential.False; ``` ## Values diff --git a/docs/sdk/models/shared/campaign.md b/docs/sdk/models/shared/campaign.md index 6b9af1c5c..50b18fe40 100644 --- a/docs/sdk/models/shared/campaign.md +++ b/docs/sdk/models/shared/campaign.md @@ -3,13 +3,13 @@ ## Example Usage ```typescript -import { Campaign, CampaignSchemasValue, CampaignValue, MessageValue, Value } from "@stackone/stackone-client-ts/sdk/models/shared"; +import { Campaign, CampaignSchemasValue, CampaignValue, ChannelsEnumValue, MessageValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: Campaign = { channels: [ { sourceValue: "SMS", - value: Value.Sms, + value: ChannelsEnumValue.Sms, }, ], createdAt: new Date("2021-01-01T01:01:01.000Z"), diff --git a/docs/sdk/models/shared/campaign2.md b/docs/sdk/models/shared/campaign2.md index 03fdd41a1..862fe8563 100644 --- a/docs/sdk/models/shared/campaign2.md +++ b/docs/sdk/models/shared/campaign2.md @@ -5,7 +5,7 @@ ```typescript import { Campaign2 } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: Campaign2 = Campaign2.True; +let value: Campaign2 = Campaign2.False; ``` ## Values diff --git a/docs/sdk/models/shared/campaignresult.md b/docs/sdk/models/shared/campaignresult.md index 04c9ed203..a3ce3bb9c 100644 --- a/docs/sdk/models/shared/campaignresult.md +++ b/docs/sdk/models/shared/campaignresult.md @@ -3,14 +3,20 @@ ## Example Usage ```typescript -import { CampaignResult, CampaignSchemasValue, CampaignValue, MessageValue, Value } from "@stackone/stackone-client-ts/sdk/models/shared"; +import { + CampaignResult, + CampaignSchemasValue, + CampaignValue, + ChannelsEnumValue, + MessageValue, +} from "@stackone/stackone-client-ts/sdk/models/shared"; let value: CampaignResult = { data: { channels: [ { sourceValue: "SMS", - value: Value.Sms, + value: ChannelsEnumValue.Sms, }, ], createdAt: new Date("2021-01-01T01:01:01.000Z"), @@ -62,7 +68,7 @@ let value: CampaignResult = { }, status: { sourceValue: "Email", - value: CampaignSchemasValue.Live, + value: CampaignSchemasValue.Draft, }, updatedAt: new Date("2021-01-01T01:01:01.000Z"), }, diff --git a/docs/sdk/models/shared/campaignschemasvalue.md b/docs/sdk/models/shared/campaignschemasvalue.md index 4d8f024fd..9918162d7 100644 --- a/docs/sdk/models/shared/campaignschemasvalue.md +++ b/docs/sdk/models/shared/campaignschemasvalue.md @@ -7,7 +7,7 @@ The Status of the campaign. ```typescript import { CampaignSchemasValue } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: CampaignSchemasValue = CampaignSchemasValue.Draft; +let value: CampaignSchemasValue = CampaignSchemasValue.Live; ``` ## Values diff --git a/docs/sdk/models/shared/campaignspaginated.md b/docs/sdk/models/shared/campaignspaginated.md index 2e6eaa212..8eeb870c6 100644 --- a/docs/sdk/models/shared/campaignspaginated.md +++ b/docs/sdk/models/shared/campaignspaginated.md @@ -3,7 +3,13 @@ ## Example Usage ```typescript -import { CampaignSchemasValue, CampaignsPaginated, CampaignValue, MessageValue, Value } from "@stackone/stackone-client-ts/sdk/models/shared"; +import { + CampaignSchemasValue, + CampaignsPaginated, + CampaignValue, + ChannelsEnumValue, + MessageValue, +} from "@stackone/stackone-client-ts/sdk/models/shared"; let value: CampaignsPaginated = { data: [ @@ -11,7 +17,7 @@ let value: CampaignsPaginated = { channels: [ { sourceValue: "SMS", - value: Value.Sms, + value: ChannelsEnumValue.Sms, }, ], createdAt: new Date("2021-01-01T01:01:01.000Z"), @@ -63,7 +69,7 @@ let value: CampaignsPaginated = { }, status: { sourceValue: "Email", - value: CampaignSchemasValue.Archived, + value: CampaignSchemasValue.Draft, }, updatedAt: new Date("2021-01-01T01:01:01.000Z"), }, diff --git a/docs/sdk/models/shared/campaignstatus.md b/docs/sdk/models/shared/campaignstatus.md index e0f6da54d..67b5b3a50 100644 --- a/docs/sdk/models/shared/campaignstatus.md +++ b/docs/sdk/models/shared/campaignstatus.md @@ -9,7 +9,7 @@ import { CampaignSchemasValue, CampaignStatus } from "@stackone/stackone-client- let value: CampaignStatus = { sourceValue: "Email", - value: CampaignSchemasValue.Draft, + value: CampaignSchemasValue.Archived, }; ``` diff --git a/docs/sdk/models/shared/categories.md b/docs/sdk/models/shared/categories.md index bcbc0a7ef..331d6eb19 100644 --- a/docs/sdk/models/shared/categories.md +++ b/docs/sdk/models/shared/categories.md @@ -5,7 +5,7 @@ ```typescript import { Categories } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: Categories = Categories.Iam; +let value: Categories = Categories.HrisLegacy; ``` ## Values diff --git a/docs/sdk/models/shared/categoryschemassourcevalue.md b/docs/sdk/models/shared/categoryschemassourcevalue.md index 94998224d..8fc519dc2 100644 --- a/docs/sdk/models/shared/categoryschemassourcevalue.md +++ b/docs/sdk/models/shared/categoryschemassourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 7307.09; +const value: number = 7487.89; ``` ### `boolean` diff --git a/docs/sdk/models/shared/categoryschemasvalue.md b/docs/sdk/models/shared/categoryschemasvalue.md index 5f226384d..5e15bec7f 100644 --- a/docs/sdk/models/shared/categoryschemasvalue.md +++ b/docs/sdk/models/shared/categoryschemasvalue.md @@ -5,7 +5,7 @@ ```typescript import { CategorySchemasValue } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: CategorySchemasValue = CategorySchemasValue.Tertiary; +let value: CategorySchemasValue = CategorySchemasValue.Primary; ``` ## Values diff --git a/docs/sdk/models/shared/categorysourcevalue.md b/docs/sdk/models/shared/categorysourcevalue.md index f79b45274..6ddbf494f 100644 --- a/docs/sdk/models/shared/categorysourcevalue.md +++ b/docs/sdk/models/shared/categorysourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 583.56; +const value: number = 3742.96; ``` ### `boolean` diff --git a/docs/sdk/models/shared/channelsenum.md b/docs/sdk/models/shared/channelsenum.md index f0f574367..d059c2e31 100644 --- a/docs/sdk/models/shared/channelsenum.md +++ b/docs/sdk/models/shared/channelsenum.md @@ -3,17 +3,17 @@ ## Example Usage ```typescript -import { ChannelsEnum, Value } from "@stackone/stackone-client-ts/sdk/models/shared"; +import { ChannelsEnum, ChannelsEnumValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: ChannelsEnum = { sourceValue: "SMS", - value: Value.Sms, + value: ChannelsEnumValue.Sms, }; ``` ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | -| `sourceValue` | *shared.SourceValue* | :heavy_minus_sign: | The source value of the Channels. | SMS | -| `value` | [shared.Value](../../../sdk/models/shared/value.md) | :heavy_minus_sign: | The Channels of the campaign. | sms | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `sourceValue` | *shared.SourceValue* | :heavy_minus_sign: | The source value of the Channels. | SMS | +| `value` | [shared.ChannelsEnumValue](../../../sdk/models/shared/channelsenumvalue.md) | :heavy_minus_sign: | The Channels of the campaign. | sms | \ No newline at end of file diff --git a/docs/sdk/models/shared/channelsenumvalue.md b/docs/sdk/models/shared/channelsenumvalue.md new file mode 100644 index 000000000..a6a62c80b --- /dev/null +++ b/docs/sdk/models/shared/channelsenumvalue.md @@ -0,0 +1,26 @@ +# ChannelsEnumValue + +The Channels of the campaign. + +## Example Usage + +```typescript +import { ChannelsEnumValue } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: ChannelsEnumValue = ChannelsEnumValue.Sms; +``` + +## Values + +This is an open enum. Unrecognized values will be captured as the `Unrecognized` branded type. + +| Name | Value | +| ---------------------- | ---------------------- | +| `Email` | email | +| `Sms` | sms | +| `WebPush` | web_push | +| `IosPush` | ios_push | +| `AndroidPush` | android_push | +| `Unknown` | unknown | +| `UnmappedValue` | unmapped_value | +| - | `Unrecognized` | \ No newline at end of file diff --git a/docs/sdk/models/shared/completionschemassourcevalue.md b/docs/sdk/models/shared/completionschemassourcevalue.md index 1eca56c68..fe8c306cd 100644 --- a/docs/sdk/models/shared/completionschemassourcevalue.md +++ b/docs/sdk/models/shared/completionschemassourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 6375.83; +const value: number = 7730.84; ``` ### `boolean` diff --git a/docs/sdk/models/shared/completionsourcevalue.md b/docs/sdk/models/shared/completionsourcevalue.md index 92324a24f..8aeb8b116 100644 --- a/docs/sdk/models/shared/completionsourcevalue.md +++ b/docs/sdk/models/shared/completionsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 3518.93; +const value: number = 4322.81; ``` ### `boolean` diff --git a/docs/sdk/models/shared/completionvalue.md b/docs/sdk/models/shared/completionvalue.md index 6a83af348..e10a9d5d5 100644 --- a/docs/sdk/models/shared/completionvalue.md +++ b/docs/sdk/models/shared/completionvalue.md @@ -5,7 +5,7 @@ ```typescript import { CompletionValue } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: CompletionValue = CompletionValue.Collection; +let value: CompletionValue = CompletionValue.Course; ``` ## Values diff --git a/docs/sdk/models/shared/confidential.md b/docs/sdk/models/shared/confidential.md index 52277647c..0765842cb 100644 --- a/docs/sdk/models/shared/confidential.md +++ b/docs/sdk/models/shared/confidential.md @@ -7,7 +7,7 @@ Confidential status of the job ```typescript import { Confidential } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: Confidential = Confidential.True; +let value: Confidential = Confidential.False; ``` ## Values diff --git a/docs/sdk/models/shared/connectsession.md b/docs/sdk/models/shared/connectsession.md index 0d7b0abda..d638d99bf 100644 --- a/docs/sdk/models/shared/connectsession.md +++ b/docs/sdk/models/shared/connectsession.md @@ -9,17 +9,17 @@ let value: ConnectSession = { categories: [ Categories.Ats, Categories.Hris, - Categories.Documents, + Categories.Marketing, Categories.Crm, Categories.Iam, Categories.Marketing, Categories.Lms, - Categories.Ats, + Categories.HrisLegacy, Categories.Documents, ], - createdAt: new Date("2025-05-08T10:11:55.196Z"), - id: 2883.98, - organizationId: 2414.18, + createdAt: new Date("2024-12-30T18:45:29.622Z"), + id: 5173.09, + organizationId: 4240.89, originOwnerId: "", originOwnerName: "", projectId: "", diff --git a/docs/sdk/models/shared/connectsessioncreate.md b/docs/sdk/models/shared/connectsessioncreate.md index 5591137ff..5d4b00eba 100644 --- a/docs/sdk/models/shared/connectsessioncreate.md +++ b/docs/sdk/models/shared/connectsessioncreate.md @@ -14,7 +14,7 @@ let value: ConnectSessionCreate = { ConnectSessionCreateCategories.Iam, ConnectSessionCreateCategories.Marketing, ConnectSessionCreateCategories.Lms, - ConnectSessionCreateCategories.Ats, + ConnectSessionCreateCategories.Documents, ConnectSessionCreateCategories.Documents, ], originOwnerId: "", diff --git a/docs/sdk/models/shared/connectsessiontokenauthlink.md b/docs/sdk/models/shared/connectsessiontokenauthlink.md index 3fa0d974e..f0a2ddcf2 100644 --- a/docs/sdk/models/shared/connectsessiontokenauthlink.md +++ b/docs/sdk/models/shared/connectsessiontokenauthlink.md @@ -6,21 +6,21 @@ import { ConnectSessionTokenAuthLink, ConnectSessionTokenAuthLinkCategories } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: ConnectSessionTokenAuthLink = { - authLinkUrl: "https://rapid-league.info/", + authLinkUrl: "https://sarcastic-hawk.info/", categories: [ ConnectSessionTokenAuthLinkCategories.Ats, ConnectSessionTokenAuthLinkCategories.Hris, - ConnectSessionTokenAuthLinkCategories.Iam, + ConnectSessionTokenAuthLinkCategories.Stackone, ConnectSessionTokenAuthLinkCategories.Crm, ConnectSessionTokenAuthLinkCategories.Iam, ConnectSessionTokenAuthLinkCategories.Marketing, ConnectSessionTokenAuthLinkCategories.Lms, - ConnectSessionTokenAuthLinkCategories.HrisLegacy, + ConnectSessionTokenAuthLinkCategories.Documents, ConnectSessionTokenAuthLinkCategories.Documents, ], - createdAt: new Date("2025-02-13T09:44:27.866Z"), - id: 4148.57, - organizationId: 3605.45, + createdAt: new Date("2023-02-20T10:10:34.700Z"), + id: 2326.27, + organizationId: 3485.19, originOwnerId: "", originOwnerName: "", projectId: "", diff --git a/docs/sdk/models/shared/connectsessiontokenauthlinkcategories.md b/docs/sdk/models/shared/connectsessiontokenauthlinkcategories.md index 317e6bf10..aa1518e1a 100644 --- a/docs/sdk/models/shared/connectsessiontokenauthlinkcategories.md +++ b/docs/sdk/models/shared/connectsessiontokenauthlinkcategories.md @@ -6,7 +6,7 @@ import { ConnectSessionTokenAuthLinkCategories } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: ConnectSessionTokenAuthLinkCategories = - ConnectSessionTokenAuthLinkCategories.Marketing; + ConnectSessionTokenAuthLinkCategories.Iam; ``` ## Values diff --git a/docs/sdk/models/shared/content.md b/docs/sdk/models/shared/content.md index 43da26866..1764d0545 100644 --- a/docs/sdk/models/shared/content.md +++ b/docs/sdk/models/shared/content.md @@ -7,6 +7,13 @@ import { Content, LanguageEnumValue } from "@stackone/stackone-client-ts/sdk/mod let value: Content = { active: true, + additionalData: [ + { + id: "learning_outcomes", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + value: {}, + }, + ], categories: [ { id: "12345", @@ -35,8 +42,6 @@ let value: Content = { "e3cb75bf-aa84-466e-a6c1-b8322b257a49", ], remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - shortDescription: - "This course is a valuable resource and acts as learning content for...", skills: [ { id: "12345", @@ -56,6 +61,7 @@ let value: Content = { | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `active` | *boolean* | :heavy_minus_sign: | Whether the content is active and available for users. | true | +| `additionalData` | [shared.AdditionalData](../../../sdk/models/shared/additionaldata.md)[] | :heavy_minus_sign: | The additional_data associated with this content | | | `categories` | [shared.Category](../../../sdk/models/shared/category.md)[] | :heavy_minus_sign: | The categories associated with this content | [
{
"id": "12345",
"name": "Technology"
}
] | | `contentType` | [shared.ContentContentType](../../../sdk/models/shared/contentcontenttype.md) | :heavy_minus_sign: | The type of content | | | `contentUrl` | *string* | :heavy_minus_sign: | The external URL of the content | https://www.youtube.com/watch?v=16873 | @@ -70,7 +76,7 @@ let value: Content = { | `provider` | *string* | :heavy_minus_sign: | The name of the content provider | Content Provider | | `remoteCourseIds` | *string*[] | :heavy_minus_sign: | Provider's unique identifier of the parent course ID associated with this content | [
"e3cb75bf-aa84-466e-a6c1-b8322b257a48",
"e3cb75bf-aa84-466e-a6c1-b8322b257a49"
] | | `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `shortDescription` | *string* | :heavy_minus_sign: | A short description or summary for the content | This course is a valuable resource and acts as learning content for... | +| ~~`shortDescription`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

A short description or summary for the content | This course is a valuable resource and acts as learning content for... | | `skills` | [shared.Skills](../../../sdk/models/shared/skills.md)[] | :heavy_minus_sign: | The skills associated with this course | [
{
"id": "12345",
"name": "Sales Techniques"
}
] | | `title` | *string* | :heavy_minus_sign: | The title of the content | Software Engineer Lv 1 | | `unifiedCustomFields` | Record | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | \ No newline at end of file diff --git a/docs/sdk/models/shared/contentpaginated.md b/docs/sdk/models/shared/contentpaginated.md index e2db5a9ba..0e9aa07f6 100644 --- a/docs/sdk/models/shared/contentpaginated.md +++ b/docs/sdk/models/shared/contentpaginated.md @@ -9,6 +9,13 @@ let value: ContentPaginated = { data: [ { active: true, + additionalData: [ + { + id: "learning_outcomes", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + value: {}, + }, + ], categories: [ { id: "12345", @@ -38,8 +45,6 @@ let value: ContentPaginated = { "e3cb75bf-aa84-466e-a6c1-b8322b257a49", ], remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - shortDescription: - "This course is a valuable resource and acts as learning content for...", skills: [ { id: "12345", diff --git a/docs/sdk/models/shared/contentresult.md b/docs/sdk/models/shared/contentresult.md index eedab472c..4aa0fad46 100644 --- a/docs/sdk/models/shared/contentresult.md +++ b/docs/sdk/models/shared/contentresult.md @@ -8,6 +8,13 @@ import { ContentResult, LanguageEnumValue } from "@stackone/stackone-client-ts/s let value: ContentResult = { data: { active: true, + additionalData: [ + { + id: "learning_outcomes", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + value: {}, + }, + ], categories: [ { id: "12345", @@ -36,8 +43,6 @@ let value: ContentResult = { "e3cb75bf-aa84-466e-a6c1-b8322b257a49", ], remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - shortDescription: - "This course is a valuable resource and acts as learning content for...", skills: [ { id: "12345", diff --git a/docs/sdk/models/shared/contentsourcevalue.md b/docs/sdk/models/shared/contentsourcevalue.md index c8d5bd707..d070b8a41 100644 --- a/docs/sdk/models/shared/contentsourcevalue.md +++ b/docs/sdk/models/shared/contentsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 2494.2; +const value: number = 583.56; ``` ### `boolean` diff --git a/docs/sdk/models/shared/contentvalue.md b/docs/sdk/models/shared/contentvalue.md index 7d94b6bc3..cb7f01a72 100644 --- a/docs/sdk/models/shared/contentvalue.md +++ b/docs/sdk/models/shared/contentvalue.md @@ -5,7 +5,7 @@ ```typescript import { ContentValue } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: ContentValue = ContentValue.Video; +let value: ContentValue = ContentValue.Document; ``` ## Values diff --git a/docs/sdk/models/shared/contracttype.md b/docs/sdk/models/shared/contracttype.md new file mode 100644 index 000000000..90f03f21a --- /dev/null +++ b/docs/sdk/models/shared/contracttype.md @@ -0,0 +1,25 @@ +# ContractType + +The employment work schedule type + +## Example Usage + +```typescript +import { ContractType } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: ContractType = { + contractType: {}, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Full-Time", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `contractType` | [shared.EmploymentSchemasContractType](../../../sdk/models/shared/employmentschemascontracttype.md) | :heavy_minus_sign: | The employment work schedule type (e.g., full-time, part-time) | full_time | +| `id` | *string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `label` | *string* | :heavy_minus_sign: | The label of the employment type | Full-Time | +| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | \ No newline at end of file diff --git a/docs/sdk/models/shared/costcenter.md b/docs/sdk/models/shared/costcenter.md new file mode 100644 index 000000000..a3dc324ae --- /dev/null +++ b/docs/sdk/models/shared/costcenter.md @@ -0,0 +1,48 @@ +# CostCenter + +The employee cost_center + +## Example Usage + +```typescript +import { CostCenter } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: CostCenter = { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `name` | *string* | :heavy_minus_sign: | The name of the group | Engineering | +| `ownerIds` | *string*[] | :heavy_minus_sign: | The list of group owner ids of the given group | [
"cxIQNjUyEDM0",
"cxIQNjQzNzA0MQ"
] | +| `parentIds` | *string*[] | :heavy_minus_sign: | The list of parent group ids of the given group | [
"cxIQNjUyNDM0",
"cxIQNjQzNzI0MQ"
] | +| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `remoteOwnerIds` | *string*[] | :heavy_minus_sign: | The list of remote group owner ids of the given group | [
"475364",
"4327652"
] | +| `remoteParentIds` | *string*[] | :heavy_minus_sign: | Provider's list of parent group remote ids of the given group | [
"652434",
"6437241"
] | +| `unifiedCustomFields` | Record | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | \ No newline at end of file diff --git a/docs/sdk/models/shared/countrycodeenumsourcevalue.md b/docs/sdk/models/shared/countrycodeenumsourcevalue.md index 2a17ea869..ff2a0ef31 100644 --- a/docs/sdk/models/shared/countrycodeenumsourcevalue.md +++ b/docs/sdk/models/shared/countrycodeenumsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 486.9; +const value: number = 7400.98; ``` ### `boolean` diff --git a/docs/sdk/models/shared/createassessmentorderresult.md b/docs/sdk/models/shared/createassessmentorderresult.md new file mode 100644 index 000000000..5cd2585ef --- /dev/null +++ b/docs/sdk/models/shared/createassessmentorderresult.md @@ -0,0 +1,21 @@ +# CreateAssessmentOrderResult + +## Example Usage + +```typescript +import { CreateAssessmentOrderResult } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: CreateAssessmentOrderResult = { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + testUrl: "https://exmaple.com/integrations/candidate/test", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `testUrl` | *string* | :heavy_minus_sign: | Test url | https://exmaple.com/integrations/candidate/test | \ No newline at end of file diff --git a/docs/sdk/models/shared/createbackgroundcheckorderresult.md b/docs/sdk/models/shared/createbackgroundcheckorderresult.md new file mode 100644 index 000000000..a57cf4b6c --- /dev/null +++ b/docs/sdk/models/shared/createbackgroundcheckorderresult.md @@ -0,0 +1,21 @@ +# CreateBackgroundCheckOrderResult + +## Example Usage + +```typescript +import { CreateBackgroundCheckOrderResult } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: CreateBackgroundCheckOrderResult = { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + testUrl: "https://exmaple.com/integrations/candidate/test", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `testUrl` | *string* | :heavy_minus_sign: | Test url | https://exmaple.com/integrations/candidate/test | \ No newline at end of file diff --git a/docs/sdk/models/shared/createcategoriesapimodelschemassourcevalue.md b/docs/sdk/models/shared/createcategoriesapimodelschemassourcevalue.md index b4a51a78d..3ee26ca54 100644 --- a/docs/sdk/models/shared/createcategoriesapimodelschemassourcevalue.md +++ b/docs/sdk/models/shared/createcategoriesapimodelschemassourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 4776.46; +const value: number = 6591.77; ``` ### `boolean` diff --git a/docs/sdk/models/shared/createcategoriesapimodelschemasvalue.md b/docs/sdk/models/shared/createcategoriesapimodelschemasvalue.md index 15efaa741..06353a408 100644 --- a/docs/sdk/models/shared/createcategoriesapimodelschemasvalue.md +++ b/docs/sdk/models/shared/createcategoriesapimodelschemasvalue.md @@ -6,7 +6,7 @@ import { CreateCategoriesApiModelSchemasValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: CreateCategoriesApiModelSchemasValue = - CreateCategoriesApiModelSchemasValue.Primary; + CreateCategoriesApiModelSchemasValue.Secondary; ``` ## Values diff --git a/docs/sdk/models/shared/createcategoriesapimodelsourcevalue.md b/docs/sdk/models/shared/createcategoriesapimodelsourcevalue.md index 6f559fecf..b228d58b1 100644 --- a/docs/sdk/models/shared/createcategoriesapimodelsourcevalue.md +++ b/docs/sdk/models/shared/createcategoriesapimodelsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 6072.49; +const value: number = 5910.27; ``` ### `boolean` diff --git a/docs/sdk/models/shared/createemploymentapimodelsourcevalue.md b/docs/sdk/models/shared/createemploymentapimodelsourcevalue.md index 767bbb0ec..2d5cf0db5 100644 --- a/docs/sdk/models/shared/createemploymentapimodelsourcevalue.md +++ b/docs/sdk/models/shared/createemploymentapimodelsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 9241.59; +const value: number = 1046.27; ``` ### `boolean` diff --git a/docs/sdk/models/shared/createemploymentapimodelvalue.md b/docs/sdk/models/shared/createemploymentapimodelvalue.md index 372cfbc8b..0e5fd14bb 100644 --- a/docs/sdk/models/shared/createemploymentapimodelvalue.md +++ b/docs/sdk/models/shared/createemploymentapimodelvalue.md @@ -5,8 +5,7 @@ ```typescript import { CreateEmploymentApiModelValue } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: CreateEmploymentApiModelValue = - CreateEmploymentApiModelValue.UnmappedValue; +let value: CreateEmploymentApiModelValue = CreateEmploymentApiModelValue.Shifts; ``` ## Values diff --git a/docs/sdk/models/shared/createevent.md b/docs/sdk/models/shared/createevent.md deleted file mode 100644 index e0a149288..000000000 --- a/docs/sdk/models/shared/createevent.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateEvent - -## Example Usage - -```typescript -import { CreateEvent } from "@stackone/stackone-client-ts/sdk/models/shared"; - -let value: CreateEvent = { - event: "hris_employees.created", - recordId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | -| `event` | *string* | :heavy_check_mark: | The event name | hris_employees.created | -| `recordId` | *string* | :heavy_check_mark: | The record id associated with the event | | \ No newline at end of file diff --git a/docs/sdk/models/shared/createeventresponse.md b/docs/sdk/models/shared/createeventresponse.md deleted file mode 100644 index b2df34f59..000000000 --- a/docs/sdk/models/shared/createeventresponse.md +++ /dev/null @@ -1,23 +0,0 @@ -# CreateEventResponse - -## Example Usage - -```typescript -import { CreateEventResponse } from "@stackone/stackone-client-ts/sdk/models/shared"; - -let value: CreateEventResponse = { - event: "hris_employees.created", - message: "The event was created", - recordId: "", - status: 200, -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | -| `event` | *string* | :heavy_check_mark: | The event name | hris_employees.created | -| `message` | *string* | :heavy_minus_sign: | The message associated with the operation result | The event was created | -| `recordId` | *string* | :heavy_check_mark: | The record id associated with the event | | -| `status` | *number* | :heavy_check_mark: | The response http status code | 200 | \ No newline at end of file diff --git a/docs/sdk/models/shared/createhrisbenefitsourcevalue.md b/docs/sdk/models/shared/createhrisbenefitsourcevalue.md index b9fcfbca8..127bfff93 100644 --- a/docs/sdk/models/shared/createhrisbenefitsourcevalue.md +++ b/docs/sdk/models/shared/createhrisbenefitsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 2536.42; +const value: number = 6805.15; ``` ### `boolean` diff --git a/docs/sdk/models/shared/createhrisbenefitvalue.md b/docs/sdk/models/shared/createhrisbenefitvalue.md index ac8261171..132a45247 100644 --- a/docs/sdk/models/shared/createhrisbenefitvalue.md +++ b/docs/sdk/models/shared/createhrisbenefitvalue.md @@ -7,7 +7,7 @@ The type of the benefit ```typescript import { CreateHRISBenefitValue } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: CreateHRISBenefitValue = CreateHRISBenefitValue.Other; +let value: CreateHRISBenefitValue = CreateHRISBenefitValue.HealthInsurance; ``` ## Values diff --git a/docs/sdk/models/shared/createskillsapimodelsourcevalue.md b/docs/sdk/models/shared/createskillsapimodelsourcevalue.md index a2ec5efc0..dd40993c1 100644 --- a/docs/sdk/models/shared/createskillsapimodelsourcevalue.md +++ b/docs/sdk/models/shared/createskillsapimodelsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 6803.49; +const value: number = 968.04; ``` ### `boolean` diff --git a/docs/sdk/models/shared/createskillsapimodelvalue.md b/docs/sdk/models/shared/createskillsapimodelvalue.md index 8d5bff4b3..723e764e3 100644 --- a/docs/sdk/models/shared/createskillsapimodelvalue.md +++ b/docs/sdk/models/shared/createskillsapimodelvalue.md @@ -5,7 +5,7 @@ ```typescript import { CreateSkillsApiModelValue } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: CreateSkillsApiModelValue = CreateSkillsApiModelValue.Primary; +let value: CreateSkillsApiModelValue = CreateSkillsApiModelValue.Secondary; ``` ## Values diff --git a/docs/sdk/models/shared/customfielddefinitionsourcevalue.md b/docs/sdk/models/shared/customfielddefinitionsourcevalue.md index ea4064c04..6bc61c266 100644 --- a/docs/sdk/models/shared/customfielddefinitionsourcevalue.md +++ b/docs/sdk/models/shared/customfielddefinitionsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 3742.96; +const value: number = 3044.68; ``` ### `boolean` diff --git a/docs/sdk/models/shared/customfielddefinitionvalue.md b/docs/sdk/models/shared/customfielddefinitionvalue.md index 237e875fa..76cf66191 100644 --- a/docs/sdk/models/shared/customfielddefinitionvalue.md +++ b/docs/sdk/models/shared/customfielddefinitionvalue.md @@ -5,7 +5,7 @@ ```typescript import { CustomFieldDefinitionValue } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: CustomFieldDefinitionValue = CustomFieldDefinitionValue.MultiSelect; +let value: CustomFieldDefinitionValue = CustomFieldDefinitionValue.Url; ``` ## Values diff --git a/docs/sdk/models/shared/description.md b/docs/sdk/models/shared/description.md new file mode 100644 index 000000000..d516cdbbf --- /dev/null +++ b/docs/sdk/models/shared/description.md @@ -0,0 +1,19 @@ +# Description + +The employee job description + +## Example Usage + +```typescript +import { Description } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: Description = { + text: "Testing the laws of motion", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------- | -------------------------- | -------------------------- | -------------------------- | -------------------------- | +| `text` | *string* | :heavy_minus_sign: | N/A | Testing the laws of motion | \ No newline at end of file diff --git a/docs/sdk/models/shared/division.md b/docs/sdk/models/shared/division.md new file mode 100644 index 000000000..dda9b947a --- /dev/null +++ b/docs/sdk/models/shared/division.md @@ -0,0 +1,48 @@ +# Division + +The employee division + +## Example Usage + +```typescript +import { Division } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: Division = { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `name` | *string* | :heavy_minus_sign: | The name of the group | Engineering | +| `ownerIds` | *string*[] | :heavy_minus_sign: | The list of group owner ids of the given group | [
"cxIQNjUyEDM0",
"cxIQNjQzNzA0MQ"
] | +| `parentIds` | *string*[] | :heavy_minus_sign: | The list of parent group ids of the given group | [
"cxIQNjUyNDM0",
"cxIQNjQzNzI0MQ"
] | +| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `remoteOwnerIds` | *string*[] | :heavy_minus_sign: | The list of remote group owner ids of the given group | [
"475364",
"4327652"
] | +| `remoteParentIds` | *string*[] | :heavy_minus_sign: | Provider's list of parent group remote ids of the given group | [
"652434",
"6437241"
] | +| `unifiedCustomFields` | Record | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | \ No newline at end of file diff --git a/docs/sdk/models/shared/draft.md b/docs/sdk/models/shared/draft.md index 9ef2c65bd..ff78f4969 100644 --- a/docs/sdk/models/shared/draft.md +++ b/docs/sdk/models/shared/draft.md @@ -12,6 +12,6 @@ const value: boolean = false; ### `shared.Campaign2` ```typescript -const value: shared.Campaign2 = Campaign2.True; +const value: shared.Campaign2 = Campaign2.False; ``` diff --git a/docs/sdk/models/shared/employee.md b/docs/sdk/models/shared/employee.md index e64f20e74..624d74d51 100644 --- a/docs/sdk/models/shared/employee.md +++ b/docs/sdk/models/shared/employee.md @@ -46,14 +46,6 @@ let value: Employee = { updatedAt: new Date("2024-02-23T00:00:00.000Z"), }, companyName: "Example Corp", - costCenters: [ - { - distributionPercentage: 100, - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - name: "R&D", - remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - }, - ], createdAt: new Date("2021-01-01T01:01:01.000Z"), customFields: [ { @@ -66,29 +58,134 @@ let value: Employee = { }, ], dateOfBirth: new Date("1990-01-01T00:00.000Z"), - department: "Physics", - departmentId: "3093", displayName: "Sir Issac Newton", employeeNumber: "125", - employmentContractType: {}, employmentStatus: {}, - employmentType: {}, employments: [ { + active: true, + contractType: { + contractType: {}, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Full-Time", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + costCenter: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, createdAt: new Date("2021-01-01T01:01:01.000Z"), + department: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, + division: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, effectiveDate: new Date("2021-01-01T01:01:01.000Z"), employeeId: "1687-3", - employmentContractType: {}, - employmentType: {}, + endDate: new Date("2021-01-01T01:01:01.000Z"), id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - jobTitle: "Software Engineer", + job: { + description: { + text: "Testing the laws of motion", + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ownerId: "5356", + parentId: "7577", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + title: "Software Engineer", + }, + manager: [ + { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + role: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Admin", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + roleType: {}, + }, + }, + ], payCurrency: "USD", payFrequency: {}, payPeriod: {}, payRate: "40.00", remoteEmployeeId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + startDate: new Date("2021-01-01T01:01:01.000Z"), timeWorked: "P0Y0M0DT8H0M0S", + type: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Permanent", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + type: {}, + }, unifiedCustomFields: { "my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value", @@ -154,11 +251,7 @@ let value: Employee = { zipCode: "NG33 5NR", }, id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - jobDescription: {}, - jobId: "5290", - jobTitle: "Physicist", lastName: "Newton", - managerId: "67890", maritalStatus: {}, name: "Issac Newton", nationalIdentityNumber: { @@ -175,7 +268,6 @@ let value: Employee = { preferredLanguage: {}, remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", remoteManagerId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", - startDate: new Date("2021-01-01T00:00.000Z"), tenure: 2, terminationDate: new Date("2021-01-01T00:00:00Z"), unifiedCustomFields: { @@ -214,53 +306,53 @@ let value: Employee = { ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | -| `avatar` | [shared.Avatar](../../../sdk/models/shared/avatar.md) | :heavy_minus_sign: | The employee avatar | https://example.com/avatar.png | -| `avatarUrl` | *string* | :heavy_minus_sign: | The employee avatar Url | https://example.com/avatar.png | -| `benefits` | [shared.HRISBenefit](../../../sdk/models/shared/hrisbenefit.md)[] | :heavy_minus_sign: | Current benefits of the employee | | -| `birthday` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The employee birthday | 2021-01-01T00:00:00Z | -| `citizenships` | [shared.CountryCodeEnum](../../../sdk/models/shared/countrycodeenum.md)[] | :heavy_minus_sign: | The citizenships of the Employee | | -| `company` | [shared.EmployeeCompany](../../../sdk/models/shared/employeecompany.md) | :heavy_minus_sign: | The employee company | | -| `companyName` | *string* | :heavy_minus_sign: | The employee company name | Example Corp | -| `costCenters` | [shared.CostCenters](../../../sdk/models/shared/costcenters.md)[] | :heavy_minus_sign: | The employee cost centers | | -| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created_at date | 2021-01-01T01:01:01.000Z | -| `customFields` | [shared.CustomFields](../../../sdk/models/shared/customfields.md)[] | :heavy_minus_sign: | The employee custom fields | | -| `dateOfBirth` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The employee date_of_birth | 1990-01-01T00:00.000Z | -| `department` | *string* | :heavy_minus_sign: | The employee department | Physics | -| `departmentId` | *string* | :heavy_minus_sign: | The employee department id | 3093 | -| `displayName` | *string* | :heavy_minus_sign: | The employee display name | Sir Issac Newton | -| `employeeNumber` | *string* | :heavy_minus_sign: | The assigned employee number | 125 | -| `employmentContractType` | [shared.EmployeeEmploymentContractType](../../../sdk/models/shared/employeeemploymentcontracttype.md) | :heavy_minus_sign: | The employment work schedule type (e.g., full-time, part-time) | full_time | -| `employmentStatus` | [shared.EmploymentStatus](../../../sdk/models/shared/employmentstatus.md) | :heavy_minus_sign: | The employee employment status | active | -| `employmentType` | [shared.EmployeeEmploymentType](../../../sdk/models/shared/employeeemploymenttype.md) | :heavy_minus_sign: | The employee employment type | full_time | -| `employments` | [shared.Employment](../../../sdk/models/shared/employment.md)[] | :heavy_minus_sign: | The employee employments | | -| `ethnicity` | [shared.Ethnicity](../../../sdk/models/shared/ethnicity.md) | :heavy_minus_sign: | The employee ethnicity | white | -| `firstName` | *string* | :heavy_minus_sign: | The employee first name | Issac | -| `gender` | [shared.Gender](../../../sdk/models/shared/gender.md) | :heavy_minus_sign: | The employee gender | male | -| `groups` | [shared.HRISGroup](../../../sdk/models/shared/hrisgroup.md)[] | :heavy_minus_sign: | The employee groups | | -| `hireDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The employee hire date | 2021-01-01T00:00.000Z | -| `homeLocation` | [shared.HomeLocation](../../../sdk/models/shared/homelocation.md) | :heavy_minus_sign: | The employee home location | | -| `id` | *string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `jobDescription` | [shared.JobDescription](../../../sdk/models/shared/jobdescription.md) | :heavy_minus_sign: | The employee job description | Testing the laws of motion | -| `jobId` | *string* | :heavy_minus_sign: | The employee job id | 5290 | -| `jobTitle` | *string* | :heavy_minus_sign: | The employee job title | Physicist | -| `lastName` | *string* | :heavy_minus_sign: | The employee last name | Newton | -| `managerId` | *string* | :heavy_minus_sign: | The employee manager ID | 67890 | -| `maritalStatus` | [shared.MaritalStatus](../../../sdk/models/shared/maritalstatus.md) | :heavy_minus_sign: | The employee marital status | single | -| `name` | *string* | :heavy_minus_sign: | The employee name | Issac Newton | -| `nationalIdentityNumber` | [shared.NationalIdentityNumber](../../../sdk/models/shared/nationalidentitynumber.md) | :heavy_minus_sign: | The national identity number | | -| `personalEmail` | *string* | :heavy_minus_sign: | The employee personal email | isaac.newton@example.com | -| `personalPhoneNumber` | *string* | :heavy_minus_sign: | The employee personal phone number | +1234567890 | -| `preferredLanguage` | [shared.PreferredLanguage](../../../sdk/models/shared/preferredlanguage.md) | :heavy_minus_sign: | The employee preferred language | en_US | -| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `remoteManagerId` | *string* | :heavy_minus_sign: | Provider's unique identifier of the manager | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | -| `startDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The employee start date | 2021-01-01T00:00.000Z | -| `tenure` | *number* | :heavy_minus_sign: | The employee tenure | 2 | -| `terminationDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The employee termination date | 2021-01-01T00:00:00Z | -| `unifiedCustomFields` | Record | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | -| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The updated_at date | 2021-01-01T01:01:01.000Z | -| `workAnniversary` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The employee work anniversary | 2021-01-01T00:00:00Z | -| `workEmail` | *string* | :heavy_minus_sign: | The employee work email | newton@example.com | -| `workLocation` | [shared.WorkLocation](../../../sdk/models/shared/worklocation.md) | :heavy_minus_sign: | The employee work location | | -| `workPhoneNumber` | *string* | :heavy_minus_sign: | The employee work phone number | +1234567890 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `avatar` | [shared.Avatar](../../../sdk/models/shared/avatar.md) | :heavy_minus_sign: | The employee avatar | https://example.com/avatar.png | +| `avatarUrl` | *string* | :heavy_minus_sign: | The employee avatar Url | https://example.com/avatar.png | +| `benefits` | [shared.HRISBenefit](../../../sdk/models/shared/hrisbenefit.md)[] | :heavy_minus_sign: | Current benefits of the employee | | +| `birthday` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The employee birthday | 2021-01-01T00:00:00Z | +| `citizenships` | [shared.CountryCodeEnum](../../../sdk/models/shared/countrycodeenum.md)[] | :heavy_minus_sign: | The citizenships of the Employee | | +| `company` | [shared.EmployeeCompany](../../../sdk/models/shared/employeecompany.md) | :heavy_minus_sign: | The employee company | | +| `companyName` | *string* | :heavy_minus_sign: | The employee company name | Example Corp | +| ~~`costCenters`~~ | [shared.CostCenters](../../../sdk/models/shared/costcenters.md)[] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The employee cost centers | | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created_at date | 2021-01-01T01:01:01.000Z | +| `customFields` | [shared.CustomFields](../../../sdk/models/shared/customfields.md)[] | :heavy_minus_sign: | The employee custom fields | | +| `dateOfBirth` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The employee date_of_birth | 1990-01-01T00:00.000Z | +| ~~`department`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The employee department | Physics | +| ~~`departmentId`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The employee department id | 3093 | +| `displayName` | *string* | :heavy_minus_sign: | The employee display name | Sir Issac Newton | +| `employeeNumber` | *string* | :heavy_minus_sign: | The assigned employee number | 125 | +| ~~`employmentContractType`~~ | [shared.EmployeeEmploymentContractType](../../../sdk/models/shared/employeeemploymentcontracttype.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The employment work schedule type (e.g., full-time, part-time) | full_time | +| `employmentStatus` | [shared.EmploymentStatus](../../../sdk/models/shared/employmentstatus.md) | :heavy_minus_sign: | The employee employment status | active | +| ~~`employmentType`~~ | [shared.EmployeeEmploymentType](../../../sdk/models/shared/employeeemploymenttype.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The employee employment type | full_time | +| `employments` | [shared.Employment](../../../sdk/models/shared/employment.md)[] | :heavy_minus_sign: | The employee employments | | +| `ethnicity` | [shared.Ethnicity](../../../sdk/models/shared/ethnicity.md) | :heavy_minus_sign: | The employee ethnicity | white | +| `firstName` | *string* | :heavy_minus_sign: | The employee first name | Issac | +| `gender` | [shared.Gender](../../../sdk/models/shared/gender.md) | :heavy_minus_sign: | The employee gender | male | +| `groups` | [shared.HRISGroup](../../../sdk/models/shared/hrisgroup.md)[] | :heavy_minus_sign: | The employee groups | | +| `hireDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The employee hire date | 2021-01-01T00:00.000Z | +| `homeLocation` | [shared.HomeLocation](../../../sdk/models/shared/homelocation.md) | :heavy_minus_sign: | The employee home location | | +| `id` | *string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| ~~`jobDescription`~~ | [shared.JobDescription](../../../sdk/models/shared/jobdescription.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The employee job description | Testing the laws of motion | +| ~~`jobId`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The employee job id | 5290 | +| ~~`jobTitle`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The employee job title | Physicist | +| `lastName` | *string* | :heavy_minus_sign: | The employee last name | Newton | +| ~~`managerId`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The employee manager ID | 67890 | +| `maritalStatus` | [shared.MaritalStatus](../../../sdk/models/shared/maritalstatus.md) | :heavy_minus_sign: | The employee marital status | single | +| `name` | *string* | :heavy_minus_sign: | The employee name | Issac Newton | +| `nationalIdentityNumber` | [shared.NationalIdentityNumber](../../../sdk/models/shared/nationalidentitynumber.md) | :heavy_minus_sign: | The national identity number | | +| `personalEmail` | *string* | :heavy_minus_sign: | The employee personal email | isaac.newton@example.com | +| `personalPhoneNumber` | *string* | :heavy_minus_sign: | The employee personal phone number | +1234567890 | +| `preferredLanguage` | [shared.PreferredLanguage](../../../sdk/models/shared/preferredlanguage.md) | :heavy_minus_sign: | The employee preferred language | en_US | +| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `remoteManagerId` | *string* | :heavy_minus_sign: | Provider's unique identifier of the manager | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | +| ~~`startDate`~~ | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The employee start date | 2021-01-01T00:00.000Z | +| `tenure` | *number* | :heavy_minus_sign: | The employee tenure | 2 | +| `terminationDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The employee termination date | 2021-01-01T00:00:00Z | +| `unifiedCustomFields` | Record | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | +| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The updated_at date | 2021-01-01T01:01:01.000Z | +| `workAnniversary` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The employee work anniversary | 2021-01-01T00:00:00Z | +| `workEmail` | *string* | :heavy_minus_sign: | The employee work email | newton@example.com | +| `workLocation` | [shared.WorkLocation](../../../sdk/models/shared/worklocation.md) | :heavy_minus_sign: | The employee work location | | +| `workPhoneNumber` | *string* | :heavy_minus_sign: | The employee work phone number | +1234567890 | \ No newline at end of file diff --git a/docs/sdk/models/shared/employeeemploymentcontracttype.md b/docs/sdk/models/shared/employeeemploymentcontracttype.md index a1958e3b8..689e7d7ec 100644 --- a/docs/sdk/models/shared/employeeemploymentcontracttype.md +++ b/docs/sdk/models/shared/employeeemploymentcontracttype.md @@ -1,7 +1,9 @@ -# EmployeeEmploymentContractType +# ~~EmployeeEmploymentContractType~~ The employment work schedule type (e.g., full-time, part-time) +> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. + ## Example Usage ```typescript diff --git a/docs/sdk/models/shared/employeeemploymenttype.md b/docs/sdk/models/shared/employeeemploymenttype.md index 05b434ece..ad650bfd2 100644 --- a/docs/sdk/models/shared/employeeemploymenttype.md +++ b/docs/sdk/models/shared/employeeemploymenttype.md @@ -1,7 +1,9 @@ -# EmployeeEmploymentType +# ~~EmployeeEmploymentType~~ The employee employment type +> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. + ## Example Usage ```typescript diff --git a/docs/sdk/models/shared/employeeresult.md b/docs/sdk/models/shared/employeeresult.md index 47749edac..7aa2e5d95 100644 --- a/docs/sdk/models/shared/employeeresult.md +++ b/docs/sdk/models/shared/employeeresult.md @@ -47,14 +47,6 @@ let value: EmployeeResult = { updatedAt: new Date("2024-02-23T00:00:00.000Z"), }, companyName: "Example Corp", - costCenters: [ - { - distributionPercentage: 100, - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - name: "R&D", - remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - }, - ], createdAt: new Date("2021-01-01T01:01:01.000Z"), customFields: [ { @@ -67,29 +59,134 @@ let value: EmployeeResult = { }, ], dateOfBirth: new Date("1990-01-01T00:00.000Z"), - department: "Physics", - departmentId: "3093", displayName: "Sir Issac Newton", employeeNumber: "125", - employmentContractType: {}, employmentStatus: {}, - employmentType: {}, employments: [ { + active: true, + contractType: { + contractType: {}, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Full-Time", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + costCenter: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, createdAt: new Date("2021-01-01T01:01:01.000Z"), + department: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, + division: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, effectiveDate: new Date("2021-01-01T01:01:01.000Z"), employeeId: "1687-3", - employmentContractType: {}, - employmentType: {}, + endDate: new Date("2021-01-01T01:01:01.000Z"), id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - jobTitle: "Software Engineer", + job: { + description: { + text: "Testing the laws of motion", + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ownerId: "5356", + parentId: "7577", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + title: "Software Engineer", + }, + manager: [ + { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + role: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Admin", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + roleType: {}, + }, + }, + ], payCurrency: "USD", payFrequency: {}, payPeriod: {}, payRate: "40.00", remoteEmployeeId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + startDate: new Date("2021-01-01T01:01:01.000Z"), timeWorked: "P0Y0M0DT8H0M0S", + type: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Permanent", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + type: {}, + }, unifiedCustomFields: { "my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value", @@ -155,11 +252,7 @@ let value: EmployeeResult = { zipCode: "NG33 5NR", }, id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - jobDescription: {}, - jobId: "5290", - jobTitle: "Physicist", lastName: "Newton", - managerId: "67890", maritalStatus: {}, name: "Issac Newton", nationalIdentityNumber: { @@ -176,7 +269,6 @@ let value: EmployeeResult = { preferredLanguage: {}, remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", remoteManagerId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", - startDate: new Date("2021-01-01T00:00.000Z"), tenure: 2, terminationDate: new Date("2021-01-01T00:00:00Z"), unifiedCustomFields: { diff --git a/docs/sdk/models/shared/employeeschemasethnicitysourcevalue.md b/docs/sdk/models/shared/employeeschemasethnicitysourcevalue.md index 7ec237bcb..8ec52bfa4 100644 --- a/docs/sdk/models/shared/employeeschemasethnicitysourcevalue.md +++ b/docs/sdk/models/shared/employeeschemasethnicitysourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 243.13; +const value: number = 27.03; ``` ### `boolean` diff --git a/docs/sdk/models/shared/employeeschemasethnicityvalue.md b/docs/sdk/models/shared/employeeschemasethnicityvalue.md index f100c4570..d08890c1a 100644 --- a/docs/sdk/models/shared/employeeschemasethnicityvalue.md +++ b/docs/sdk/models/shared/employeeschemasethnicityvalue.md @@ -6,7 +6,7 @@ import { EmployeeSchemasEthnicityValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: EmployeeSchemasEthnicityValue = - EmployeeSchemasEthnicityValue.HispanicOrLatino; + EmployeeSchemasEthnicityValue.TwoOrMoreRaces; ``` ## Values diff --git a/docs/sdk/models/shared/employeeschemasgendersourcevalue.md b/docs/sdk/models/shared/employeeschemasgendersourcevalue.md index c4e3f1379..0263c70d6 100644 --- a/docs/sdk/models/shared/employeeschemasgendersourcevalue.md +++ b/docs/sdk/models/shared/employeeschemasgendersourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 6222.31; +const value: number = 6003.92; ``` ### `boolean` diff --git a/docs/sdk/models/shared/employeeschemasgendervalue.md b/docs/sdk/models/shared/employeeschemasgendervalue.md index 74f338bdb..db8a881de 100644 --- a/docs/sdk/models/shared/employeeschemasgendervalue.md +++ b/docs/sdk/models/shared/employeeschemasgendervalue.md @@ -5,7 +5,7 @@ ```typescript import { EmployeeSchemasGenderValue } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: EmployeeSchemasGenderValue = EmployeeSchemasGenderValue.Female; +let value: EmployeeSchemasGenderValue = EmployeeSchemasGenderValue.NotDisclosed; ``` ## Values diff --git a/docs/sdk/models/shared/employeeschemashomelocationsourcevalue.md b/docs/sdk/models/shared/employeeschemashomelocationsourcevalue.md index 1baaf26d3..dcc115958 100644 --- a/docs/sdk/models/shared/employeeschemashomelocationsourcevalue.md +++ b/docs/sdk/models/shared/employeeschemashomelocationsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 2097.5; +const value: number = 9627.71; ``` ### `boolean` diff --git a/docs/sdk/models/shared/employeeschemasmaritalstatussourcevalue.md b/docs/sdk/models/shared/employeeschemasmaritalstatussourcevalue.md index c9c26f70d..4599731d3 100644 --- a/docs/sdk/models/shared/employeeschemasmaritalstatussourcevalue.md +++ b/docs/sdk/models/shared/employeeschemasmaritalstatussourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 1157.03; +const value: number = 168.71; ``` ### `boolean` diff --git a/docs/sdk/models/shared/employeeschemasmaritalstatusvalue.md b/docs/sdk/models/shared/employeeschemasmaritalstatusvalue.md index 25093b32e..8755800ca 100644 --- a/docs/sdk/models/shared/employeeschemasmaritalstatusvalue.md +++ b/docs/sdk/models/shared/employeeschemasmaritalstatusvalue.md @@ -6,7 +6,7 @@ import { EmployeeSchemasMaritalStatusValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: EmployeeSchemasMaritalStatusValue = - EmployeeSchemasMaritalStatusValue.DomesticPartnership; + EmployeeSchemasMaritalStatusValue.Separated; ``` ## Values diff --git a/docs/sdk/models/shared/employeeschemasnationalidentitynumbersourcevalue.md b/docs/sdk/models/shared/employeeschemasnationalidentitynumbersourcevalue.md index de1ffa86b..e5fc9148d 100644 --- a/docs/sdk/models/shared/employeeschemasnationalidentitynumbersourcevalue.md +++ b/docs/sdk/models/shared/employeeschemasnationalidentitynumbersourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 6952.7; +const value: number = 8136.79; ``` ### `boolean` diff --git a/docs/sdk/models/shared/employeeschemasnationalidentitynumbertypesourcevalue.md b/docs/sdk/models/shared/employeeschemasnationalidentitynumbertypesourcevalue.md index cf6f43196..bf031db07 100644 --- a/docs/sdk/models/shared/employeeschemasnationalidentitynumbertypesourcevalue.md +++ b/docs/sdk/models/shared/employeeschemasnationalidentitynumbertypesourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 6719.57; +const value: number = 5098.07; ``` ### `boolean` diff --git a/docs/sdk/models/shared/employeeschemaspreferredlanguagesourcevalue.md b/docs/sdk/models/shared/employeeschemaspreferredlanguagesourcevalue.md index c02514b56..3b424d975 100644 --- a/docs/sdk/models/shared/employeeschemaspreferredlanguagesourcevalue.md +++ b/docs/sdk/models/shared/employeeschemaspreferredlanguagesourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 9488.61; +const value: number = 3339.65; ``` ### `boolean` diff --git a/docs/sdk/models/shared/employeeschemassourcevalue.md b/docs/sdk/models/shared/employeeschemassourcevalue.md index 7435f6136..342d4090d 100644 --- a/docs/sdk/models/shared/employeeschemassourcevalue.md +++ b/docs/sdk/models/shared/employeeschemassourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 894.94; +const value: number = 6719.57; ``` ### `boolean` diff --git a/docs/sdk/models/shared/employeeschemasvalue.md b/docs/sdk/models/shared/employeeschemasvalue.md index 393b806dc..f14b0b8d4 100644 --- a/docs/sdk/models/shared/employeeschemasvalue.md +++ b/docs/sdk/models/shared/employeeschemasvalue.md @@ -5,7 +5,7 @@ ```typescript import { EmployeeSchemasValue } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: EmployeeSchemasValue = EmployeeSchemasValue.Terminated; +let value: EmployeeSchemasValue = EmployeeSchemasValue.UnmappedValue; ``` ## Values diff --git a/docs/sdk/models/shared/employeeschemasworklocationsourcevalue.md b/docs/sdk/models/shared/employeeschemasworklocationsourcevalue.md index 8509c590a..b40869acd 100644 --- a/docs/sdk/models/shared/employeeschemasworklocationsourcevalue.md +++ b/docs/sdk/models/shared/employeeschemasworklocationsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 27.03; +const value: number = 7908.4; ``` ### `boolean` diff --git a/docs/sdk/models/shared/employeesourcevalue.md b/docs/sdk/models/shared/employeesourcevalue.md index 547ce9fb8..0d8f1652d 100644 --- a/docs/sdk/models/shared/employeesourcevalue.md +++ b/docs/sdk/models/shared/employeesourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 5305.37; +const value: number = 5771.4; ``` ### `boolean` diff --git a/docs/sdk/models/shared/employeespaginated.md b/docs/sdk/models/shared/employeespaginated.md index 0cfba8997..53e516ef1 100644 --- a/docs/sdk/models/shared/employeespaginated.md +++ b/docs/sdk/models/shared/employeespaginated.md @@ -48,14 +48,6 @@ let value: EmployeesPaginated = { updatedAt: new Date("2024-02-23T00:00:00.000Z"), }, companyName: "Example Corp", - costCenters: [ - { - distributionPercentage: 100, - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - name: "R&D", - remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - }, - ], createdAt: new Date("2021-01-01T01:01:01.000Z"), customFields: [ { @@ -68,29 +60,134 @@ let value: EmployeesPaginated = { }, ], dateOfBirth: new Date("1990-01-01T00:00.000Z"), - department: "Physics", - departmentId: "3093", displayName: "Sir Issac Newton", employeeNumber: "125", - employmentContractType: {}, employmentStatus: {}, - employmentType: {}, employments: [ { + active: true, + contractType: { + contractType: {}, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Full-Time", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + costCenter: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, createdAt: new Date("2021-01-01T01:01:01.000Z"), + department: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, + division: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, effectiveDate: new Date("2021-01-01T01:01:01.000Z"), employeeId: "1687-3", - employmentContractType: {}, - employmentType: {}, + endDate: new Date("2021-01-01T01:01:01.000Z"), id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - jobTitle: "Software Engineer", + job: { + description: { + text: "Testing the laws of motion", + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ownerId: "5356", + parentId: "7577", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + title: "Software Engineer", + }, + manager: [ + { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + role: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Admin", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + roleType: {}, + }, + }, + ], payCurrency: "USD", payFrequency: {}, payPeriod: {}, payRate: "40.00", remoteEmployeeId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + startDate: new Date("2021-01-01T01:01:01.000Z"), timeWorked: "P0Y0M0DT8H0M0S", + type: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Permanent", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + type: {}, + }, unifiedCustomFields: { "my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value", @@ -156,11 +253,7 @@ let value: EmployeesPaginated = { zipCode: "NG33 5NR", }, id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - jobDescription: {}, - jobId: "5290", - jobTitle: "Physicist", lastName: "Newton", - managerId: "67890", maritalStatus: {}, name: "Issac Newton", nationalIdentityNumber: { @@ -177,7 +270,6 @@ let value: EmployeesPaginated = { preferredLanguage: {}, remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", remoteManagerId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", - startDate: new Date("2021-01-01T00:00.000Z"), tenure: 2, terminationDate: new Date("2021-01-01T00:00:00Z"), unifiedCustomFields: { diff --git a/docs/sdk/models/shared/employeevalue.md b/docs/sdk/models/shared/employeevalue.md index 5737a351b..dd0bd3024 100644 --- a/docs/sdk/models/shared/employeevalue.md +++ b/docs/sdk/models/shared/employeevalue.md @@ -5,7 +5,7 @@ ```typescript import { EmployeeValue } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: EmployeeValue = EmployeeValue.UnmappedValue; +let value: EmployeeValue = EmployeeValue.PartTime; ``` ## Values diff --git a/docs/sdk/models/shared/employment.md b/docs/sdk/models/shared/employment.md index 9df8e0888..c802b9a0a 100644 --- a/docs/sdk/models/shared/employment.md +++ b/docs/sdk/models/shared/employment.md @@ -6,20 +6,129 @@ import { Employment } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: Employment = { + active: true, + contractType: { + contractType: {}, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Full-Time", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + costCenter: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, createdAt: new Date("2021-01-01T01:01:01.000Z"), + department: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, + division: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, effectiveDate: new Date("2021-01-01T01:01:01.000Z"), employeeId: "1687-3", - employmentContractType: {}, - employmentType: {}, + endDate: new Date("2021-01-01T01:01:01.000Z"), id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - jobTitle: "Software Engineer", + job: { + description: { + text: "Testing the laws of motion", + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ownerId: "5356", + parentId: "7577", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + title: "Software Engineer", + }, + manager: [ + { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + role: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Admin", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + roleType: {}, + }, + }, + ], payCurrency: "USD", payFrequency: {}, payPeriod: {}, payRate: "40.00", remoteEmployeeId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + startDate: new Date("2021-01-01T01:01:01.000Z"), timeWorked: "P0Y0M0DT8H0M0S", + type: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Permanent", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + type: {}, + }, unifiedCustomFields: { "my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value", @@ -30,21 +139,31 @@ let value: Employment = { ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created_at date | 2021-01-01T01:01:01.000Z | -| `effectiveDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The effective date of the employment contract | 2021-01-01T01:01:01.000Z | -| `employeeId` | *string* | :heavy_minus_sign: | The employee ID associated with this employment | 1687-3 | -| `employmentContractType` | [shared.EmploymentEmploymentContractType](../../../sdk/models/shared/employmentemploymentcontracttype.md) | :heavy_minus_sign: | The employment work schedule type (e.g., full-time, part-time) | full_time | -| `employmentType` | [shared.EmploymentEmploymentType](../../../sdk/models/shared/employmentemploymenttype.md) | :heavy_minus_sign: | The type of employment (e.g., contractor, permanent) | permanent | -| `id` | *string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `jobTitle` | *string* | :heavy_minus_sign: | The job title of the employee | Software Engineer | -| `payCurrency` | *string* | :heavy_minus_sign: | The currency used for pay | USD | -| `payFrequency` | [shared.EmploymentPayFrequency](../../../sdk/models/shared/employmentpayfrequency.md) | :heavy_minus_sign: | The pay frequency | hourly | -| `payPeriod` | [shared.EmploymentPayPeriod](../../../sdk/models/shared/employmentpayperiod.md) | :heavy_minus_sign: | The pay period | monthly | -| `payRate` | *string* | :heavy_minus_sign: | The pay rate for the employee | 40.00 | -| `remoteEmployeeId` | *string* | :heavy_minus_sign: | Provider's unique identifier of the employee associated with this employment | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | -| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `timeWorked` | *string* | :heavy_minus_sign: | The time worked for the employee in ISO 8601 duration format | P0Y0M0DT8H0M0S | -| `unifiedCustomFields` | Record | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | -| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The updated_at date | 2021-01-01T01:01:01.000Z | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_minus_sign: | The employment active status | true | +| `contractType` | [shared.ContractType](../../../sdk/models/shared/contracttype.md) | :heavy_minus_sign: | The employment work schedule type | | +| `costCenter` | [shared.CostCenter](../../../sdk/models/shared/costcenter.md) | :heavy_minus_sign: | The employee cost_center | | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created_at date | 2021-01-01T01:01:01.000Z | +| `department` | [shared.EmploymentDepartment](../../../sdk/models/shared/employmentdepartment.md) | :heavy_minus_sign: | The employee department | | +| `division` | [shared.Division](../../../sdk/models/shared/division.md) | :heavy_minus_sign: | The employee division | | +| `effectiveDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The effective date of the employment contract | 2021-01-01T01:01:01.000Z | +| `employeeId` | *string* | :heavy_minus_sign: | The employee ID associated with this employment | 1687-3 | +| ~~`employmentContractType`~~ | [shared.EmploymentEmploymentContractType](../../../sdk/models/shared/employmentemploymentcontracttype.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The employment work schedule type (e.g., full-time, part-time) | full_time | +| ~~`employmentType`~~ | [shared.EmploymentEmploymentType](../../../sdk/models/shared/employmentemploymenttype.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The type of employment (e.g., contractor, permanent) | permanent | +| `endDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The end_date of employment | 2021-01-01T01:01:01.000Z | +| `id` | *string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `job` | [shared.EmploymentJob](../../../sdk/models/shared/employmentjob.md) | :heavy_minus_sign: | The job of employee | | +| ~~`jobTitle`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The job title of the employee | Software Engineer | +| `manager` | [shared.EmploymentManagerApiModel](../../../sdk/models/shared/employmentmanagerapimodel.md)[] | :heavy_minus_sign: | The employee manager | | +| `payCurrency` | *string* | :heavy_minus_sign: | The currency used for pay | USD | +| `payFrequency` | [shared.EmploymentPayFrequency](../../../sdk/models/shared/employmentpayfrequency.md) | :heavy_minus_sign: | The pay frequency | hourly | +| `payPeriod` | [shared.EmploymentPayPeriod](../../../sdk/models/shared/employmentpayperiod.md) | :heavy_minus_sign: | The pay period | monthly | +| `payRate` | *string* | :heavy_minus_sign: | The pay rate for the employee | 40.00 | +| `remoteEmployeeId` | *string* | :heavy_minus_sign: | Provider's unique identifier of the employee associated with this employment | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | +| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `startDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The start_date of employment | 2021-01-01T01:01:01.000Z | +| `timeWorked` | *string* | :heavy_minus_sign: | The time worked for the employee in ISO 8601 duration format | P0Y0M0DT8H0M0S | +| `type` | [shared.EmploymentSchemasType](../../../sdk/models/shared/employmentschemastype.md) | :heavy_minus_sign: | The type of employment | | +| `unifiedCustomFields` | Record | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | +| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The updated_at date | 2021-01-01T01:01:01.000Z | \ No newline at end of file diff --git a/docs/sdk/models/shared/employmentdepartment.md b/docs/sdk/models/shared/employmentdepartment.md new file mode 100644 index 000000000..5475ea204 --- /dev/null +++ b/docs/sdk/models/shared/employmentdepartment.md @@ -0,0 +1,48 @@ +# EmploymentDepartment + +The employee department + +## Example Usage + +```typescript +import { EmploymentDepartment } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: EmploymentDepartment = { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `name` | *string* | :heavy_minus_sign: | The name of the group | Engineering | +| `ownerIds` | *string*[] | :heavy_minus_sign: | The list of group owner ids of the given group | [
"cxIQNjUyEDM0",
"cxIQNjQzNzA0MQ"
] | +| `parentIds` | *string*[] | :heavy_minus_sign: | The list of parent group ids of the given group | [
"cxIQNjUyNDM0",
"cxIQNjQzNzI0MQ"
] | +| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `remoteOwnerIds` | *string*[] | :heavy_minus_sign: | The list of remote group owner ids of the given group | [
"475364",
"4327652"
] | +| `remoteParentIds` | *string*[] | :heavy_minus_sign: | Provider's list of parent group remote ids of the given group | [
"652434",
"6437241"
] | +| `unifiedCustomFields` | Record | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | \ No newline at end of file diff --git a/docs/sdk/models/shared/employmentemploymentcontracttype.md b/docs/sdk/models/shared/employmentemploymentcontracttype.md index f2ce14b71..6aac6c48a 100644 --- a/docs/sdk/models/shared/employmentemploymentcontracttype.md +++ b/docs/sdk/models/shared/employmentemploymentcontracttype.md @@ -1,7 +1,9 @@ -# EmploymentEmploymentContractType +# ~~EmploymentEmploymentContractType~~ The employment work schedule type (e.g., full-time, part-time) +> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. + ## Example Usage ```typescript diff --git a/docs/sdk/models/shared/employmentemploymenttype.md b/docs/sdk/models/shared/employmentemploymenttype.md index 90d046646..50b08d748 100644 --- a/docs/sdk/models/shared/employmentemploymenttype.md +++ b/docs/sdk/models/shared/employmentemploymenttype.md @@ -1,7 +1,9 @@ -# EmploymentEmploymentType +# ~~EmploymentEmploymentType~~ The type of employment (e.g., contractor, permanent) +> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. + ## Example Usage ```typescript diff --git a/docs/sdk/models/shared/employmentjob.md b/docs/sdk/models/shared/employmentjob.md new file mode 100644 index 000000000..90d8989b9 --- /dev/null +++ b/docs/sdk/models/shared/employmentjob.md @@ -0,0 +1,31 @@ +# EmploymentJob + +The job of employee + +## Example Usage + +```typescript +import { EmploymentJob } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: EmploymentJob = { + description: { + text: "Testing the laws of motion", + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ownerId: "5356", + parentId: "7577", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + title: "Software Engineer", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `description` | [shared.Description](../../../sdk/models/shared/description.md) | :heavy_minus_sign: | The employee job description | | +| `id` | *string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `ownerId` | *string* | :heavy_minus_sign: | The owner_id of the job | 5356 | +| `parentId` | *string* | :heavy_minus_sign: | The parent_id of the job | 7577 | +| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `title` | *string* | :heavy_minus_sign: | Title of the job | Software Engineer | \ No newline at end of file diff --git a/docs/sdk/models/shared/employmentmanagerapimodel.md b/docs/sdk/models/shared/employmentmanagerapimodel.md new file mode 100644 index 000000000..d44b6f147 --- /dev/null +++ b/docs/sdk/models/shared/employmentmanagerapimodel.md @@ -0,0 +1,26 @@ +# EmploymentManagerApiModel + +## Example Usage + +```typescript +import { EmploymentManagerApiModel } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: EmploymentManagerApiModel = { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + role: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Admin", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + roleType: {}, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `role` | [shared.Role](../../../sdk/models/shared/role.md) | :heavy_minus_sign: | The role of manager | | \ No newline at end of file diff --git a/docs/sdk/models/shared/employmentmanagerapimodel4.md b/docs/sdk/models/shared/employmentmanagerapimodel4.md new file mode 100644 index 000000000..39431cc43 --- /dev/null +++ b/docs/sdk/models/shared/employmentmanagerapimodel4.md @@ -0,0 +1,14 @@ +# EmploymentManagerApiModel4 + +## Example Usage + +```typescript +import { EmploymentManagerApiModel4 } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: EmploymentManagerApiModel4 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/sdk/models/shared/employmentmanagerapimodelsourcevalue.md b/docs/sdk/models/shared/employmentmanagerapimodelsourcevalue.md new file mode 100644 index 000000000..c146cbef3 --- /dev/null +++ b/docs/sdk/models/shared/employmentmanagerapimodelsourcevalue.md @@ -0,0 +1,37 @@ +# EmploymentManagerApiModelSourceValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `number` + +```typescript +const value: number = 2826.99; +``` + +### `boolean` + +```typescript +const value: boolean = false; +``` + +### `shared.EmploymentManagerApiModel4` + +```typescript +const value: shared.EmploymentManagerApiModel4 = {}; +``` + +### `any[]` + +```typescript +const value: any[] = [ + "", +]; +``` + diff --git a/docs/sdk/models/shared/employmentmanagerapimodelvalue.md b/docs/sdk/models/shared/employmentmanagerapimodelvalue.md new file mode 100644 index 000000000..c9f1e64c5 --- /dev/null +++ b/docs/sdk/models/shared/employmentmanagerapimodelvalue.md @@ -0,0 +1,26 @@ +# EmploymentManagerApiModelValue + +## Example Usage + +```typescript +import { EmploymentManagerApiModelValue } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: EmploymentManagerApiModelValue = + EmploymentManagerApiModelValue.Admin; +``` + +## Values + +This is an open enum. Unrecognized values will be captured as the `Unrecognized` branded type. + +| Name | Value | +| ---------------------- | ---------------------- | +| `Admin` | admin | +| `Viewer` | viewer | +| `Editor` | editor | +| `Basic` | basic | +| `Guest` | guest | +| `Unassigned` | unassigned | +| `Restricted` | restricted | +| `UnmappedValue` | unmapped_value | +| - | `Unrecognized` | \ No newline at end of file diff --git a/docs/sdk/models/shared/employmentresult.md b/docs/sdk/models/shared/employmentresult.md index b285cae9b..3f7af6824 100644 --- a/docs/sdk/models/shared/employmentresult.md +++ b/docs/sdk/models/shared/employmentresult.md @@ -7,20 +7,129 @@ import { EmploymentResult } from "@stackone/stackone-client-ts/sdk/models/shared let value: EmploymentResult = { data: { + active: true, + contractType: { + contractType: {}, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Full-Time", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + costCenter: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, createdAt: new Date("2021-01-01T01:01:01.000Z"), + department: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, + division: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, effectiveDate: new Date("2021-01-01T01:01:01.000Z"), employeeId: "1687-3", - employmentContractType: {}, - employmentType: {}, + endDate: new Date("2021-01-01T01:01:01.000Z"), id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - jobTitle: "Software Engineer", + job: { + description: { + text: "Testing the laws of motion", + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ownerId: "5356", + parentId: "7577", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + title: "Software Engineer", + }, + manager: [ + { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + role: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Admin", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + roleType: {}, + }, + }, + ], payCurrency: "USD", payFrequency: {}, payPeriod: {}, payRate: "40.00", remoteEmployeeId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + startDate: new Date("2021-01-01T01:01:01.000Z"), timeWorked: "P0Y0M0DT8H0M0S", + type: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Permanent", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + type: {}, + }, unifiedCustomFields: { "my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value", diff --git a/docs/sdk/models/shared/employmentschemascontracttype.md b/docs/sdk/models/shared/employmentschemascontracttype.md new file mode 100644 index 000000000..3b54d0624 --- /dev/null +++ b/docs/sdk/models/shared/employmentschemascontracttype.md @@ -0,0 +1,18 @@ +# EmploymentSchemasContractType + +The employment work schedule type (e.g., full-time, part-time) + +## Example Usage + +```typescript +import { EmploymentSchemasContractType } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: EmploymentSchemasContractType = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `sourceValue` | *shared.EmploymentSchemasContractTypeSourceValue* | :heavy_minus_sign: | N/A | +| `value` | [shared.EmploymentSchemasContractTypeValue](../../../sdk/models/shared/employmentschemascontracttypevalue.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/sdk/models/shared/employmentschemascontracttype4.md b/docs/sdk/models/shared/employmentschemascontracttype4.md new file mode 100644 index 000000000..6c83fba7b --- /dev/null +++ b/docs/sdk/models/shared/employmentschemascontracttype4.md @@ -0,0 +1,14 @@ +# EmploymentSchemasContractType4 + +## Example Usage + +```typescript +import { EmploymentSchemasContractType4 } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: EmploymentSchemasContractType4 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/sdk/models/shared/employmentschemascontracttypesourcevalue.md b/docs/sdk/models/shared/employmentschemascontracttypesourcevalue.md new file mode 100644 index 000000000..c1ff03293 --- /dev/null +++ b/docs/sdk/models/shared/employmentschemascontracttypesourcevalue.md @@ -0,0 +1,37 @@ +# EmploymentSchemasContractTypeSourceValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `number` + +```typescript +const value: number = 7105.29; +``` + +### `boolean` + +```typescript +const value: boolean = false; +``` + +### `shared.EmploymentSchemasContractType4` + +```typescript +const value: shared.EmploymentSchemasContractType4 = {}; +``` + +### `any[]` + +```typescript +const value: any[] = [ + "", +]; +``` + diff --git a/docs/sdk/models/shared/employmentschemascontracttypevalue.md b/docs/sdk/models/shared/employmentschemascontracttypevalue.md new file mode 100644 index 000000000..3b2114a3d --- /dev/null +++ b/docs/sdk/models/shared/employmentschemascontracttypevalue.md @@ -0,0 +1,22 @@ +# EmploymentSchemasContractTypeValue + +## Example Usage + +```typescript +import { EmploymentSchemasContractTypeValue } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: EmploymentSchemasContractTypeValue = + EmploymentSchemasContractTypeValue.FullTime; +``` + +## Values + +This is an open enum. Unrecognized values will be captured as the `Unrecognized` branded type. + +| Name | Value | +| ---------------------- | ---------------------- | +| `FullTime` | full_time | +| `Shifts` | shifts | +| `PartTime` | part_time | +| `UnmappedValue` | unmapped_value | +| - | `Unrecognized` | \ No newline at end of file diff --git a/docs/sdk/models/shared/employmentschemastype.md b/docs/sdk/models/shared/employmentschemastype.md new file mode 100644 index 000000000..efa2f2651 --- /dev/null +++ b/docs/sdk/models/shared/employmentschemastype.md @@ -0,0 +1,25 @@ +# EmploymentSchemasType + +The type of employment + +## Example Usage + +```typescript +import { EmploymentSchemasType } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: EmploymentSchemasType = { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Permanent", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + type: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `label` | *string* | :heavy_minus_sign: | The label of the employment type | Permanent | +| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `type` | [shared.EmploymentSchemasTypeType](../../../sdk/models/shared/employmentschemastypetype.md) | :heavy_minus_sign: | The type of employment (e.g., contractor, permanent) | permanent | \ No newline at end of file diff --git a/docs/sdk/models/shared/employmentschemastype4.md b/docs/sdk/models/shared/employmentschemastype4.md new file mode 100644 index 000000000..ad5ee5cba --- /dev/null +++ b/docs/sdk/models/shared/employmentschemastype4.md @@ -0,0 +1,14 @@ +# EmploymentSchemasType4 + +## Example Usage + +```typescript +import { EmploymentSchemasType4 } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: EmploymentSchemasType4 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/sdk/models/shared/employmentschemastypesourcevalue.md b/docs/sdk/models/shared/employmentschemastypesourcevalue.md new file mode 100644 index 000000000..dcc5eeddd --- /dev/null +++ b/docs/sdk/models/shared/employmentschemastypesourcevalue.md @@ -0,0 +1,37 @@ +# EmploymentSchemasTypeSourceValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `number` + +```typescript +const value: number = 8792.35; +``` + +### `boolean` + +```typescript +const value: boolean = false; +``` + +### `shared.EmploymentSchemasType4` + +```typescript +const value: shared.EmploymentSchemasType4 = {}; +``` + +### `any[]` + +```typescript +const value: any[] = [ + "", +]; +``` + diff --git a/docs/sdk/models/shared/employmentschemastypetype.md b/docs/sdk/models/shared/employmentschemastypetype.md new file mode 100644 index 000000000..e4d27fb84 --- /dev/null +++ b/docs/sdk/models/shared/employmentschemastypetype.md @@ -0,0 +1,18 @@ +# EmploymentSchemasTypeType + +The type of employment (e.g., contractor, permanent) + +## Example Usage + +```typescript +import { EmploymentSchemasTypeType } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: EmploymentSchemasTypeType = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `sourceValue` | *shared.EmploymentSchemasTypeSourceValue* | :heavy_minus_sign: | N/A | +| `value` | [shared.EmploymentSchemasTypeValue](../../../sdk/models/shared/employmentschemastypevalue.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/sdk/models/shared/employmentschemastypevalue.md b/docs/sdk/models/shared/employmentschemastypevalue.md new file mode 100644 index 000000000..6096b62bf --- /dev/null +++ b/docs/sdk/models/shared/employmentschemastypevalue.md @@ -0,0 +1,34 @@ +# EmploymentSchemasTypeValue + +## Example Usage + +```typescript +import { EmploymentSchemasTypeValue } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: EmploymentSchemasTypeValue = EmploymentSchemasTypeValue.Probation; +``` + +## Values + +This is an open enum. Unrecognized values will be captured as the `Unrecognized` branded type. + +| Name | Value | +| ---------------------- | ---------------------- | +| `Contractor` | contractor | +| `Intern` | intern | +| `Permanent` | permanent | +| `Apprentice` | apprentice | +| `Freelance` | freelance | +| `Terminated` | terminated | +| `Temporary` | temporary | +| `Seasonal` | seasonal | +| `Volunteer` | volunteer | +| `Probation` | probation | +| `Internal` | internal | +| `External` | external | +| `Expatriate` | expatriate | +| `EmployerOfRecord` | employer_of_record | +| `Casual` | casual | +| `Programme` | Programme | +| `UnmappedValue` | unmapped_value | +| - | `Unrecognized` | \ No newline at end of file diff --git a/docs/sdk/models/shared/employmentsourcevalue.md b/docs/sdk/models/shared/employmentsourcevalue.md index 764537bf3..cf71b4ff8 100644 --- a/docs/sdk/models/shared/employmentsourcevalue.md +++ b/docs/sdk/models/shared/employmentsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 1046.27; +const value: number = 3416.98; ``` ### `boolean` diff --git a/docs/sdk/models/shared/employmentspaginated.md b/docs/sdk/models/shared/employmentspaginated.md index fc47894b9..ed040474d 100644 --- a/docs/sdk/models/shared/employmentspaginated.md +++ b/docs/sdk/models/shared/employmentspaginated.md @@ -8,20 +8,129 @@ import { EmploymentsPaginated } from "@stackone/stackone-client-ts/sdk/models/sh let value: EmploymentsPaginated = { data: [ { + active: true, + contractType: { + contractType: {}, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Full-Time", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + costCenter: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, createdAt: new Date("2021-01-01T01:01:01.000Z"), + department: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, + division: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Engineering", + ownerIds: [ + "cxIQNjUyEDM0", + "cxIQNjQzNzA0MQ", + ], + parentIds: [ + "cxIQNjUyNDM0", + "cxIQNjQzNzI0MQ", + ], + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteOwnerIds: [ + "475364", + "4327652", + ], + remoteParentIds: [ + "652434", + "6437241", + ], + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + }, effectiveDate: new Date("2021-01-01T01:01:01.000Z"), employeeId: "1687-3", - employmentContractType: {}, - employmentType: {}, + endDate: new Date("2021-01-01T01:01:01.000Z"), id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - jobTitle: "Software Engineer", + job: { + description: { + text: "Testing the laws of motion", + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + ownerId: "5356", + parentId: "7577", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + title: "Software Engineer", + }, + manager: [ + { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + role: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Admin", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + roleType: {}, + }, + }, + ], payCurrency: "USD", payFrequency: {}, payPeriod: {}, payRate: "40.00", remoteEmployeeId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + startDate: new Date("2021-01-01T01:01:01.000Z"), timeWorked: "P0Y0M0DT8H0M0S", + type: { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Permanent", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + type: {}, + }, unifiedCustomFields: { "my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value", diff --git a/docs/sdk/models/shared/employmentvalue.md b/docs/sdk/models/shared/employmentvalue.md index 8e1397e64..0e5d8670c 100644 --- a/docs/sdk/models/shared/employmentvalue.md +++ b/docs/sdk/models/shared/employmentvalue.md @@ -5,7 +5,7 @@ ```typescript import { EmploymentValue } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: EmploymentValue = EmploymentValue.Shifts; +let value: EmploymentValue = EmploymentValue.PartTime; ``` ## Values diff --git a/docs/sdk/models/shared/field.md b/docs/sdk/models/shared/field.md index e86de7ddc..28463ef0d 100644 --- a/docs/sdk/models/shared/field.md +++ b/docs/sdk/models/shared/field.md @@ -10,7 +10,7 @@ let value: Field = { label: "Problem Solving", remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", required: true, - type: FieldType.UnmappedValue, + type: FieldType.Email, values: [ "Excellent", "Good", diff --git a/docs/sdk/models/shared/fieldtype.md b/docs/sdk/models/shared/fieldtype.md index cc421384f..3240653a8 100644 --- a/docs/sdk/models/shared/fieldtype.md +++ b/docs/sdk/models/shared/fieldtype.md @@ -7,7 +7,7 @@ The type of the field ```typescript import { FieldType } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: FieldType = FieldType.Date; +let value: FieldType = FieldType.Score; ``` ## Values diff --git a/docs/sdk/models/shared/hrisbenefitsourcevalue.md b/docs/sdk/models/shared/hrisbenefitsourcevalue.md index 318dba596..75e91a8e1 100644 --- a/docs/sdk/models/shared/hrisbenefitsourcevalue.md +++ b/docs/sdk/models/shared/hrisbenefitsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 302.35; +const value: number = 6222.31; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hrisbenefitvalue.md b/docs/sdk/models/shared/hrisbenefitvalue.md index a36aad7f0..f34cfd0ae 100644 --- a/docs/sdk/models/shared/hrisbenefitvalue.md +++ b/docs/sdk/models/shared/hrisbenefitvalue.md @@ -7,7 +7,7 @@ The type of the benefit ```typescript import { HRISBenefitValue } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: HRISBenefitValue = HRISBenefitValue.HealthInsurance; +let value: HRISBenefitValue = HRISBenefitValue.HealthSavings; ``` ## Values diff --git a/docs/sdk/models/shared/hriscostcentersourcevalue.md b/docs/sdk/models/shared/hriscostcentersourcevalue.md index 933464456..70c13ec26 100644 --- a/docs/sdk/models/shared/hriscostcentersourcevalue.md +++ b/docs/sdk/models/shared/hriscostcentersourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 78.84; +const value: number = 2097.5; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasethnicitysourcevalue.md b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasethnicitysourcevalue.md index f028a1fb9..4bc1ad407 100644 --- a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasethnicitysourcevalue.md +++ b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasethnicitysourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 2748.23; +const value: number = 2716.53; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasethnicityvalue.md b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasethnicityvalue.md index d0ef53b7b..a19165d9f 100644 --- a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasethnicityvalue.md +++ b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasethnicityvalue.md @@ -7,7 +7,7 @@ import { HrisCreateEmployeeRequestDtoSchemasEthnicityValue } from "@stackone/sta let value: HrisCreateEmployeeRequestDtoSchemasEthnicityValue = HrisCreateEmployeeRequestDtoSchemasEthnicityValue - .NativeHawaiianOrPacificIslander; + .AmericanIndianOrAlaskaNative; ``` ## Values diff --git a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasgendersourcevalue.md b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasgendersourcevalue.md index bcba454e2..0ee7dd4c7 100644 --- a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasgendersourcevalue.md +++ b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasgendersourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 8967.62; +const value: number = 4017.13; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasgendervalue.md b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasgendervalue.md index d67404661..558975b8b 100644 --- a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasgendervalue.md +++ b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasgendervalue.md @@ -6,7 +6,7 @@ import { HrisCreateEmployeeRequestDtoSchemasGenderValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: HrisCreateEmployeeRequestDtoSchemasGenderValue = - HrisCreateEmployeeRequestDtoSchemasGenderValue.NonBinary; + HrisCreateEmployeeRequestDtoSchemasGenderValue.Female; ``` ## Values diff --git a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemashomelocationsourcevalue.md b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemashomelocationsourcevalue.md index 5de6ee1e3..631e901e7 100644 --- a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemashomelocationsourcevalue.md +++ b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemashomelocationsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 5520.78; +const value: number = 5058.66; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemashomelocationstatesourcevalue.md b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemashomelocationstatesourcevalue.md index 2405ab5fe..d4772b0af 100644 --- a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemashomelocationstatesourcevalue.md +++ b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemashomelocationstatesourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 2716.53; +const value: number = 3103.81; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemashomelocationstatevalue.md b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemashomelocationstatevalue.md index ac94164a6..1ba966b31 100644 --- a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemashomelocationstatevalue.md +++ b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemashomelocationstatevalue.md @@ -6,7 +6,7 @@ import { HrisCreateEmployeeRequestDtoSchemasHomeLocationStateValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: HrisCreateEmployeeRequestDtoSchemasHomeLocationStateValue = - HrisCreateEmployeeRequestDtoSchemasHomeLocationStateValue.Li09; + HrisCreateEmployeeRequestDtoSchemasHomeLocationStateValue.IqAr; ``` ## Values diff --git a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasmaritalstatussourcevalue.md b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasmaritalstatussourcevalue.md index 5d0788efe..308d475d0 100644 --- a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasmaritalstatussourcevalue.md +++ b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasmaritalstatussourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 4017.13; +const value: number = 5249.7; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasmaritalstatusvalue.md b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasmaritalstatusvalue.md index 8bd77ee17..5f162ad24 100644 --- a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasmaritalstatusvalue.md +++ b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasmaritalstatusvalue.md @@ -6,7 +6,7 @@ import { HrisCreateEmployeeRequestDtoSchemasMaritalStatusValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: HrisCreateEmployeeRequestDtoSchemasMaritalStatusValue = - HrisCreateEmployeeRequestDtoSchemasMaritalStatusValue.CommonLaw; + HrisCreateEmployeeRequestDtoSchemasMaritalStatusValue.Other; ``` ## Values diff --git a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasnationalidentitynumbersourcevalue.md b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasnationalidentitynumbersourcevalue.md index c38900365..4ac3a25b9 100644 --- a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasnationalidentitynumbersourcevalue.md +++ b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasnationalidentitynumbersourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 5058.66; +const value: number = 3335.07; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasnationalidentitynumbertypesourcevalue.md b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasnationalidentitynumbertypesourcevalue.md index e9c280dc4..6387e91c6 100644 --- a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasnationalidentitynumbertypesourcevalue.md +++ b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasnationalidentitynumbertypesourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 3103.81; +const value: number = 9241.59; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemaspreferredlanguagesourcevalue.md b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemaspreferredlanguagesourcevalue.md index 79c698cf2..c5c1ad18e 100644 --- a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemaspreferredlanguagesourcevalue.md +++ b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemaspreferredlanguagesourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 3730.35; +const value: number = 8623.19; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemassourcevalue.md b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemassourcevalue.md index 9bd6d3e49..cfaaa687e 100644 --- a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemassourcevalue.md +++ b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemassourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 9677.95; +const value: number = 4067.33; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasworklocationsourcevalue.md b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasworklocationsourcevalue.md index 42f0565ce..7301ceeec 100644 --- a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasworklocationsourcevalue.md +++ b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasworklocationsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 5249.7; +const value: number = 486.9; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasworklocationstatesourcevalue.md b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasworklocationstatesourcevalue.md index bc5ae318d..f373aa9e4 100644 --- a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasworklocationstatesourcevalue.md +++ b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasworklocationstatesourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 7505.95; +const value: number = 2536.42; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasworklocationstatevalue.md b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasworklocationstatevalue.md index e8e9fd9fc..80c18868d 100644 --- a/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasworklocationstatevalue.md +++ b/docs/sdk/models/shared/hriscreateemployeerequestdtoschemasworklocationstatevalue.md @@ -6,7 +6,7 @@ import { HrisCreateEmployeeRequestDtoSchemasWorkLocationStateValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: HrisCreateEmployeeRequestDtoSchemasWorkLocationStateValue = - HrisCreateEmployeeRequestDtoSchemasWorkLocationStateValue.Hr02; + HrisCreateEmployeeRequestDtoSchemasWorkLocationStateValue.LaBl; ``` ## Values diff --git a/docs/sdk/models/shared/hriscreateemployeerequestdtosourcevalue.md b/docs/sdk/models/shared/hriscreateemployeerequestdtosourcevalue.md index 08fb44549..365c311df 100644 --- a/docs/sdk/models/shared/hriscreateemployeerequestdtosourcevalue.md +++ b/docs/sdk/models/shared/hriscreateemployeerequestdtosourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 3828.08; +const value: number = 5922.31; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hriscreateemploymentrequestdtosourcevalue.md b/docs/sdk/models/shared/hriscreateemploymentrequestdtosourcevalue.md index c9ad9db6d..0cc5877dc 100644 --- a/docs/sdk/models/shared/hriscreateemploymentrequestdtosourcevalue.md +++ b/docs/sdk/models/shared/hriscreateemploymentrequestdtosourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 7400.98; +const value: number = 302.35; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hriscreatetimeoffrequestdtoschemassourcevalue.md b/docs/sdk/models/shared/hriscreatetimeoffrequestdtoschemassourcevalue.md index 1fc0fa087..fc533c534 100644 --- a/docs/sdk/models/shared/hriscreatetimeoffrequestdtoschemassourcevalue.md +++ b/docs/sdk/models/shared/hriscreatetimeoffrequestdtoschemassourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 2049.23; +const value: number = 5305.37; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hriscreatetimeoffrequestdtoschemasvalue.md b/docs/sdk/models/shared/hriscreatetimeoffrequestdtoschemasvalue.md index 92afdc34c..12cbf3c23 100644 --- a/docs/sdk/models/shared/hriscreatetimeoffrequestdtoschemasvalue.md +++ b/docs/sdk/models/shared/hriscreatetimeoffrequestdtoschemasvalue.md @@ -6,7 +6,7 @@ import { HrisCreateTimeOffRequestDtoSchemasValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: HrisCreateTimeOffRequestDtoSchemasValue = - HrisCreateTimeOffRequestDtoSchemasValue.Absent; + HrisCreateTimeOffRequestDtoSchemasValue.Sabbatical; ``` ## Values diff --git a/docs/sdk/models/shared/hriscreatetimeoffrequestdtosourcevalue.md b/docs/sdk/models/shared/hriscreatetimeoffrequestdtosourcevalue.md index a4e8b0f3e..ecba93720 100644 --- a/docs/sdk/models/shared/hriscreatetimeoffrequestdtosourcevalue.md +++ b/docs/sdk/models/shared/hriscreatetimeoffrequestdtosourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 6223.85; +const value: number = 78.84; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hriscreatetimeoffrequestdtovalue.md b/docs/sdk/models/shared/hriscreatetimeoffrequestdtovalue.md index 285491da2..8725dafd1 100644 --- a/docs/sdk/models/shared/hriscreatetimeoffrequestdtovalue.md +++ b/docs/sdk/models/shared/hriscreatetimeoffrequestdtovalue.md @@ -6,7 +6,7 @@ import { HrisCreateTimeOffRequestDtoValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: HrisCreateTimeOffRequestDtoValue = - HrisCreateTimeOffRequestDtoValue.Pending; + HrisCreateTimeOffRequestDtoValue.Cancelled; ``` ## Values diff --git a/docs/sdk/models/shared/hriscreateworkeligibilityrequestdtoschemasdocumentsourcevalue.md b/docs/sdk/models/shared/hriscreateworkeligibilityrequestdtoschemasdocumentsourcevalue.md index 976191775..f686a2f92 100644 --- a/docs/sdk/models/shared/hriscreateworkeligibilityrequestdtoschemasdocumentsourcevalue.md +++ b/docs/sdk/models/shared/hriscreateworkeligibilityrequestdtoschemasdocumentsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 6762.43; +const value: number = 894.94; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hriscreateworkeligibilityrequestdtoschemassourcevalue.md b/docs/sdk/models/shared/hriscreateworkeligibilityrequestdtoschemassourcevalue.md index 348580483..c8eb302a6 100644 --- a/docs/sdk/models/shared/hriscreateworkeligibilityrequestdtoschemassourcevalue.md +++ b/docs/sdk/models/shared/hriscreateworkeligibilityrequestdtoschemassourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 5436.78; +const value: number = 243.13; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hriscreateworkeligibilityrequestdtosourcevalue.md b/docs/sdk/models/shared/hriscreateworkeligibilityrequestdtosourcevalue.md index 9867e7b91..307f8e83c 100644 --- a/docs/sdk/models/shared/hriscreateworkeligibilityrequestdtosourcevalue.md +++ b/docs/sdk/models/shared/hriscreateworkeligibilityrequestdtosourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 8792.35; +const value: number = 4059.42; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hrisdepartmentsourcevalue.md b/docs/sdk/models/shared/hrisdepartmentsourcevalue.md index 6b1e1e73d..6cef325b6 100644 --- a/docs/sdk/models/shared/hrisdepartmentsourcevalue.md +++ b/docs/sdk/models/shared/hrisdepartmentsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 3726.79; +const value: number = 1157.03; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hrisdocumentapimodelschemastypesourcevalue.md b/docs/sdk/models/shared/hrisdocumentapimodelschemastypesourcevalue.md index 5667de8e7..113914ce6 100644 --- a/docs/sdk/models/shared/hrisdocumentapimodelschemastypesourcevalue.md +++ b/docs/sdk/models/shared/hrisdocumentapimodelschemastypesourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 9627.71; +const value: number = 6939.57; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hrisdocumentapimodelschemastypevalue.md b/docs/sdk/models/shared/hrisdocumentapimodelschemastypevalue.md index 2488dc57a..2cb3ca69f 100644 --- a/docs/sdk/models/shared/hrisdocumentapimodelschemastypevalue.md +++ b/docs/sdk/models/shared/hrisdocumentapimodelschemastypevalue.md @@ -8,7 +8,7 @@ The category of the file import { HrisDocumentApiModelSchemasTypeValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: HrisDocumentApiModelSchemasTypeValue = - HrisDocumentApiModelSchemasTypeValue.Application; + HrisDocumentApiModelSchemasTypeValue.Contract; ``` ## Values diff --git a/docs/sdk/models/shared/hrisdocumentapimodelsourcevalue.md b/docs/sdk/models/shared/hrisdocumentapimodelsourcevalue.md index 478d14260..d1b062684 100644 --- a/docs/sdk/models/shared/hrisdocumentapimodelsourcevalue.md +++ b/docs/sdk/models/shared/hrisdocumentapimodelsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 6003.92; +const value: number = 4420.36; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hrisdocumentapimodelvalue.md b/docs/sdk/models/shared/hrisdocumentapimodelvalue.md index 8ac028219..1b2ad0ef0 100644 --- a/docs/sdk/models/shared/hrisdocumentapimodelvalue.md +++ b/docs/sdk/models/shared/hrisdocumentapimodelvalue.md @@ -7,8 +7,7 @@ The category of the file ```typescript import { HrisDocumentApiModelValue } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: HrisDocumentApiModelValue = - HrisDocumentApiModelValue.PolicyAgreement; +let value: HrisDocumentApiModelValue = HrisDocumentApiModelValue.CoverLetter; ``` ## Values diff --git a/docs/sdk/models/shared/hrisdocumentsuploadrequestdtovalue.md b/docs/sdk/models/shared/hrisdocumentsuploadrequestdtovalue.md index b736284a4..4b3a0ab26 100644 --- a/docs/sdk/models/shared/hrisdocumentsuploadrequestdtovalue.md +++ b/docs/sdk/models/shared/hrisdocumentsuploadrequestdtovalue.md @@ -8,7 +8,7 @@ The category name to associate with the file import { HrisDocumentsUploadRequestDtoValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: HrisDocumentsUploadRequestDtoValue = - HrisDocumentsUploadRequestDtoValue.HomeAddress; + HrisDocumentsUploadRequestDtoValue.DriverLicense; ``` ## Values diff --git a/docs/sdk/models/shared/hrisgroupsourcevalue.md b/docs/sdk/models/shared/hrisgroupsourcevalue.md index 64941a9f3..2b5332ee2 100644 --- a/docs/sdk/models/shared/hrisgroupsourcevalue.md +++ b/docs/sdk/models/shared/hrisgroupsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 6471.97; +const value: number = 972.43; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hrislocationsourcevalue.md b/docs/sdk/models/shared/hrislocationsourcevalue.md index eeb27d153..9a2405339 100644 --- a/docs/sdk/models/shared/hrislocationsourcevalue.md +++ b/docs/sdk/models/shared/hrislocationsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 6939.57; +const value: number = 5027.21; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hrisupdateemployeerequestdto.md b/docs/sdk/models/shared/hrisupdateemployeerequestdto.md index 4a8a1b49a..b118381da 100644 --- a/docs/sdk/models/shared/hrisupdateemployeerequestdto.md +++ b/docs/sdk/models/shared/hrisupdateemployeerequestdto.md @@ -50,25 +50,6 @@ let value: HrisUpdateEmployeeRequestDto = { employmentContractType: {}, employmentStatus: {}, employmentType: {}, - employments: [ - { - effectiveDate: new Date("2021-01-01T01:01:01.000Z"), - employeeId: "1687-3", - employmentContractType: {}, - employmentType: {}, - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - jobTitle: "Software Engineer", - payCurrency: "USD", - payFrequency: {}, - payPeriod: {}, - payRate: "40.00", - timeWorked: "P0Y0M0DT8H0M0S", - unifiedCustomFields: { - "my_project_custom_field_1": "REF-1236", - "my_project_custom_field_2": "some other value", - }, - }, - ], ethnicity: {}, firstName: "Issac", gender: {}, @@ -155,7 +136,6 @@ let value: HrisUpdateEmployeeRequestDto = { | `employmentContractType` | [shared.HrisUpdateEmployeeRequestDtoEmploymentContractType](../../../sdk/models/shared/hrisupdateemployeerequestdtoemploymentcontracttype.md) | :heavy_minus_sign: | The employment work schedule type (e.g., full-time, part-time) | full_time | | `employmentStatus` | [shared.HrisUpdateEmployeeRequestDtoEmploymentStatus](../../../sdk/models/shared/hrisupdateemployeerequestdtoemploymentstatus.md) | :heavy_minus_sign: | The employee employment status | active | | `employmentType` | [shared.HrisUpdateEmployeeRequestDtoEmploymentType](../../../sdk/models/shared/hrisupdateemployeerequestdtoemploymenttype.md) | :heavy_minus_sign: | The employee employment type | full_time | -| `employments` | [shared.CreateEmploymentApiModel](../../../sdk/models/shared/createemploymentapimodel.md)[] | :heavy_minus_sign: | The employee employments | | | `ethnicity` | [shared.HrisUpdateEmployeeRequestDtoEthnicity](../../../sdk/models/shared/hrisupdateemployeerequestdtoethnicity.md) | :heavy_minus_sign: | The employee ethnicity | white | | `firstName` | *string* | :heavy_minus_sign: | The employee first name | Issac | | `gender` | [shared.HrisUpdateEmployeeRequestDtoGender](../../../sdk/models/shared/hrisupdateemployeerequestdtogender.md) | :heavy_minus_sign: | The employee gender | male | diff --git a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasethnicitysourcevalue.md b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasethnicitysourcevalue.md index 3f5d0ed05..361b08d9e 100644 --- a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasethnicitysourcevalue.md +++ b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasethnicitysourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 4463.94; +const value: number = 7398.84; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasethnicityvalue.md b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasethnicityvalue.md index df2f71a8c..d45edcf75 100644 --- a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasethnicityvalue.md +++ b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasethnicityvalue.md @@ -6,7 +6,7 @@ import { HrisUpdateEmployeeRequestDtoSchemasEthnicityValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: HrisUpdateEmployeeRequestDtoSchemasEthnicityValue = - HrisUpdateEmployeeRequestDtoSchemasEthnicityValue.UnmappedValue; + HrisUpdateEmployeeRequestDtoSchemasEthnicityValue.Other; ``` ## Values diff --git a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasgendersourcevalue.md b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasgendersourcevalue.md index 1ff715ad9..abec3f04a 100644 --- a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasgendersourcevalue.md +++ b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasgendersourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 1602.3; +const value: number = 6725.82; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasgendervalue.md b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasgendervalue.md index e407e2f04..8eb8ffcdd 100644 --- a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasgendervalue.md +++ b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasgendervalue.md @@ -6,7 +6,7 @@ import { HrisUpdateEmployeeRequestDtoSchemasGenderValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: HrisUpdateEmployeeRequestDtoSchemasGenderValue = - HrisUpdateEmployeeRequestDtoSchemasGenderValue.NotDisclosed; + HrisUpdateEmployeeRequestDtoSchemasGenderValue.Other; ``` ## Values diff --git a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemashomelocationsourcevalue.md b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemashomelocationsourcevalue.md index d3bc733c9..3eb0239cf 100644 --- a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemashomelocationsourcevalue.md +++ b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemashomelocationsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 4402.64; +const value: number = 3044.46; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemashomelocationstatesourcevalue.md b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemashomelocationstatesourcevalue.md index 9017ed47b..aaf40b834 100644 --- a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemashomelocationstatesourcevalue.md +++ b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemashomelocationstatesourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 764.86; +const value: number = 9979.63; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemashomelocationstatevalue.md b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemashomelocationstatevalue.md index 13461d92a..4ce0e1cfa 100644 --- a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemashomelocationstatevalue.md +++ b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemashomelocationstatevalue.md @@ -6,7 +6,7 @@ import { HrisUpdateEmployeeRequestDtoSchemasHomeLocationStateValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: HrisUpdateEmployeeRequestDtoSchemasHomeLocationStateValue = - HrisUpdateEmployeeRequestDtoSchemasHomeLocationStateValue.QaMs; + HrisUpdateEmployeeRequestDtoSchemasHomeLocationStateValue.InAp; ``` ## Values diff --git a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasmaritalstatussourcevalue.md b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasmaritalstatussourcevalue.md index 1dd692270..728133ee1 100644 --- a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasmaritalstatussourcevalue.md +++ b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasmaritalstatussourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 2473.99; +const value: number = 4706.49; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasmaritalstatusvalue.md b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasmaritalstatusvalue.md index d16eecaee..c974c36ac 100644 --- a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasmaritalstatusvalue.md +++ b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasmaritalstatusvalue.md @@ -6,7 +6,7 @@ import { HrisUpdateEmployeeRequestDtoSchemasMaritalStatusValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: HrisUpdateEmployeeRequestDtoSchemasMaritalStatusValue = - HrisUpdateEmployeeRequestDtoSchemasMaritalStatusValue.Single; + HrisUpdateEmployeeRequestDtoSchemasMaritalStatusValue.Divorced; ``` ## Values diff --git a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasnationalidentitynumbersourcevalue.md b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasnationalidentitynumbersourcevalue.md index 12c976e65..95b03b25d 100644 --- a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasnationalidentitynumbersourcevalue.md +++ b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasnationalidentitynumbersourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 599.44; +const value: number = 9795.27; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasnationalidentitynumbertypesourcevalue.md b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasnationalidentitynumbertypesourcevalue.md index 723fcd9e4..75c4745ae 100644 --- a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasnationalidentitynumbertypesourcevalue.md +++ b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasnationalidentitynumbertypesourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 610.78; +const value: number = 1746.58; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemaspreferredlanguagesourcevalue.md b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemaspreferredlanguagesourcevalue.md index 15c03a0ac..86eb0c03a 100644 --- a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemaspreferredlanguagesourcevalue.md +++ b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemaspreferredlanguagesourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 9077.33; +const value: number = 3279.88; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemassourcevalue.md b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemassourcevalue.md index b0c4a8f85..14dd3596b 100644 --- a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemassourcevalue.md +++ b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemassourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 1604.67; +const value: number = 610.78; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasworklocationsourcevalue.md b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasworklocationsourcevalue.md index 71e05b0f3..a33730d96 100644 --- a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasworklocationsourcevalue.md +++ b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasworklocationsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 7398.84; +const value: number = 6803.49; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasworklocationstatesourcevalue.md b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasworklocationstatesourcevalue.md index 780012664..955978f79 100644 --- a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasworklocationstatesourcevalue.md +++ b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasworklocationstatesourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 8980.63; +const value: number = 632.07; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasworklocationstatevalue.md b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasworklocationstatevalue.md index 53eabadf6..abf9de4e8 100644 --- a/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasworklocationstatevalue.md +++ b/docs/sdk/models/shared/hrisupdateemployeerequestdtoschemasworklocationstatevalue.md @@ -6,7 +6,7 @@ import { HrisUpdateEmployeeRequestDtoSchemasWorkLocationStateValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: HrisUpdateEmployeeRequestDtoSchemasWorkLocationStateValue = - HrisUpdateEmployeeRequestDtoSchemasWorkLocationStateValue.PrXx47; + HrisUpdateEmployeeRequestDtoSchemasWorkLocationStateValue.NpKo; ``` ## Values diff --git a/docs/sdk/models/shared/hrisupdateemployeerequestdtosourcevalue.md b/docs/sdk/models/shared/hrisupdateemployeerequestdtosourcevalue.md index 7613a6a4a..f90eaf04f 100644 --- a/docs/sdk/models/shared/hrisupdateemployeerequestdtosourcevalue.md +++ b/docs/sdk/models/shared/hrisupdateemployeerequestdtosourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 9521.43; +const value: number = 396.15; ``` ### `boolean` diff --git a/docs/sdk/models/shared/hrisupdateemployeerequestdtovalue.md b/docs/sdk/models/shared/hrisupdateemployeerequestdtovalue.md index 635d884c7..1feeb8633 100644 --- a/docs/sdk/models/shared/hrisupdateemployeerequestdtovalue.md +++ b/docs/sdk/models/shared/hrisupdateemployeerequestdtovalue.md @@ -6,7 +6,7 @@ import { HrisUpdateEmployeeRequestDtoValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: HrisUpdateEmployeeRequestDtoValue = - HrisUpdateEmployeeRequestDtoValue.Shifts; + HrisUpdateEmployeeRequestDtoValue.FullTime; ``` ## Values diff --git a/docs/sdk/models/shared/iamgroupsourcevalue.md b/docs/sdk/models/shared/iamgroupsourcevalue.md index e5d31a6c3..b73c420b0 100644 --- a/docs/sdk/models/shared/iamgroupsourcevalue.md +++ b/docs/sdk/models/shared/iamgroupsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 5289.4; +const value: number = 4776.46; ``` ### `boolean` diff --git a/docs/sdk/models/shared/iammfatypeenumsourcevalue.md b/docs/sdk/models/shared/iammfatypeenumsourcevalue.md index 4022245d3..ee81757ce 100644 --- a/docs/sdk/models/shared/iammfatypeenumsourcevalue.md +++ b/docs/sdk/models/shared/iammfatypeenumsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 9795.27; +const value: number = 3374.77; ``` ### `boolean` diff --git a/docs/sdk/models/shared/iampermissionsourcevalue.md b/docs/sdk/models/shared/iampermissionsourcevalue.md index 9284b1813..c904a9b35 100644 --- a/docs/sdk/models/shared/iampermissionsourcevalue.md +++ b/docs/sdk/models/shared/iampermissionsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 9979.63; +const value: number = 2384.13; ``` ### `boolean` diff --git a/docs/sdk/models/shared/iamresourcesourcevalue.md b/docs/sdk/models/shared/iamresourcesourcevalue.md index 026d183a4..9d70c7782 100644 --- a/docs/sdk/models/shared/iamresourcesourcevalue.md +++ b/docs/sdk/models/shared/iamresourcesourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 3621.89; +const value: number = 5145.13; ``` ### `boolean` diff --git a/docs/sdk/models/shared/iamrolesourcevalue.md b/docs/sdk/models/shared/iamrolesourcevalue.md index 765fe5d9d..e126a4ae9 100644 --- a/docs/sdk/models/shared/iamrolesourcevalue.md +++ b/docs/sdk/models/shared/iamrolesourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 3044.46; +const value: number = 2840; ``` ### `boolean` diff --git a/docs/sdk/models/shared/iamuserschemasavatarsourcevalue.md b/docs/sdk/models/shared/iamuserschemasavatarsourcevalue.md index 9861d4412..68d27f72b 100644 --- a/docs/sdk/models/shared/iamuserschemasavatarsourcevalue.md +++ b/docs/sdk/models/shared/iamuserschemasavatarsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 4706.49; +const value: number = 3679.27; ``` ### `boolean` diff --git a/docs/sdk/models/shared/iamusersourcevalue.md b/docs/sdk/models/shared/iamusersourcevalue.md index 747c378d2..9b49bfca8 100644 --- a/docs/sdk/models/shared/iamusersourcevalue.md +++ b/docs/sdk/models/shared/iamusersourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 3782.45; +const value: number = 4565.2; ``` ### `boolean` diff --git a/docs/sdk/models/shared/jobdescription.md b/docs/sdk/models/shared/jobdescription.md index b9e87fe8b..eadd54aca 100644 --- a/docs/sdk/models/shared/jobdescription.md +++ b/docs/sdk/models/shared/jobdescription.md @@ -1,7 +1,9 @@ -# JobDescription +# ~~JobDescription~~ The employee job description +> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. + ## Example Usage ```typescript diff --git a/docs/sdk/models/shared/jobposting.md b/docs/sdk/models/shared/jobposting.md index 2ac041154..d4b6fa1b4 100644 --- a/docs/sdk/models/shared/jobposting.md +++ b/docs/sdk/models/shared/jobposting.md @@ -10,7 +10,6 @@ import { JobPostingSchemasStatusValue, JobPostingSchemasValue, JobPostingValue, - Question2, } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: JobPosting = { @@ -77,7 +76,7 @@ let value: JobPosting = { { id: "question002", parentQuestion: null, - required: Question2.False, + required: false, text: "What are your hobbies?", type: {}, }, diff --git a/docs/sdk/models/shared/jobpostingquestionnaire2.md b/docs/sdk/models/shared/jobpostingquestionnaire2.md index aef148196..fc7d51aed 100644 --- a/docs/sdk/models/shared/jobpostingquestionnaire2.md +++ b/docs/sdk/models/shared/jobpostingquestionnaire2.md @@ -5,7 +5,7 @@ ```typescript import { JobPostingQuestionnaire2 } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: JobPostingQuestionnaire2 = JobPostingQuestionnaire2.False; +let value: JobPostingQuestionnaire2 = JobPostingQuestionnaire2.True; ``` ## Values diff --git a/docs/sdk/models/shared/jobpostingquestionnaireinternal.md b/docs/sdk/models/shared/jobpostingquestionnaireinternal.md index 47893af83..dd8843382 100644 --- a/docs/sdk/models/shared/jobpostingquestionnaireinternal.md +++ b/docs/sdk/models/shared/jobpostingquestionnaireinternal.md @@ -12,6 +12,6 @@ const value: boolean = false; ### `shared.JobPostingQuestionnaire2` ```typescript -const value: shared.JobPostingQuestionnaire2 = JobPostingQuestionnaire2.False; +const value: shared.JobPostingQuestionnaire2 = JobPostingQuestionnaire2.True; ``` diff --git a/docs/sdk/models/shared/jobpostingresult.md b/docs/sdk/models/shared/jobpostingresult.md index 0fdadedf6..baf7c0761 100644 --- a/docs/sdk/models/shared/jobpostingresult.md +++ b/docs/sdk/models/shared/jobpostingresult.md @@ -78,7 +78,7 @@ let value: JobPostingResult = { { id: "question002", parentQuestion: null, - required: Question2.False, + required: Question2.True, text: "What are your hobbies?", type: {}, }, diff --git a/docs/sdk/models/shared/jobpostingspaginated.md b/docs/sdk/models/shared/jobpostingspaginated.md index 1516ffe73..2af087c0d 100644 --- a/docs/sdk/models/shared/jobpostingspaginated.md +++ b/docs/sdk/models/shared/jobpostingspaginated.md @@ -10,6 +10,7 @@ import { JobPostingSchemasValue, JobPostingsPaginated, JobPostingValue, + Question2, } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: JobPostingsPaginated = { @@ -78,7 +79,7 @@ let value: JobPostingsPaginated = { { id: "question002", parentQuestion: null, - required: false, + required: Question2.False, text: "What are your hobbies?", type: {}, }, diff --git a/docs/sdk/models/shared/labortype.md b/docs/sdk/models/shared/labortype.md new file mode 100644 index 000000000..d2c8b306c --- /dev/null +++ b/docs/sdk/models/shared/labortype.md @@ -0,0 +1,19 @@ +# LaborType + +The labor type associated with this time entry + +## Example Usage + +```typescript +import { LaborType } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: LaborType = { + code: "ABC123", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `code` | *string* | :heavy_minus_sign: | N/A | ABC123 | \ No newline at end of file diff --git a/docs/sdk/models/shared/languageenumsourcevalue.md b/docs/sdk/models/shared/languageenumsourcevalue.md index 8e0349cfc..f90b92673 100644 --- a/docs/sdk/models/shared/languageenumsourcevalue.md +++ b/docs/sdk/models/shared/languageenumsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 6897.68; +const value: number = 3790.57; ``` ### `boolean` diff --git a/docs/sdk/models/shared/linkedaccount.md b/docs/sdk/models/shared/linkedaccount.md index 0fde3559e..0143ed640 100644 --- a/docs/sdk/models/shared/linkedaccount.md +++ b/docs/sdk/models/shared/linkedaccount.md @@ -6,13 +6,13 @@ import { LinkedAccount, LinkedAccountStatus } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: LinkedAccount = { - createdAt: new Date("2024-11-08T20:30:17.087Z"), + createdAt: new Date("2024-12-01T01:59:21.357Z"), id: "", originOwnerId: "", originOwnerName: "", provider: "", - status: LinkedAccountStatus.Error, - updatedAt: new Date("2025-12-21T10:02:05.716Z"), + status: LinkedAccountStatus.Inactive, + updatedAt: new Date("2025-12-20T09:26:05.215Z"), }; ``` diff --git a/docs/sdk/models/shared/linkedaccountmeta.md b/docs/sdk/models/shared/linkedaccountmeta.md index 1ab490010..d5b9dd58d 100644 --- a/docs/sdk/models/shared/linkedaccountmeta.md +++ b/docs/sdk/models/shared/linkedaccountmeta.md @@ -6,7 +6,7 @@ import { LinkedAccountMeta, LinkedAccountMetaCategory } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: LinkedAccountMeta = { - category: LinkedAccountMetaCategory.Marketing, + category: LinkedAccountMetaCategory.HrisLegacy, models: { "key": "", }, diff --git a/docs/sdk/models/shared/linkedaccountmetacategory.md b/docs/sdk/models/shared/linkedaccountmetacategory.md index d7ac4b86a..582aed32f 100644 --- a/docs/sdk/models/shared/linkedaccountmetacategory.md +++ b/docs/sdk/models/shared/linkedaccountmetacategory.md @@ -5,7 +5,7 @@ ```typescript import { LinkedAccountMetaCategory } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: LinkedAccountMetaCategory = LinkedAccountMetaCategory.Hris; +let value: LinkedAccountMetaCategory = LinkedAccountMetaCategory.Stackone; ``` ## Values diff --git a/docs/sdk/models/shared/lmsbatchupsertcontentrequestdto.md b/docs/sdk/models/shared/lmsbatchupsertcontentrequestdto.md index 81e586a97..eb180c10d 100644 --- a/docs/sdk/models/shared/lmsbatchupsertcontentrequestdto.md +++ b/docs/sdk/models/shared/lmsbatchupsertcontentrequestdto.md @@ -13,6 +13,13 @@ let value: LmsBatchUpsertContentRequestDto = { items: [ { active: true, + additionalData: [ + { + id: "learning_outcomes", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + value: {}, + }, + ], categories: [ { id: "16873-IT345", @@ -42,8 +49,6 @@ let value: LmsBatchUpsertContentRequestDto = { ], order: 1, provider: "Content Provider", - shortDescription: - "This course is a valuable resource and acts as learning content for...", skills: [ { id: "12345", diff --git a/docs/sdk/models/shared/lmscreateassignmentrequestdtosourcevalue.md b/docs/sdk/models/shared/lmscreateassignmentrequestdtosourcevalue.md index e6d99b8b3..afdd646c8 100644 --- a/docs/sdk/models/shared/lmscreateassignmentrequestdtosourcevalue.md +++ b/docs/sdk/models/shared/lmscreateassignmentrequestdtosourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 2384.13; +const value: number = 9992.78; ``` ### `boolean` diff --git a/docs/sdk/models/shared/lmscreateassignmentrequestdtostatus.md b/docs/sdk/models/shared/lmscreateassignmentrequestdtostatus.md index 31f856f2f..1688654d5 100644 --- a/docs/sdk/models/shared/lmscreateassignmentrequestdtostatus.md +++ b/docs/sdk/models/shared/lmscreateassignmentrequestdtostatus.md @@ -8,7 +8,7 @@ The status of the assignment import { LmsCreateAssignmentRequestDtoStatus, LmsCreateAssignmentRequestDtoValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: LmsCreateAssignmentRequestDtoStatus = { - value: LmsCreateAssignmentRequestDtoValue.InProgress, + value: LmsCreateAssignmentRequestDtoValue.Completed, }; ``` diff --git a/docs/sdk/models/shared/lmscreatecompletionrequestdtosourcevalue.md b/docs/sdk/models/shared/lmscreatecompletionrequestdtosourcevalue.md index 869f913cc..935aefff7 100644 --- a/docs/sdk/models/shared/lmscreatecompletionrequestdtosourcevalue.md +++ b/docs/sdk/models/shared/lmscreatecompletionrequestdtosourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 3374.77; +const value: number = 8130.54; ``` ### `boolean` diff --git a/docs/sdk/models/shared/lmsupsertcontentrequestdto.md b/docs/sdk/models/shared/lmsupsertcontentrequestdto.md index b19ff0d18..d6f2be68b 100644 --- a/docs/sdk/models/shared/lmsupsertcontentrequestdto.md +++ b/docs/sdk/models/shared/lmsupsertcontentrequestdto.md @@ -7,6 +7,13 @@ import { CreateCategoriesApiModelValue, LanguageEnumValue, LmsUpsertContentReque let value: LmsUpsertContentRequestDto = { active: true, + additionalData: [ + { + id: "learning_outcomes", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + value: {}, + }, + ], categories: [ { id: "16873-IT345", @@ -35,8 +42,6 @@ let value: LmsUpsertContentRequestDto = { ], order: 1, provider: "Content Provider", - shortDescription: - "This course is a valuable resource and acts as learning content for...", skills: [ { id: "12345", @@ -56,6 +61,7 @@ let value: LmsUpsertContentRequestDto = { | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `active` | *boolean* | :heavy_minus_sign: | Whether the content is active and available for users. | true | +| `additionalData` | [shared.AdditionalData](../../../sdk/models/shared/additionaldata.md)[] | :heavy_minus_sign: | The additional_data associated with this content | | | `categories` | [shared.CreateCategoriesApiModel](../../../sdk/models/shared/createcategoriesapimodel.md)[] | :heavy_minus_sign: | The categories associated with this content | | | `contentType` | [shared.LmsUpsertContentRequestDtoContentType](../../../sdk/models/shared/lmsupsertcontentrequestdtocontenttype.md) | :heavy_minus_sign: | The type of content | | | `contentUrl` | *string* | :heavy_minus_sign: | The external URL of the content | https://www.youtube.com/watch?v=16873 | @@ -67,7 +73,7 @@ let value: LmsUpsertContentRequestDto = { | `languages` | [shared.LanguageEnum](../../../sdk/models/shared/languageenum.md)[] | :heavy_minus_sign: | The languages associated with this content | | | `order` | *number* | :heavy_minus_sign: | The order of the individual content within a content grouping. This is not applicable for pushing individual content. | 1 | | `provider` | *string* | :heavy_minus_sign: | The name of the content provider | Content Provider | -| `shortDescription` | *string* | :heavy_minus_sign: | A short description or summary for the content | This course is a valuable resource and acts as learning content for... | +| ~~`shortDescription`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

A short description or summary for the content | This course is a valuable resource and acts as learning content for... | | `skills` | [shared.CreateSkillsApiModel](../../../sdk/models/shared/createskillsapimodel.md)[] | :heavy_minus_sign: | The skills associated with this content | [
{
"id": "12345",
"name": "Sales Techniques"
}
] | | `title` | *string* | :heavy_minus_sign: | The title of the content | Software Engineer Lv 1 | | `unifiedCustomFields` | Record | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | \ No newline at end of file diff --git a/docs/sdk/models/shared/lmsupsertcontentrequestdtosourcevalue.md b/docs/sdk/models/shared/lmsupsertcontentrequestdtosourcevalue.md index aa4217c60..4f25c35cd 100644 --- a/docs/sdk/models/shared/lmsupsertcontentrequestdtosourcevalue.md +++ b/docs/sdk/models/shared/lmsupsertcontentrequestdtosourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 1746.58; +const value: number = 9704.94; ``` ### `boolean` diff --git a/docs/sdk/models/shared/location.md b/docs/sdk/models/shared/location.md new file mode 100644 index 000000000..0482d7d29 --- /dev/null +++ b/docs/sdk/models/shared/location.md @@ -0,0 +1,25 @@ +# Location + +The location of the time entry + +## Example Usage + +```typescript +import { Location } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: Location = { + active: true, + id: "1687-3", + name: "1687-4", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `active` | *shared.TimeEntriesActive* | :heavy_minus_sign: | The reference status | true | +| `id` | *string* | :heavy_minus_sign: | The reference id | 1687-3 | +| `name` | *string* | :heavy_minus_sign: | The reference name | 1687-4 | +| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | \ No newline at end of file diff --git a/docs/sdk/models/shared/options.md b/docs/sdk/models/shared/options.md index 2f28c720c..8dc6558db 100644 --- a/docs/sdk/models/shared/options.md +++ b/docs/sdk/models/shared/options.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 3790.57; +const value: number = 4492.92; ``` ### `boolean` diff --git a/docs/sdk/models/shared/overallrecommendation.md b/docs/sdk/models/shared/overallrecommendation.md index b5308e3cc..bbb38cfc0 100644 --- a/docs/sdk/models/shared/overallrecommendation.md +++ b/docs/sdk/models/shared/overallrecommendation.md @@ -7,7 +7,7 @@ The overall recommendation ```typescript import { OverallRecommendation } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: OverallRecommendation = OverallRecommendation.No; +let value: OverallRecommendation = OverallRecommendation.UnmappedValue; ``` ## Values diff --git a/docs/sdk/models/shared/rawresponse.md b/docs/sdk/models/shared/rawresponse.md index 36272153a..77e8b28f2 100644 --- a/docs/sdk/models/shared/rawresponse.md +++ b/docs/sdk/models/shared/rawresponse.md @@ -7,7 +7,7 @@ import { RawResponse } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: RawResponse = { method: "", - url: "https://subdued-widow.org/", + url: "https://yellow-digit.com/", }; ``` diff --git a/docs/sdk/models/shared/role.md b/docs/sdk/models/shared/role.md new file mode 100644 index 000000000..67868bf8f --- /dev/null +++ b/docs/sdk/models/shared/role.md @@ -0,0 +1,25 @@ +# Role + +The role of manager + +## Example Usage + +```typescript +import { Role } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: Role = { + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + label: "Admin", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + roleType: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `id` | *string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `label` | *string* | :heavy_minus_sign: | The label of the role type | Admin | +| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `roleType` | [shared.RoleType](../../../sdk/models/shared/roletype.md) | :heavy_minus_sign: | The manager role type (e.g., admin, viewer) | admin | \ No newline at end of file diff --git a/docs/sdk/models/shared/roletype.md b/docs/sdk/models/shared/roletype.md new file mode 100644 index 000000000..83de0961a --- /dev/null +++ b/docs/sdk/models/shared/roletype.md @@ -0,0 +1,18 @@ +# RoleType + +The manager role type (e.g., admin, viewer) + +## Example Usage + +```typescript +import { RoleType } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: RoleType = {}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| `sourceValue` | *shared.EmploymentManagerApiModelSourceValue* | :heavy_minus_sign: | N/A | | +| `value` | [shared.EmploymentManagerApiModelValue](../../../sdk/models/shared/employmentmanagerapimodelvalue.md) | :heavy_minus_sign: | N/A | admin | \ No newline at end of file diff --git a/docs/sdk/models/shared/scorecard.md b/docs/sdk/models/shared/scorecard.md index ff0875bc8..d490465cd 100644 --- a/docs/sdk/models/shared/scorecard.md +++ b/docs/sdk/models/shared/scorecard.md @@ -13,7 +13,7 @@ let value: Scorecard = { id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", interviewId: "1314-15", label: "Technical Interview", - overallRecommendation: OverallRecommendation.Yes, + overallRecommendation: OverallRecommendation.StrongNo, remoteApplicationId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", remoteAuthorId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", remoteCandidateId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", diff --git a/docs/sdk/models/shared/scorecardsection.md b/docs/sdk/models/shared/scorecardsection.md index bd1d87e2d..b022eb41c 100644 --- a/docs/sdk/models/shared/scorecardsection.md +++ b/docs/sdk/models/shared/scorecardsection.md @@ -12,7 +12,7 @@ let value: ScorecardSection = { label: "Problem Solving", remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", required: true, - type: FieldType.MultiSelect, + type: FieldType.UnmappedValue, values: [ "Excellent", "Good", diff --git a/docs/sdk/models/shared/scorecardspaginated.md b/docs/sdk/models/shared/scorecardspaginated.md index 6ae7af4eb..b729dd819 100644 --- a/docs/sdk/models/shared/scorecardspaginated.md +++ b/docs/sdk/models/shared/scorecardspaginated.md @@ -15,7 +15,7 @@ let value: ScorecardsPaginated = { id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", interviewId: "1314-15", label: "Technical Interview", - overallRecommendation: OverallRecommendation.Yes, + overallRecommendation: OverallRecommendation.StrongNo, remoteApplicationId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", remoteAuthorId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", remoteCandidateId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", @@ -29,7 +29,7 @@ let value: ScorecardsPaginated = { label: "Problem Solving", remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", required: true, - type: FieldType.LongText, + type: FieldType.Boolean, values: [ "Excellent", "Good", diff --git a/docs/sdk/models/shared/scorecardsresult.md b/docs/sdk/models/shared/scorecardsresult.md index 3515949f9..629503b8a 100644 --- a/docs/sdk/models/shared/scorecardsresult.md +++ b/docs/sdk/models/shared/scorecardsresult.md @@ -28,7 +28,7 @@ let value: ScorecardsResult = { label: "Problem Solving", remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", required: true, - type: FieldType.MultiSelect, + type: FieldType.Date, values: [ "Excellent", "Good", diff --git a/docs/sdk/models/shared/skillssourcevalue.md b/docs/sdk/models/shared/skillssourcevalue.md index 7c4898cbc..3486d805f 100644 --- a/docs/sdk/models/shared/skillssourcevalue.md +++ b/docs/sdk/models/shared/skillssourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 9509.53; +const value: number = 8817.21; ``` ### `boolean` diff --git a/docs/sdk/models/shared/status.md b/docs/sdk/models/shared/status.md index 06fd0bbf8..d52d1c6c9 100644 --- a/docs/sdk/models/shared/status.md +++ b/docs/sdk/models/shared/status.md @@ -8,7 +8,7 @@ The status of the assignment import { AssignmentSchemasValue, Status } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: Status = { - value: AssignmentSchemasValue.InProgress, + value: AssignmentSchemasValue.Pending, }; ``` diff --git a/docs/sdk/models/shared/statusreason.md b/docs/sdk/models/shared/statusreason.md index 2e95ce703..81162edad 100644 --- a/docs/sdk/models/shared/statusreason.md +++ b/docs/sdk/models/shared/statusreason.md @@ -6,7 +6,7 @@ import { StatusReason } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: StatusReason = { - timestamp: new Date("2024-03-24T07:45:32.129Z"), + timestamp: new Date("2023-03-13T13:45:42.713Z"), }; ``` diff --git a/docs/sdk/models/shared/timeentries.md b/docs/sdk/models/shared/timeentries.md new file mode 100644 index 000000000..410952b00 --- /dev/null +++ b/docs/sdk/models/shared/timeentries.md @@ -0,0 +1,52 @@ +# TimeEntries + +## Example Usage + +```typescript +import { TimeEntries } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: TimeEntries = { + breakDuration: 0.5, + createdAt: new Date("2023-02-23T00:00:00.000Z"), + employeeId: "1687-3", + endTime: new Date("2021-01-01T01:01:01.000Z"), + hoursWorked: 8, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + laborType: { + code: "ABC123", + }, + location: { + active: true, + id: "1687-3", + name: "1687-4", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + remoteEmployeeId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + startTime: new Date("2021-01-01T01:01:01.000Z"), + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + updatedAt: new Date("2024-02-23T00:00:00.000Z"), +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `breakDuration` | *number* | :heavy_minus_sign: | The duration of the break in hours | 0.5 | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The created_at date | 2023-02-23T00:00:00.000Z | +| `employeeId` | *string* | :heavy_minus_sign: | The employee ID associated with this employment | 1687-3 | +| `endTime` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The end time of the time entry | 2021-01-01T01:01:01.000Z | +| `hoursWorked` | *number* | :heavy_minus_sign: | The hours worked in the time entry | 8 | +| `id` | *string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `laborType` | [shared.LaborType](../../../sdk/models/shared/labortype.md) | :heavy_minus_sign: | The labor type associated with this time entry | | +| `location` | [shared.Location](../../../sdk/models/shared/location.md) | :heavy_minus_sign: | The location of the time entry | | +| `remoteEmployeeId` | *string* | :heavy_minus_sign: | Provider's unique identifier of the employee associated with this employment | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | +| `remoteId` | *string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `startTime` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The start time of the time entry | 2021-01-01T01:01:01.000Z | +| `status` | [shared.TimeEntriesStatus](../../../sdk/models/shared/timeentriesstatus.md) | :heavy_minus_sign: | The status of the time entry | | +| `unifiedCustomFields` | Record | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | +| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The updated_at date | 2024-02-23T00:00:00.000Z | \ No newline at end of file diff --git a/docs/sdk/models/shared/timeentries2.md b/docs/sdk/models/shared/timeentries2.md new file mode 100644 index 000000000..80ecb5d26 --- /dev/null +++ b/docs/sdk/models/shared/timeentries2.md @@ -0,0 +1,16 @@ +# TimeEntries2 + +## Example Usage + +```typescript +import { TimeEntries2 } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: TimeEntries2 = TimeEntries2.True; +``` + +## Values + +| Name | Value | +| ------- | ------- | +| `True` | true | +| `False` | false | \ No newline at end of file diff --git a/docs/sdk/models/shared/timeentries4.md b/docs/sdk/models/shared/timeentries4.md new file mode 100644 index 000000000..cc6a64216 --- /dev/null +++ b/docs/sdk/models/shared/timeentries4.md @@ -0,0 +1,14 @@ +# TimeEntries4 + +## Example Usage + +```typescript +import { TimeEntries4 } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: TimeEntries4 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/sdk/models/shared/timeentriesactive.md b/docs/sdk/models/shared/timeentriesactive.md new file mode 100644 index 000000000..f954f9c68 --- /dev/null +++ b/docs/sdk/models/shared/timeentriesactive.md @@ -0,0 +1,19 @@ +# TimeEntriesActive + +The reference status + + +## Supported Types + +### `boolean` + +```typescript +const value: boolean = true; +``` + +### `shared.TimeEntries2` + +```typescript +const value: shared.TimeEntries2 = TimeEntries2.True; +``` + diff --git a/docs/sdk/models/shared/timeentriespaginated.md b/docs/sdk/models/shared/timeentriespaginated.md new file mode 100644 index 000000000..e9f28c2cf --- /dev/null +++ b/docs/sdk/models/shared/timeentriespaginated.md @@ -0,0 +1,46 @@ +# TimeEntriesPaginated + +## Example Usage + +```typescript +import { TimeEntriesPaginated } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: TimeEntriesPaginated = { + data: [ + { + breakDuration: 0.5, + createdAt: new Date("2023-02-23T00:00:00.000Z"), + employeeId: "1687-3", + endTime: new Date("2021-01-01T01:01:01.000Z"), + hoursWorked: 8, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + laborType: { + code: "ABC123", + }, + location: { + active: true, + id: "1687-3", + name: "1687-4", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + remoteEmployeeId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + startTime: new Date("2021-01-01T01:01:01.000Z"), + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + updatedAt: new Date("2024-02-23T00:00:00.000Z"), + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | +| `data` | [shared.TimeEntries](../../../sdk/models/shared/timeentries.md)[] | :heavy_check_mark: | N/A | +| `next` | *string* | :heavy_minus_sign: | N/A | +| ~~`nextPage`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | +| `raw` | [shared.RawResponse](../../../sdk/models/shared/rawresponse.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/sdk/models/shared/timeentriesresult.md b/docs/sdk/models/shared/timeentriesresult.md new file mode 100644 index 000000000..005f2e257 --- /dev/null +++ b/docs/sdk/models/shared/timeentriesresult.md @@ -0,0 +1,42 @@ +# TimeEntriesResult + +## Example Usage + +```typescript +import { TimeEntriesResult } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: TimeEntriesResult = { + data: { + breakDuration: 0.5, + createdAt: new Date("2023-02-23T00:00:00.000Z"), + employeeId: "1687-3", + endTime: new Date("2021-01-01T01:01:01.000Z"), + hoursWorked: 8, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + laborType: { + code: "ABC123", + }, + location: { + active: true, + id: "1687-3", + name: "1687-4", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + remoteEmployeeId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + startTime: new Date("2021-01-01T01:01:01.000Z"), + unifiedCustomFields: { + "my_project_custom_field_1": "REF-1236", + "my_project_custom_field_2": "some other value", + }, + updatedAt: new Date("2024-02-23T00:00:00.000Z"), + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `data` | [shared.TimeEntries](../../../sdk/models/shared/timeentries.md) | :heavy_check_mark: | N/A | +| `raw` | [shared.RawResponse](../../../sdk/models/shared/rawresponse.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/sdk/models/shared/timeentriessourcevalue.md b/docs/sdk/models/shared/timeentriessourcevalue.md new file mode 100644 index 000000000..264d34b06 --- /dev/null +++ b/docs/sdk/models/shared/timeentriessourcevalue.md @@ -0,0 +1,37 @@ +# TimeEntriesSourceValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `number` + +```typescript +const value: number = 9223.48; +``` + +### `boolean` + +```typescript +const value: boolean = false; +``` + +### `shared.TimeEntries4` + +```typescript +const value: shared.TimeEntries4 = {}; +``` + +### `any[]` + +```typescript +const value: any[] = [ + "", +]; +``` + diff --git a/docs/sdk/models/shared/timeentriesstatus.md b/docs/sdk/models/shared/timeentriesstatus.md new file mode 100644 index 000000000..64505b04b --- /dev/null +++ b/docs/sdk/models/shared/timeentriesstatus.md @@ -0,0 +1,18 @@ +# TimeEntriesStatus + +The status of the time entry + +## Example Usage + +```typescript +import { TimeEntriesStatus } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: TimeEntriesStatus = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `sourceValue` | *shared.TimeEntriesSourceValue* | :heavy_minus_sign: | N/A | +| `value` | [shared.TimeEntriesValue](../../../sdk/models/shared/timeentriesvalue.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/sdk/models/shared/timeentriesvalue.md b/docs/sdk/models/shared/timeentriesvalue.md new file mode 100644 index 000000000..6ba5cd2f3 --- /dev/null +++ b/docs/sdk/models/shared/timeentriesvalue.md @@ -0,0 +1,19 @@ +# TimeEntriesValue + +## Example Usage + +```typescript +import { TimeEntriesValue } from "@stackone/stackone-client-ts/sdk/models/shared"; + +let value: TimeEntriesValue = TimeEntriesValue.UnmappedValue; +``` + +## Values + +This is an open enum. Unrecognized values will be captured as the `Unrecognized` branded type. + +| Name | Value | +| ---------------------- | ---------------------- | +| `Approved` | approved | +| `UnmappedValue` | unmapped_value | +| - | `Unrecognized` | \ No newline at end of file diff --git a/docs/sdk/models/shared/timeoffschemassourcevalue.md b/docs/sdk/models/shared/timeoffschemassourcevalue.md index 1fea2b6b4..a96777910 100644 --- a/docs/sdk/models/shared/timeoffschemassourcevalue.md +++ b/docs/sdk/models/shared/timeoffschemassourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 5098.07; +const value: number = 6232.95; ``` ### `boolean` diff --git a/docs/sdk/models/shared/timeoffschemasvalue.md b/docs/sdk/models/shared/timeoffschemasvalue.md index 327233fa0..c2083b757 100644 --- a/docs/sdk/models/shared/timeoffschemasvalue.md +++ b/docs/sdk/models/shared/timeoffschemasvalue.md @@ -5,7 +5,7 @@ ```typescript import { TimeOffSchemasValue } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: TimeOffSchemasValue = TimeOffSchemasValue.Absent; +let value: TimeOffSchemasValue = TimeOffSchemasValue.Sabbatical; ``` ## Values diff --git a/docs/sdk/models/shared/timeoffsourcevalue.md b/docs/sdk/models/shared/timeoffsourcevalue.md index 6da9638fd..5ecfd66a2 100644 --- a/docs/sdk/models/shared/timeoffsourcevalue.md +++ b/docs/sdk/models/shared/timeoffsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 6964.83; +const value: number = 2277.59; ``` ### `boolean` diff --git a/docs/sdk/models/shared/timeoffvalue.md b/docs/sdk/models/shared/timeoffvalue.md index ff5e818ea..4efbc8a39 100644 --- a/docs/sdk/models/shared/timeoffvalue.md +++ b/docs/sdk/models/shared/timeoffvalue.md @@ -5,7 +5,7 @@ ```typescript import { TimeOffValue } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: TimeOffValue = TimeOffValue.UnmappedValue; +let value: TimeOffValue = TimeOffValue.Rejected; ``` ## Values diff --git a/docs/sdk/models/shared/updateemployeeapimodel.md b/docs/sdk/models/shared/updateemployeeapimodel.md index 951c1800b..bc3c55201 100644 --- a/docs/sdk/models/shared/updateemployeeapimodel.md +++ b/docs/sdk/models/shared/updateemployeeapimodel.md @@ -50,25 +50,6 @@ let value: UpdateEmployeeApiModel = { employmentContractType: {}, employmentStatus: {}, employmentType: {}, - employments: [ - { - effectiveDate: new Date("2021-01-01T01:01:01.000Z"), - employeeId: "1687-3", - employmentContractType: {}, - employmentType: {}, - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - jobTitle: "Software Engineer", - payCurrency: "USD", - payFrequency: {}, - payPeriod: {}, - payRate: "40.00", - timeWorked: "P0Y0M0DT8H0M0S", - unifiedCustomFields: { - "my_project_custom_field_1": "REF-1236", - "my_project_custom_field_2": "some other value", - }, - }, - ], ethnicity: {}, firstName: "Issac", gender: {}, @@ -151,7 +132,6 @@ let value: UpdateEmployeeApiModel = { | `employmentContractType` | [shared.UpdateEmployeeApiModelEmploymentContractType](../../../sdk/models/shared/updateemployeeapimodelemploymentcontracttype.md) | :heavy_minus_sign: | The employment work schedule type (e.g., full-time, part-time) | full_time | | `employmentStatus` | [shared.UpdateEmployeeApiModelEmploymentStatus](../../../sdk/models/shared/updateemployeeapimodelemploymentstatus.md) | :heavy_minus_sign: | The employee employment status | active | | `employmentType` | [shared.UpdateEmployeeApiModelEmploymentType](../../../sdk/models/shared/updateemployeeapimodelemploymenttype.md) | :heavy_minus_sign: | The employee employment type | full_time | -| `employments` | [shared.CreateEmploymentApiModel](../../../sdk/models/shared/createemploymentapimodel.md)[] | :heavy_minus_sign: | The employee employments | | | `ethnicity` | [shared.UpdateEmployeeApiModelEthnicity](../../../sdk/models/shared/updateemployeeapimodelethnicity.md) | :heavy_minus_sign: | The employee ethnicity | white | | `firstName` | *string* | :heavy_minus_sign: | The employee first name | Issac | | `gender` | [shared.UpdateEmployeeApiModelGender](../../../sdk/models/shared/updateemployeeapimodelgender.md) | :heavy_minus_sign: | The employee gender | male | diff --git a/docs/sdk/models/shared/updateemployeeapimodelschemasethnicitysourcevalue.md b/docs/sdk/models/shared/updateemployeeapimodelschemasethnicitysourcevalue.md index ddf1f10e9..c0ae309ab 100644 --- a/docs/sdk/models/shared/updateemployeeapimodelschemasethnicitysourcevalue.md +++ b/docs/sdk/models/shared/updateemployeeapimodelschemasethnicitysourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 8869.61; +const value: number = 360.33; ``` ### `boolean` diff --git a/docs/sdk/models/shared/updateemployeeapimodelschemasethnicityvalue.md b/docs/sdk/models/shared/updateemployeeapimodelschemasethnicityvalue.md index f33de017d..a4de9dd63 100644 --- a/docs/sdk/models/shared/updateemployeeapimodelschemasethnicityvalue.md +++ b/docs/sdk/models/shared/updateemployeeapimodelschemasethnicityvalue.md @@ -6,7 +6,7 @@ import { UpdateEmployeeApiModelSchemasEthnicityValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: UpdateEmployeeApiModelSchemasEthnicityValue = - UpdateEmployeeApiModelSchemasEthnicityValue.TwoOrMoreRaces; + UpdateEmployeeApiModelSchemasEthnicityValue.BlackOrAfricanAmerican; ``` ## Values diff --git a/docs/sdk/models/shared/updateemployeeapimodelschemasgendersourcevalue.md b/docs/sdk/models/shared/updateemployeeapimodelschemasgendersourcevalue.md index d9f949add..2fb5f1d8a 100644 --- a/docs/sdk/models/shared/updateemployeeapimodelschemasgendersourcevalue.md +++ b/docs/sdk/models/shared/updateemployeeapimodelschemasgendersourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 1334.61; +const value: number = 3891.35; ``` ### `boolean` diff --git a/docs/sdk/models/shared/updateemployeeapimodelschemashomelocationsourcevalue.md b/docs/sdk/models/shared/updateemployeeapimodelschemashomelocationsourcevalue.md index dc35422ef..53ad01177 100644 --- a/docs/sdk/models/shared/updateemployeeapimodelschemashomelocationsourcevalue.md +++ b/docs/sdk/models/shared/updateemployeeapimodelschemashomelocationsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 8717.86; +const value: number = 3000.29; ``` ### `boolean` diff --git a/docs/sdk/models/shared/updateemployeeapimodelschemashomelocationstatesourcevalue.md b/docs/sdk/models/shared/updateemployeeapimodelschemashomelocationstatesourcevalue.md index b40678cdc..ded5fb298 100644 --- a/docs/sdk/models/shared/updateemployeeapimodelschemashomelocationstatesourcevalue.md +++ b/docs/sdk/models/shared/updateemployeeapimodelschemashomelocationstatesourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 5027.21; +const value: number = 1604.67; ``` ### `boolean` diff --git a/docs/sdk/models/shared/updateemployeeapimodelschemashomelocationstatevalue.md b/docs/sdk/models/shared/updateemployeeapimodelschemashomelocationstatevalue.md index 2e7cd25d6..1215ad0c7 100644 --- a/docs/sdk/models/shared/updateemployeeapimodelschemashomelocationstatevalue.md +++ b/docs/sdk/models/shared/updateemployeeapimodelschemashomelocationstatevalue.md @@ -6,7 +6,7 @@ import { UpdateEmployeeApiModelSchemasHomeLocationStateValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: UpdateEmployeeApiModelSchemasHomeLocationStateValue = - UpdateEmployeeApiModelSchemasHomeLocationStateValue.Ug112; + UpdateEmployeeApiModelSchemasHomeLocationStateValue.TtCha; ``` ## Values diff --git a/docs/sdk/models/shared/updateemployeeapimodelschemasmaritalstatussourcevalue.md b/docs/sdk/models/shared/updateemployeeapimodelschemasmaritalstatussourcevalue.md index a64ab4f2e..338d84db4 100644 --- a/docs/sdk/models/shared/updateemployeeapimodelschemasmaritalstatussourcevalue.md +++ b/docs/sdk/models/shared/updateemployeeapimodelschemasmaritalstatussourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 5413.81; +const value: number = 4463.94; ``` ### `boolean` diff --git a/docs/sdk/models/shared/updateemployeeapimodelschemasnationalidentitynumbersourcevalue.md b/docs/sdk/models/shared/updateemployeeapimodelschemasnationalidentitynumbersourcevalue.md index 8179efe5f..6419d67a7 100644 --- a/docs/sdk/models/shared/updateemployeeapimodelschemasnationalidentitynumbersourcevalue.md +++ b/docs/sdk/models/shared/updateemployeeapimodelschemasnationalidentitynumbersourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 8298.98; +const value: number = 1602.3; ``` ### `boolean` diff --git a/docs/sdk/models/shared/updateemployeeapimodelschemasnationalidentitynumbertypesourcevalue.md b/docs/sdk/models/shared/updateemployeeapimodelschemasnationalidentitynumbertypesourcevalue.md index d4ebc4ebb..4a2d8ecda 100644 --- a/docs/sdk/models/shared/updateemployeeapimodelschemasnationalidentitynumbertypesourcevalue.md +++ b/docs/sdk/models/shared/updateemployeeapimodelschemasnationalidentitynumbertypesourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 9682.87; +const value: number = 6611.18; ``` ### `boolean` diff --git a/docs/sdk/models/shared/updateemployeeapimodelschemaspreferredlanguagesourcevalue.md b/docs/sdk/models/shared/updateemployeeapimodelschemaspreferredlanguagesourcevalue.md index 459d706d0..96ebd6716 100644 --- a/docs/sdk/models/shared/updateemployeeapimodelschemaspreferredlanguagesourcevalue.md +++ b/docs/sdk/models/shared/updateemployeeapimodelschemaspreferredlanguagesourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 9197.83; +const value: number = 4402.64; ``` ### `boolean` diff --git a/docs/sdk/models/shared/updateemployeeapimodelschemassourcevalue.md b/docs/sdk/models/shared/updateemployeeapimodelschemassourcevalue.md index 6004d4e99..ea9d00190 100644 --- a/docs/sdk/models/shared/updateemployeeapimodelschemassourcevalue.md +++ b/docs/sdk/models/shared/updateemployeeapimodelschemassourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 4103.01; +const value: number = 9682.87; ``` ### `boolean` diff --git a/docs/sdk/models/shared/updateemployeeapimodelschemasvalue.md b/docs/sdk/models/shared/updateemployeeapimodelschemasvalue.md index 5b72aeb7e..9fdc9b30e 100644 --- a/docs/sdk/models/shared/updateemployeeapimodelschemasvalue.md +++ b/docs/sdk/models/shared/updateemployeeapimodelschemasvalue.md @@ -6,7 +6,7 @@ import { UpdateEmployeeApiModelSchemasValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: UpdateEmployeeApiModelSchemasValue = - UpdateEmployeeApiModelSchemasValue.Inactive; + UpdateEmployeeApiModelSchemasValue.UnmappedValue; ``` ## Values diff --git a/docs/sdk/models/shared/updateemployeeapimodelschemasworklocationsourcevalue.md b/docs/sdk/models/shared/updateemployeeapimodelschemasworklocationsourcevalue.md index 5a3f270a7..9e370bd34 100644 --- a/docs/sdk/models/shared/updateemployeeapimodelschemasworklocationsourcevalue.md +++ b/docs/sdk/models/shared/updateemployeeapimodelschemasworklocationsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 360.33; +const value: number = 764.86; ``` ### `boolean` diff --git a/docs/sdk/models/shared/updateemployeeapimodelschemasworklocationstatesourcevalue.md b/docs/sdk/models/shared/updateemployeeapimodelschemasworklocationstatesourcevalue.md index 370367218..1974d447f 100644 --- a/docs/sdk/models/shared/updateemployeeapimodelschemasworklocationstatesourcevalue.md +++ b/docs/sdk/models/shared/updateemployeeapimodelschemasworklocationstatesourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 1747.72; +const value: number = 6964.63; ``` ### `boolean` diff --git a/docs/sdk/models/shared/updateemployeeapimodelschemasworklocationstatevalue.md b/docs/sdk/models/shared/updateemployeeapimodelschemasworklocationstatevalue.md index 925961886..1abefafeb 100644 --- a/docs/sdk/models/shared/updateemployeeapimodelschemasworklocationstatevalue.md +++ b/docs/sdk/models/shared/updateemployeeapimodelschemasworklocationstatevalue.md @@ -6,7 +6,7 @@ import { UpdateEmployeeApiModelSchemasWorkLocationStateValue } from "@stackone/stackone-client-ts/sdk/models/shared"; let value: UpdateEmployeeApiModelSchemasWorkLocationStateValue = - UpdateEmployeeApiModelSchemasWorkLocationStateValue.It67; + UpdateEmployeeApiModelSchemasWorkLocationStateValue.GbHry; ``` ## Values diff --git a/docs/sdk/models/shared/updateemployeeapimodelsourcevalue.md b/docs/sdk/models/shared/updateemployeeapimodelsourcevalue.md index 12e61fd85..27c241092 100644 --- a/docs/sdk/models/shared/updateemployeeapimodelsourcevalue.md +++ b/docs/sdk/models/shared/updateemployeeapimodelsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 908.85; +const value: number = 9233.06; ``` ### `boolean` diff --git a/docs/sdk/models/shared/updateemployeeapimodelvalue.md b/docs/sdk/models/shared/updateemployeeapimodelvalue.md index 76f2249bc..02e454216 100644 --- a/docs/sdk/models/shared/updateemployeeapimodelvalue.md +++ b/docs/sdk/models/shared/updateemployeeapimodelvalue.md @@ -5,7 +5,8 @@ ```typescript import { UpdateEmployeeApiModelValue } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: UpdateEmployeeApiModelValue = UpdateEmployeeApiModelValue.FullTime; +let value: UpdateEmployeeApiModelValue = + UpdateEmployeeApiModelValue.UnmappedValue; ``` ## Values diff --git a/docs/sdk/models/shared/value.md b/docs/sdk/models/shared/value.md index 277702c6b..5b01013a9 100644 --- a/docs/sdk/models/shared/value.md +++ b/docs/sdk/models/shared/value.md @@ -1,26 +1,16 @@ # Value -The Channels of the campaign. +The value of the additional data ## Example Usage ```typescript import { Value } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: Value = Value.Sms; +let value: Value = {}; ``` -## Values +## Fields -This is an open enum. Unrecognized values will be captured as the `Unrecognized` branded type. - -| Name | Value | -| ---------------------- | ---------------------- | -| `Email` | email | -| `Sms` | sms | -| `WebPush` | web_push | -| `IosPush` | ios_push | -| `AndroidPush` | android_push | -| `Unknown` | unknown | -| `UnmappedValue` | unmapped_value | -| - | `Unrecognized` | \ No newline at end of file +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/sdk/models/shared/workeligibilityschemasdocumentsourcevalue.md b/docs/sdk/models/shared/workeligibilityschemasdocumentsourcevalue.md index 36a0406d4..298d3ba07 100644 --- a/docs/sdk/models/shared/workeligibilityschemasdocumentsourcevalue.md +++ b/docs/sdk/models/shared/workeligibilityschemasdocumentsourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 7908.4; +const value: number = 6188.26; ``` ### `boolean` diff --git a/docs/sdk/models/shared/workeligibilityschemassourcevalue.md b/docs/sdk/models/shared/workeligibilityschemassourcevalue.md index 0affd1db4..08dbb9afd 100644 --- a/docs/sdk/models/shared/workeligibilityschemassourcevalue.md +++ b/docs/sdk/models/shared/workeligibilityschemassourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 4420.36; +const value: number = 9805.81; ``` ### `boolean` diff --git a/docs/sdk/models/shared/workeligibilityschemasvalue.md b/docs/sdk/models/shared/workeligibilityschemasvalue.md index fb8870204..ea1d6e073 100644 --- a/docs/sdk/models/shared/workeligibilityschemasvalue.md +++ b/docs/sdk/models/shared/workeligibilityschemasvalue.md @@ -5,8 +5,7 @@ ```typescript import { WorkEligibilitySchemasValue } from "@stackone/stackone-client-ts/sdk/models/shared"; -let value: WorkEligibilitySchemasValue = - WorkEligibilitySchemasValue.DriverLicense; +let value: WorkEligibilitySchemasValue = WorkEligibilitySchemasValue.Other; ``` ## Values diff --git a/docs/sdk/models/shared/workeligibilitysourcevalue.md b/docs/sdk/models/shared/workeligibilitysourcevalue.md index 688225311..d00dff28b 100644 --- a/docs/sdk/models/shared/workeligibilitysourcevalue.md +++ b/docs/sdk/models/shared/workeligibilitysourcevalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 972.43; +const value: number = 1334.61; ``` ### `boolean` diff --git a/docs/sdks/accounts/README.md b/docs/sdks/accounts/README.md index bf1e47927..7a0628a1a 100644 --- a/docs/sdks/accounts/README.md +++ b/docs/sdks/accounts/README.md @@ -274,9 +274,7 @@ const stackOne = new StackOne({ }); async function run() { - const result = await stackOne.accounts.listLinkedAccounts({ - pageSize: 25, - }); + const result = await stackOne.accounts.listLinkedAccounts({}); // Handle the result console.log(result); @@ -303,9 +301,7 @@ const stackOne = new StackOneCore({ }); async function run() { - const res = await accountsListLinkedAccounts(stackOne, { - pageSize: 25, - }); + const res = await accountsListLinkedAccounts(stackOne, {}); if (!res.ok) { throw res.error; diff --git a/docs/sdks/ats/README.md b/docs/sdks/ats/README.md index 264272c71..7115f41b6 100644 --- a/docs/sdks/ats/README.md +++ b/docs/sdks/ats/README.md @@ -65,6 +65,8 @@ * [listRejectedReasons](#listrejectedreasons) - List Rejected Reasons * [listUsers](#listusers) - List Users * [moveApplication](#moveapplication) - Move Application +* [orderAssessmentsRequest](#orderassessmentsrequest) - Order Assessments Request +* [orderBackgroundCheckRequest](#orderbackgroundcheckrequest) - Order Background Check Request * [rejectApplication](#rejectapplication) - Reject Application * [updateApplication](#updateapplication) - Update an Application * [updateApplicationNote](#updateapplicationnote) - Update an Application Note @@ -1314,7 +1316,6 @@ async function run() { fields: "id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate", id: "", include: "attachments,custom_fields", - raw: false, xAccountId: "", }); @@ -1348,7 +1349,6 @@ async function run() { fields: "id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate", id: "", include: "attachments,custom_fields", - raw: false, xAccountId: "", }); @@ -1407,8 +1407,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -1444,8 +1442,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -1502,7 +1498,6 @@ async function run() { const result = await stackOne.ats.getApplicationDocument({ fields: "id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format", id: "", - raw: false, subResourceId: "", xAccountId: "", }); @@ -1535,7 +1530,6 @@ async function run() { const res = await atsGetApplicationDocument(stackOne, { fields: "id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format", id: "", - raw: false, subResourceId: "", xAccountId: "", }); @@ -1592,7 +1586,6 @@ async function run() { const result = await stackOne.ats.getApplicationNote({ fields: "id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at", id: "", - raw: false, subResourceId: "", xAccountId: "", }); @@ -1625,7 +1618,6 @@ async function run() { const res = await atsGetApplicationNote(stackOne, { fields: "id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at", id: "", - raw: false, subResourceId: "", xAccountId: "", }); @@ -1682,7 +1674,6 @@ async function run() { const result = await stackOne.ats.getApplicationOffer({ fields: "id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history", id: "", - raw: false, subResourceId: "", xAccountId: "", }); @@ -1715,7 +1706,6 @@ async function run() { const res = await atsGetApplicationOffer(stackOne, { fields: "id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history", id: "", - raw: false, subResourceId: "", xAccountId: "", }); @@ -1772,7 +1762,6 @@ async function run() { const result = await stackOne.ats.getApplicationScheduledInterview({ fields: "id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate", id: "", - raw: false, subResourceId: "", xAccountId: "", }); @@ -1805,7 +1794,6 @@ async function run() { const res = await atsGetApplicationScheduledInterview(stackOne, { fields: "id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate", id: "", - raw: false, subResourceId: "", xAccountId: "", }); @@ -1862,7 +1850,6 @@ async function run() { const result = await stackOne.ats.getApplicationScorecard({ fields: "id,remote_id,sections,label,candidate_id,remote_candidate_id,application_id,remote_application_id,interview_id,remote_interview_id,author_id,remote_author_id,overall_recommendation,created_at,updated_at", id: "", - raw: false, subResourceId: "", xAccountId: "", }); @@ -1895,7 +1882,6 @@ async function run() { const res = await atsGetApplicationScorecard(stackOne, { fields: "id,remote_id,sections,label,candidate_id,remote_candidate_id,application_id,remote_application_id,interview_id,remote_interview_id,author_id,remote_author_id,overall_recommendation,created_at,updated_at", id: "", - raw: false, subResourceId: "", xAccountId: "", }); @@ -1951,7 +1937,6 @@ const stackOne = new StackOne({ async function run() { const result = await stackOne.ats.getAssessmentsPackage({ id: "", - raw: false, xAccountId: "", }); @@ -1982,7 +1967,6 @@ const stackOne = new StackOneCore({ async function run() { const res = await atsGetAssessmentsPackage(stackOne, { id: "", - raw: false, xAccountId: "", }); @@ -2038,7 +2022,6 @@ async function run() { const result = await stackOne.ats.getAssessmentsRequest({ fields: "id,remote_id,package,application,job,candidate,requester,results_update_url", id: "", - raw: false, xAccountId: "", }); @@ -2070,7 +2053,6 @@ async function run() { const res = await atsGetAssessmentsRequest(stackOne, { fields: "id,remote_id,package,application,job,candidate,requester,results_update_url", id: "", - raw: false, xAccountId: "", }); @@ -2126,7 +2108,6 @@ async function run() { const result = await stackOne.ats.getAssessmentsResult({ fields: "id,remote_id,candidate,score,start_date,submission_date,summary,result,result_url,attachments", id: "", - raw: false, xAccountId: "", }); @@ -2158,7 +2139,6 @@ async function run() { const res = await atsGetAssessmentsResult(stackOne, { fields: "id,remote_id,candidate,score,start_date,submission_date,summary,result,result_url,attachments", id: "", - raw: false, xAccountId: "", }); @@ -2214,7 +2194,6 @@ async function run() { const result = await stackOne.ats.getBackgroundCheckPackage({ fields: "id,remote_id,name,description,tests", id: "", - raw: false, xAccountId: "", }); @@ -2246,7 +2225,6 @@ async function run() { const res = await atsGetBackgroundCheckPackage(stackOne, { fields: "id,remote_id,name,description,tests", id: "", - raw: false, xAccountId: "", }); @@ -2302,7 +2280,6 @@ async function run() { const result = await stackOne.ats.getBackgroundCheckRequest({ fields: "id,remote_id,package,application,job,candidate,requester,results_update_url", id: "", - raw: false, xAccountId: "", }); @@ -2334,7 +2311,6 @@ async function run() { const res = await atsGetBackgroundCheckRequest(stackOne, { fields: "id,remote_id,package,application,job,candidate,requester,results_update_url", id: "", - raw: false, xAccountId: "", }); @@ -2390,7 +2366,6 @@ async function run() { const result = await stackOne.ats.getBackgroundCheckResult({ fields: "id,remote_id,candidate,score,start_date,submission_date,summary,result,result_url,attachments", id: "", - raw: false, xAccountId: "", }); @@ -2422,7 +2397,6 @@ async function run() { const res = await atsGetBackgroundCheckResult(stackOne, { fields: "id,remote_id,candidate,score,start_date,submission_date,summary,result,result_url,attachments", id: "", - raw: false, xAccountId: "", }); @@ -2479,7 +2453,6 @@ async function run() { fields: "id,remote_id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,country,title,application_ids,remote_application_ids,hired_at,custom_fields,created_at,updated_at", id: "", include: "custom_fields", - raw: false, xAccountId: "", }); @@ -2512,7 +2485,6 @@ async function run() { fields: "id,remote_id,name,first_name,last_name,email,emails,social_links,phone,phone_numbers,company,country,title,application_ids,remote_application_ids,hired_at,custom_fields,created_at,updated_at", id: "", include: "custom_fields", - raw: false, xAccountId: "", }); @@ -2571,8 +2543,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -2608,8 +2578,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -2666,7 +2634,6 @@ async function run() { const result = await stackOne.ats.getCandidateNote({ fields: "id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at", id: "", - raw: false, subResourceId: "", xAccountId: "", }); @@ -2699,7 +2666,6 @@ async function run() { const res = await atsGetCandidateNote(stackOne, { fields: "id,remote_id,content,author_id,remote_author_id,visibility,created_at,updated_at,deleted_at", id: "", - raw: false, subResourceId: "", xAccountId: "", }); @@ -2756,7 +2722,6 @@ async function run() { const result = await stackOne.ats.getDepartment({ fields: "id,remote_id,name", id: "", - raw: false, xAccountId: "", }); @@ -2788,7 +2753,6 @@ async function run() { const res = await atsGetDepartment(stackOne, { fields: "id,remote_id,name", id: "", - raw: false, xAccountId: "", }); @@ -2844,7 +2808,6 @@ async function run() { const result = await stackOne.ats.getInterview({ fields: "id,remote_id,application_id,remote_application_id,interview_stage_id,remote_interview_stage_id,interview_stage,status,interview_status,interviewer_ids,remote_interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at", id: "", - raw: false, xAccountId: "", }); @@ -2876,7 +2839,6 @@ async function run() { const res = await atsGetInterview(stackOne, { fields: "id,remote_id,application_id,remote_application_id,interview_stage_id,remote_interview_stage_id,interview_stage,status,interview_status,interviewer_ids,remote_interviewer_ids,interview_parts,interviewers,start_at,end_at,meeting_url,created_at,updated_at", id: "", - raw: false, xAccountId: "", }); @@ -2932,7 +2894,6 @@ async function run() { const result = await stackOne.ats.getInterviewStage({ fields: "id,remote_id,name,order,created_at,updated_at", id: "", - raw: false, xAccountId: "", }); @@ -2964,7 +2925,6 @@ async function run() { const res = await atsGetInterviewStage(stackOne, { fields: "id,remote_id,name,order,created_at,updated_at", id: "", - raw: false, xAccountId: "", }); @@ -3022,7 +2982,6 @@ async function run() { fields: "id,remote_id,code,title,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,custom_fields,created_at,updated_at", id: "", include: "custom_fields", - raw: false, xAccountId: "", }); @@ -3056,7 +3015,6 @@ async function run() { fields: "id,remote_id,code,title,status,job_status,department_ids,remote_department_ids,location_ids,remote_location_ids,hiring_team,interview_stages,confidential,custom_fields,created_at,updated_at", id: "", include: "custom_fields", - raw: false, xAccountId: "", }); @@ -3115,8 +3073,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3152,8 +3108,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3211,7 +3165,6 @@ async function run() { fields: "id,remote_id,title,locations,internal,status,job_id,remote_job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,updated_at,created_at", id: "", include: "questionnaires", - raw: false, xAccountId: "", }); @@ -3244,7 +3197,6 @@ async function run() { fields: "id,remote_id,title,locations,internal,status,job_id,remote_job_id,content,compensation,employment_type,employment_contract_type,external_url,external_apply_url,questionnaires,updated_at,created_at", id: "", include: "questionnaires", - raw: false, xAccountId: "", }); @@ -3300,7 +3252,6 @@ async function run() { const result = await stackOne.ats.getList({ fields: "id,remote_id,name,created_at,updated_at,items,type", id: "", - raw: false, xAccountId: "", }); @@ -3332,7 +3283,6 @@ async function run() { const res = await atsGetList(stackOne, { fields: "id,remote_id,name,created_at,updated_at,items,type", id: "", - raw: false, xAccountId: "", }); @@ -3388,7 +3338,6 @@ async function run() { const result = await stackOne.ats.getLocation({ fields: "id,remote_id,name", id: "", - raw: false, xAccountId: "", }); @@ -3420,7 +3369,6 @@ async function run() { const res = await atsGetLocation(stackOne, { fields: "id,remote_id,name", id: "", - raw: false, xAccountId: "", }); @@ -3476,7 +3424,6 @@ async function run() { const result = await stackOne.ats.getOffer({ fields: "id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history", id: "", - raw: false, xAccountId: "", }); @@ -3508,7 +3455,6 @@ async function run() { const res = await atsGetOffer(stackOne, { fields: "id,remote_id,application_id,remote_application_id,start_date,status,offer_status,salary,currency,created_at,updated_at,offer_history", id: "", - raw: false, xAccountId: "", }); @@ -3564,7 +3510,6 @@ async function run() { const result = await stackOne.ats.getRejectedReason({ fields: "id,remote_id,label,type,rejected_reason_type", id: "", - raw: false, xAccountId: "", }); @@ -3596,7 +3541,6 @@ async function run() { const res = await atsGetRejectedReason(stackOne, { fields: "id,remote_id,label,type,rejected_reason_type", id: "", - raw: false, xAccountId: "", }); @@ -3652,7 +3596,6 @@ async function run() { const result = await stackOne.ats.getUser({ fields: "id,remote_id,first_name,last_name,name,email", id: "", - raw: false, xAccountId: "", }); @@ -3684,7 +3627,6 @@ async function run() { const res = await atsGetUser(stackOne, { fields: "id,remote_id,first_name,last_name,name,email", id: "", - raw: false, xAccountId: "", }); @@ -3742,8 +3684,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3778,8 +3718,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3839,8 +3777,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3876,8 +3812,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3937,8 +3871,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3974,8 +3906,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4035,8 +3965,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4072,8 +4000,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4136,8 +4062,6 @@ async function run() { }, include: "attachments,custom_fields", jobId: "cxQiyiuasdFKfdsYfer", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4176,8 +4100,6 @@ async function run() { }, include: "attachments,custom_fields", jobId: "cxQiyiuasdFKfdsYfer", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4237,8 +4159,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4274,8 +4194,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4335,8 +4253,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4372,8 +4288,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4431,8 +4345,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4466,8 +4378,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4526,8 +4436,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4562,8 +4470,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4622,8 +4528,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4658,8 +4562,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4718,8 +4620,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4754,8 +4654,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4815,8 +4713,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4852,8 +4748,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4914,8 +4808,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, include: "custom_fields", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4952,8 +4844,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, include: "custom_fields", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -5012,8 +4902,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -5048,8 +4936,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -5108,8 +4994,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -5144,8 +5028,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -5205,8 +5087,6 @@ async function run() { createdAfter: "2020-01-01T00:00:00.000Z", updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -5242,8 +5122,6 @@ async function run() { createdAfter: "2020-01-01T00:00:00.000Z", updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -5302,8 +5180,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -5338,8 +5214,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -5400,8 +5274,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, include: "questionnaires", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -5438,8 +5310,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, include: "questionnaires", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -5501,8 +5371,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, include: "custom_fields", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -5540,8 +5408,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, include: "custom_fields", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -5600,8 +5466,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -5636,8 +5500,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -5696,8 +5558,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -5732,8 +5592,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -5792,8 +5650,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -5828,8 +5684,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -5888,8 +5742,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -5924,8 +5776,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -5984,8 +5834,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -6020,8 +5868,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -6154,6 +6000,496 @@ run(); | --------------- | --------------- | --------------- | | errors.SDKError | 4XX, 5XX | \*/\* | +## orderAssessmentsRequest + +Order Assessments Request + +### Example Usage + +```typescript +import { StackOne } from "@stackone/stackone-client-ts"; +import { AtsCreateCandidatesAssessmentsRequestDtoValue } from "@stackone/stackone-client-ts/sdk/models/shared"; + +const stackOne = new StackOne({ + security: { + password: "", + username: "", + }, +}); + +async function run() { + const result = await stackOne.ats.orderAssessmentsRequest({ + atsCreateCandidatesAssessmentsRequestDto: { + application: { + applicationStatus: { + sourceValue: "Hired", + value: AtsCreateCandidatesAssessmentsRequestDtoValue.Hired, + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "other_known_names": "John Doe", + }, + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + candidate: { + emails: [ + { + type: "personal", + value: "sestier.romain123@gmail.com", + }, + ], + firstName: "Romain", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + lastName: "Sestier", + passthrough: { + "other_known_names": "John Doe", + }, + profileUrl: "https://exmaple.com/candidate?id=xyz", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + job: { + hiringTeam: [ + { + email: "john.doe@gmail.com", + firstName: "John", + lastName: "Doe", + remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + role: "Software Engineer", + userId: "123456", + }, + ], + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "other_known_names": "John Doe", + }, + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + title: "Software Engineer", + }, + package: { + description: "Skills test to gauge a candidate's proficiency in job-specific skills", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Test 1", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + passthrough: { + "other_known_names": "John Doe", + }, + requester: { + email: "john.doe@gmail.com", + firstName: "John", + lastName: "Doe", + remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + role: "Software Engineer", + userId: "123456", + }, + resultsUpdateUrl: "https://exmaple.com/integrations/results/update", + }, + xAccountId: "", + }); + + // Handle the result + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { StackOneCore } from "@stackone/stackone-client-ts/core.js"; +import { atsOrderAssessmentsRequest } from "@stackone/stackone-client-ts/funcs/atsOrderAssessmentsRequest.js"; +import { AtsCreateCandidatesAssessmentsRequestDtoValue } from "@stackone/stackone-client-ts/sdk/models/shared"; + +// Use `StackOneCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const stackOne = new StackOneCore({ + security: { + password: "", + username: "", + }, +}); + +async function run() { + const res = await atsOrderAssessmentsRequest(stackOne, { + atsCreateCandidatesAssessmentsRequestDto: { + application: { + applicationStatus: { + sourceValue: "Hired", + value: AtsCreateCandidatesAssessmentsRequestDtoValue.Hired, + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "other_known_names": "John Doe", + }, + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + candidate: { + emails: [ + { + type: "personal", + value: "sestier.romain123@gmail.com", + }, + ], + firstName: "Romain", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + lastName: "Sestier", + passthrough: { + "other_known_names": "John Doe", + }, + profileUrl: "https://exmaple.com/candidate?id=xyz", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + job: { + hiringTeam: [ + { + email: "john.doe@gmail.com", + firstName: "John", + lastName: "Doe", + remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + role: "Software Engineer", + userId: "123456", + }, + ], + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "other_known_names": "John Doe", + }, + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + title: "Software Engineer", + }, + package: { + description: "Skills test to gauge a candidate's proficiency in job-specific skills", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Test 1", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + passthrough: { + "other_known_names": "John Doe", + }, + requester: { + email: "john.doe@gmail.com", + firstName: "John", + lastName: "Doe", + remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + role: "Software Engineer", + userId: "123456", + }, + resultsUpdateUrl: "https://exmaple.com/integrations/results/update", + }, + xAccountId: "", + }); + + if (!res.ok) { + throw res.error; + } + + const { value: result } = res; + + // Handle the result + console.log(result); +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.AtsOrderAssessmentsRequestRequest](../../sdk/models/operations/atsorderassessmentsrequestrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `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. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[operations.AtsOrderAssessmentsRequestResponse](../../sdk/models/operations/atsorderassessmentsrequestresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4XX, 5XX | \*/\* | + +## orderBackgroundCheckRequest + +Order Background Check Request + +### Example Usage + +```typescript +import { StackOne } from "@stackone/stackone-client-ts"; +import { AtsCreateBackgroundCheckOrderRequestDtoValue } from "@stackone/stackone-client-ts/sdk/models/shared"; + +const stackOne = new StackOne({ + security: { + password: "", + username: "", + }, +}); + +async function run() { + const result = await stackOne.ats.orderBackgroundCheckRequest({ + atsCreateBackgroundCheckOrderRequestDto: { + application: { + applicationStatus: { + sourceValue: "Hired", + value: AtsCreateBackgroundCheckOrderRequestDtoValue.Hired, + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "other_known_names": "John Doe", + }, + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + candidate: { + emails: [ + { + type: "personal", + value: "sestier.romain123@gmail.com", + }, + { + type: "personal", + value: "sestier.romain123@gmail.com", + }, + { + type: "personal", + value: "sestier.romain123@gmail.com", + }, + ], + firstName: "Romain", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + lastName: "Sestier", + passthrough: { + "other_known_names": "John Doe", + }, + profileUrl: "https://exmaple.com/candidate?id=xyz", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + job: { + hiringTeam: [ + { + email: "john.doe@gmail.com", + firstName: "John", + lastName: "Doe", + remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + role: "Software Engineer", + userId: "123456", + }, + ], + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "other_known_names": "John Doe", + }, + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + title: "Software Engineer", + }, + package: { + description: "Skills test to gauge a candidate's proficiency in job-specific skills", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Test 1", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + tests: [ + { + description: "Skills test to gauge a candidate's proficiency in job-specific skills", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Test 1", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + { + description: "Skills test to gauge a candidate's proficiency in job-specific skills", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Test 1", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + { + description: "Skills test to gauge a candidate's proficiency in job-specific skills", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Test 1", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + ], + }, + passthrough: { + "other_known_names": "John Doe", + }, + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + requester: { + email: "john.doe@gmail.com", + firstName: "John", + lastName: "Doe", + remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + role: "Software Engineer", + userId: "123456", + }, + resultsUpdateUrl: "https://exmaple.com/integrations/results/update", + }, + xAccountId: "", + }); + + // Handle the result + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { StackOneCore } from "@stackone/stackone-client-ts/core.js"; +import { atsOrderBackgroundCheckRequest } from "@stackone/stackone-client-ts/funcs/atsOrderBackgroundCheckRequest.js"; +import { AtsCreateBackgroundCheckOrderRequestDtoValue } from "@stackone/stackone-client-ts/sdk/models/shared"; + +// Use `StackOneCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const stackOne = new StackOneCore({ + security: { + password: "", + username: "", + }, +}); + +async function run() { + const res = await atsOrderBackgroundCheckRequest(stackOne, { + atsCreateBackgroundCheckOrderRequestDto: { + application: { + applicationStatus: { + sourceValue: "Hired", + value: AtsCreateBackgroundCheckOrderRequestDtoValue.Hired, + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "other_known_names": "John Doe", + }, + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + candidate: { + emails: [ + { + type: "personal", + value: "sestier.romain123@gmail.com", + }, + { + type: "personal", + value: "sestier.romain123@gmail.com", + }, + { + type: "personal", + value: "sestier.romain123@gmail.com", + }, + ], + firstName: "Romain", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + lastName: "Sestier", + passthrough: { + "other_known_names": "John Doe", + }, + profileUrl: "https://exmaple.com/candidate?id=xyz", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + job: { + hiringTeam: [ + { + email: "john.doe@gmail.com", + firstName: "John", + lastName: "Doe", + remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + role: "Software Engineer", + userId: "123456", + }, + ], + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + passthrough: { + "other_known_names": "John Doe", + }, + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + title: "Software Engineer", + }, + package: { + description: "Skills test to gauge a candidate's proficiency in job-specific skills", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Test 1", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + tests: [ + { + description: "Skills test to gauge a candidate's proficiency in job-specific skills", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Test 1", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + { + description: "Skills test to gauge a candidate's proficiency in job-specific skills", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Test 1", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + { + description: "Skills test to gauge a candidate's proficiency in job-specific skills", + id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + name: "Test 1", + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + }, + ], + }, + passthrough: { + "other_known_names": "John Doe", + }, + remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", + requester: { + email: "john.doe@gmail.com", + firstName: "John", + lastName: "Doe", + remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", + role: "Software Engineer", + userId: "123456", + }, + resultsUpdateUrl: "https://exmaple.com/integrations/results/update", + }, + xAccountId: "", + }); + + if (!res.ok) { + throw res.error; + } + + const { value: result } = res; + + // Handle the result + console.log(result); +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.AtsOrderBackgroundCheckRequestRequest](../../sdk/models/operations/atsorderbackgroundcheckrequestrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `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. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[operations.AtsOrderBackgroundCheckRequestResponse](../../sdk/models/operations/atsorderbackgroundcheckrequestresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4XX, 5XX | \*/\* | + ## rejectApplication Reject Application diff --git a/docs/sdks/connectsessions/README.md b/docs/sdks/connectsessions/README.md index 345d81dca..3ae1c0040 100644 --- a/docs/sdks/connectsessions/README.md +++ b/docs/sdks/connectsessions/README.md @@ -120,8 +120,6 @@ async function run() { ConnectSessionCreateCategories.Ats, ConnectSessionCreateCategories.Documents, ], - expiresIn: 1800, - multiple: false, originOwnerId: "", originOwnerName: "", }); @@ -164,8 +162,6 @@ async function run() { ConnectSessionCreateCategories.Ats, ConnectSessionCreateCategories.Documents, ], - expiresIn: 1800, - multiple: false, originOwnerId: "", originOwnerName: "", }); diff --git a/docs/sdks/crm/README.md b/docs/sdks/crm/README.md index 2adc0d43b..e6a348566 100644 --- a/docs/sdks/crm/README.md +++ b/docs/sdks/crm/README.md @@ -214,7 +214,6 @@ async function run() { const result = await stackOne.crm.getAccount({ fields: "id,remote_id,owner_id,remote_owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at", id: "", - raw: false, xAccountId: "", }); @@ -246,7 +245,6 @@ async function run() { const res = await crmGetAccount(stackOne, { fields: "id,remote_id,owner_id,remote_owner_id,name,description,industries,annual_revenue,website,addresses,phone_numbers,created_at,updated_at", id: "", - raw: false, xAccountId: "", }); @@ -303,7 +301,6 @@ async function run() { fields: "id,remote_id,first_name,last_name,company_name,emails,phone_numbers,deal_ids,remote_deal_ids,account_ids,remote_account_ids,custom_fields,created_at,updated_at", id: "", include: "custom_fields", - raw: false, xAccountId: "", }); @@ -336,7 +333,6 @@ async function run() { fields: "id,remote_id,first_name,last_name,company_name,emails,phone_numbers,deal_ids,remote_deal_ids,account_ids,remote_account_ids,custom_fields,created_at,updated_at", id: "", include: "custom_fields", - raw: false, xAccountId: "", }); @@ -395,8 +391,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -432,8 +426,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -490,7 +482,6 @@ async function run() { const result = await stackOne.crm.getList({ fields: "id,remote_id,name,created_at,updated_at,items,type", id: "", - raw: false, xAccountId: "", }); @@ -522,7 +513,6 @@ async function run() { const res = await crmGetList(stackOne, { fields: "id,remote_id,name,created_at,updated_at,items,type", id: "", - raw: false, xAccountId: "", }); @@ -580,8 +570,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -616,8 +604,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -676,8 +662,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -712,8 +696,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -773,8 +755,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, include: "custom_fields", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -810,8 +790,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, include: "custom_fields", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -870,8 +848,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -906,8 +882,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); diff --git a/docs/sdks/hris/README.md b/docs/sdks/hris/README.md index b47d2a16b..7b7c4a97f 100644 --- a/docs/sdks/hris/README.md +++ b/docs/sdks/hris/README.md @@ -27,6 +27,7 @@ * [getGroup](#getgroup) - Get Group * [getJob](#getjob) - Get Job * [getLocation](#getlocation) - Get Location +* [getTimeEntries](#gettimeentries) - Get Time Entry * [getTimeOffRequest](#gettimeoffrequest) - Get time off request * [getTimeOffType](#gettimeofftype) - Get time off type * [listBenefits](#listbenefits) - List benefits @@ -44,6 +45,7 @@ * [listGroups](#listgroups) - List Groups * [listJobs](#listjobs) - List Jobs * [listLocations](#listlocations) - List locations +* [listTimeEntries](#listtimeentries) - List Time Entries * [listTimeOffRequests](#listtimeoffrequests) - List time off requests * [listTimeOffTypes](#listtimeofftypes) - List time off types * [updateEmployee](#updateemployee) - Updates an employee @@ -1142,7 +1144,6 @@ async function run() { const result = await stackOne.hris.getBenefit({ fields: "id,remote_id,name,benefit_type,provider,description,created_at,updated_at", id: "", - raw: false, xAccountId: "", }); @@ -1174,7 +1175,6 @@ async function run() { const res = await hrisGetBenefit(stackOne, { fields: "id,remote_id,name,benefit_type,provider,description,created_at,updated_at", id: "", - raw: false, xAccountId: "", }); @@ -1230,7 +1230,6 @@ async function run() { const result = await stackOne.hris.getCompany({ fields: "id,remote_id,name,full_name,display_name,created_at,updated_at", id: "", - raw: false, xAccountId: "", }); @@ -1262,7 +1261,6 @@ async function run() { const res = await hrisGetCompany(stackOne, { fields: "id,remote_id,name,full_name,display_name,created_at,updated_at", id: "", - raw: false, xAccountId: "", }); @@ -1318,7 +1316,6 @@ async function run() { const result = await stackOne.hris.getCostCenterGroup({ fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids", id: "", - raw: false, xAccountId: "", }); @@ -1350,7 +1347,6 @@ async function run() { const res = await hrisGetCostCenterGroup(stackOne, { fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids", id: "", - raw: false, xAccountId: "", }); @@ -1406,7 +1402,6 @@ async function run() { const result = await stackOne.hris.getDepartmentGroup({ fields: "id,remote_id,name", id: "", - raw: false, xAccountId: "", }); @@ -1438,7 +1433,6 @@ async function run() { const res = await hrisGetDepartmentGroup(stackOne, { fields: "id,remote_id,name", id: "", - raw: false, xAccountId: "", }); @@ -1496,7 +1490,6 @@ async function run() { fields: "id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,benefits,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number", id: "", include: "avatar_url,avatar,custom_fields,job_description,benefits", - raw: false, xAccountId: "", }); @@ -1530,7 +1523,6 @@ async function run() { fields: "id,remote_id,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,benefits,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,preferred_language,citizenships,home_location,work_location,employments,custom_fields,documents,created_at,updated_at,employee_number,national_identity_number", id: "", include: "avatar_url,avatar,custom_fields,job_description,benefits", - raw: false, xAccountId: "", }); @@ -1589,8 +1581,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -1626,8 +1616,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -1684,7 +1672,6 @@ async function run() { const result = await stackOne.hris.getEmployeeDocument({ fields: "id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format", id: "", - raw: false, subResourceId: "", xAccountId: "", }); @@ -1717,7 +1704,6 @@ async function run() { const res = await hrisGetEmployeeDocument(stackOne, { fields: "id,remote_id,name,path,type,category,category_id,remote_category_id,contents,created_at,updated_at,remote_url,file_format", id: "", - raw: false, subResourceId: "", xAccountId: "", }); @@ -1774,7 +1760,6 @@ async function run() { const result = await stackOne.hris.getEmployeeDocumentCategory({ fields: "id,remote_id,name,active", id: "", - raw: false, xAccountId: "", }); @@ -1806,7 +1791,6 @@ async function run() { const res = await hrisGetEmployeeDocumentCategory(stackOne, { fields: "id,remote_id,name,active", id: "", - raw: false, xAccountId: "", }); @@ -1863,7 +1847,6 @@ async function run() { expand: "groups", fields: "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at", id: "", - raw: false, subResourceId: "", xAccountId: "", }); @@ -1897,7 +1880,6 @@ async function run() { expand: "groups", fields: "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at", id: "", - raw: false, subResourceId: "", xAccountId: "", }); @@ -1954,7 +1936,6 @@ async function run() { const result = await stackOne.hris.getEmployeesTimeOffRequest({ fields: "id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,created_at,updated_at", id: "", - raw: false, subResourceId: "", xAccountId: "", }); @@ -1987,7 +1968,6 @@ async function run() { const res = await hrisGetEmployeesTimeOffRequest(stackOne, { fields: "id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,created_at,updated_at", id: "", - raw: false, subResourceId: "", xAccountId: "", }); @@ -2044,7 +2024,6 @@ async function run() { const result = await stackOne.hris.getEmployeesWorkEligibility({ fields: "id,remote_id,type,sub_type,document,valid_from,valid_to,issued_by,number", id: "", - raw: false, subResourceId: "", xAccountId: "", }); @@ -2077,7 +2056,6 @@ async function run() { const res = await hrisGetEmployeesWorkEligibility(stackOne, { fields: "id,remote_id,type,sub_type,document,valid_from,valid_to,issued_by,number", id: "", - raw: false, subResourceId: "", xAccountId: "", }); @@ -2135,7 +2113,6 @@ async function run() { expand: "groups", fields: "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at", id: "", - raw: false, xAccountId: "", }); @@ -2168,7 +2145,6 @@ async function run() { expand: "groups", fields: "id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,time_worked,created_at,updated_at", id: "", - raw: false, xAccountId: "", }); @@ -2224,7 +2200,6 @@ async function run() { const result = await stackOne.hris.getGroup({ fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids", id: "", - raw: false, xAccountId: "", }); @@ -2256,7 +2231,6 @@ async function run() { const res = await hrisGetGroup(stackOne, { fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids", id: "", - raw: false, xAccountId: "", }); @@ -2312,7 +2286,6 @@ async function run() { const result = await stackOne.hris.getJob({ fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids", id: "", - raw: false, xAccountId: "", }); @@ -2344,7 +2317,6 @@ async function run() { const res = await hrisGetJob(stackOne, { fields: "id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids", id: "", - raw: false, xAccountId: "", }); @@ -2400,7 +2372,6 @@ async function run() { const result = await stackOne.hris.getLocation({ fields: "id,remote_id,employee_id,remote_employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at", id: "", - raw: false, xAccountId: "", }); @@ -2432,7 +2403,6 @@ async function run() { const res = await hrisGetLocation(stackOne, { fields: "id,remote_id,employee_id,remote_employee_id,name,phone_number,street_1,street_2,city,state,zip_code,country,location_type,created_at,updated_at", id: "", - raw: false, xAccountId: "", }); @@ -2468,6 +2438,92 @@ run(); | --------------- | --------------- | --------------- | | errors.SDKError | 4XX, 5XX | \*/\* | +## getTimeEntries + +Get Time Entry + +### Example Usage + +```typescript +import { StackOne } from "@stackone/stackone-client-ts"; + +const stackOne = new StackOne({ + security: { + password: "", + username: "", + }, +}); + +async function run() { + const result = await stackOne.hris.getTimeEntries({ + fields: "id,remote_id,employee_id,remote_employee_id,start_time,end_time,hours_worked,break_duration,labor_type,location,status,created_at,updated_at", + id: "", + xAccountId: "", + }); + + // Handle the result + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { StackOneCore } from "@stackone/stackone-client-ts/core.js"; +import { hrisGetTimeEntries } from "@stackone/stackone-client-ts/funcs/hrisGetTimeEntries.js"; + +// Use `StackOneCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const stackOne = new StackOneCore({ + security: { + password: "", + username: "", + }, +}); + +async function run() { + const res = await hrisGetTimeEntries(stackOne, { + fields: "id,remote_id,employee_id,remote_employee_id,start_time,end_time,hours_worked,break_duration,labor_type,location,status,created_at,updated_at", + id: "", + xAccountId: "", + }); + + if (!res.ok) { + throw res.error; + } + + const { value: result } = res; + + // Handle the result + console.log(result); +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.HrisGetTimeEntriesRequest](../../sdk/models/operations/hrisgettimeentriesrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `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. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[operations.HrisGetTimeEntriesResponse](../../sdk/models/operations/hrisgettimeentriesresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4XX, 5XX | \*/\* | + ## getTimeOffRequest Get time off request @@ -2488,7 +2544,6 @@ async function run() { const result = await stackOne.hris.getTimeOffRequest({ fields: "id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,created_at,updated_at", id: "", - raw: false, xAccountId: "", }); @@ -2520,7 +2575,6 @@ async function run() { const res = await hrisGetTimeOffRequest(stackOne, { fields: "id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,created_at,updated_at", id: "", - raw: false, xAccountId: "", }); @@ -2576,7 +2630,6 @@ async function run() { const result = await stackOne.hris.getTimeOffType({ fields: "id,remote_id,name,active", id: "", - raw: false, xAccountId: "", }); @@ -2608,7 +2661,6 @@ async function run() { const res = await hrisGetTimeOffType(stackOne, { fields: "id,remote_id,name,active", id: "", - raw: false, xAccountId: "", }); @@ -2666,8 +2718,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -2702,8 +2752,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -2762,8 +2810,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -2798,8 +2844,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -2858,8 +2902,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -2894,8 +2936,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -2954,8 +2994,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -2990,8 +3028,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3050,8 +3086,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3086,8 +3120,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3146,8 +3178,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3182,8 +3212,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3243,8 +3271,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3280,8 +3306,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3342,8 +3366,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3380,8 +3402,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3441,8 +3461,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3478,8 +3496,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3539,8 +3555,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3576,8 +3590,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3638,8 +3650,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, include: "avatar_url,avatar,custom_fields,job_description,benefits", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3678,8 +3688,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, include: "avatar_url,avatar,custom_fields,job_description,benefits", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3741,8 +3749,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3778,8 +3784,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3838,8 +3842,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3874,8 +3876,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3934,8 +3934,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -3970,8 +3968,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4030,8 +4026,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4066,8 +4060,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4104,6 +4096,102 @@ run(); | --------------- | --------------- | --------------- | | errors.SDKError | 4XX, 5XX | \*/\* | +## listTimeEntries + +List Time Entries + +### Example Usage + +```typescript +import { StackOne } from "@stackone/stackone-client-ts"; + +const stackOne = new StackOne({ + security: { + password: "", + username: "", + }, +}); + +async function run() { + const result = await stackOne.hris.listTimeEntries({ + fields: "id,remote_id,employee_id,remote_employee_id,start_time,end_time,hours_worked,break_duration,labor_type,location,status,created_at,updated_at", + filter: { + endTime: "2020-01-01T00:00:00.000Z", + startTime: "2020-01-01T00:00:00.000Z", + updatedAfter: "2020-01-01T00:00:00.000Z", + }, + updatedAfter: "2020-01-01T00:00:00.000Z", + xAccountId: "", + }); + + // Handle the result + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { StackOneCore } from "@stackone/stackone-client-ts/core.js"; +import { hrisListTimeEntries } from "@stackone/stackone-client-ts/funcs/hrisListTimeEntries.js"; + +// Use `StackOneCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const stackOne = new StackOneCore({ + security: { + password: "", + username: "", + }, +}); + +async function run() { + const res = await hrisListTimeEntries(stackOne, { + fields: "id,remote_id,employee_id,remote_employee_id,start_time,end_time,hours_worked,break_duration,labor_type,location,status,created_at,updated_at", + filter: { + endTime: "2020-01-01T00:00:00.000Z", + startTime: "2020-01-01T00:00:00.000Z", + updatedAfter: "2020-01-01T00:00:00.000Z", + }, + updatedAfter: "2020-01-01T00:00:00.000Z", + xAccountId: "", + }); + + if (!res.ok) { + throw res.error; + } + + const { value: result } = res; + + // Handle the result + console.log(result); +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.HrisListTimeEntriesRequest](../../sdk/models/operations/hrislisttimeentriesrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `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. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[operations.HrisListTimeEntriesResponse](../../sdk/models/operations/hrislisttimeentriesresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4XX, 5XX | \*/\* | + ## listTimeOffRequests List time off requests @@ -4126,8 +4214,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4162,8 +4248,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4222,8 +4306,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4258,8 +4340,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -4358,21 +4438,6 @@ async function run() { departmentId: "3093", displayName: "Sir Issac Newton", employeeNumber: "125", - employments: [ - { - effectiveDate: new Date("2021-01-01T01:01:01.000Z"), - employeeId: "1687-3", - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - jobTitle: "Software Engineer", - payCurrency: "USD", - payRate: "40.00", - timeWorked: "P0Y0M0DT8H0M0S", - unifiedCustomFields: { - "my_project_custom_field_1": "REF-1236", - "my_project_custom_field_2": "some other value", - }, - }, - ], firstName: "Issac", hireDate: new Date("2021-01-01T00:00.000Z"), homeLocation: { @@ -4505,21 +4570,6 @@ async function run() { departmentId: "3093", displayName: "Sir Issac Newton", employeeNumber: "125", - employments: [ - { - effectiveDate: new Date("2021-01-01T01:01:01.000Z"), - employeeId: "1687-3", - id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3", - jobTitle: "Software Engineer", - payCurrency: "USD", - payRate: "40.00", - timeWorked: "P0Y0M0DT8H0M0S", - unifiedCustomFields: { - "my_project_custom_field_1": "REF-1236", - "my_project_custom_field_2": "some other value", - }, - }, - ], firstName: "Issac", hireDate: new Date("2021-01-01T00:00.000Z"), homeLocation: { diff --git a/docs/sdks/iam/README.md b/docs/sdks/iam/README.md index 060ce82a1..4c90f111a 100644 --- a/docs/sdks/iam/README.md +++ b/docs/sdks/iam/README.md @@ -35,7 +35,6 @@ async function run() { expand: "roles", fields: "id,remote_id,parent_id,remote_parent_id,name,description,roles,type,created_at,updated_at", id: "", - raw: false, xAccountId: "", }); @@ -68,7 +67,6 @@ async function run() { expand: "roles", fields: "id,remote_id,parent_id,remote_parent_id,name,description,roles,type,created_at,updated_at", id: "", - raw: false, xAccountId: "", }); @@ -125,7 +123,6 @@ async function run() { expand: "permissions", fields: "id,remote_id,name,permissions,description,created_at,updated_at", id: "", - raw: false, xAccountId: "", }); @@ -158,7 +155,6 @@ async function run() { expand: "permissions", fields: "id,remote_id,name,permissions,description,created_at,updated_at", id: "", - raw: false, xAccountId: "", }); @@ -215,7 +211,6 @@ async function run() { expand: "policies", fields: "id,remote_id,name,type,policies,description,created_at,updated_at", id: "", - raw: false, xAccountId: "", }); @@ -248,7 +243,6 @@ async function run() { expand: "policies", fields: "id,remote_id,name,type,policies,description,created_at,updated_at", id: "", - raw: false, xAccountId: "", }); @@ -305,7 +299,6 @@ async function run() { expand: "roles,groups", fields: "id,remote_id,first_name,last_name,name,primary_email_address,username,roles,groups,status,avatar,is_bot_user,last_active_at,last_login_at,created_at,updated_at,multi_factor_enabled", id: "", - raw: false, xAccountId: "", }); @@ -338,7 +331,6 @@ async function run() { expand: "roles,groups", fields: "id,remote_id,first_name,last_name,name,primary_email_address,username,roles,groups,status,avatar,is_bot_user,last_active_at,last_login_at,created_at,updated_at,multi_factor_enabled", id: "", - raw: false, xAccountId: "", }); @@ -397,8 +389,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -434,8 +424,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -495,8 +483,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -532,8 +518,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -593,8 +577,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -630,8 +612,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -691,8 +671,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -728,8 +706,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); diff --git a/docs/sdks/lms/README.md b/docs/sdks/lms/README.md index 251153ce0..a0e7090a3 100644 --- a/docs/sdks/lms/README.md +++ b/docs/sdks/lms/README.md @@ -1229,7 +1229,6 @@ const stackOne = new StackOne({ async function run() { const result = await stackOne.lms.getAssignment({ id: "", - raw: false, xAccountId: "", }); @@ -1260,7 +1259,6 @@ const stackOne = new StackOneCore({ async function run() { const res = await lmsGetAssignment(stackOne, { id: "", - raw: false, xAccountId: "", }); @@ -1316,7 +1314,6 @@ async function run() { const result = await stackOne.lms.getCategory({ fields: "id,remote_id,name,active,level,language", id: "", - raw: false, xAccountId: "", }); @@ -1348,7 +1345,6 @@ async function run() { const res = await lmsGetCategory(stackOne, { fields: "id,remote_id,name,active,level,language", id: "", - raw: false, xAccountId: "", }); @@ -1403,7 +1399,6 @@ const stackOne = new StackOne({ async function run() { const result = await stackOne.lms.getCompletion({ id: "", - raw: false, xAccountId: "", }); @@ -1434,7 +1429,6 @@ const stackOne = new StackOneCore({ async function run() { const res = await lmsGetCompletion(stackOne, { id: "", - raw: false, xAccountId: "", }); @@ -1490,7 +1484,6 @@ async function run() { const result = await stackOne.lms.getContent({ fields: "id,remote_id,external_reference,course_ids,remote_course_ids,title,description,short_description,languages,content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider", id: "", - raw: false, xAccountId: "", }); @@ -1522,7 +1515,6 @@ async function run() { const res = await lmsGetContent(stackOne, { fields: "id,remote_id,external_reference,course_ids,remote_course_ids,title,description,short_description,languages,content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider", id: "", - raw: false, xAccountId: "", }); @@ -1578,7 +1570,6 @@ async function run() { const result = await stackOne.lms.getCourse({ fields: "id,remote_id,external_reference,content_ids,remote_content_ids,title,description,languages,cover_url,url,active,duration,categories,skills,updated_at,created_at,content,provider", id: "", - raw: false, xAccountId: "", }); @@ -1610,7 +1601,6 @@ async function run() { const res = await lmsGetCourse(stackOne, { fields: "id,remote_id,external_reference,content_ids,remote_content_ids,title,description,languages,cover_url,url,active,duration,categories,skills,updated_at,created_at,content,provider", id: "", - raw: false, xAccountId: "", }); @@ -1666,7 +1656,6 @@ async function run() { const result = await stackOne.lms.getSkill({ fields: "id,remote_id,name,active,level", id: "", - raw: false, xAccountId: "", }); @@ -1698,7 +1687,6 @@ async function run() { const res = await lmsGetSkill(stackOne, { fields: "id,remote_id,name,active,level", id: "", - raw: false, xAccountId: "", }); @@ -1754,7 +1742,6 @@ async function run() { const result = await stackOne.lms.getUser({ fields: "id,remote_id,external_reference,active,email,phone_number,created_at,updated_at,name", id: "", - raw: false, xAccountId: "", }); @@ -1786,7 +1773,6 @@ async function run() { const res = await lmsGetUser(stackOne, { fields: "id,remote_id,external_reference,active,email,phone_number,created_at,updated_at,name", id: "", - raw: false, xAccountId: "", }); @@ -1841,7 +1827,6 @@ const stackOne = new StackOne({ async function run() { const result = await stackOne.lms.getUserAssignment({ id: "", - raw: false, subResourceId: "", xAccountId: "", }); @@ -1873,7 +1858,6 @@ const stackOne = new StackOneCore({ async function run() { const res = await lmsGetUserAssignment(stackOne, { id: "", - raw: false, subResourceId: "", xAccountId: "", }); @@ -1929,7 +1913,6 @@ const stackOne = new StackOne({ async function run() { const result = await stackOne.lms.getUserCompletion({ id: "", - raw: false, subResourceId: "", xAccountId: "", }); @@ -1961,7 +1944,6 @@ const stackOne = new StackOneCore({ async function run() { const res = await lmsGetUserCompletion(stackOne, { id: "", - raw: false, subResourceId: "", xAccountId: "", }); @@ -2020,8 +2002,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", updatedAfter: "2020-01-01T00:00:00.000Z", userId: "c28xyrc55866bvuv", @@ -2058,8 +2038,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", updatedAfter: "2020-01-01T00:00:00.000Z", userId: "c28xyrc55866bvuv", @@ -2120,8 +2098,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -2156,8 +2132,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -2216,8 +2190,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -2252,8 +2224,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -2312,8 +2282,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -2348,8 +2316,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -2408,8 +2374,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -2444,8 +2408,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -2504,8 +2466,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -2540,8 +2500,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -2601,8 +2559,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", updatedAfter: "2020-01-01T00:00:00.000Z", userId: "c28xyrc55866bvuv", @@ -2640,8 +2596,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, remoteUserId: "e3cb75bf-aa84-466e-a6c1-b8322b257a48", updatedAfter: "2020-01-01T00:00:00.000Z", userId: "c28xyrc55866bvuv", @@ -2703,8 +2657,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -2740,8 +2692,6 @@ async function run() { updatedAfter: "2020-01-01T00:00:00.000Z", }, id: "", - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -2800,8 +2750,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -2836,8 +2784,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); diff --git a/docs/sdks/marketing/README.md b/docs/sdks/marketing/README.md index a429dbab6..b732d892c 100644 --- a/docs/sdks/marketing/README.md +++ b/docs/sdks/marketing/README.md @@ -832,7 +832,6 @@ async function run() { const result = await stackOne.marketing.getCampaign({ fields: "id,remote_id,name,created_at,updated_at,description,schedule_type,status,channels,first_sent_at,last_sent_at,tags,messages", id: "", - raw: false, xAccountId: "", }); @@ -864,7 +863,6 @@ async function run() { const res = await marketingGetCampaign(stackOne, { fields: "id,remote_id,name,created_at,updated_at,description,schedule_type,status,channels,first_sent_at,last_sent_at,tags,messages", id: "", - raw: false, xAccountId: "", }); @@ -920,7 +918,6 @@ async function run() { const result = await stackOne.marketing.getContentBlock({ fields: "id,remote_id,name,type,content,status,tags,created_at,updated_at", id: "", - raw: false, xAccountId: "", }); @@ -952,7 +949,6 @@ async function run() { const res = await marketingGetContentBlock(stackOne, { fields: "id,remote_id,name,type,content,status,tags,created_at,updated_at", id: "", - raw: false, xAccountId: "", }); @@ -1008,7 +1004,6 @@ async function run() { const result = await stackOne.marketing.getEmailTemplate({ fields: "id,remote_id,name,messages,created_at,updated_at,tags", id: "", - raw: false, xAccountId: "", }); @@ -1040,7 +1035,6 @@ async function run() { const res = await marketingGetEmailTemplate(stackOne, { fields: "id,remote_id,name,messages,created_at,updated_at,tags", id: "", - raw: false, xAccountId: "", }); @@ -1096,7 +1090,6 @@ async function run() { const result = await stackOne.marketing.getInAppTemplate({ fields: "id,remote_id,name,messages,created_at,updated_at,tags", id: "", - raw: false, xAccountId: "", }); @@ -1128,7 +1121,6 @@ async function run() { const res = await marketingGetInAppTemplate(stackOne, { fields: "id,remote_id,name,messages,created_at,updated_at,tags", id: "", - raw: false, xAccountId: "", }); @@ -1186,7 +1178,6 @@ async function run() { const result = await stackOne.marketing.getOmniChannelTemplate({ fields: "id,remote_id,name,messages,created_at,updated_at,tags", id: "", - raw: false, xAccountId: "", }); @@ -1218,7 +1209,6 @@ async function run() { const res = await marketingGetOmniChannelTemplate(stackOne, { fields: "id,remote_id,name,messages,created_at,updated_at,tags", id: "", - raw: false, xAccountId: "", }); @@ -1274,7 +1264,6 @@ async function run() { const result = await stackOne.marketing.getPushTemplate({ fields: "id,remote_id,name,messages,created_at,updated_at,tags", id: "", - raw: false, xAccountId: "", }); @@ -1306,7 +1295,6 @@ async function run() { const res = await marketingGetPushTemplate(stackOne, { fields: "id,remote_id,name,messages,created_at,updated_at,tags", id: "", - raw: false, xAccountId: "", }); @@ -1362,7 +1350,6 @@ async function run() { const result = await stackOne.marketing.getSmsTemplate({ fields: "id,remote_id,name,messages,created_at,updated_at,tags", id: "", - raw: false, xAccountId: "", }); @@ -1394,7 +1381,6 @@ async function run() { const res = await marketingGetSmsTemplate(stackOne, { fields: "id,remote_id,name,messages,created_at,updated_at,tags", id: "", - raw: false, xAccountId: "", }); @@ -1452,8 +1438,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -1488,8 +1472,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -1548,8 +1530,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -1584,8 +1564,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -1644,8 +1622,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -1680,8 +1656,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -1740,8 +1714,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -1776,8 +1748,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -1838,8 +1808,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -1874,8 +1842,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -1934,8 +1900,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -1970,8 +1934,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -2030,8 +1992,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); @@ -2066,8 +2026,6 @@ async function run() { filter: { updatedAfter: "2020-01-01T00:00:00.000Z", }, - pageSize: "25", - raw: false, updatedAfter: "2020-01-01T00:00:00.000Z", xAccountId: "", }); diff --git a/docs/sdks/proxy/README.md b/docs/sdks/proxy/README.md index e1fc0f7ab..1b4c61c61 100644 --- a/docs/sdks/proxy/README.md +++ b/docs/sdks/proxy/README.md @@ -15,7 +15,6 @@ Proxy Request ```typescript import { StackOne } from "@stackone/stackone-client-ts"; -import { Method } from "@stackone/stackone-client-ts/sdk/models/shared"; const stackOne = new StackOne({ security: { @@ -30,7 +29,6 @@ async function run() { headers: { "Content-Type": "application/json", }, - method: Method.Get, path: "/employees/directory", url: "https://api.sample-integration.com/v1", }, @@ -51,7 +49,6 @@ The standalone function version of this method: ```typescript import { StackOneCore } from "@stackone/stackone-client-ts/core.js"; import { proxyProxyRequest } from "@stackone/stackone-client-ts/funcs/proxyProxyRequest.js"; -import { Method } from "@stackone/stackone-client-ts/sdk/models/shared"; // Use `StackOneCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -68,7 +65,6 @@ async function run() { headers: { "Content-Type": "application/json", }, - method: Method.Get, path: "/employees/directory", url: "https://api.sample-integration.com/v1", }, diff --git a/docs/sdks/webhooks/README.md b/docs/sdks/webhooks/README.md deleted file mode 100644 index cb4fe4241..000000000 --- a/docs/sdks/webhooks/README.md +++ /dev/null @@ -1,102 +0,0 @@ -# Webhooks -(*webhooks*) - -## Overview - -### Available Operations - -* [create](#create) - -## create - -### Example Usage - -```typescript -import { StackOne } from "@stackone/stackone-client-ts"; - -const stackOne = new StackOne({ - security: { - password: "", - username: "", - }, -}); - -async function run() { - const result = await stackOne.webhooks.create({ - requestBody: [ - { - event: "hris_employees.created", - recordId: "", - }, - ], - id: 6384.24, - xAccountId: "", - }); - - // Handle the result - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { StackOneCore } from "@stackone/stackone-client-ts/core.js"; -import { webhooksCreate } from "@stackone/stackone-client-ts/funcs/webhooksCreate.js"; - -// Use `StackOneCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const stackOne = new StackOneCore({ - security: { - password: "", - username: "", - }, -}); - -async function run() { - const res = await webhooksCreate(stackOne, { - requestBody: [ - { - event: "hris_employees.created", - recordId: "", - }, - ], - id: 6384.24, - xAccountId: "", - }); - - if (!res.ok) { - throw res.error; - } - - const { value: result } = res; - - // Handle the result - console.log(result); -} - -run(); -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.CreateRequest](../../sdk/models/operations/createrequest.md) | :heavy_check_mark: | The request object to use for the request. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `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. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[operations.CreateResponse](../../sdk/models/operations/createresponse.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| --------------- | --------------- | --------------- | -| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 000000000..3483f71ba --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,21 @@ +import globals from "globals"; +import pluginJs from "@eslint/js"; +import tseslint from "typescript-eslint"; + +/** @type {import('eslint').Linter.Config[]} */ +export default [ + { files: ["**/*.{js,mjs,cjs,ts}"] }, + { languageOptions: { globals: globals.browser } }, + pluginJs.configs.recommended, + ...tseslint.configs.recommended, + { + rules: { + "no-constant-condition": "off", + // Handled by typescript compiler + "@typescript-eslint/no-unused-vars": "off", + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-empty-object-type": "off", + "@typescript-eslint/no-namespace": "off", + }, + }, +]; diff --git a/gen.yaml b/gen.yaml index 787f72147..a088e7edd 100644 --- a/gen.yaml +++ b/gen.yaml @@ -11,7 +11,7 @@ generation: oAuth2ClientCredentialsEnabled: false oAuth2PasswordEnabled: false typescript: - version: 4.17.11 + version: 4.17.12 additionalDependencies: dependencies: {} devDependencies: {} diff --git a/jsr.json b/jsr.json index a83a0cfdd..45ece14e0 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "@stackone/stackone-client-ts", - "version": "4.17.11", + "version": "4.17.12", "exports": { ".": "./src/index.ts", "./sdk/models/errors": "./src/sdk/models/errors/index.ts", diff --git a/package-lock.json b/package-lock.json index c7e92815d..35e8c2520 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,19 +1,18 @@ { "name": "@stackone/stackone-client-ts", - "version": "4.17.11", + "version": "4.17.12", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@stackone/stackone-client-ts", - "version": "4.17.11", + "version": "4.17.12", "devDependencies": { - "@typescript-eslint/eslint-plugin": "^7.7.1", - "@typescript-eslint/parser": "^7.7.1", - "eslint": "^8.57.0", - "eslint-import-resolver-typescript": "^3.6.1", - "eslint-plugin-import": "^2.29.1", + "@eslint/js": "^9.19.0", + "eslint": "^9.19.0", + "globals": "^15.14.0", "typescript": "^5.4.5", + "typescript-eslint": "^8.22.0", "zod": "^3.23.4" }, "peerDependencies": { @@ -45,24 +44,78 @@ } }, "node_modules/@eslint-community/regexpp": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz", - "integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==", + "version": "4.12.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz", + "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==", "dev": true, + "license": "MIT", "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" } }, + "node_modules/@eslint/config-array": { + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.19.1.tgz", + "integrity": "sha512-fo6Mtm5mWyKjA/Chy1BYTdn5mGJoDNjC7C64ug20ADsRDGrA85bN3uK3MaKbeRkRuuIEAR5N33Jr1pbm411/PA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/object-schema": "^2.1.5", + "debug": "^4.3.1", + "minimatch": "^3.1.2" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/config-array/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/@eslint/config-array/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/@eslint/core": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.10.0.tgz", + "integrity": "sha512-gFHJ+xBOo4G3WRlR1e/3G8A6/KZAH6zcE/hkLRCZTi/B9avAG365QhFA8uOGzTMqgTghpn7/fSnscW++dpMSAw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.15" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, "node_modules/@eslint/eslintrc": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", - "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.2.0.tgz", + "integrity": "sha512-grOjVNN8P3hjJn/eIETF1wwd12DdnwFDoyceUJLYYdkpbwq3nLi+4fqrTAONx7XDALqlL220wC/RHSC/QTI/0w==", "dev": true, + "license": "MIT", "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", - "espree": "^9.6.0", - "globals": "^13.19.0", + "espree": "^10.0.1", + "globals": "^14.0.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", "js-yaml": "^4.1.0", @@ -70,7 +123,7 @@ "strip-json-comments": "^3.1.1" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "url": "https://opencollective.com/eslint" @@ -81,16 +134,31 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, + "node_modules/@eslint/eslintrc/node_modules/globals": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", + "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@eslint/eslintrc/node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -99,48 +167,75 @@ } }, "node_modules/@eslint/js": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", - "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", + "version": "9.19.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.19.0.tgz", + "integrity": "sha512-rbq9/g38qjfqFLOVPvwjIvFFdNziEC5S65jmjPw5r6A//QH+W91akh9irMwjDN8zKUTak6W9EsAv4m/7Wnw0UQ==", "dev": true, + "license": "MIT", "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/object-schema": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.5.tgz", + "integrity": "sha512-o0bhxnL89h5Bae5T318nFoFzGy+YE5i/gGkoPAgkmTVdRKTiv3p8JHevPiPaMwoloKfEiiaHlawCqaZMqRm+XQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, - "node_modules/@humanwhocodes/config-array": { - "version": "0.11.14", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", - "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", + "node_modules/@eslint/plugin-kit": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.5.tgz", + "integrity": "sha512-lB05FkqEdUg2AA0xEbUz0SnkXT1LcCTa438W4IWTUh4hdOnVbQyOJ81OrDXsJk/LSiJHubgGEFoR5EHq1NsH1A==", "dev": true, + "license": "Apache-2.0", "dependencies": { - "@humanwhocodes/object-schema": "^2.0.2", - "debug": "^4.3.1", - "minimatch": "^3.0.5" + "@eslint/core": "^0.10.0", + "levn": "^0.4.1" }, "engines": { - "node": ">=10.10.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, - "node_modules/@humanwhocodes/config-array/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "node_modules/@humanfs/core": { + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", + "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==", "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" + "license": "Apache-2.0", + "engines": { + "node": ">=18.18.0" } }, - "node_modules/@humanwhocodes/config-array/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "node_modules/@humanfs/node": { + "version": "0.16.6", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.6.tgz", + "integrity": "sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==", "dev": true, + "license": "Apache-2.0", "dependencies": { - "brace-expansion": "^1.1.7" + "@humanfs/core": "^0.19.1", + "@humanwhocodes/retry": "^0.3.0" }, "engines": { - "node": "*" + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node/node_modules/@humanwhocodes/retry": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz", + "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" } }, "node_modules/@humanwhocodes/module-importer": { @@ -156,11 +251,19 @@ "url": "https://github.com/sponsors/nzakas" } }, - "node_modules/@humanwhocodes/object-schema": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz", - "integrity": "sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==", - "dev": true + "node_modules/@humanwhocodes/retry": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.1.tgz", + "integrity": "sha512-c7hNEllBlenFTHBky65mhq8WD2kbN9Q6gk0bTk8lSBvc554jpXSkST1iePudpt7+A/AQvuHs9EMqjHDXMY1lrA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", @@ -197,225 +300,262 @@ "node": ">= 8" } }, + "node_modules/@types/estree": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", + "dev": true, + "license": "MIT" + }, "node_modules/@types/json-schema": { "version": "7.0.15", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", - "dev": true - }, - "node_modules/@types/json5": { - "version": "0.0.29", - "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", - "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", - "dev": true - }, - "node_modules/@types/semver": { - "version": "7.5.8", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", - "integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==", - "dev": true + "dev": true, + "license": "MIT" }, - "node_modules/@typescript-eslint/eslint-plugin": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.7.1.tgz", - "integrity": "sha512-KwfdWXJBOviaBVhxO3p5TJiLpNuh2iyXyjmWN0f1nU87pwyvfS0EmjC6ukQVYVFJd/K1+0NWGPDXiyEyQorn0Q==", + "node_modules/@typescript-eslint/type-utils": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.22.0.tgz", + "integrity": "sha512-NzE3aB62fDEaGjaAYZE4LH7I1MUwHooQ98Byq0G0y3kkibPJQIXVUspzlFOmOfHhiDLwKzMlWxaNv+/qcZurJA==", "dev": true, + "license": "MIT", "dependencies": { - "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "7.7.1", - "@typescript-eslint/type-utils": "7.7.1", - "@typescript-eslint/utils": "7.7.1", - "@typescript-eslint/visitor-keys": "7.7.1", + "@typescript-eslint/typescript-estree": "8.22.0", + "@typescript-eslint/utils": "8.22.0", "debug": "^4.3.4", - "graphemer": "^1.4.0", - "ignore": "^5.3.1", - "natural-compare": "^1.4.0", - "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^7.0.0", - "eslint": "^8.56.0" + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" + } + }, + "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.22.0.tgz", + "integrity": "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@typescript-eslint/parser": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.7.1.tgz", - "integrity": "sha512-vmPzBOOtz48F6JAGVS/kZYk4EkXao6iGrD838sp1w3NQQC0W8ry/q641KU4PrG7AKNAf56NOcR8GOpH8l9FPCw==", + "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.22.0.tgz", + "integrity": "sha512-SJX99NAS2ugGOzpyhMza/tX+zDwjvwAtQFLsBo3GQxiGcvaKlqGBkmZ+Y1IdiSi9h4Q0Lr5ey+Cp9CGWNY/F/w==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "7.7.1", - "@typescript-eslint/types": "7.7.1", - "@typescript-eslint/typescript-estree": "7.7.1", - "@typescript-eslint/visitor-keys": "7.7.1", - "debug": "^4.3.4" + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0", + "debug": "^4.3.4", + "fast-glob": "^3.3.2", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^2.0.0" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.56.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "typescript": ">=4.8.4 <5.8.0" } }, - "node_modules/@typescript-eslint/scope-manager": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.7.1.tgz", - "integrity": "sha512-PytBif2SF+9SpEUKynYn5g1RHFddJUcyynGpztX3l/ik7KmZEv19WCMhUBkHXPU9es/VWGD3/zg3wg90+Dh2rA==", + "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.22.0.tgz", + "integrity": "sha512-AWpYAXnUgvLNabGTy3uBylkgZoosva/miNd1I8Bz3SjotmQPbVqhO4Cczo8AsZ44XVErEBPr/CRSgaj8sG7g0w==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "7.7.1", - "@typescript-eslint/visitor-keys": "7.7.1" + "@typescript-eslint/types": "8.22.0", + "eslint-visitor-keys": "^4.2.0" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@typescript-eslint/type-utils": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.7.1.tgz", - "integrity": "sha512-ZksJLW3WF7o75zaBPScdW1Gbkwhd/lyeXGf1kQCxJaOeITscoSl0MjynVvCzuV5boUz/3fOI06Lz8La55mu29Q==", + "node_modules/@typescript-eslint/type-utils/node_modules/eslint-visitor-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", + "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.0.tgz", + "integrity": "sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.12" + }, + "peerDependencies": { + "typescript": ">=4.8.4" + } + }, + "node_modules/@typescript-eslint/utils": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.22.0.tgz", + "integrity": "sha512-T8oc1MbF8L+Bk2msAvCUzjxVB2Z2f+vXYfcucE2wOmYs7ZUwco5Ep0fYZw8quNwOiw9K8GYVL+Kgc2pETNTLOg==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "7.7.1", - "@typescript-eslint/utils": "7.7.1", - "debug": "^4.3.4", - "ts-api-utils": "^1.3.0" + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "8.22.0", + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/typescript-estree": "8.22.0" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.56.0" + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" + } + }, + "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/scope-manager": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.22.0.tgz", + "integrity": "sha512-/lwVV0UYgkj7wPSw0o8URy6YI64QmcOdwHuGuxWIYznO6d45ER0wXUbksr9pYdViAofpUCNJx/tAzNukgvaaiQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0" }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@typescript-eslint/types": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.7.1.tgz", - "integrity": "sha512-AmPmnGW1ZLTpWa+/2omPrPfR7BcbUU4oha5VIbSbS1a1Tv966bklvLNXxp3mrbc+P2j4MNOTfDffNsk4o0c6/w==", + "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/types": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.22.0.tgz", + "integrity": "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A==", "dev": true, + "license": "MIT", "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@typescript-eslint/typescript-estree": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.7.1.tgz", - "integrity": "sha512-CXe0JHCXru8Fa36dteXqmH2YxngKJjkQLjxzoj6LYwzZ7qZvgsLSc+eqItCrqIop8Vl2UKoAi0StVWu97FQZIQ==", + "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/typescript-estree": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.22.0.tgz", + "integrity": "sha512-SJX99NAS2ugGOzpyhMza/tX+zDwjvwAtQFLsBo3GQxiGcvaKlqGBkmZ+Y1IdiSi9h4Q0Lr5ey+Cp9CGWNY/F/w==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "7.7.1", - "@typescript-eslint/visitor-keys": "7.7.1", + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0", "debug": "^4.3.4", - "globby": "^11.1.0", + "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "peerDependencies": { + "typescript": ">=4.8.4 <5.8.0" } }, - "node_modules/@typescript-eslint/utils": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.7.1.tgz", - "integrity": "sha512-QUvBxPEaBXf41ZBbaidKICgVL8Hin0p6prQDu6bbetWo39BKbWJxRsErOzMNT1rXvTll+J7ChrbmMCXM9rsvOQ==", + "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/visitor-keys": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.22.0.tgz", + "integrity": "sha512-AWpYAXnUgvLNabGTy3uBylkgZoosva/miNd1I8Bz3SjotmQPbVqhO4Cczo8AsZ44XVErEBPr/CRSgaj8sG7g0w==", "dev": true, + "license": "MIT", "dependencies": { - "@eslint-community/eslint-utils": "^4.4.0", - "@types/json-schema": "^7.0.15", - "@types/semver": "^7.5.8", - "@typescript-eslint/scope-manager": "7.7.1", - "@typescript-eslint/types": "7.7.1", - "@typescript-eslint/typescript-estree": "7.7.1", - "semver": "^7.6.0" + "@typescript-eslint/types": "8.22.0", + "eslint-visitor-keys": "^4.2.0" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.56.0" } }, - "node_modules/@typescript-eslint/visitor-keys": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.7.1.tgz", - "integrity": "sha512-gBL3Eq25uADw1LQ9kVpf3hRM+DWzs0uZknHYK3hq4jcTPqVCClHGDnB6UUUV2SFeBeA4KWHWbbLqmbGcZ4FYbw==", + "node_modules/@typescript-eslint/utils/node_modules/eslint-visitor-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", + "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", "dev": true, - "dependencies": { - "@typescript-eslint/types": "7.7.1", - "eslint-visitor-keys": "^3.4.3" - }, + "license": "Apache-2.0", "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "url": "https://opencollective.com/eslint" } }, - "node_modules/@ungap/structured-clone": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", - "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", - "dev": true + "node_modules/@typescript-eslint/utils/node_modules/ts-api-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.0.tgz", + "integrity": "sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.12" + }, + "peerDependencies": { + "typescript": ">=4.8.4" + } }, "node_modules/acorn": { - "version": "8.11.3", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", - "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", + "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", "dev": true, + "license": "MIT", "bin": { "acorn": "bin/acorn" }, @@ -428,6 +568,7 @@ "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", "dev": true, + "license": "MIT", "peerDependencies": { "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } @@ -437,6 +578,7 @@ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -448,15 +590,6 @@ "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -476,162 +609,8 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true - }, - "node_modules/array-buffer-byte-length": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz", - "integrity": "sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.5", - "is-array-buffer": "^3.0.4" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/array-includes": { - "version": "3.1.7", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.7.tgz", - "integrity": "sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "get-intrinsic": "^1.2.1", - "is-string": "^1.0.7" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/array.prototype.filter": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/array.prototype.filter/-/array.prototype.filter-1.0.3.tgz", - "integrity": "sha512-VizNcj/RGJiUyQBgzwxzE5oHdeuXY5hSbbmKMlphj1cy1Vl7Pn2asCGbSrru6hSQjmCzqTBPVWAF/whmEOVHbw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "es-array-method-boxes-properly": "^1.0.0", - "is-string": "^1.0.7" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/array.prototype.findlastindex": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.4.tgz", - "integrity": "sha512-hzvSHUshSpCflDR1QMUBLHGHP1VIEBegT4pix9H/Z92Xw3ySoy6c2qh7lJWTJnRJ8JCZ9bJNCgTyYaJGcJu6xQ==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.5", - "define-properties": "^1.2.1", - "es-abstract": "^1.22.3", - "es-errors": "^1.3.0", - "es-shim-unscopables": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/array.prototype.flat": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz", - "integrity": "sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "es-shim-unscopables": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/array.prototype.flatmap": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz", - "integrity": "sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "es-shim-unscopables": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/arraybuffer.prototype.slice": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz", - "integrity": "sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==", - "dev": true, - "dependencies": { - "array-buffer-byte-length": "^1.0.1", - "call-bind": "^1.0.5", - "define-properties": "^1.2.1", - "es-abstract": "^1.22.3", - "es-errors": "^1.2.1", - "get-intrinsic": "^1.2.3", - "is-array-buffer": "^3.0.4", - "is-shared-array-buffer": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/available-typed-arrays": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", - "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", "dev": true, - "dependencies": { - "possible-typed-array-names": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } + "license": "Python-2.0" }, "node_modules/balanced-match": { "version": "1.0.2", @@ -660,30 +639,12 @@ "node": ">=8" } }, - "node_modules/call-bind": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", - "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", - "dev": true, - "dependencies": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "set-function-length": "^1.2.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -729,10 +690,11 @@ "dev": true }, "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, + "license": "MIT", "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -765,203 +727,10 @@ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", "dev": true }, - "node_modules/define-data-property": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", - "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", - "dev": true, - "dependencies": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "gopd": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/define-properties": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", - "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", - "dev": true, - "dependencies": { - "define-data-property": "^1.0.1", - "has-property-descriptors": "^1.0.0", - "object-keys": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "dev": true, - "dependencies": { - "path-type": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", - "dev": true, - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/enhanced-resolve": { - "version": "5.15.1", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.15.1.tgz", - "integrity": "sha512-3d3JRbwsCLJsYgvb6NuWEG44jjPSOMuS73L/6+7BZuoKm3W+qXnSoIYVHi8dG7Qcg4inAY4jbzkZ7MnskePeDg==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.2.4", - "tapable": "^2.2.0" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/es-abstract": { - "version": "1.22.5", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.5.tgz", - "integrity": "sha512-oW69R+4q2wG+Hc3KZePPZxOiisRIqfKBVo/HLx94QcJeWGU/8sZhCvc829rd1kS366vlJbzBfXf9yWwf0+Ko7w==", - "dev": true, - "dependencies": { - "array-buffer-byte-length": "^1.0.1", - "arraybuffer.prototype.slice": "^1.0.3", - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.7", - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "es-set-tostringtag": "^2.0.3", - "es-to-primitive": "^1.2.1", - "function.prototype.name": "^1.1.6", - "get-intrinsic": "^1.2.4", - "get-symbol-description": "^1.0.2", - "globalthis": "^1.0.3", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.2", - "has-proto": "^1.0.3", - "has-symbols": "^1.0.3", - "hasown": "^2.0.1", - "internal-slot": "^1.0.7", - "is-array-buffer": "^3.0.4", - "is-callable": "^1.2.7", - "is-negative-zero": "^2.0.3", - "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.3", - "is-string": "^1.0.7", - "is-typed-array": "^1.1.13", - "is-weakref": "^1.0.2", - "object-inspect": "^1.13.1", - "object-keys": "^1.1.1", - "object.assign": "^4.1.5", - "regexp.prototype.flags": "^1.5.2", - "safe-array-concat": "^1.1.0", - "safe-regex-test": "^1.0.3", - "string.prototype.trim": "^1.2.8", - "string.prototype.trimend": "^1.0.7", - "string.prototype.trimstart": "^1.0.7", - "typed-array-buffer": "^1.0.2", - "typed-array-byte-length": "^1.0.1", - "typed-array-byte-offset": "^1.0.2", - "typed-array-length": "^1.0.5", - "unbox-primitive": "^1.0.2", - "which-typed-array": "^1.1.14" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/es-array-method-boxes-properly": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-array-method-boxes-properly/-/es-array-method-boxes-properly-1.0.0.tgz", - "integrity": "sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA==", - "dev": true - }, - "node_modules/es-define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", - "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", - "dev": true, - "dependencies": { - "get-intrinsic": "^1.2.4" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-errors": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", - "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", - "dev": true, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-set-tostringtag": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz", - "integrity": "sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==", - "dev": true, - "dependencies": { - "get-intrinsic": "^1.2.4", - "has-tostringtag": "^1.0.2", - "hasown": "^2.0.1" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-shim-unscopables": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz", - "integrity": "sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==", - "dev": true, - "dependencies": { - "hasown": "^2.0.0" - } - }, - "node_modules/es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "dev": true, - "dependencies": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", "dev": true, "engines": { "node": ">=10" @@ -971,225 +740,77 @@ } }, "node_modules/eslint": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", - "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", + "version": "9.19.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.19.0.tgz", + "integrity": "sha512-ug92j0LepKlbbEv6hD911THhoRHmbdXt2gX+VDABAW/Ir7D3nqKdv5Pf5vtlyY6HQMTEP2skXY43ueqTCWssEA==", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.6.1", - "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.57.0", - "@humanwhocodes/config-array": "^0.11.14", + "@eslint-community/regexpp": "^4.12.1", + "@eslint/config-array": "^0.19.0", + "@eslint/core": "^0.10.0", + "@eslint/eslintrc": "^3.2.0", + "@eslint/js": "9.19.0", + "@eslint/plugin-kit": "^0.2.5", + "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", - "@nodelib/fs.walk": "^1.2.8", - "@ungap/structured-clone": "^1.2.0", + "@humanwhocodes/retry": "^0.4.1", + "@types/estree": "^1.0.6", + "@types/json-schema": "^7.0.15", "ajv": "^6.12.4", "chalk": "^4.0.0", - "cross-spawn": "^7.0.2", + "cross-spawn": "^7.0.6", "debug": "^4.3.2", - "doctrine": "^3.0.0", "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.2.2", - "eslint-visitor-keys": "^3.4.3", - "espree": "^9.6.1", - "esquery": "^1.4.2", + "eslint-scope": "^8.2.0", + "eslint-visitor-keys": "^4.2.0", + "espree": "^10.3.0", + "esquery": "^1.5.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", + "file-entry-cache": "^8.0.0", "find-up": "^5.0.0", "glob-parent": "^6.0.2", - "globals": "^13.19.0", - "graphemer": "^1.4.0", "ignore": "^5.2.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", - "is-path-inside": "^3.0.3", - "js-yaml": "^4.1.0", "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", "lodash.merge": "^4.6.2", "minimatch": "^3.1.2", "natural-compare": "^1.4.0", - "optionator": "^0.9.3", - "strip-ansi": "^6.0.1", - "text-table": "^0.2.0" + "optionator": "^0.9.3" }, "bin": { "eslint": "bin/eslint.js" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/eslint-import-resolver-node": { - "version": "0.3.9", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz", - "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==", - "dev": true, - "dependencies": { - "debug": "^3.2.7", - "is-core-module": "^2.13.0", - "resolve": "^1.22.4" - } - }, - "node_modules/eslint-import-resolver-node/node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/eslint-import-resolver-typescript": { - "version": "3.6.1", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.6.1.tgz", - "integrity": "sha512-xgdptdoi5W3niYeuQxKmzVDTATvLYqhpwmykwsh7f6HIOStGWEIL9iqZgQDF9u9OEzrRwR8no5q2VT+bjAujTg==", - "dev": true, - "dependencies": { - "debug": "^4.3.4", - "enhanced-resolve": "^5.12.0", - "eslint-module-utils": "^2.7.4", - "fast-glob": "^3.3.1", - "get-tsconfig": "^4.5.0", - "is-core-module": "^2.11.0", - "is-glob": "^4.0.3" - }, - "engines": { - "node": "^14.18.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { - "url": "https://opencollective.com/unts/projects/eslint-import-resolver-ts" + "url": "https://eslint.org/donate" }, "peerDependencies": { - "eslint": "*", - "eslint-plugin-import": "*" - } - }, - "node_modules/eslint-module-utils": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.8.1.tgz", - "integrity": "sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==", - "dev": true, - "dependencies": { - "debug": "^3.2.7" - }, - "engines": { - "node": ">=4" + "jiti": "*" }, "peerDependenciesMeta": { - "eslint": { + "jiti": { "optional": true } } }, - "node_modules/eslint-module-utils/node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/eslint-plugin-import": { - "version": "2.29.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz", - "integrity": "sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==", - "dev": true, - "dependencies": { - "array-includes": "^3.1.7", - "array.prototype.findlastindex": "^1.2.3", - "array.prototype.flat": "^1.3.2", - "array.prototype.flatmap": "^1.3.2", - "debug": "^3.2.7", - "doctrine": "^2.1.0", - "eslint-import-resolver-node": "^0.3.9", - "eslint-module-utils": "^2.8.0", - "hasown": "^2.0.0", - "is-core-module": "^2.13.1", - "is-glob": "^4.0.3", - "minimatch": "^3.1.2", - "object.fromentries": "^2.0.7", - "object.groupby": "^1.0.1", - "object.values": "^1.1.7", - "semver": "^6.3.1", - "tsconfig-paths": "^3.15.0" - }, - "engines": { - "node": ">=4" - }, - "peerDependencies": { - "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" - } - }, - "node_modules/eslint-plugin-import/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/eslint-plugin-import/node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/eslint-plugin-import/node_modules/doctrine": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", - "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", - "dev": true, - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/eslint-plugin-import/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/eslint-plugin-import/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, "node_modules/eslint-scope": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", - "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.2.0.tgz", + "integrity": "sha512-PHlWUfG6lvPc3yvP5A4PNyBL1W8fkDUccmI21JUu/+GKZBoH/W5u6usENXUrWFRsyoW5ACUjFGgAFQp5gUlb/A==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "url": "https://opencollective.com/eslint" @@ -1217,6 +838,19 @@ "concat-map": "0.0.1" } }, + "node_modules/eslint/node_modules/eslint-visitor-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", + "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, "node_modules/eslint/node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", @@ -1230,17 +864,31 @@ } }, "node_modules/espree": { - "version": "9.6.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", - "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.3.0.tgz", + "integrity": "sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { - "acorn": "^8.9.0", + "acorn": "^8.14.0", "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.1" + "eslint-visitor-keys": "^4.2.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/espree/node_modules/eslint-visitor-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", + "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "url": "https://opencollective.com/eslint" @@ -1263,6 +911,7 @@ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "estraverse": "^5.2.0" }, @@ -1292,7 +941,8 @@ "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fast-glob": { "version": "3.3.2", @@ -1326,7 +976,8 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fast-levenshtein": { "version": "2.0.6", @@ -1344,15 +995,16 @@ } }, "node_modules/file-entry-cache": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", "dev": true, + "license": "MIT", "dependencies": { - "flat-cache": "^3.0.4" + "flat-cache": "^4.0.0" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=16.0.0" } }, "node_modules/fill-range": { @@ -1384,484 +1036,105 @@ } }, "node_modules/flat-cache": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", - "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", "dev": true, + "license": "MIT", "dependencies": { "flatted": "^3.2.9", - "keyv": "^4.5.3", - "rimraf": "^3.0.2" + "keyv": "^4.5.4" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=16" } }, "node_modules/flatted": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", - "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", - "dev": true - }, - "node_modules/for-each": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", - "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.2.tgz", + "integrity": "sha512-AiwGJM8YcNOaobumgtng+6NHuOqC3A7MixFeDafM3X9cIUM+xUXoS5Vfgf+OihAYe20fxqNM9yPBXJzRtZ/4eA==", "dev": true, - "dependencies": { - "is-callable": "^1.1.3" - } - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true + "license": "ISC" }, - "node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" } }, - "node_modules/function.prototype.name": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", - "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", + "node_modules/globals": { + "version": "15.14.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.14.0.tgz", + "integrity": "sha512-OkToC372DtlQeje9/zHIo5CT8lRP/FUgEOKBEhU4e0abL7J7CD24fD9ohiLN5hagG/kWCYj4K5oaxxtj2Z0Dig==", "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "functions-have-names": "^1.2.3" - }, + "license": "MIT", "engines": { - "node": ">= 0.4" + "node": ">=18" }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/functions-have-names": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", - "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "node_modules/graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", + "dev": true + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "engines": { + "node": ">=8" } }, - "node_modules/get-intrinsic": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", - "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "node_modules/ignore": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", + "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", "dev": true, - "dependencies": { - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "hasown": "^2.0.0" - }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">= 4" } }, - "node_modules/get-symbol-description": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz", - "integrity": "sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==", + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", "dev": true, + "license": "MIT", "dependencies": { - "call-bind": "^1.0.5", - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.4" + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" }, "engines": { - "node": ">= 0.4" + "node": ">=6" }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/get-tsconfig": { - "version": "4.7.2", - "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.7.2.tgz", - "integrity": "sha512-wuMsz4leaj5hbGgg4IvDU0bqJagpftG5l5cXIAvo8uZrqn0NJqwtfupTN00VnkQJPcIRrxYrm1Ue24btpCha2A==", + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", "dev": true, - "dependencies": { - "resolve-pkg-maps": "^1.0.0" - }, - "funding": { - "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" + "engines": { + "node": ">=0.8.19" } }, - "node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", - "dev": true, - "dependencies": { - "is-glob": "^4.0.3" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/glob/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/glob/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/globals": { - "version": "13.24.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", - "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", - "dev": true, - "dependencies": { - "type-fest": "^0.20.2" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/globalthis": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", - "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", - "dev": true, - "dependencies": { - "define-properties": "^1.1.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/globby": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", - "dev": true, - "dependencies": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/gopd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "dev": true, - "dependencies": { - "get-intrinsic": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "dev": true - }, - "node_modules/graphemer": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", - "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", - "dev": true - }, - "node_modules/has-bigints": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", - "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/has-property-descriptors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", - "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", - "dev": true, - "dependencies": { - "es-define-property": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-proto": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", - "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-tostringtag": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", - "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", - "dev": true, - "dependencies": { - "has-symbols": "^1.0.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/hasown": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.1.tgz", - "integrity": "sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, - "node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "dev": true, - "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", - "dev": true, - "engines": { - "node": ">=0.8.19" - } - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "dev": true, - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, - "node_modules/internal-slot": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz", - "integrity": "sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==", - "dev": true, - "dependencies": { - "es-errors": "^1.3.0", - "hasown": "^2.0.0", - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/is-array-buffer": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz", - "integrity": "sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-bigint": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", - "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", - "dev": true, - "dependencies": { - "has-bigints": "^1.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-boolean-object": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", - "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-callable": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", - "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-core-module": { - "version": "2.13.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", - "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", - "dev": true, - "dependencies": { - "hasown": "^2.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-date-object": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", - "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", - "dev": true, - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", "dev": true, "engines": { "node": ">=0.10.0" @@ -1873,162 +1146,34 @@ "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", "dev": true, "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-negative-zero": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz", - "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-number-object": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", - "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", - "dev": true, - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-path-inside": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-regex": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", - "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-shared-array-buffer": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz", - "integrity": "sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.7" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-string": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", - "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", - "dev": true, - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-symbol": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", - "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", - "dev": true, - "dependencies": { - "has-symbols": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-typed-array": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", - "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", - "dev": true, - "dependencies": { - "which-typed-array": "^1.1.14" + "is-extglob": "^2.1.1" }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=0.10.0" } }, - "node_modules/is-weakref": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", - "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "dev": true, - "dependencies": { - "call-bind": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "engines": { + "node": ">=0.12.0" } }, - "node_modules/isarray": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", - "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", - "dev": true - }, "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/js-yaml": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", "dev": true, + "license": "MIT", "dependencies": { "argparse": "^2.0.1" }, @@ -2040,13 +1185,15 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", @@ -2054,23 +1201,12 @@ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", "dev": true }, - "node_modules/json5": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", - "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", - "dev": true, - "dependencies": { - "minimist": "^1.2.0" - }, - "bin": { - "json5": "lib/cli.js" - } - }, "node_modules/keyv": { "version": "4.5.4", "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", "dev": true, + "license": "MIT", "dependencies": { "json-buffer": "3.0.1" } @@ -2158,15 +1294,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -2179,98 +1306,6 @@ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", "dev": true }, - "node_modules/object-inspect": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", - "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/object.assign": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.5.tgz", - "integrity": "sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.5", - "define-properties": "^1.2.1", - "has-symbols": "^1.0.3", - "object-keys": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object.fromentries": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.7.tgz", - "integrity": "sha512-UPbPHML6sL8PI/mOqPwsH4G6iyXcCGzLin8KvEPenOZN5lpCNBZZQ+V62vdjB1mQHrmqGQt5/OJzemUA+KJmEA==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object.groupby": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.2.tgz", - "integrity": "sha512-bzBq58S+x+uo0VjurFT0UktpKHOZmv4/xePiOA1nbB9pMqpGK7rUPNgf+1YC+7mE+0HzhTMqNUuCqvKhj6FnBw==", - "dev": true, - "dependencies": { - "array.prototype.filter": "^1.0.3", - "call-bind": "^1.0.5", - "define-properties": "^1.2.1", - "es-abstract": "^1.22.3", - "es-errors": "^1.0.0" - } - }, - "node_modules/object.values": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.7.tgz", - "integrity": "sha512-aU6xnDFYT3x17e/f0IiiwlGPTy2jzMySGfUB4fq6z7CV8l85CWHDk5ErhyhpfDHhrOMwGFhSQkhMGHaIotA6Ng==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dev": true, - "dependencies": { - "wrappy": "1" - } - }, "node_modules/optionator": { "version": "0.9.3", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", @@ -2323,6 +1358,7 @@ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", "dev": true, + "license": "MIT", "dependencies": { "callsites": "^3.0.0" }, @@ -2339,35 +1375,12 @@ "node": ">=8" } }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, - "node_modules/path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -2384,15 +1397,6 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/possible-typed-array-names": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", - "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", - "dev": true, - "engines": { - "node": ">= 0.4" - } - }, "node_modules/prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", @@ -2407,6 +1411,7 @@ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -2431,59 +1436,16 @@ } ] }, - "node_modules/regexp.prototype.flags": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz", - "integrity": "sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.6", - "define-properties": "^1.2.1", - "es-errors": "^1.3.0", - "set-function-name": "^2.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", - "dev": true, - "dependencies": { - "is-core-module": "^2.13.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/resolve-from": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, - "node_modules/resolve-pkg-maps": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz", - "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==", - "dev": true, - "funding": { - "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1" - } - }, "node_modules/reusify": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", @@ -2494,21 +1456,6 @@ "node": ">=0.10.0" } }, - "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", @@ -2532,41 +1479,6 @@ "queue-microtask": "^1.2.2" } }, - "node_modules/safe-array-concat": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.0.tgz", - "integrity": "sha512-ZdQ0Jeb9Ofti4hbt5lX3T2JcAamT9hfzYU1MNB+z/jaEbB6wfFfPIR/zEORmZqobkCCJhSjodobH6WHNmJ97dg==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.5", - "get-intrinsic": "^1.2.2", - "has-symbols": "^1.0.3", - "isarray": "^2.0.5" - }, - "engines": { - "node": ">=0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/safe-regex-test": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.3.tgz", - "integrity": "sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.6", - "es-errors": "^1.3.0", - "is-regex": "^1.1.4" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/semver": { "version": "7.6.0", "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", @@ -2582,43 +1494,12 @@ "node": ">=10" } }, - "node_modules/set-function-length": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.1.tgz", - "integrity": "sha512-j4t6ccc+VsKwYHso+kElc5neZpjtq9EnRICFZtWyBsLojhmeF/ZBd/elqm22WJh/BziDe/SBiOeAt0m2mfLD0g==", - "dev": true, - "dependencies": { - "define-data-property": "^1.1.2", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.3", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/set-function-name": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz", - "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", - "dev": true, - "dependencies": { - "define-data-property": "^1.1.4", - "es-errors": "^1.3.0", - "functions-have-names": "^1.2.3", - "has-property-descriptors": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "dev": true, + "license": "MIT", "dependencies": { "shebang-regex": "^3.0.0" }, @@ -2631,108 +1512,17 @@ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, - "node_modules/side-channel": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", - "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.7", - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.4", - "object-inspect": "^1.13.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/string.prototype.trim": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.8.tgz", - "integrity": "sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimend": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.7.tgz", - "integrity": "sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimstart": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz", - "integrity": "sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", - "dev": true, - "engines": { - "node": ">=4" - } - }, "node_modules/strip-json-comments": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" }, @@ -2752,33 +1542,6 @@ "node": ">=8" } }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/tapable": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", - "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/text-table": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", - "dev": true - }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -2791,153 +1554,210 @@ "node": ">=8.0" } }, - "node_modules/ts-api-utils": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", - "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1" + }, "engines": { - "node": ">=16" + "node": ">= 0.8.0" + } + }, + "node_modules/typescript": { + "version": "5.4.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", + "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" }, - "peerDependencies": { - "typescript": ">=4.2.0" + "engines": { + "node": ">=14.17" } }, - "node_modules/tsconfig-paths": { - "version": "3.15.0", - "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz", - "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==", + "node_modules/typescript-eslint": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.22.0.tgz", + "integrity": "sha512-Y2rj210FW1Wb6TWXzQc5+P+EWI9/zdS57hLEc0gnyuvdzWo8+Y8brKlbj0muejonhMI/xAZCnZZwjbIfv1CkOw==", "dev": true, + "license": "MIT", "dependencies": { - "@types/json5": "^0.0.29", - "json5": "^1.0.2", - "minimist": "^1.2.6", - "strip-bom": "^3.0.0" + "@typescript-eslint/eslint-plugin": "8.22.0", + "@typescript-eslint/parser": "8.22.0", + "@typescript-eslint/utils": "8.22.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" } }, - "node_modules/type-check": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", - "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "node_modules/typescript-eslint/node_modules/@typescript-eslint/eslint-plugin": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.22.0.tgz", + "integrity": "sha512-4Uta6REnz/xEJMvwf72wdUnC3rr4jAQf5jnTkeRQ9b6soxLxhDEbS/pfMPoJLDfFPNVRdryqWUIV/2GZzDJFZw==", "dev": true, + "license": "MIT", "dependencies": { - "prelude-ls": "^1.2.1" + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "8.22.0", + "@typescript-eslint/type-utils": "8.22.0", + "@typescript-eslint/utils": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0", + "graphemer": "^1.4.0", + "ignore": "^5.3.1", + "natural-compare": "^1.4.0", + "ts-api-utils": "^2.0.0" }, "engines": { - "node": ">= 0.8.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" } }, - "node_modules/type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "node_modules/typescript-eslint/node_modules/@typescript-eslint/parser": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.22.0.tgz", + "integrity": "sha512-MqtmbdNEdoNxTPzpWiWnqNac54h8JDAmkWtJExBVVnSrSmi9z+sZUt0LfKqk9rjqmKOIeRhO4fHHJ1nQIjduIQ==", "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/scope-manager": "8.22.0", + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/typescript-estree": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0", + "debug": "^4.3.4" + }, "engines": { - "node": ">=10" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" } }, - "node_modules/typed-array-buffer": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz", - "integrity": "sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==", + "node_modules/typescript-eslint/node_modules/@typescript-eslint/scope-manager": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.22.0.tgz", + "integrity": "sha512-/lwVV0UYgkj7wPSw0o8URy6YI64QmcOdwHuGuxWIYznO6d45ER0wXUbksr9pYdViAofpUCNJx/tAzNukgvaaiQ==", "dev": true, + "license": "MIT", "dependencies": { - "call-bind": "^1.0.7", - "es-errors": "^1.3.0", - "is-typed-array": "^1.1.13" + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0" }, "engines": { - "node": ">= 0.4" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/typed-array-byte-length": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.1.tgz", - "integrity": "sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==", + "node_modules/typescript-eslint/node_modules/@typescript-eslint/types": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.22.0.tgz", + "integrity": "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A==", "dev": true, - "dependencies": { - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-proto": "^1.0.3", - "is-typed-array": "^1.1.13" - }, + "license": "MIT", "engines": { - "node": ">= 0.4" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/typed-array-byte-offset": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz", - "integrity": "sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==", + "node_modules/typescript-eslint/node_modules/@typescript-eslint/typescript-estree": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.22.0.tgz", + "integrity": "sha512-SJX99NAS2ugGOzpyhMza/tX+zDwjvwAtQFLsBo3GQxiGcvaKlqGBkmZ+Y1IdiSi9h4Q0Lr5ey+Cp9CGWNY/F/w==", "dev": true, + "license": "MIT", "dependencies": { - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-proto": "^1.0.3", - "is-typed-array": "^1.1.13" + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0", + "debug": "^4.3.4", + "fast-glob": "^3.3.2", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^2.0.0" }, "engines": { - "node": ">= 0.4" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <5.8.0" } }, - "node_modules/typed-array-length": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.5.tgz", - "integrity": "sha512-yMi0PlwuznKHxKmcpoOdeLwxBoVPkqZxd7q2FgMkmD3bNwvF5VW0+UlUQ1k1vmktTu4Yu13Q0RIxEP8+B+wloA==", + "node_modules/typescript-eslint/node_modules/@typescript-eslint/visitor-keys": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.22.0.tgz", + "integrity": "sha512-AWpYAXnUgvLNabGTy3uBylkgZoosva/miNd1I8Bz3SjotmQPbVqhO4Cczo8AsZ44XVErEBPr/CRSgaj8sG7g0w==", "dev": true, + "license": "MIT", "dependencies": { - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-proto": "^1.0.3", - "is-typed-array": "^1.1.13", - "possible-typed-array-names": "^1.0.0" + "@typescript-eslint/types": "8.22.0", + "eslint-visitor-keys": "^4.2.0" }, "engines": { - "node": ">= 0.4" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/typescript": { - "version": "5.4.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", - "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", + "node_modules/typescript-eslint/node_modules/eslint-visitor-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", + "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", "dev": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, + "license": "Apache-2.0", "engines": { - "node": ">=14.17" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, - "node_modules/unbox-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", - "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", + "node_modules/typescript-eslint/node_modules/ts-api-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.0.tgz", + "integrity": "sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==", "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "has-bigints": "^1.0.2", - "has-symbols": "^1.0.3", - "which-boxed-primitive": "^1.0.2" + "license": "MIT", + "engines": { + "node": ">=18.12" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "peerDependencies": { + "typescript": ">=4.8.4" } }, "node_modules/uri-js": { @@ -2945,6 +1765,7 @@ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "punycode": "^2.1.0" } @@ -2954,6 +1775,7 @@ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, + "license": "ISC", "dependencies": { "isexe": "^2.0.0" }, @@ -2964,47 +1786,6 @@ "node": ">= 8" } }, - "node_modules/which-boxed-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", - "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", - "dev": true, - "dependencies": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/which-typed-array": { - "version": "1.1.14", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.14.tgz", - "integrity": "sha512-VnXFiIW8yNn9kIHN88xvZ4yOWchftKDsRJ8fEPacX/wl1lOvBrhsJ/OeJCXq7B0AaijRuqgzSKalJoPk+D8MPg==", - "dev": true, - "dependencies": { - "available-typed-arrays": "^1.0.6", - "call-bind": "^1.0.5", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true - }, "node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", @@ -3050,26 +1831,20 @@ } }, "@eslint-community/regexpp": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz", - "integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==", + "version": "4.12.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz", + "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==", "dev": true }, - "@eslint/eslintrc": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", - "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", + "@eslint/config-array": { + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.19.1.tgz", + "integrity": "sha512-fo6Mtm5mWyKjA/Chy1BYTdn5mGJoDNjC7C64ug20ADsRDGrA85bN3uK3MaKbeRkRuuIEAR5N33Jr1pbm411/PA==", "dev": true, "requires": { - "ajv": "^6.12.4", - "debug": "^4.3.2", - "espree": "^9.6.0", - "globals": "^13.19.0", - "ignore": "^5.2.0", - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", - "minimatch": "^3.1.2", - "strip-json-comments": "^3.1.1" + "@eslint/object-schema": "^2.1.5", + "debug": "^4.3.1", + "minimatch": "^3.1.2" }, "dependencies": { "brace-expansion": { @@ -3093,21 +1868,30 @@ } } }, - "@eslint/js": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", - "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", - "dev": true + "@eslint/core": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.10.0.tgz", + "integrity": "sha512-gFHJ+xBOo4G3WRlR1e/3G8A6/KZAH6zcE/hkLRCZTi/B9avAG365QhFA8uOGzTMqgTghpn7/fSnscW++dpMSAw==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.15" + } }, - "@humanwhocodes/config-array": { - "version": "0.11.14", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", - "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", + "@eslint/eslintrc": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.2.0.tgz", + "integrity": "sha512-grOjVNN8P3hjJn/eIETF1wwd12DdnwFDoyceUJLYYdkpbwq3nLi+4fqrTAONx7XDALqlL220wC/RHSC/QTI/0w==", "dev": true, "requires": { - "@humanwhocodes/object-schema": "^2.0.2", - "debug": "^4.3.1", - "minimatch": "^3.0.5" + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^10.0.1", + "globals": "^14.0.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" }, "dependencies": { "brace-expansion": { @@ -3120,6 +1904,12 @@ "concat-map": "0.0.1" } }, + "globals": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", + "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", + "dev": true + }, "minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", @@ -3131,16 +1921,62 @@ } } }, + "@eslint/js": { + "version": "9.19.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.19.0.tgz", + "integrity": "sha512-rbq9/g38qjfqFLOVPvwjIvFFdNziEC5S65jmjPw5r6A//QH+W91akh9irMwjDN8zKUTak6W9EsAv4m/7Wnw0UQ==", + "dev": true + }, + "@eslint/object-schema": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.5.tgz", + "integrity": "sha512-o0bhxnL89h5Bae5T318nFoFzGy+YE5i/gGkoPAgkmTVdRKTiv3p8JHevPiPaMwoloKfEiiaHlawCqaZMqRm+XQ==", + "dev": true + }, + "@eslint/plugin-kit": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.5.tgz", + "integrity": "sha512-lB05FkqEdUg2AA0xEbUz0SnkXT1LcCTa438W4IWTUh4hdOnVbQyOJ81OrDXsJk/LSiJHubgGEFoR5EHq1NsH1A==", + "dev": true, + "requires": { + "@eslint/core": "^0.10.0", + "levn": "^0.4.1" + } + }, + "@humanfs/core": { + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", + "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==", + "dev": true + }, + "@humanfs/node": { + "version": "0.16.6", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.6.tgz", + "integrity": "sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==", + "dev": true, + "requires": { + "@humanfs/core": "^0.19.1", + "@humanwhocodes/retry": "^0.3.0" + }, + "dependencies": { + "@humanwhocodes/retry": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz", + "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==", + "dev": true + } + } + }, "@humanwhocodes/module-importer": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", "dev": true }, - "@humanwhocodes/object-schema": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz", - "integrity": "sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==", + "@humanwhocodes/retry": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.1.tgz", + "integrity": "sha512-c7hNEllBlenFTHBky65mhq8WD2kbN9Q6gk0bTk8lSBvc554jpXSkST1iePudpt7+A/AQvuHs9EMqjHDXMY1lrA==", "dev": true }, "@nodelib/fs.scandir": { @@ -3169,280 +2005,185 @@ "fastq": "^1.6.0" } }, + "@types/estree": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", + "dev": true + }, "@types/json-schema": { "version": "7.0.15", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", "dev": true }, - "@types/json5": { - "version": "0.0.29", - "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", - "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", - "dev": true - }, - "@types/semver": { - "version": "7.5.8", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", - "integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==", - "dev": true - }, - "@typescript-eslint/eslint-plugin": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.7.1.tgz", - "integrity": "sha512-KwfdWXJBOviaBVhxO3p5TJiLpNuh2iyXyjmWN0f1nU87pwyvfS0EmjC6ukQVYVFJd/K1+0NWGPDXiyEyQorn0Q==", - "dev": true, - "requires": { - "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "7.7.1", - "@typescript-eslint/type-utils": "7.7.1", - "@typescript-eslint/utils": "7.7.1", - "@typescript-eslint/visitor-keys": "7.7.1", - "debug": "^4.3.4", - "graphemer": "^1.4.0", - "ignore": "^5.3.1", - "natural-compare": "^1.4.0", - "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" - } - }, - "@typescript-eslint/parser": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.7.1.tgz", - "integrity": "sha512-vmPzBOOtz48F6JAGVS/kZYk4EkXao6iGrD838sp1w3NQQC0W8ry/q641KU4PrG7AKNAf56NOcR8GOpH8l9FPCw==", - "dev": true, - "requires": { - "@typescript-eslint/scope-manager": "7.7.1", - "@typescript-eslint/types": "7.7.1", - "@typescript-eslint/typescript-estree": "7.7.1", - "@typescript-eslint/visitor-keys": "7.7.1", - "debug": "^4.3.4" - } - }, - "@typescript-eslint/scope-manager": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.7.1.tgz", - "integrity": "sha512-PytBif2SF+9SpEUKynYn5g1RHFddJUcyynGpztX3l/ik7KmZEv19WCMhUBkHXPU9es/VWGD3/zg3wg90+Dh2rA==", - "dev": true, - "requires": { - "@typescript-eslint/types": "7.7.1", - "@typescript-eslint/visitor-keys": "7.7.1" - } - }, "@typescript-eslint/type-utils": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.7.1.tgz", - "integrity": "sha512-ZksJLW3WF7o75zaBPScdW1Gbkwhd/lyeXGf1kQCxJaOeITscoSl0MjynVvCzuV5boUz/3fOI06Lz8La55mu29Q==", - "dev": true, - "requires": { - "@typescript-eslint/typescript-estree": "7.7.1", - "@typescript-eslint/utils": "7.7.1", - "debug": "^4.3.4", - "ts-api-utils": "^1.3.0" - } - }, - "@typescript-eslint/types": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.7.1.tgz", - "integrity": "sha512-AmPmnGW1ZLTpWa+/2omPrPfR7BcbUU4oha5VIbSbS1a1Tv966bklvLNXxp3mrbc+P2j4MNOTfDffNsk4o0c6/w==", - "dev": true - }, - "@typescript-eslint/typescript-estree": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.7.1.tgz", - "integrity": "sha512-CXe0JHCXru8Fa36dteXqmH2YxngKJjkQLjxzoj6LYwzZ7qZvgsLSc+eqItCrqIop8Vl2UKoAi0StVWu97FQZIQ==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.22.0.tgz", + "integrity": "sha512-NzE3aB62fDEaGjaAYZE4LH7I1MUwHooQ98Byq0G0y3kkibPJQIXVUspzlFOmOfHhiDLwKzMlWxaNv+/qcZurJA==", "dev": true, "requires": { - "@typescript-eslint/types": "7.7.1", - "@typescript-eslint/visitor-keys": "7.7.1", + "@typescript-eslint/typescript-estree": "8.22.0", + "@typescript-eslint/utils": "8.22.0", "debug": "^4.3.4", - "globby": "^11.1.0", - "is-glob": "^4.0.3", - "minimatch": "^9.0.4", - "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" + }, + "dependencies": { + "@typescript-eslint/types": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.22.0.tgz", + "integrity": "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A==", + "dev": true + }, + "@typescript-eslint/typescript-estree": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.22.0.tgz", + "integrity": "sha512-SJX99NAS2ugGOzpyhMza/tX+zDwjvwAtQFLsBo3GQxiGcvaKlqGBkmZ+Y1IdiSi9h4Q0Lr5ey+Cp9CGWNY/F/w==", + "dev": true, + "requires": { + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0", + "debug": "^4.3.4", + "fast-glob": "^3.3.2", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^2.0.0" + } + }, + "@typescript-eslint/visitor-keys": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.22.0.tgz", + "integrity": "sha512-AWpYAXnUgvLNabGTy3uBylkgZoosva/miNd1I8Bz3SjotmQPbVqhO4Cczo8AsZ44XVErEBPr/CRSgaj8sG7g0w==", + "dev": true, + "requires": { + "@typescript-eslint/types": "8.22.0", + "eslint-visitor-keys": "^4.2.0" + } + }, + "eslint-visitor-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", + "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", + "dev": true + }, + "ts-api-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.0.tgz", + "integrity": "sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==", + "dev": true, + "requires": {} + } } }, "@typescript-eslint/utils": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.7.1.tgz", - "integrity": "sha512-QUvBxPEaBXf41ZBbaidKICgVL8Hin0p6prQDu6bbetWo39BKbWJxRsErOzMNT1rXvTll+J7ChrbmMCXM9rsvOQ==", + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.22.0.tgz", + "integrity": "sha512-T8oc1MbF8L+Bk2msAvCUzjxVB2Z2f+vXYfcucE2wOmYs7ZUwco5Ep0fYZw8quNwOiw9K8GYVL+Kgc2pETNTLOg==", "dev": true, "requires": { "@eslint-community/eslint-utils": "^4.4.0", - "@types/json-schema": "^7.0.15", - "@types/semver": "^7.5.8", - "@typescript-eslint/scope-manager": "7.7.1", - "@typescript-eslint/types": "7.7.1", - "@typescript-eslint/typescript-estree": "7.7.1", - "semver": "^7.6.0" - } - }, - "@typescript-eslint/visitor-keys": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.7.1.tgz", - "integrity": "sha512-gBL3Eq25uADw1LQ9kVpf3hRM+DWzs0uZknHYK3hq4jcTPqVCClHGDnB6UUUV2SFeBeA4KWHWbbLqmbGcZ4FYbw==", - "dev": true, - "requires": { - "@typescript-eslint/types": "7.7.1", - "eslint-visitor-keys": "^3.4.3" - } - }, - "@ungap/structured-clone": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", - "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", - "dev": true - }, - "acorn": { - "version": "8.11.3", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", - "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", - "dev": true - }, - "acorn-jsx": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true, - "requires": {} - }, - "ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dev": true, - "requires": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - } - }, - "ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true - }, - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true - }, - "array-buffer-byte-length": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz", - "integrity": "sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==", - "dev": true, - "requires": { - "call-bind": "^1.0.5", - "is-array-buffer": "^3.0.4" - } - }, - "array-includes": { - "version": "3.1.7", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.7.tgz", - "integrity": "sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "get-intrinsic": "^1.2.1", - "is-string": "^1.0.7" - } - }, - "array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "dev": true - }, - "array.prototype.filter": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/array.prototype.filter/-/array.prototype.filter-1.0.3.tgz", - "integrity": "sha512-VizNcj/RGJiUyQBgzwxzE5oHdeuXY5hSbbmKMlphj1cy1Vl7Pn2asCGbSrru6hSQjmCzqTBPVWAF/whmEOVHbw==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "es-array-method-boxes-properly": "^1.0.0", - "is-string": "^1.0.7" + "@typescript-eslint/scope-manager": "8.22.0", + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/typescript-estree": "8.22.0" + }, + "dependencies": { + "@typescript-eslint/scope-manager": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.22.0.tgz", + "integrity": "sha512-/lwVV0UYgkj7wPSw0o8URy6YI64QmcOdwHuGuxWIYznO6d45ER0wXUbksr9pYdViAofpUCNJx/tAzNukgvaaiQ==", + "dev": true, + "requires": { + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0" + } + }, + "@typescript-eslint/types": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.22.0.tgz", + "integrity": "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A==", + "dev": true + }, + "@typescript-eslint/typescript-estree": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.22.0.tgz", + "integrity": "sha512-SJX99NAS2ugGOzpyhMza/tX+zDwjvwAtQFLsBo3GQxiGcvaKlqGBkmZ+Y1IdiSi9h4Q0Lr5ey+Cp9CGWNY/F/w==", + "dev": true, + "requires": { + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0", + "debug": "^4.3.4", + "fast-glob": "^3.3.2", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^2.0.0" + } + }, + "@typescript-eslint/visitor-keys": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.22.0.tgz", + "integrity": "sha512-AWpYAXnUgvLNabGTy3uBylkgZoosva/miNd1I8Bz3SjotmQPbVqhO4Cczo8AsZ44XVErEBPr/CRSgaj8sG7g0w==", + "dev": true, + "requires": { + "@typescript-eslint/types": "8.22.0", + "eslint-visitor-keys": "^4.2.0" + } + }, + "eslint-visitor-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", + "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", + "dev": true + }, + "ts-api-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.0.tgz", + "integrity": "sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==", + "dev": true, + "requires": {} + } } }, - "array.prototype.findlastindex": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.4.tgz", - "integrity": "sha512-hzvSHUshSpCflDR1QMUBLHGHP1VIEBegT4pix9H/Z92Xw3ySoy6c2qh7lJWTJnRJ8JCZ9bJNCgTyYaJGcJu6xQ==", - "dev": true, - "requires": { - "call-bind": "^1.0.5", - "define-properties": "^1.2.1", - "es-abstract": "^1.22.3", - "es-errors": "^1.3.0", - "es-shim-unscopables": "^1.0.2" - } + "acorn": { + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", + "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", + "dev": true }, - "array.prototype.flat": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz", - "integrity": "sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==", + "acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "es-shim-unscopables": "^1.0.0" - } + "requires": {} }, - "array.prototype.flatmap": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz", - "integrity": "sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==", + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "es-shim-unscopables": "^1.0.0" + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" } }, - "arraybuffer.prototype.slice": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz", - "integrity": "sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==", + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "requires": { - "array-buffer-byte-length": "^1.0.1", - "call-bind": "^1.0.5", - "define-properties": "^1.2.1", - "es-abstract": "^1.22.3", - "es-errors": "^1.2.1", - "get-intrinsic": "^1.2.3", - "is-array-buffer": "^3.0.4", - "is-shared-array-buffer": "^1.0.2" + "color-convert": "^2.0.1" } }, - "available-typed-arrays": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", - "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", - "dev": true, - "requires": { - "possible-typed-array-names": "^1.0.0" - } + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true }, "balanced-match": { "version": "1.0.2", @@ -3468,19 +2209,6 @@ "fill-range": "^7.0.1" } }, - "call-bind": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", - "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", - "dev": true, - "requires": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "set-function-length": "^1.2.1" - } - }, "callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", @@ -3519,9 +2247,9 @@ "dev": true }, "cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "requires": { "path-key": "^3.1.0", @@ -3544,157 +2272,6 @@ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", "dev": true }, - "define-data-property": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", - "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", - "dev": true, - "requires": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "gopd": "^1.0.1" - } - }, - "define-properties": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", - "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", - "dev": true, - "requires": { - "define-data-property": "^1.0.1", - "has-property-descriptors": "^1.0.0", - "object-keys": "^1.1.1" - } - }, - "dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "dev": true, - "requires": { - "path-type": "^4.0.0" - } - }, - "doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", - "dev": true, - "requires": { - "esutils": "^2.0.2" - } - }, - "enhanced-resolve": { - "version": "5.15.1", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.15.1.tgz", - "integrity": "sha512-3d3JRbwsCLJsYgvb6NuWEG44jjPSOMuS73L/6+7BZuoKm3W+qXnSoIYVHi8dG7Qcg4inAY4jbzkZ7MnskePeDg==", - "dev": true, - "requires": { - "graceful-fs": "^4.2.4", - "tapable": "^2.2.0" - } - }, - "es-abstract": { - "version": "1.22.5", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.5.tgz", - "integrity": "sha512-oW69R+4q2wG+Hc3KZePPZxOiisRIqfKBVo/HLx94QcJeWGU/8sZhCvc829rd1kS366vlJbzBfXf9yWwf0+Ko7w==", - "dev": true, - "requires": { - "array-buffer-byte-length": "^1.0.1", - "arraybuffer.prototype.slice": "^1.0.3", - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.7", - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "es-set-tostringtag": "^2.0.3", - "es-to-primitive": "^1.2.1", - "function.prototype.name": "^1.1.6", - "get-intrinsic": "^1.2.4", - "get-symbol-description": "^1.0.2", - "globalthis": "^1.0.3", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.2", - "has-proto": "^1.0.3", - "has-symbols": "^1.0.3", - "hasown": "^2.0.1", - "internal-slot": "^1.0.7", - "is-array-buffer": "^3.0.4", - "is-callable": "^1.2.7", - "is-negative-zero": "^2.0.3", - "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.3", - "is-string": "^1.0.7", - "is-typed-array": "^1.1.13", - "is-weakref": "^1.0.2", - "object-inspect": "^1.13.1", - "object-keys": "^1.1.1", - "object.assign": "^4.1.5", - "regexp.prototype.flags": "^1.5.2", - "safe-array-concat": "^1.1.0", - "safe-regex-test": "^1.0.3", - "string.prototype.trim": "^1.2.8", - "string.prototype.trimend": "^1.0.7", - "string.prototype.trimstart": "^1.0.7", - "typed-array-buffer": "^1.0.2", - "typed-array-byte-length": "^1.0.1", - "typed-array-byte-offset": "^1.0.2", - "typed-array-length": "^1.0.5", - "unbox-primitive": "^1.0.2", - "which-typed-array": "^1.1.14" - } - }, - "es-array-method-boxes-properly": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-array-method-boxes-properly/-/es-array-method-boxes-properly-1.0.0.tgz", - "integrity": "sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA==", - "dev": true - }, - "es-define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", - "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", - "dev": true, - "requires": { - "get-intrinsic": "^1.2.4" - } - }, - "es-errors": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", - "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", - "dev": true - }, - "es-set-tostringtag": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz", - "integrity": "sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==", - "dev": true, - "requires": { - "get-intrinsic": "^1.2.4", - "has-tostringtag": "^1.0.2", - "hasown": "^2.0.1" - } - }, - "es-shim-unscopables": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz", - "integrity": "sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==", - "dev": true, - "requires": { - "hasown": "^2.0.0" - } - }, - "es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "dev": true, - "requires": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - } - }, "escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", @@ -3702,152 +2279,45 @@ "dev": true }, "eslint": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", - "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", + "version": "9.19.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.19.0.tgz", + "integrity": "sha512-ug92j0LepKlbbEv6hD911THhoRHmbdXt2gX+VDABAW/Ir7D3nqKdv5Pf5vtlyY6HQMTEP2skXY43ueqTCWssEA==", "dev": true, "requires": { "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.6.1", - "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.57.0", - "@humanwhocodes/config-array": "^0.11.14", + "@eslint-community/regexpp": "^4.12.1", + "@eslint/config-array": "^0.19.0", + "@eslint/core": "^0.10.0", + "@eslint/eslintrc": "^3.2.0", + "@eslint/js": "9.19.0", + "@eslint/plugin-kit": "^0.2.5", + "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", - "@nodelib/fs.walk": "^1.2.8", - "@ungap/structured-clone": "^1.2.0", + "@humanwhocodes/retry": "^0.4.1", + "@types/estree": "^1.0.6", + "@types/json-schema": "^7.0.15", "ajv": "^6.12.4", "chalk": "^4.0.0", - "cross-spawn": "^7.0.2", + "cross-spawn": "^7.0.6", "debug": "^4.3.2", - "doctrine": "^3.0.0", "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.2.2", - "eslint-visitor-keys": "^3.4.3", - "espree": "^9.6.1", - "esquery": "^1.4.2", + "eslint-scope": "^8.2.0", + "eslint-visitor-keys": "^4.2.0", + "espree": "^10.3.0", + "esquery": "^1.5.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", + "file-entry-cache": "^8.0.0", "find-up": "^5.0.0", "glob-parent": "^6.0.2", - "globals": "^13.19.0", - "graphemer": "^1.4.0", "ignore": "^5.2.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", - "is-path-inside": "^3.0.3", - "js-yaml": "^4.1.0", "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", "lodash.merge": "^4.6.2", "minimatch": "^3.1.2", "natural-compare": "^1.4.0", - "optionator": "^0.9.3", - "strip-ansi": "^6.0.1", - "text-table": "^0.2.0" - }, - "dependencies": { - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "requires": { - "brace-expansion": "^1.1.7" - } - } - } - }, - "eslint-import-resolver-node": { - "version": "0.3.9", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz", - "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==", - "dev": true, - "requires": { - "debug": "^3.2.7", - "is-core-module": "^2.13.0", - "resolve": "^1.22.4" - }, - "dependencies": { - "debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - } - } - }, - "eslint-import-resolver-typescript": { - "version": "3.6.1", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.6.1.tgz", - "integrity": "sha512-xgdptdoi5W3niYeuQxKmzVDTATvLYqhpwmykwsh7f6HIOStGWEIL9iqZgQDF9u9OEzrRwR8no5q2VT+bjAujTg==", - "dev": true, - "requires": { - "debug": "^4.3.4", - "enhanced-resolve": "^5.12.0", - "eslint-module-utils": "^2.7.4", - "fast-glob": "^3.3.1", - "get-tsconfig": "^4.5.0", - "is-core-module": "^2.11.0", - "is-glob": "^4.0.3" - } - }, - "eslint-module-utils": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.8.1.tgz", - "integrity": "sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==", - "dev": true, - "requires": { - "debug": "^3.2.7" - }, - "dependencies": { - "debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - } - } - }, - "eslint-plugin-import": { - "version": "2.29.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz", - "integrity": "sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==", - "dev": true, - "requires": { - "array-includes": "^3.1.7", - "array.prototype.findlastindex": "^1.2.3", - "array.prototype.flat": "^1.3.2", - "array.prototype.flatmap": "^1.3.2", - "debug": "^3.2.7", - "doctrine": "^2.1.0", - "eslint-import-resolver-node": "^0.3.9", - "eslint-module-utils": "^2.8.0", - "hasown": "^2.0.0", - "is-core-module": "^2.13.1", - "is-glob": "^4.0.3", - "minimatch": "^3.1.2", - "object.fromentries": "^2.0.7", - "object.groupby": "^1.0.1", - "object.values": "^1.1.7", - "semver": "^6.3.1", - "tsconfig-paths": "^3.15.0" + "optionator": "^0.9.3" }, "dependencies": { "brace-expansion": { @@ -3860,23 +2330,11 @@ "concat-map": "0.0.1" } }, - "debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, - "doctrine": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", - "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", - "dev": true, - "requires": { - "esutils": "^2.0.2" - } + "eslint-visitor-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", + "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", + "dev": true }, "minimatch": { "version": "3.1.2", @@ -3886,19 +2344,13 @@ "requires": { "brace-expansion": "^1.1.7" } - }, - "semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true } } }, "eslint-scope": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", - "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.2.0.tgz", + "integrity": "sha512-PHlWUfG6lvPc3yvP5A4PNyBL1W8fkDUccmI21JUu/+GKZBoH/W5u6usENXUrWFRsyoW5ACUjFGgAFQp5gUlb/A==", "dev": true, "requires": { "esrecurse": "^4.3.0", @@ -3912,14 +2364,22 @@ "dev": true }, "espree": { - "version": "9.6.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", - "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.3.0.tgz", + "integrity": "sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==", "dev": true, "requires": { - "acorn": "^8.9.0", + "acorn": "^8.14.0", "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.1" + "eslint-visitor-keys": "^4.2.0" + }, + "dependencies": { + "eslint-visitor-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", + "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", + "dev": true + } } }, "esquery": { @@ -4004,12 +2464,12 @@ } }, "file-entry-cache": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", "dev": true, "requires": { - "flat-cache": "^3.0.4" + "flat-cache": "^4.0.0" } }, "fill-range": { @@ -4032,129 +2492,21 @@ } }, "flat-cache": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", - "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", "dev": true, "requires": { "flatted": "^3.2.9", - "keyv": "^4.5.3", - "rimraf": "^3.0.2" + "keyv": "^4.5.4" } }, "flatted": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", - "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", - "dev": true - }, - "for-each": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", - "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", - "dev": true, - "requires": { - "is-callable": "^1.1.3" - } - }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true - }, - "function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "dev": true - }, - "function.prototype.name": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", - "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "functions-have-names": "^1.2.3" - } - }, - "functions-have-names": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", - "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.2.tgz", + "integrity": "sha512-AiwGJM8YcNOaobumgtng+6NHuOqC3A7MixFeDafM3X9cIUM+xUXoS5Vfgf+OihAYe20fxqNM9yPBXJzRtZ/4eA==", "dev": true }, - "get-intrinsic": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", - "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", - "dev": true, - "requires": { - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "hasown": "^2.0.0" - } - }, - "get-symbol-description": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz", - "integrity": "sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==", - "dev": true, - "requires": { - "call-bind": "^1.0.5", - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.4" - } - }, - "get-tsconfig": { - "version": "4.7.2", - "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.7.2.tgz", - "integrity": "sha512-wuMsz4leaj5hbGgg4IvDU0bqJagpftG5l5cXIAvo8uZrqn0NJqwtfupTN00VnkQJPcIRrxYrm1Ue24btpCha2A==", - "dev": true, - "requires": { - "resolve-pkg-maps": "^1.0.0" - } - }, - "glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "dependencies": { - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "requires": { - "brace-expansion": "^1.1.7" - } - } - } - }, "glob-parent": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", @@ -4165,50 +2517,9 @@ } }, "globals": { - "version": "13.24.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", - "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", - "dev": true, - "requires": { - "type-fest": "^0.20.2" - } - }, - "globalthis": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", - "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", - "dev": true, - "requires": { - "define-properties": "^1.1.3" - } - }, - "globby": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", - "dev": true, - "requires": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - } - }, - "gopd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "dev": true, - "requires": { - "get-intrinsic": "^1.1.3" - } - }, - "graceful-fs": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "version": "15.14.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.14.0.tgz", + "integrity": "sha512-OkToC372DtlQeje9/zHIo5CT8lRP/FUgEOKBEhU4e0abL7J7CD24fD9ohiLN5hagG/kWCYj4K5oaxxtj2Z0Dig==", "dev": true }, "graphemer": { @@ -4217,56 +2528,11 @@ "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", "dev": true }, - "has-bigints": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", - "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", - "dev": true - }, "has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true - }, - "has-property-descriptors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", - "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", - "dev": true, - "requires": { - "es-define-property": "^1.0.0" - } - }, - "has-proto": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", - "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", - "dev": true - }, - "has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "dev": true - }, - "has-tostringtag": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", - "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", - "dev": true, - "requires": { - "has-symbols": "^1.0.3" - } - }, - "hasown": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.1.tgz", - "integrity": "sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==", - "dev": true, - "requires": { - "function-bind": "^1.1.2" - } + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true }, "ignore": { "version": "5.3.1", @@ -4290,86 +2556,6 @@ "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", "dev": true }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "dev": true, - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, - "internal-slot": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz", - "integrity": "sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==", - "dev": true, - "requires": { - "es-errors": "^1.3.0", - "hasown": "^2.0.0", - "side-channel": "^1.0.4" - } - }, - "is-array-buffer": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz", - "integrity": "sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.1" - } - }, - "is-bigint": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", - "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", - "dev": true, - "requires": { - "has-bigints": "^1.0.1" - } - }, - "is-boolean-object": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", - "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - } - }, - "is-callable": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", - "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", - "dev": true - }, - "is-core-module": { - "version": "2.13.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", - "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", - "dev": true, - "requires": { - "hasown": "^2.0.0" - } - }, - "is-date-object": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", - "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", - "dev": true, - "requires": { - "has-tostringtag": "^1.0.0" - } - }, "is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", @@ -4385,94 +2571,12 @@ "is-extglob": "^2.1.1" } }, - "is-negative-zero": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz", - "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==", - "dev": true - }, "is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "dev": true }, - "is-number-object": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", - "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", - "dev": true, - "requires": { - "has-tostringtag": "^1.0.0" - } - }, - "is-path-inside": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", - "dev": true - }, - "is-regex": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", - "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - } - }, - "is-shared-array-buffer": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz", - "integrity": "sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==", - "dev": true, - "requires": { - "call-bind": "^1.0.7" - } - }, - "is-string": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", - "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", - "dev": true, - "requires": { - "has-tostringtag": "^1.0.0" - } - }, - "is-symbol": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", - "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", - "dev": true, - "requires": { - "has-symbols": "^1.0.2" - } - }, - "is-typed-array": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", - "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", - "dev": true, - "requires": { - "which-typed-array": "^1.1.14" - } - }, - "is-weakref": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", - "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", - "dev": true, - "requires": { - "call-bind": "^1.0.2" - } - }, - "isarray": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", - "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", - "dev": true - }, "isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", @@ -4506,15 +2610,6 @@ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", "dev": true }, - "json5": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", - "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", - "dev": true, - "requires": { - "minimist": "^1.2.0" - } - }, "keyv": { "version": "4.5.4", "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", @@ -4583,12 +2678,6 @@ "brace-expansion": "^2.0.1" } }, - "minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "dev": true - }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -4601,74 +2690,6 @@ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", "dev": true }, - "object-inspect": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", - "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", - "dev": true - }, - "object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true - }, - "object.assign": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.5.tgz", - "integrity": "sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==", - "dev": true, - "requires": { - "call-bind": "^1.0.5", - "define-properties": "^1.2.1", - "has-symbols": "^1.0.3", - "object-keys": "^1.1.1" - } - }, - "object.fromentries": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.7.tgz", - "integrity": "sha512-UPbPHML6sL8PI/mOqPwsH4G6iyXcCGzLin8KvEPenOZN5lpCNBZZQ+V62vdjB1mQHrmqGQt5/OJzemUA+KJmEA==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1" - } - }, - "object.groupby": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.2.tgz", - "integrity": "sha512-bzBq58S+x+uo0VjurFT0UktpKHOZmv4/xePiOA1nbB9pMqpGK7rUPNgf+1YC+7mE+0HzhTMqNUuCqvKhj6FnBw==", - "dev": true, - "requires": { - "array.prototype.filter": "^1.0.3", - "call-bind": "^1.0.5", - "define-properties": "^1.2.1", - "es-abstract": "^1.22.3", - "es-errors": "^1.0.0" - } - }, - "object.values": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.7.tgz", - "integrity": "sha512-aU6xnDFYT3x17e/f0IiiwlGPTy2jzMySGfUB4fq6z7CV8l85CWHDk5ErhyhpfDHhrOMwGFhSQkhMGHaIotA6Ng==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1" - } - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dev": true, - "requires": { - "wrappy": "1" - } - }, "optionator": { "version": "0.9.3", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", @@ -4716,42 +2737,18 @@ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "dev": true - }, "path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true }, - "path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, - "path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "dev": true - }, "picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true }, - "possible-typed-array-names": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", - "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", - "dev": true - }, "prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", @@ -4770,56 +2767,18 @@ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", "dev": true }, - "regexp.prototype.flags": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz", - "integrity": "sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==", - "dev": true, - "requires": { - "call-bind": "^1.0.6", - "define-properties": "^1.2.1", - "es-errors": "^1.3.0", - "set-function-name": "^2.0.1" - } - }, - "resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", - "dev": true, - "requires": { - "is-core-module": "^2.13.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - } - }, "resolve-from": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", "dev": true }, - "resolve-pkg-maps": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz", - "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==", - "dev": true - }, "reusify": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", "dev": true }, - "rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - }, "run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", @@ -4829,29 +2788,6 @@ "queue-microtask": "^1.2.2" } }, - "safe-array-concat": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.0.tgz", - "integrity": "sha512-ZdQ0Jeb9Ofti4hbt5lX3T2JcAamT9hfzYU1MNB+z/jaEbB6wfFfPIR/zEORmZqobkCCJhSjodobH6WHNmJ97dg==", - "dev": true, - "requires": { - "call-bind": "^1.0.5", - "get-intrinsic": "^1.2.2", - "has-symbols": "^1.0.3", - "isarray": "^2.0.5" - } - }, - "safe-regex-test": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.3.tgz", - "integrity": "sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==", - "dev": true, - "requires": { - "call-bind": "^1.0.6", - "es-errors": "^1.3.0", - "is-regex": "^1.1.4" - } - }, "semver": { "version": "7.6.0", "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", @@ -4861,32 +2797,6 @@ "lru-cache": "^6.0.0" } }, - "set-function-length": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.1.tgz", - "integrity": "sha512-j4t6ccc+VsKwYHso+kElc5neZpjtq9EnRICFZtWyBsLojhmeF/ZBd/elqm22WJh/BziDe/SBiOeAt0m2mfLD0g==", - "dev": true, - "requires": { - "define-data-property": "^1.1.2", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.3", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.1" - } - }, - "set-function-name": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz", - "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", - "dev": true, - "requires": { - "define-data-property": "^1.1.4", - "es-errors": "^1.3.0", - "functions-have-names": "^1.2.3", - "has-property-descriptors": "^1.0.2" - } - }, "shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -4902,72 +2812,6 @@ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true }, - "side-channel": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", - "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", - "dev": true, - "requires": { - "call-bind": "^1.0.7", - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.4", - "object-inspect": "^1.13.1" - } - }, - "slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true - }, - "string.prototype.trim": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.8.tgz", - "integrity": "sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1" - } - }, - "string.prototype.trimend": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.7.tgz", - "integrity": "sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1" - } - }, - "string.prototype.trimstart": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz", - "integrity": "sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1" - } - }, - "strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "requires": { - "ansi-regex": "^5.0.1" - } - }, - "strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", - "dev": true - }, "strip-json-comments": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", @@ -4983,24 +2827,6 @@ "has-flag": "^4.0.0" } }, - "supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "dev": true - }, - "tapable": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", - "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", - "dev": true - }, - "text-table": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", - "dev": true - }, "to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -5010,25 +2836,6 @@ "is-number": "^7.0.0" } }, - "ts-api-utils": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", - "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", - "dev": true, - "requires": {} - }, - "tsconfig-paths": { - "version": "3.15.0", - "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz", - "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==", - "dev": true, - "requires": { - "@types/json5": "^0.0.29", - "json5": "^1.0.2", - "minimist": "^1.2.6", - "strip-bom": "^3.0.0" - } - }, "type-check": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", @@ -5038,80 +2845,108 @@ "prelude-ls": "^1.2.1" } }, - "type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", - "dev": true - }, - "typed-array-buffer": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz", - "integrity": "sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==", - "dev": true, - "requires": { - "call-bind": "^1.0.7", - "es-errors": "^1.3.0", - "is-typed-array": "^1.1.13" - } - }, - "typed-array-byte-length": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.1.tgz", - "integrity": "sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==", - "dev": true, - "requires": { - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-proto": "^1.0.3", - "is-typed-array": "^1.1.13" - } - }, - "typed-array-byte-offset": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz", - "integrity": "sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==", - "dev": true, - "requires": { - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-proto": "^1.0.3", - "is-typed-array": "^1.1.13" - } - }, - "typed-array-length": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.5.tgz", - "integrity": "sha512-yMi0PlwuznKHxKmcpoOdeLwxBoVPkqZxd7q2FgMkmD3bNwvF5VW0+UlUQ1k1vmktTu4Yu13Q0RIxEP8+B+wloA==", - "dev": true, - "requires": { - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-proto": "^1.0.3", - "is-typed-array": "^1.1.13", - "possible-typed-array-names": "^1.0.0" - } - }, "typescript": { "version": "5.4.5", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", "dev": true }, - "unbox-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", - "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", + "typescript-eslint": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.22.0.tgz", + "integrity": "sha512-Y2rj210FW1Wb6TWXzQc5+P+EWI9/zdS57hLEc0gnyuvdzWo8+Y8brKlbj0muejonhMI/xAZCnZZwjbIfv1CkOw==", "dev": true, "requires": { - "call-bind": "^1.0.2", - "has-bigints": "^1.0.2", - "has-symbols": "^1.0.3", - "which-boxed-primitive": "^1.0.2" + "@typescript-eslint/eslint-plugin": "8.22.0", + "@typescript-eslint/parser": "8.22.0", + "@typescript-eslint/utils": "8.22.0" + }, + "dependencies": { + "@typescript-eslint/eslint-plugin": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.22.0.tgz", + "integrity": "sha512-4Uta6REnz/xEJMvwf72wdUnC3rr4jAQf5jnTkeRQ9b6soxLxhDEbS/pfMPoJLDfFPNVRdryqWUIV/2GZzDJFZw==", + "dev": true, + "requires": { + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "8.22.0", + "@typescript-eslint/type-utils": "8.22.0", + "@typescript-eslint/utils": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0", + "graphemer": "^1.4.0", + "ignore": "^5.3.1", + "natural-compare": "^1.4.0", + "ts-api-utils": "^2.0.0" + } + }, + "@typescript-eslint/parser": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.22.0.tgz", + "integrity": "sha512-MqtmbdNEdoNxTPzpWiWnqNac54h8JDAmkWtJExBVVnSrSmi9z+sZUt0LfKqk9rjqmKOIeRhO4fHHJ1nQIjduIQ==", + "dev": true, + "requires": { + "@typescript-eslint/scope-manager": "8.22.0", + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/typescript-estree": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0", + "debug": "^4.3.4" + } + }, + "@typescript-eslint/scope-manager": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.22.0.tgz", + "integrity": "sha512-/lwVV0UYgkj7wPSw0o8URy6YI64QmcOdwHuGuxWIYznO6d45ER0wXUbksr9pYdViAofpUCNJx/tAzNukgvaaiQ==", + "dev": true, + "requires": { + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0" + } + }, + "@typescript-eslint/types": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.22.0.tgz", + "integrity": "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A==", + "dev": true + }, + "@typescript-eslint/typescript-estree": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.22.0.tgz", + "integrity": "sha512-SJX99NAS2ugGOzpyhMza/tX+zDwjvwAtQFLsBo3GQxiGcvaKlqGBkmZ+Y1IdiSi9h4Q0Lr5ey+Cp9CGWNY/F/w==", + "dev": true, + "requires": { + "@typescript-eslint/types": "8.22.0", + "@typescript-eslint/visitor-keys": "8.22.0", + "debug": "^4.3.4", + "fast-glob": "^3.3.2", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^2.0.0" + } + }, + "@typescript-eslint/visitor-keys": { + "version": "8.22.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.22.0.tgz", + "integrity": "sha512-AWpYAXnUgvLNabGTy3uBylkgZoosva/miNd1I8Bz3SjotmQPbVqhO4Cczo8AsZ44XVErEBPr/CRSgaj8sG7g0w==", + "dev": true, + "requires": { + "@typescript-eslint/types": "8.22.0", + "eslint-visitor-keys": "^4.2.0" + } + }, + "eslint-visitor-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", + "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", + "dev": true + }, + "ts-api-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.0.tgz", + "integrity": "sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==", + "dev": true, + "requires": {} + } } }, "uri-js": { @@ -5132,38 +2967,6 @@ "isexe": "^2.0.0" } }, - "which-boxed-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", - "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", - "dev": true, - "requires": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" - } - }, - "which-typed-array": { - "version": "1.1.14", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.14.tgz", - "integrity": "sha512-VnXFiIW8yNn9kIHN88xvZ4yOWchftKDsRJ8fEPacX/wl1lOvBrhsJ/OeJCXq7B0AaijRuqgzSKalJoPk+D8MPg==", - "dev": true, - "requires": { - "available-typed-arrays": "^1.0.6", - "call-bind": "^1.0.5", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.1" - } - }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true - }, "yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", diff --git a/package.json b/package.json index cd446436c..4f44d76f6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@stackone/stackone-client-ts", - "version": "4.17.11", + "version": "4.17.12", "author": "StackOne", "main": "./index.js", "sideEffects": false, @@ -10,7 +10,7 @@ "directory": "." }, "scripts": { - "lint": "eslint --max-warnings=0 src", + "lint": "eslint --cache --max-warnings=0 src", "build": "tsc", "prepublishOnly": "npm run build" }, @@ -18,12 +18,11 @@ "zod": ">= 3" }, "devDependencies": { - "@typescript-eslint/eslint-plugin": "^7.7.1", - "@typescript-eslint/parser": "^7.7.1", - "eslint": "^8.57.0", - "eslint-import-resolver-typescript": "^3.6.1", - "eslint-plugin-import": "^2.29.1", + "@eslint/js": "^9.19.0", + "eslint": "^9.19.0", + "globals": "^15.14.0", "typescript": "^5.4.5", + "typescript-eslint": "^8.22.0", "zod": "^3.23.4" }, "dependencies": { diff --git a/src/funcs/accountsDeleteAccount.ts b/src/funcs/accountsDeleteAccount.ts index d5178f5ee..7efd2b231 100644 --- a/src/funcs/accountsDeleteAccount.ts +++ b/src/funcs/accountsDeleteAccount.ts @@ -128,8 +128,8 @@ export async function accountsDeleteAccount( M.json(200, operations.StackoneDeleteAccountResponse$inboundSchema, { key: "LinkedAccount", }), - M.fail([400, 403, 404, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 404, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/accountsGetAccount.ts b/src/funcs/accountsGetAccount.ts index d0d909ce3..c90335f93 100644 --- a/src/funcs/accountsGetAccount.ts +++ b/src/funcs/accountsGetAccount.ts @@ -127,8 +127,8 @@ export async function accountsGetAccount( M.json(200, operations.StackoneGetAccountResponse$inboundSchema, { key: "LinkedAccount", }), - M.fail([400, 403, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/accountsGetAccountMetaInfo.ts b/src/funcs/accountsGetAccountMetaInfo.ts index 487ea346f..f72a5e6b9 100644 --- a/src/funcs/accountsGetAccountMetaInfo.ts +++ b/src/funcs/accountsGetAccountMetaInfo.ts @@ -128,8 +128,8 @@ export async function accountsGetAccountMetaInfo( M.json(200, operations.StackoneGetAccountMetaInfoResponse$inboundSchema, { key: "LinkedAccountMeta", }), - M.fail([400, 403, 404, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 404, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/accountsListLinkedAccounts.ts b/src/funcs/accountsListLinkedAccounts.ts index 03723db93..f281ed332 100644 --- a/src/funcs/accountsListLinkedAccounts.ts +++ b/src/funcs/accountsListLinkedAccounts.ts @@ -132,8 +132,8 @@ export async function accountsListLinkedAccounts( M.json(200, operations.StackoneListLinkedAccountsResponse$inboundSchema, { key: "classes", }), - M.fail([400, 403, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/accountsUpdateAccount.ts b/src/funcs/accountsUpdateAccount.ts index 33a5d917b..012e0794b 100644 --- a/src/funcs/accountsUpdateAccount.ts +++ b/src/funcs/accountsUpdateAccount.ts @@ -131,8 +131,8 @@ export async function accountsUpdateAccount( M.json(200, operations.StackoneUpdateAccountResponse$inboundSchema, { key: "LinkedAccount", }), - M.fail([400, 403, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsCreateApplication.ts b/src/funcs/atsCreateApplication.ts index 1eafb2147..7dc53f36c 100644 --- a/src/funcs/atsCreateApplication.ts +++ b/src/funcs/atsCreateApplication.ts @@ -128,8 +128,8 @@ export async function atsCreateApplication( M.json(201, operations.AtsCreateApplicationResponse$inboundSchema, { key: "CreateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsCreateApplicationNote.ts b/src/funcs/atsCreateApplicationNote.ts index cc07f900f..6858c51b0 100644 --- a/src/funcs/atsCreateApplicationNote.ts +++ b/src/funcs/atsCreateApplicationNote.ts @@ -135,8 +135,8 @@ export async function atsCreateApplicationNote( M.json(201, operations.AtsCreateApplicationNoteResponse$inboundSchema, { key: "CreateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsCreateBackgroundCheckPackage.ts b/src/funcs/atsCreateBackgroundCheckPackage.ts index 608d10144..61b2385f3 100644 --- a/src/funcs/atsCreateBackgroundCheckPackage.ts +++ b/src/funcs/atsCreateBackgroundCheckPackage.ts @@ -134,8 +134,8 @@ export async function atsCreateBackgroundCheckPackage( operations.AtsCreateBackgroundCheckPackageResponse$inboundSchema, { key: "CreateResult" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsCreateCandidate.ts b/src/funcs/atsCreateCandidate.ts index d4d773369..4d298cb4f 100644 --- a/src/funcs/atsCreateCandidate.ts +++ b/src/funcs/atsCreateCandidate.ts @@ -127,8 +127,8 @@ export async function atsCreateCandidate( M.json(200, operations.AtsCreateCandidateResponse$inboundSchema, { key: "CreateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsCreateCandidateNote.ts b/src/funcs/atsCreateCandidateNote.ts index 8b8a787cc..ba2d321d9 100644 --- a/src/funcs/atsCreateCandidateNote.ts +++ b/src/funcs/atsCreateCandidateNote.ts @@ -135,8 +135,8 @@ export async function atsCreateCandidateNote( M.json(201, operations.AtsCreateCandidateNoteResponse$inboundSchema, { key: "CreateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsCreateJob.ts b/src/funcs/atsCreateJob.ts index 9c39c9dbf..35db1776c 100644 --- a/src/funcs/atsCreateJob.ts +++ b/src/funcs/atsCreateJob.ts @@ -127,8 +127,8 @@ export async function atsCreateJob( M.json(200, operations.AtsCreateJobResponse$inboundSchema, { key: "CreateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsCreateOffer.ts b/src/funcs/atsCreateOffer.ts index 5324ddf85..961344bbb 100644 --- a/src/funcs/atsCreateOffer.ts +++ b/src/funcs/atsCreateOffer.ts @@ -127,8 +127,8 @@ export async function atsCreateOffer( M.json(200, operations.AtsCreateOfferResponse$inboundSchema, { key: "CreateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsDownloadApplicationDocument.ts b/src/funcs/atsDownloadApplicationDocument.ts index 358219547..9df6fe843 100644 --- a/src/funcs/atsDownloadApplicationDocument.ts +++ b/src/funcs/atsDownloadApplicationDocument.ts @@ -147,8 +147,8 @@ export async function atsDownloadApplicationDocument( operations.AtsDownloadApplicationDocumentResponse$inboundSchema, { key: "response-stream" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetApplication.ts b/src/funcs/atsGetApplication.ts index 1c66f89c9..9866091d0 100644 --- a/src/funcs/atsGetApplication.ts +++ b/src/funcs/atsGetApplication.ts @@ -149,8 +149,8 @@ export async function atsGetApplication( M.json(200, operations.AtsGetApplicationResponse$inboundSchema, { key: "ApplicationResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetApplicationCustomFieldDefinition.ts b/src/funcs/atsGetApplicationCustomFieldDefinition.ts index ec489b613..a9da69ba7 100644 --- a/src/funcs/atsGetApplicationCustomFieldDefinition.ts +++ b/src/funcs/atsGetApplicationCustomFieldDefinition.ts @@ -158,8 +158,8 @@ export async function atsGetApplicationCustomFieldDefinition( operations.AtsGetApplicationCustomFieldDefinitionResponse$inboundSchema, { key: "CustomFieldDefinitionResultApiModel" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetApplicationDocument.ts b/src/funcs/atsGetApplicationDocument.ts index 043d4ae6e..a87284b72 100644 --- a/src/funcs/atsGetApplicationDocument.ts +++ b/src/funcs/atsGetApplicationDocument.ts @@ -154,8 +154,8 @@ export async function atsGetApplicationDocument( M.json(200, operations.AtsGetApplicationDocumentResponse$inboundSchema, { key: "AtsDocumentResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetApplicationNote.ts b/src/funcs/atsGetApplicationNote.ts index 94151c264..54bd60527 100644 --- a/src/funcs/atsGetApplicationNote.ts +++ b/src/funcs/atsGetApplicationNote.ts @@ -154,8 +154,8 @@ export async function atsGetApplicationNote( M.json(200, operations.AtsGetApplicationNoteResponse$inboundSchema, { key: "NoteResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetApplicationOffer.ts b/src/funcs/atsGetApplicationOffer.ts index f73474975..321801106 100644 --- a/src/funcs/atsGetApplicationOffer.ts +++ b/src/funcs/atsGetApplicationOffer.ts @@ -154,8 +154,8 @@ export async function atsGetApplicationOffer( M.json(200, operations.AtsGetApplicationOfferResponse$inboundSchema, { key: "OffersResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetApplicationScheduledInterview.ts b/src/funcs/atsGetApplicationScheduledInterview.ts index 9a9f3f788..a33f1548b 100644 --- a/src/funcs/atsGetApplicationScheduledInterview.ts +++ b/src/funcs/atsGetApplicationScheduledInterview.ts @@ -157,8 +157,8 @@ export async function atsGetApplicationScheduledInterview( operations.AtsGetApplicationScheduledInterviewResponse$inboundSchema, { key: "ScheduledInterviewsResult" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetApplicationScorecard.ts b/src/funcs/atsGetApplicationScorecard.ts index 3bbe8b403..f43bce452 100644 --- a/src/funcs/atsGetApplicationScorecard.ts +++ b/src/funcs/atsGetApplicationScorecard.ts @@ -154,8 +154,8 @@ export async function atsGetApplicationScorecard( M.json(200, operations.AtsGetApplicationScorecardResponse$inboundSchema, { key: "ScorecardsResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetAssessmentsPackage.ts b/src/funcs/atsGetAssessmentsPackage.ts index 5b8346c68..ac57ae212 100644 --- a/src/funcs/atsGetAssessmentsPackage.ts +++ b/src/funcs/atsGetAssessmentsPackage.ts @@ -3,12 +3,7 @@ */ import { StackOneCore } from "../core.js"; -import { - encodeDeepObjectQuery, - encodeFormQuery, - encodeSimple, - queryJoin, -} from "../lib/encodings.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; @@ -67,15 +62,11 @@ export async function atsGetAssessmentsPackage( const path = pathToFunc("/unified/ats/assessments/packages/{id}")(pathParams); - const query = queryJoin( - encodeDeepObjectQuery({ - "proxy": payload.proxy, - }), - encodeFormQuery({ - "fields": payload.fields, - "raw": payload.raw, - }), - ); + const query = encodeFormQuery({ + "fields": payload.fields, + "proxy": payload.proxy, + "raw": payload.raw, + }); const headers = new Headers(compactMap({ Accept: "application/json", @@ -148,8 +139,8 @@ export async function atsGetAssessmentsPackage( M.json(200, operations.AtsGetAssessmentsPackageResponse$inboundSchema, { key: "AssessmentPackageResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetAssessmentsRequest.ts b/src/funcs/atsGetAssessmentsRequest.ts index 745598dda..996dc62e3 100644 --- a/src/funcs/atsGetAssessmentsRequest.ts +++ b/src/funcs/atsGetAssessmentsRequest.ts @@ -3,12 +3,7 @@ */ import { StackOneCore } from "../core.js"; -import { - encodeDeepObjectQuery, - encodeFormQuery, - encodeSimple, - queryJoin, -} from "../lib/encodings.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; @@ -67,15 +62,11 @@ export async function atsGetAssessmentsRequest( const path = pathToFunc("/unified/ats/assessments/orders/{id}")(pathParams); - const query = queryJoin( - encodeDeepObjectQuery({ - "proxy": payload.proxy, - }), - encodeFormQuery({ - "fields": payload.fields, - "raw": payload.raw, - }), - ); + const query = encodeFormQuery({ + "fields": payload.fields, + "proxy": payload.proxy, + "raw": payload.raw, + }); const headers = new Headers(compactMap({ Accept: "application/json", @@ -148,8 +139,8 @@ export async function atsGetAssessmentsRequest( M.json(200, operations.AtsGetAssessmentsRequestResponse$inboundSchema, { key: "AssessmentOrderResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetAssessmentsResult.ts b/src/funcs/atsGetAssessmentsResult.ts index d8925de88..88c502e4e 100644 --- a/src/funcs/atsGetAssessmentsResult.ts +++ b/src/funcs/atsGetAssessmentsResult.ts @@ -150,8 +150,8 @@ export async function atsGetAssessmentsResult( M.json(200, operations.AtsGetAssessmentsResultResponse$inboundSchema, { key: "AssessmentResultsResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetBackgroundCheckPackage.ts b/src/funcs/atsGetBackgroundCheckPackage.ts index 2a1b93e3f..9e42585de 100644 --- a/src/funcs/atsGetBackgroundCheckPackage.ts +++ b/src/funcs/atsGetBackgroundCheckPackage.ts @@ -3,12 +3,7 @@ */ import { StackOneCore } from "../core.js"; -import { - encodeDeepObjectQuery, - encodeFormQuery, - encodeSimple, - queryJoin, -} from "../lib/encodings.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; @@ -71,15 +66,11 @@ export async function atsGetBackgroundCheckPackage( pathParams, ); - const query = queryJoin( - encodeDeepObjectQuery({ - "proxy": payload.proxy, - }), - encodeFormQuery({ - "fields": payload.fields, - "raw": payload.raw, - }), - ); + const query = encodeFormQuery({ + "fields": payload.fields, + "proxy": payload.proxy, + "raw": payload.raw, + }); const headers = new Headers(compactMap({ Accept: "application/json", @@ -152,8 +143,8 @@ export async function atsGetBackgroundCheckPackage( M.json(200, operations.AtsGetBackgroundCheckPackageResponse$inboundSchema, { key: "BackgroundCheckPackageResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetBackgroundCheckRequest.ts b/src/funcs/atsGetBackgroundCheckRequest.ts index 320fe0883..c08ce1c7e 100644 --- a/src/funcs/atsGetBackgroundCheckRequest.ts +++ b/src/funcs/atsGetBackgroundCheckRequest.ts @@ -3,12 +3,7 @@ */ import { StackOneCore } from "../core.js"; -import { - encodeDeepObjectQuery, - encodeFormQuery, - encodeSimple, - queryJoin, -} from "../lib/encodings.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; @@ -71,15 +66,11 @@ export async function atsGetBackgroundCheckRequest( pathParams, ); - const query = queryJoin( - encodeDeepObjectQuery({ - "proxy": payload.proxy, - }), - encodeFormQuery({ - "fields": payload.fields, - "raw": payload.raw, - }), - ); + const query = encodeFormQuery({ + "fields": payload.fields, + "proxy": payload.proxy, + "raw": payload.raw, + }); const headers = new Headers(compactMap({ Accept: "application/json", @@ -152,8 +143,8 @@ export async function atsGetBackgroundCheckRequest( M.json(200, operations.AtsGetBackgroundCheckRequestResponse$inboundSchema, { key: "BackgroundCheckOrderResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetBackgroundCheckResult.ts b/src/funcs/atsGetBackgroundCheckResult.ts index 4f41b75a6..261be2099 100644 --- a/src/funcs/atsGetBackgroundCheckResult.ts +++ b/src/funcs/atsGetBackgroundCheckResult.ts @@ -150,8 +150,8 @@ export async function atsGetBackgroundCheckResult( M.json(200, operations.AtsGetBackgroundCheckResultResponse$inboundSchema, { key: "BackgroundCheckResultsResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetCandidate.ts b/src/funcs/atsGetCandidate.ts index 0b13ef2f8..aa49df380 100644 --- a/src/funcs/atsGetCandidate.ts +++ b/src/funcs/atsGetCandidate.ts @@ -148,8 +148,8 @@ export async function atsGetCandidate( M.json(200, operations.AtsGetCandidateResponse$inboundSchema, { key: "CandidateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetCandidateCustomFieldDefinition.ts b/src/funcs/atsGetCandidateCustomFieldDefinition.ts index c743f9caf..a092ca0b9 100644 --- a/src/funcs/atsGetCandidateCustomFieldDefinition.ts +++ b/src/funcs/atsGetCandidateCustomFieldDefinition.ts @@ -158,8 +158,8 @@ export async function atsGetCandidateCustomFieldDefinition( operations.AtsGetCandidateCustomFieldDefinitionResponse$inboundSchema, { key: "CustomFieldDefinitionResultApiModel" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetCandidateNote.ts b/src/funcs/atsGetCandidateNote.ts index 66bb3d33f..b96365f86 100644 --- a/src/funcs/atsGetCandidateNote.ts +++ b/src/funcs/atsGetCandidateNote.ts @@ -154,8 +154,8 @@ export async function atsGetCandidateNote( M.json(200, operations.AtsGetCandidateNoteResponse$inboundSchema, { key: "NoteResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetDepartment.ts b/src/funcs/atsGetDepartment.ts index 1f790603c..b2b9c3c9f 100644 --- a/src/funcs/atsGetDepartment.ts +++ b/src/funcs/atsGetDepartment.ts @@ -147,8 +147,8 @@ export async function atsGetDepartment( M.json(200, operations.AtsGetDepartmentResponse$inboundSchema, { key: "DepartmentResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetInterview.ts b/src/funcs/atsGetInterview.ts index c0ff62c31..e303ad0e5 100644 --- a/src/funcs/atsGetInterview.ts +++ b/src/funcs/atsGetInterview.ts @@ -147,8 +147,8 @@ export async function atsGetInterview( M.json(200, operations.AtsGetInterviewResponse$inboundSchema, { key: "InterviewsResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetInterviewStage.ts b/src/funcs/atsGetInterviewStage.ts index 9985d87f2..b4ed96bab 100644 --- a/src/funcs/atsGetInterviewStage.ts +++ b/src/funcs/atsGetInterviewStage.ts @@ -148,8 +148,8 @@ export async function atsGetInterviewStage( M.json(200, operations.AtsGetInterviewStageResponse$inboundSchema, { key: "InterviewStageResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetJob.ts b/src/funcs/atsGetJob.ts index 2dd95ee8d..434cccab1 100644 --- a/src/funcs/atsGetJob.ts +++ b/src/funcs/atsGetJob.ts @@ -149,8 +149,8 @@ export async function atsGetJob( M.json(200, operations.AtsGetJobResponse$inboundSchema, { key: "JobResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetJobCustomFieldDefinition.ts b/src/funcs/atsGetJobCustomFieldDefinition.ts index cbc948d35..548a49c88 100644 --- a/src/funcs/atsGetJobCustomFieldDefinition.ts +++ b/src/funcs/atsGetJobCustomFieldDefinition.ts @@ -159,8 +159,8 @@ export async function atsGetJobCustomFieldDefinition( operations.AtsGetJobCustomFieldDefinitionResponse$inboundSchema, { key: "CustomFieldDefinitionResultApiModel" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetJobPosting.ts b/src/funcs/atsGetJobPosting.ts index 4a883b451..bb6031100 100644 --- a/src/funcs/atsGetJobPosting.ts +++ b/src/funcs/atsGetJobPosting.ts @@ -148,8 +148,8 @@ export async function atsGetJobPosting( M.json(200, operations.AtsGetJobPostingResponse$inboundSchema, { key: "JobPostingResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetList.ts b/src/funcs/atsGetList.ts index 0c3950fed..c8ae197fc 100644 --- a/src/funcs/atsGetList.ts +++ b/src/funcs/atsGetList.ts @@ -147,8 +147,8 @@ export async function atsGetList( M.json(200, operations.AtsGetListResponse$inboundSchema, { key: "ListResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetLocation.ts b/src/funcs/atsGetLocation.ts index 22b6cbc70..e4eeeec9d 100644 --- a/src/funcs/atsGetLocation.ts +++ b/src/funcs/atsGetLocation.ts @@ -147,8 +147,8 @@ export async function atsGetLocation( M.json(200, operations.AtsGetLocationResponse$inboundSchema, { key: "ATSLocationResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetOffer.ts b/src/funcs/atsGetOffer.ts index 11fd3ee38..76ddbd9a0 100644 --- a/src/funcs/atsGetOffer.ts +++ b/src/funcs/atsGetOffer.ts @@ -147,8 +147,8 @@ export async function atsGetOffer( M.json(200, operations.AtsGetOfferResponse$inboundSchema, { key: "OffersResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetRejectedReason.ts b/src/funcs/atsGetRejectedReason.ts index 3c5ae7953..5836c3dab 100644 --- a/src/funcs/atsGetRejectedReason.ts +++ b/src/funcs/atsGetRejectedReason.ts @@ -148,8 +148,8 @@ export async function atsGetRejectedReason( M.json(200, operations.AtsGetRejectedReasonResponse$inboundSchema, { key: "RejectedReasonResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsGetUser.ts b/src/funcs/atsGetUser.ts index 8d7eb6d26..145be291a 100644 --- a/src/funcs/atsGetUser.ts +++ b/src/funcs/atsGetUser.ts @@ -147,8 +147,8 @@ export async function atsGetUser( M.json(200, operations.AtsGetUserResponse$inboundSchema, { key: "UserResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsListApplicationCustomFieldDefinitions.ts b/src/funcs/atsListApplicationCustomFieldDefinitions.ts index e8e79a628..f044c0451 100644 --- a/src/funcs/atsListApplicationCustomFieldDefinitions.ts +++ b/src/funcs/atsListApplicationCustomFieldDefinitions.ts @@ -151,8 +151,8 @@ export async function atsListApplicationCustomFieldDefinitions( operations.AtsListApplicationCustomFieldDefinitionsResponse$inboundSchema, { key: "CustomFieldDefinitionsPaginated" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsListApplicationDocuments.ts b/src/funcs/atsListApplicationDocuments.ts index 5ec54993c..bd654ad53 100644 --- a/src/funcs/atsListApplicationDocuments.ts +++ b/src/funcs/atsListApplicationDocuments.ts @@ -156,8 +156,8 @@ export async function atsListApplicationDocuments( M.json(200, operations.AtsListApplicationDocumentsResponse$inboundSchema, { key: "AtsDocumentsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsListApplicationNotes.ts b/src/funcs/atsListApplicationNotes.ts index c55c7de70..9c4aafef7 100644 --- a/src/funcs/atsListApplicationNotes.ts +++ b/src/funcs/atsListApplicationNotes.ts @@ -154,8 +154,8 @@ export async function atsListApplicationNotes( M.json(200, operations.AtsListApplicationNotesResponse$inboundSchema, { key: "NotesPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsListApplicationScorecards.ts b/src/funcs/atsListApplicationScorecards.ts index f3c5c0179..95e59097c 100644 --- a/src/funcs/atsListApplicationScorecards.ts +++ b/src/funcs/atsListApplicationScorecards.ts @@ -158,8 +158,8 @@ export async function atsListApplicationScorecards( M.json(200, operations.AtsListApplicationScorecardsResponse$inboundSchema, { key: "ScorecardsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsListApplications.ts b/src/funcs/atsListApplications.ts index 1ffcec4b0..4cf939427 100644 --- a/src/funcs/atsListApplications.ts +++ b/src/funcs/atsListApplications.ts @@ -150,8 +150,8 @@ export async function atsListApplications( M.json(200, operations.AtsListApplicationsResponse$inboundSchema, { key: "ApplicationsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsListApplicationsOffers.ts b/src/funcs/atsListApplicationsOffers.ts index 4e159a159..49e7e7939 100644 --- a/src/funcs/atsListApplicationsOffers.ts +++ b/src/funcs/atsListApplicationsOffers.ts @@ -154,8 +154,8 @@ export async function atsListApplicationsOffers( M.json(200, operations.AtsListApplicationsOffersResponse$inboundSchema, { key: "OffersPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsListApplicationsScheduledInterviews.ts b/src/funcs/atsListApplicationsScheduledInterviews.ts index d5b7018db..2a5270765 100644 --- a/src/funcs/atsListApplicationsScheduledInterviews.ts +++ b/src/funcs/atsListApplicationsScheduledInterviews.ts @@ -159,8 +159,8 @@ export async function atsListApplicationsScheduledInterviews( operations.AtsListApplicationsScheduledInterviewsResponse$inboundSchema, { key: "ScheduledInterviewsPaginated" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsListAssessmentsPackages.ts b/src/funcs/atsListAssessmentsPackages.ts index c171a7a79..e2eed9202 100644 --- a/src/funcs/atsListAssessmentsPackages.ts +++ b/src/funcs/atsListAssessmentsPackages.ts @@ -3,12 +3,7 @@ */ import { StackOneCore } from "../core.js"; -import { - encodeDeepObjectQuery, - encodeFormQuery, - encodeSimple, - queryJoin, -} from "../lib/encodings.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; @@ -60,20 +55,16 @@ export async function atsListAssessmentsPackages( const path = pathToFunc("/unified/ats/assessments/packages")(); - const query = queryJoin( - encodeDeepObjectQuery({ - "filter": payload.filter, - "proxy": payload.proxy, - }), - encodeFormQuery({ - "fields": payload.fields, - "next": payload.next, - "page": payload.page, - "page_size": payload.page_size, - "raw": payload.raw, - "updated_after": payload.updated_after, - }), - ); + const query = encodeFormQuery({ + "fields": payload.fields, + "filter": payload.filter, + "next": payload.next, + "page": payload.page, + "page_size": payload.page_size, + "proxy": payload.proxy, + "raw": payload.raw, + "updated_after": payload.updated_after, + }); const headers = new Headers(compactMap({ Accept: "application/json", @@ -146,8 +137,8 @@ export async function atsListAssessmentsPackages( M.json(200, operations.AtsListAssessmentsPackagesResponse$inboundSchema, { key: "AssessmentPackagePaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsListBackgroundCheckPackages.ts b/src/funcs/atsListBackgroundCheckPackages.ts index 2d09bcc41..2edd345fe 100644 --- a/src/funcs/atsListBackgroundCheckPackages.ts +++ b/src/funcs/atsListBackgroundCheckPackages.ts @@ -3,12 +3,7 @@ */ import { StackOneCore } from "../core.js"; -import { - encodeDeepObjectQuery, - encodeFormQuery, - encodeSimple, - queryJoin, -} from "../lib/encodings.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; @@ -62,20 +57,16 @@ export async function atsListBackgroundCheckPackages( const path = pathToFunc("/unified/ats/background_checks/packages")(); - const query = queryJoin( - encodeDeepObjectQuery({ - "filter": payload.filter, - "proxy": payload.proxy, - }), - encodeFormQuery({ - "fields": payload.fields, - "next": payload.next, - "page": payload.page, - "page_size": payload.page_size, - "raw": payload.raw, - "updated_after": payload.updated_after, - }), - ); + const query = encodeFormQuery({ + "fields": payload.fields, + "filter": payload.filter, + "next": payload.next, + "page": payload.page, + "page_size": payload.page_size, + "proxy": payload.proxy, + "raw": payload.raw, + "updated_after": payload.updated_after, + }); const headers = new Headers(compactMap({ Accept: "application/json", @@ -150,8 +141,8 @@ export async function atsListBackgroundCheckPackages( operations.AtsListBackgroundCheckPackagesResponse$inboundSchema, { key: "BackgroundCheckPackagePaginated" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsListBackgroundCheckRequest.ts b/src/funcs/atsListBackgroundCheckRequest.ts index f61401f5e..1538b8e19 100644 --- a/src/funcs/atsListBackgroundCheckRequest.ts +++ b/src/funcs/atsListBackgroundCheckRequest.ts @@ -3,12 +3,7 @@ */ import { StackOneCore } from "../core.js"; -import { - encodeDeepObjectQuery, - encodeFormQuery, - encodeSimple, - queryJoin, -} from "../lib/encodings.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; @@ -62,20 +57,16 @@ export async function atsListBackgroundCheckRequest( const path = pathToFunc("/unified/ats/background_checks/orders")(); - const query = queryJoin( - encodeDeepObjectQuery({ - "proxy": payload.proxy, - }), - encodeFormQuery({ - "fields": payload.fields, - "filter": payload.filter, - "next": payload.next, - "page": payload.page, - "page_size": payload.page_size, - "raw": payload.raw, - "updated_after": payload.updated_after, - }), - ); + const query = encodeFormQuery({ + "fields": payload.fields, + "filter": payload.filter, + "next": payload.next, + "page": payload.page, + "page_size": payload.page_size, + "proxy": payload.proxy, + "raw": payload.raw, + "updated_after": payload.updated_after, + }); const headers = new Headers(compactMap({ Accept: "application/json", @@ -150,8 +141,8 @@ export async function atsListBackgroundCheckRequest( operations.AtsListBackgroundCheckRequestResponse$inboundSchema, { key: "BackgroundCheckOrderPaginated" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsListCandidateCustomFieldDefinitions.ts b/src/funcs/atsListCandidateCustomFieldDefinitions.ts index d039be3bd..5c095c656 100644 --- a/src/funcs/atsListCandidateCustomFieldDefinitions.ts +++ b/src/funcs/atsListCandidateCustomFieldDefinitions.ts @@ -149,8 +149,8 @@ export async function atsListCandidateCustomFieldDefinitions( operations.AtsListCandidateCustomFieldDefinitionsResponse$inboundSchema, { key: "CustomFieldDefinitionsPaginated" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsListCandidateNotes.ts b/src/funcs/atsListCandidateNotes.ts index c379fa34f..3197dfeb5 100644 --- a/src/funcs/atsListCandidateNotes.ts +++ b/src/funcs/atsListCandidateNotes.ts @@ -154,8 +154,8 @@ export async function atsListCandidateNotes( M.json(200, operations.AtsListCandidateNotesResponse$inboundSchema, { key: "NotesPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsListCandidates.ts b/src/funcs/atsListCandidates.ts index 1e22457fe..37c0229e5 100644 --- a/src/funcs/atsListCandidates.ts +++ b/src/funcs/atsListCandidates.ts @@ -147,8 +147,8 @@ export async function atsListCandidates( M.json(200, operations.AtsListCandidatesResponse$inboundSchema, { key: "CandidatesPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsListDepartments.ts b/src/funcs/atsListDepartments.ts index c91812d60..ce4d6193a 100644 --- a/src/funcs/atsListDepartments.ts +++ b/src/funcs/atsListDepartments.ts @@ -146,8 +146,8 @@ export async function atsListDepartments( M.json(200, operations.AtsListDepartmentsResponse$inboundSchema, { key: "DepartmentsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsListInterviewStages.ts b/src/funcs/atsListInterviewStages.ts index a648ceb3a..512087173 100644 --- a/src/funcs/atsListInterviewStages.ts +++ b/src/funcs/atsListInterviewStages.ts @@ -147,8 +147,8 @@ export async function atsListInterviewStages( M.json(200, operations.AtsListInterviewStagesResponse$inboundSchema, { key: "InterviewStagesPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsListInterviews.ts b/src/funcs/atsListInterviews.ts index 7d7378f70..4d21af9c4 100644 --- a/src/funcs/atsListInterviews.ts +++ b/src/funcs/atsListInterviews.ts @@ -146,8 +146,8 @@ export async function atsListInterviews( M.json(200, operations.AtsListInterviewsResponse$inboundSchema, { key: "InterviewsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsListJobCustomFieldDefinitions.ts b/src/funcs/atsListJobCustomFieldDefinitions.ts index 2090c5b80..52b598286 100644 --- a/src/funcs/atsListJobCustomFieldDefinitions.ts +++ b/src/funcs/atsListJobCustomFieldDefinitions.ts @@ -150,8 +150,8 @@ export async function atsListJobCustomFieldDefinitions( operations.AtsListJobCustomFieldDefinitionsResponse$inboundSchema, { key: "CustomFieldDefinitionsPaginated" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsListJobPostings.ts b/src/funcs/atsListJobPostings.ts index d7b7762aa..eaa3f06c0 100644 --- a/src/funcs/atsListJobPostings.ts +++ b/src/funcs/atsListJobPostings.ts @@ -147,8 +147,8 @@ export async function atsListJobPostings( M.json(200, operations.AtsListJobPostingsResponse$inboundSchema, { key: "JobPostingsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsListJobs.ts b/src/funcs/atsListJobs.ts index 96cf9429f..ca35b7783 100644 --- a/src/funcs/atsListJobs.ts +++ b/src/funcs/atsListJobs.ts @@ -148,8 +148,8 @@ export async function atsListJobs( M.json(200, operations.AtsListJobsResponse$inboundSchema, { key: "JobsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsListLists.ts b/src/funcs/atsListLists.ts index d32e99dae..cf1636aa0 100644 --- a/src/funcs/atsListLists.ts +++ b/src/funcs/atsListLists.ts @@ -145,8 +145,8 @@ export async function atsListLists( M.json(200, operations.AtsListListsResponse$inboundSchema, { key: "ListsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsListLocations.ts b/src/funcs/atsListLocations.ts index 7fc12c874..1d29dcef7 100644 --- a/src/funcs/atsListLocations.ts +++ b/src/funcs/atsListLocations.ts @@ -146,8 +146,8 @@ export async function atsListLocations( M.json(200, operations.AtsListLocationsResponse$inboundSchema, { key: "ATSLocationsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsListOffers.ts b/src/funcs/atsListOffers.ts index b1d2da164..5a8a0cae2 100644 --- a/src/funcs/atsListOffers.ts +++ b/src/funcs/atsListOffers.ts @@ -146,8 +146,8 @@ export async function atsListOffers( M.json(200, operations.AtsListOffersResponse$inboundSchema, { key: "OffersPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsListRejectedReasons.ts b/src/funcs/atsListRejectedReasons.ts index 17291e327..533261c04 100644 --- a/src/funcs/atsListRejectedReasons.ts +++ b/src/funcs/atsListRejectedReasons.ts @@ -147,8 +147,8 @@ export async function atsListRejectedReasons( M.json(200, operations.AtsListRejectedReasonsResponse$inboundSchema, { key: "RejectedReasonsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsListUsers.ts b/src/funcs/atsListUsers.ts index 6ef24e41d..15cfd9673 100644 --- a/src/funcs/atsListUsers.ts +++ b/src/funcs/atsListUsers.ts @@ -146,8 +146,8 @@ export async function atsListUsers( M.json(200, operations.AtsListUsersResponse$inboundSchema, { key: "UsersPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsMoveApplication.ts b/src/funcs/atsMoveApplication.ts index 5c36e9f88..38fab8241 100644 --- a/src/funcs/atsMoveApplication.ts +++ b/src/funcs/atsMoveApplication.ts @@ -134,8 +134,8 @@ export async function atsMoveApplication( M.json(200, operations.AtsMoveApplicationResponse$inboundSchema, { key: "MoveApplicationResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/webhooksCreate.ts b/src/funcs/atsOrderAssessmentsRequest.ts similarity index 79% rename from src/funcs/webhooksCreate.ts rename to src/funcs/atsOrderAssessmentsRequest.ts index 8188c56e8..0994fd94e 100644 --- a/src/funcs/webhooksCreate.ts +++ b/src/funcs/atsOrderAssessmentsRequest.ts @@ -22,13 +22,16 @@ import { SDKValidationError } from "../sdk/models/errors/sdkvalidationerror.js"; import * as operations from "../sdk/models/operations/index.js"; import { Result } from "../sdk/types/fp.js"; -export async function webhooksCreate( +/** + * Order Assessments Request + */ +export async function atsOrderAssessmentsRequest( client: StackOneCore, - request: operations.CreateRequest, + request: operations.AtsOrderAssessmentsRequestRequest, options?: RequestOptions, ): Promise< Result< - operations.CreateResponse, + operations.AtsOrderAssessmentsRequestResponse, | SDKError | SDKValidationError | UnexpectedClientError @@ -40,23 +43,21 @@ export async function webhooksCreate( > { const parsed = safeParse( request, - (value) => operations.CreateRequest$outboundSchema.parse(value), + (value) => + operations.AtsOrderAssessmentsRequestRequest$outboundSchema.parse(value), "Input validation failed", ); if (!parsed.ok) { return parsed; } const payload = parsed.value; - const body = encodeJSON("body", payload.RequestBody, { explode: true }); - - const pathParams = { - id: encodeSimple("id", payload.id, { - explode: false, - charEncoding: "percent", - }), - }; + const body = encodeJSON( + "body", + payload.AtsCreateCandidatesAssessmentsRequestDto, + { explode: true }, + ); - const path = pathToFunc("/webhooks/{id}/events")(pathParams); + const path = pathToFunc("/unified/ats/assessments/orders")(); const headers = new Headers(compactMap({ "Content-Type": "application/json", @@ -71,7 +72,7 @@ export async function webhooksCreate( const requestSecurity = resolveGlobalSecurity(securityInput); const context = { - operationID: "create", + operationID: "ats_order_assessments_request", oAuth2Scopes: [], resolvedSecurity: requestSecurity, @@ -99,18 +100,7 @@ export async function webhooksCreate( const doResult = await client._do(req, { context, - errorCodes: [ - "400", - "403", - "404", - "408", - "412", - "429", - "4XX", - "500", - "501", - "5XX", - ], + errorCodes: ["400", "403", "408", "412", "429", "4XX", "500", "501", "5XX"], retryConfig: context.retryConfig, retryCodes: context.retryCodes, }); @@ -128,7 +118,7 @@ export async function webhooksCreate( }; const [result] = await M.match< - operations.CreateResponse, + operations.AtsOrderAssessmentsRequestResponse, | SDKError | SDKValidationError | UnexpectedClientError @@ -137,9 +127,11 @@ export async function webhooksCreate( | RequestTimeoutError | ConnectionError >( - M.json(207, operations.CreateResponse$inboundSchema, { key: "classes" }), - M.fail([400, 403, 404, 412, 429, "4XX"]), + M.json(200, operations.AtsOrderAssessmentsRequestResponse$inboundSchema, { + key: "CreateAssessmentOrderResult", + }), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsOrderBackgroundCheckRequest.ts b/src/funcs/atsOrderBackgroundCheckRequest.ts new file mode 100644 index 000000000..8534b76b6 --- /dev/null +++ b/src/funcs/atsOrderBackgroundCheckRequest.ts @@ -0,0 +1,146 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { StackOneCore } from "../core.js"; +import { encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../sdk/models/errors/httpclienterrors.js"; +import { SDKError } from "../sdk/models/errors/sdkerror.js"; +import { SDKValidationError } from "../sdk/models/errors/sdkvalidationerror.js"; +import * as operations from "../sdk/models/operations/index.js"; +import { Result } from "../sdk/types/fp.js"; + +/** + * Order Background Check Request + */ +export async function atsOrderBackgroundCheckRequest( + client: StackOneCore, + request: operations.AtsOrderBackgroundCheckRequestRequest, + options?: RequestOptions, +): Promise< + Result< + operations.AtsOrderBackgroundCheckRequestResponse, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + > +> { + const parsed = safeParse( + request, + (value) => + operations.AtsOrderBackgroundCheckRequestRequest$outboundSchema.parse( + value, + ), + "Input validation failed", + ); + if (!parsed.ok) { + return parsed; + } + const payload = parsed.value; + const body = encodeJSON( + "body", + payload.AtsCreateBackgroundCheckOrderRequestDto, + { explode: true }, + ); + + const path = pathToFunc("/unified/ats/background_checks/orders")(); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + "x-account-id": encodeSimple("x-account-id", payload["x-account-id"], { + explode: false, + charEncoding: "none", + }), + })); + + const securityInput = await extractSecurity(client._options.security); + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + operationID: "ats_order_background_check_request", + oAuth2Scopes: [], + + resolvedSecurity: requestSecurity, + + securitySource: client._options.security, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "POST", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return requestRes; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "403", "408", "412", "429", "4XX", "500", "501", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return doResult; + } + const response = doResult.value; + + const responseFields = { + ContentType: response.headers.get("content-type") + ?? "application/octet-stream", + StatusCode: response.status, + RawResponse: response, + Headers: {}, + }; + + const [result] = await M.match< + operations.AtsOrderBackgroundCheckRequestResponse, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + >( + M.json( + 200, + operations.AtsOrderBackgroundCheckRequestResponse$inboundSchema, + { key: "CreateBackgroundCheckOrderResult" }, + ), + M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), + M.fail([500, 501, "5XX"]), + )(response, { extraFields: responseFields }); + if (!result.ok) { + return result; + } + + return result; +} diff --git a/src/funcs/atsRejectApplication.ts b/src/funcs/atsRejectApplication.ts index e3c8fdef3..87dffb6f9 100644 --- a/src/funcs/atsRejectApplication.ts +++ b/src/funcs/atsRejectApplication.ts @@ -135,8 +135,8 @@ export async function atsRejectApplication( M.json(200, operations.AtsRejectApplicationResponse$inboundSchema, { key: "RejectApplicationResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsUpdateApplication.ts b/src/funcs/atsUpdateApplication.ts index 8f2f0d67d..092c2f792 100644 --- a/src/funcs/atsUpdateApplication.ts +++ b/src/funcs/atsUpdateApplication.ts @@ -135,8 +135,8 @@ export async function atsUpdateApplication( M.json(200, operations.AtsUpdateApplicationResponse$inboundSchema, { key: "UpdateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsUpdateApplicationNote.ts b/src/funcs/atsUpdateApplicationNote.ts index 321a09f97..7a11198c3 100644 --- a/src/funcs/atsUpdateApplicationNote.ts +++ b/src/funcs/atsUpdateApplicationNote.ts @@ -141,8 +141,8 @@ export async function atsUpdateApplicationNote( M.json(200, operations.AtsUpdateApplicationNoteResponse$inboundSchema, { key: "UpdateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsUpdateCandidate.ts b/src/funcs/atsUpdateCandidate.ts index d5df1da39..7e6f28c7a 100644 --- a/src/funcs/atsUpdateCandidate.ts +++ b/src/funcs/atsUpdateCandidate.ts @@ -134,8 +134,8 @@ export async function atsUpdateCandidate( M.json(200, operations.AtsUpdateCandidateResponse$inboundSchema, { key: "CreateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsUpdateJob.ts b/src/funcs/atsUpdateJob.ts index 4946f20e8..d9db3e33d 100644 --- a/src/funcs/atsUpdateJob.ts +++ b/src/funcs/atsUpdateJob.ts @@ -134,8 +134,8 @@ export async function atsUpdateJob( M.json(200, operations.AtsUpdateJobResponse$inboundSchema, { key: "CreateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/atsUploadApplicationDocument.ts b/src/funcs/atsUploadApplicationDocument.ts index ae6da9249..2b7263880 100644 --- a/src/funcs/atsUploadApplicationDocument.ts +++ b/src/funcs/atsUploadApplicationDocument.ts @@ -139,8 +139,8 @@ export async function atsUploadApplicationDocument( M.json(201, operations.AtsUploadApplicationDocumentResponse$inboundSchema, { key: "WriteResultApiModel", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/connectSessionsAuthenticateConnectSession.ts b/src/funcs/connectSessionsAuthenticateConnectSession.ts index 80e6db953..27a9874e5 100644 --- a/src/funcs/connectSessionsAuthenticateConnectSession.ts +++ b/src/funcs/connectSessionsAuthenticateConnectSession.ts @@ -124,8 +124,8 @@ export async function connectSessionsAuthenticateConnectSession( operations.StackoneAuthenticateConnectSessionResponse$inboundSchema, { key: "ConnectSession" }, ), - M.fail([400, 403, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/connectSessionsCreateConnectSession.ts b/src/funcs/connectSessionsCreateConnectSession.ts index f4d4a597f..6e33f0e96 100644 --- a/src/funcs/connectSessionsCreateConnectSession.ts +++ b/src/funcs/connectSessionsCreateConnectSession.ts @@ -122,8 +122,8 @@ export async function connectSessionsCreateConnectSession( M.json(201, operations.StackoneCreateConnectSessionResponse$inboundSchema, { key: "ConnectSessionTokenAuthLink", }), - M.fail([400, 403, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/connectorsGetConnectorMeta.ts b/src/funcs/connectorsGetConnectorMeta.ts index 51f437c10..8f0a6e27b 100644 --- a/src/funcs/connectorsGetConnectorMeta.ts +++ b/src/funcs/connectorsGetConnectorMeta.ts @@ -133,8 +133,8 @@ export async function connectorsGetConnectorMeta( M.json(200, operations.StackoneGetConnectorMetaResponse$inboundSchema, { key: "ConnectorsMeta", }), - M.fail([400, 403, 404, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 404, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/connectorsListConnectorsMeta.ts b/src/funcs/connectorsListConnectorsMeta.ts index 07ab8ad2a..dc757ce24 100644 --- a/src/funcs/connectorsListConnectorsMeta.ts +++ b/src/funcs/connectorsListConnectorsMeta.ts @@ -126,8 +126,8 @@ export async function connectorsListConnectorsMeta( M.json(200, operations.StackoneListConnectorsMetaResponse$inboundSchema, { key: "classes", }), - M.fail([400, 403, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/crmCreateContact.ts b/src/funcs/crmCreateContact.ts index 73e2b2cdc..839c790d7 100644 --- a/src/funcs/crmCreateContact.ts +++ b/src/funcs/crmCreateContact.ts @@ -127,8 +127,8 @@ export async function crmCreateContact( M.json(200, operations.CrmCreateContactResponse$inboundSchema, { key: "ContactResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/crmGetAccount.ts b/src/funcs/crmGetAccount.ts index d960d15ba..125caaba1 100644 --- a/src/funcs/crmGetAccount.ts +++ b/src/funcs/crmGetAccount.ts @@ -147,8 +147,8 @@ export async function crmGetAccount( M.json(200, operations.CrmGetAccountResponse$inboundSchema, { key: "AccountResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/crmGetContact.ts b/src/funcs/crmGetContact.ts index fbf026156..3db00ff10 100644 --- a/src/funcs/crmGetContact.ts +++ b/src/funcs/crmGetContact.ts @@ -148,8 +148,8 @@ export async function crmGetContact( M.json(200, operations.CrmGetContactResponse$inboundSchema, { key: "ContactResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/crmGetContactCustomFieldDefinition.ts b/src/funcs/crmGetContactCustomFieldDefinition.ts index 25b0f007c..0081f0fdd 100644 --- a/src/funcs/crmGetContactCustomFieldDefinition.ts +++ b/src/funcs/crmGetContactCustomFieldDefinition.ts @@ -159,8 +159,8 @@ export async function crmGetContactCustomFieldDefinition( operations.CrmGetContactCustomFieldDefinitionResponse$inboundSchema, { key: "CustomFieldDefinitionResultApiModel" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/crmGetList.ts b/src/funcs/crmGetList.ts index 24564415a..8731095d1 100644 --- a/src/funcs/crmGetList.ts +++ b/src/funcs/crmGetList.ts @@ -147,8 +147,8 @@ export async function crmGetList( M.json(200, operations.CrmGetListResponse$inboundSchema, { key: "ListResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/crmListAccounts.ts b/src/funcs/crmListAccounts.ts index 84cb45e83..19fb90925 100644 --- a/src/funcs/crmListAccounts.ts +++ b/src/funcs/crmListAccounts.ts @@ -145,8 +145,8 @@ export async function crmListAccounts( M.json(200, operations.CrmListAccountsResponse$inboundSchema, { key: "AccountsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/crmListContactCustomFieldDefinitions.ts b/src/funcs/crmListContactCustomFieldDefinitions.ts index d264c71ce..c3fb75b18 100644 --- a/src/funcs/crmListContactCustomFieldDefinitions.ts +++ b/src/funcs/crmListContactCustomFieldDefinitions.ts @@ -149,8 +149,8 @@ export async function crmListContactCustomFieldDefinitions( operations.CrmListContactCustomFieldDefinitionsResponse$inboundSchema, { key: "CustomFieldDefinitionsPaginated" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/crmListContacts.ts b/src/funcs/crmListContacts.ts index 964d0b2af..d04fb4313 100644 --- a/src/funcs/crmListContacts.ts +++ b/src/funcs/crmListContacts.ts @@ -146,8 +146,8 @@ export async function crmListContacts( M.json(200, operations.CrmListContactsResponse$inboundSchema, { key: "ContactsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/crmListLists.ts b/src/funcs/crmListLists.ts index 5a145d3c6..b9e1383b9 100644 --- a/src/funcs/crmListLists.ts +++ b/src/funcs/crmListLists.ts @@ -145,8 +145,8 @@ export async function crmListLists( M.json(200, operations.CrmListListsResponse$inboundSchema, { key: "ListsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/crmUpdateContact.ts b/src/funcs/crmUpdateContact.ts index 015a3c5fe..a5652afc0 100644 --- a/src/funcs/crmUpdateContact.ts +++ b/src/funcs/crmUpdateContact.ts @@ -134,8 +134,8 @@ export async function crmUpdateContact( M.json(200, operations.CrmUpdateContactResponse$inboundSchema, { key: "ContactResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisBatchUploadEmployeeDocument.ts b/src/funcs/hrisBatchUploadEmployeeDocument.ts index a42ed47b4..acb5b473e 100644 --- a/src/funcs/hrisBatchUploadEmployeeDocument.ts +++ b/src/funcs/hrisBatchUploadEmployeeDocument.ts @@ -141,8 +141,8 @@ export async function hrisBatchUploadEmployeeDocument( operations.HrisBatchUploadEmployeeDocumentResponse$inboundSchema, { key: "BatchResultApiModel" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisCreateEmployee.ts b/src/funcs/hrisCreateEmployee.ts index 79cf7c1a7..184a5a308 100644 --- a/src/funcs/hrisCreateEmployee.ts +++ b/src/funcs/hrisCreateEmployee.ts @@ -127,8 +127,8 @@ export async function hrisCreateEmployee( M.json(201, operations.HrisCreateEmployeeResponse$inboundSchema, { key: "CreateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisCreateEmployeeEmployment.ts b/src/funcs/hrisCreateEmployeeEmployment.ts index 8301a0b0a..4fc133b60 100644 --- a/src/funcs/hrisCreateEmployeeEmployment.ts +++ b/src/funcs/hrisCreateEmployeeEmployment.ts @@ -139,8 +139,8 @@ export async function hrisCreateEmployeeEmployment( M.json(201, operations.HrisCreateEmployeeEmploymentResponse$inboundSchema, { key: "EmploymentResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisCreateEmployeeTimeOffRequest.ts b/src/funcs/hrisCreateEmployeeTimeOffRequest.ts index 17cf4b284..8bcb8b758 100644 --- a/src/funcs/hrisCreateEmployeeTimeOffRequest.ts +++ b/src/funcs/hrisCreateEmployeeTimeOffRequest.ts @@ -139,8 +139,8 @@ export async function hrisCreateEmployeeTimeOffRequest( operations.HrisCreateEmployeeTimeOffRequestResponse$inboundSchema, { key: "CreateResult" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisCreateEmployeeWorkEligibilityRequest.ts b/src/funcs/hrisCreateEmployeeWorkEligibilityRequest.ts index ac8075d10..f7e2ffa9a 100644 --- a/src/funcs/hrisCreateEmployeeWorkEligibilityRequest.ts +++ b/src/funcs/hrisCreateEmployeeWorkEligibilityRequest.ts @@ -140,8 +140,8 @@ export async function hrisCreateEmployeeWorkEligibilityRequest( operations.HrisCreateEmployeeWorkEligibilityRequestResponse$inboundSchema, { key: "CreateResult" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisCreateTimeOffRequest.ts b/src/funcs/hrisCreateTimeOffRequest.ts index 2c9392e8f..a80af4dbb 100644 --- a/src/funcs/hrisCreateTimeOffRequest.ts +++ b/src/funcs/hrisCreateTimeOffRequest.ts @@ -128,8 +128,8 @@ export async function hrisCreateTimeOffRequest( M.json(201, operations.HrisCreateTimeOffRequestResponse$inboundSchema, { key: "CreateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisDownloadEmployeeDocument.ts b/src/funcs/hrisDownloadEmployeeDocument.ts index c378f05a4..23aa59beb 100644 --- a/src/funcs/hrisDownloadEmployeeDocument.ts +++ b/src/funcs/hrisDownloadEmployeeDocument.ts @@ -147,8 +147,8 @@ export async function hrisDownloadEmployeeDocument( operations.HrisDownloadEmployeeDocumentResponse$inboundSchema, { key: "response-stream" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisGetBenefit.ts b/src/funcs/hrisGetBenefit.ts index 77f350995..20de5f35a 100644 --- a/src/funcs/hrisGetBenefit.ts +++ b/src/funcs/hrisGetBenefit.ts @@ -147,8 +147,8 @@ export async function hrisGetBenefit( M.json(200, operations.HrisGetBenefitResponse$inboundSchema, { key: "HRISBenefitResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisGetCompany.ts b/src/funcs/hrisGetCompany.ts index e54e7e38f..60bfe0b94 100644 --- a/src/funcs/hrisGetCompany.ts +++ b/src/funcs/hrisGetCompany.ts @@ -147,8 +147,8 @@ export async function hrisGetCompany( M.json(200, operations.HrisGetCompanyResponse$inboundSchema, { key: "CompanyResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisGetCostCenterGroup.ts b/src/funcs/hrisGetCostCenterGroup.ts index 74d05017c..a173649bc 100644 --- a/src/funcs/hrisGetCostCenterGroup.ts +++ b/src/funcs/hrisGetCostCenterGroup.ts @@ -148,8 +148,8 @@ export async function hrisGetCostCenterGroup( M.json(200, operations.HrisGetCostCenterGroupResponse$inboundSchema, { key: "HRISCostCenterResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisGetDepartmentGroup.ts b/src/funcs/hrisGetDepartmentGroup.ts index b5ba4087b..79db6f2d3 100644 --- a/src/funcs/hrisGetDepartmentGroup.ts +++ b/src/funcs/hrisGetDepartmentGroup.ts @@ -148,8 +148,8 @@ export async function hrisGetDepartmentGroup( M.json(200, operations.HrisGetDepartmentGroupResponse$inboundSchema, { key: "HRISDepartmentsResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisGetEmployee.ts b/src/funcs/hrisGetEmployee.ts index 9535783ff..26e65a06c 100644 --- a/src/funcs/hrisGetEmployee.ts +++ b/src/funcs/hrisGetEmployee.ts @@ -149,8 +149,8 @@ export async function hrisGetEmployee( M.json(200, operations.HrisGetEmployeeResponse$inboundSchema, { key: "EmployeeResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisGetEmployeeCustomFieldDefinition.ts b/src/funcs/hrisGetEmployeeCustomFieldDefinition.ts index 0a0ca65bd..b3ee6437d 100644 --- a/src/funcs/hrisGetEmployeeCustomFieldDefinition.ts +++ b/src/funcs/hrisGetEmployeeCustomFieldDefinition.ts @@ -158,8 +158,8 @@ export async function hrisGetEmployeeCustomFieldDefinition( operations.HrisGetEmployeeCustomFieldDefinitionResponse$inboundSchema, { key: "CustomFieldDefinitionResultApiModel" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisGetEmployeeDocument.ts b/src/funcs/hrisGetEmployeeDocument.ts index dbbb50fca..cbbfadb87 100644 --- a/src/funcs/hrisGetEmployeeDocument.ts +++ b/src/funcs/hrisGetEmployeeDocument.ts @@ -154,8 +154,8 @@ export async function hrisGetEmployeeDocument( M.json(200, operations.HrisGetEmployeeDocumentResponse$inboundSchema, { key: "HrisDocumentResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisGetEmployeeDocumentCategory.ts b/src/funcs/hrisGetEmployeeDocumentCategory.ts index 8d25518fa..165ac1af1 100644 --- a/src/funcs/hrisGetEmployeeDocumentCategory.ts +++ b/src/funcs/hrisGetEmployeeDocumentCategory.ts @@ -154,8 +154,8 @@ export async function hrisGetEmployeeDocumentCategory( operations.HrisGetEmployeeDocumentCategoryResponse$inboundSchema, { key: "ReferenceResult" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisGetEmployeeEmployment.ts b/src/funcs/hrisGetEmployeeEmployment.ts index 4f971dd08..4ccff9ee9 100644 --- a/src/funcs/hrisGetEmployeeEmployment.ts +++ b/src/funcs/hrisGetEmployeeEmployment.ts @@ -155,8 +155,8 @@ export async function hrisGetEmployeeEmployment( M.json(200, operations.HrisGetEmployeeEmploymentResponse$inboundSchema, { key: "EmploymentResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisGetEmployeesTimeOffRequest.ts b/src/funcs/hrisGetEmployeesTimeOffRequest.ts index 1f1a16ab2..70469bb0f 100644 --- a/src/funcs/hrisGetEmployeesTimeOffRequest.ts +++ b/src/funcs/hrisGetEmployeesTimeOffRequest.ts @@ -158,8 +158,8 @@ export async function hrisGetEmployeesTimeOffRequest( operations.HrisGetEmployeesTimeOffRequestResponse$inboundSchema, { key: "TimeOffResult" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisGetEmployeesWorkEligibility.ts b/src/funcs/hrisGetEmployeesWorkEligibility.ts index a62fc2635..6a2a42352 100644 --- a/src/funcs/hrisGetEmployeesWorkEligibility.ts +++ b/src/funcs/hrisGetEmployeesWorkEligibility.ts @@ -158,8 +158,8 @@ export async function hrisGetEmployeesWorkEligibility( operations.HrisGetEmployeesWorkEligibilityResponse$inboundSchema, { key: "WorkEligibilityResult" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisGetEmployment.ts b/src/funcs/hrisGetEmployment.ts index 820178330..0546a6266 100644 --- a/src/funcs/hrisGetEmployment.ts +++ b/src/funcs/hrisGetEmployment.ts @@ -148,8 +148,8 @@ export async function hrisGetEmployment( M.json(200, operations.HrisGetEmploymentResponse$inboundSchema, { key: "EmploymentResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisGetGroup.ts b/src/funcs/hrisGetGroup.ts index 44b313f74..9b2ab15e6 100644 --- a/src/funcs/hrisGetGroup.ts +++ b/src/funcs/hrisGetGroup.ts @@ -147,8 +147,8 @@ export async function hrisGetGroup( M.json(200, operations.HrisGetGroupResponse$inboundSchema, { key: "HRISGroupsResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisGetJob.ts b/src/funcs/hrisGetJob.ts index 1b687a854..0d8f99627 100644 --- a/src/funcs/hrisGetJob.ts +++ b/src/funcs/hrisGetJob.ts @@ -147,8 +147,8 @@ export async function hrisGetJob( M.json(200, operations.HrisGetJobResponse$inboundSchema, { key: "JobResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisGetLocation.ts b/src/funcs/hrisGetLocation.ts index 9e4aeec75..9cc5572c7 100644 --- a/src/funcs/hrisGetLocation.ts +++ b/src/funcs/hrisGetLocation.ts @@ -147,8 +147,8 @@ export async function hrisGetLocation( M.json(200, operations.HrisGetLocationResponse$inboundSchema, { key: "HRISLocationResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisGetTimeEntries.ts b/src/funcs/hrisGetTimeEntries.ts new file mode 100644 index 000000000..f53abbf6d --- /dev/null +++ b/src/funcs/hrisGetTimeEntries.ts @@ -0,0 +1,159 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { StackOneCore } from "../core.js"; +import { + encodeDeepObjectQuery, + encodeFormQuery, + encodeSimple, + queryJoin, +} from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../sdk/models/errors/httpclienterrors.js"; +import { SDKError } from "../sdk/models/errors/sdkerror.js"; +import { SDKValidationError } from "../sdk/models/errors/sdkvalidationerror.js"; +import * as operations from "../sdk/models/operations/index.js"; +import { Result } from "../sdk/types/fp.js"; + +/** + * Get Time Entry + */ +export async function hrisGetTimeEntries( + client: StackOneCore, + request: operations.HrisGetTimeEntriesRequest, + options?: RequestOptions, +): Promise< + Result< + operations.HrisGetTimeEntriesResponse, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + > +> { + const parsed = safeParse( + request, + (value) => operations.HrisGetTimeEntriesRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return parsed; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + id: encodeSimple("id", payload.id, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/unified/hris/time_entries/{id}")(pathParams); + + const query = queryJoin( + encodeDeepObjectQuery({ + "proxy": payload.proxy, + }), + encodeFormQuery({ + "fields": payload.fields, + "raw": payload.raw, + }), + ); + + const headers = new Headers(compactMap({ + Accept: "application/json", + "x-account-id": encodeSimple("x-account-id", payload["x-account-id"], { + explode: false, + charEncoding: "none", + }), + })); + + const securityInput = await extractSecurity(client._options.security); + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + operationID: "hris_get_time_entries", + oAuth2Scopes: [], + + resolvedSecurity: requestSecurity, + + securitySource: client._options.security, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return requestRes; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "403", "408", "412", "429", "4XX", "500", "501", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return doResult; + } + const response = doResult.value; + + const responseFields = { + ContentType: response.headers.get("content-type") + ?? "application/octet-stream", + StatusCode: response.status, + RawResponse: response, + Headers: {}, + }; + + const [result] = await M.match< + operations.HrisGetTimeEntriesResponse, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + >( + M.json(200, operations.HrisGetTimeEntriesResponse$inboundSchema, { + key: "TimeEntriesResult", + }), + M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), + M.fail([500, 501, "5XX"]), + )(response, { extraFields: responseFields }); + if (!result.ok) { + return result; + } + + return result; +} diff --git a/src/funcs/hrisGetTimeOffRequest.ts b/src/funcs/hrisGetTimeOffRequest.ts index f413e5c0f..a96b4b613 100644 --- a/src/funcs/hrisGetTimeOffRequest.ts +++ b/src/funcs/hrisGetTimeOffRequest.ts @@ -148,8 +148,8 @@ export async function hrisGetTimeOffRequest( M.json(200, operations.HrisGetTimeOffRequestResponse$inboundSchema, { key: "TimeOffResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisGetTimeOffType.ts b/src/funcs/hrisGetTimeOffType.ts index b7ce74bb4..0b38c69ba 100644 --- a/src/funcs/hrisGetTimeOffType.ts +++ b/src/funcs/hrisGetTimeOffType.ts @@ -147,8 +147,8 @@ export async function hrisGetTimeOffType( M.json(200, operations.HrisGetTimeOffTypeResponse$inboundSchema, { key: "ReferenceResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisListBenefits.ts b/src/funcs/hrisListBenefits.ts index e48326989..71ff6f3b4 100644 --- a/src/funcs/hrisListBenefits.ts +++ b/src/funcs/hrisListBenefits.ts @@ -145,8 +145,8 @@ export async function hrisListBenefits( M.json(200, operations.HrisListBenefitsResponse$inboundSchema, { key: "HRISBenefitsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisListCompanies.ts b/src/funcs/hrisListCompanies.ts index baa29d879..d7061f72c 100644 --- a/src/funcs/hrisListCompanies.ts +++ b/src/funcs/hrisListCompanies.ts @@ -145,8 +145,8 @@ export async function hrisListCompanies( M.json(200, operations.HrisListCompaniesResponse$inboundSchema, { key: "CompaniesPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisListCostCenterGroups.ts b/src/funcs/hrisListCostCenterGroups.ts index c234fc9c3..4292f08e6 100644 --- a/src/funcs/hrisListCostCenterGroups.ts +++ b/src/funcs/hrisListCostCenterGroups.ts @@ -146,8 +146,8 @@ export async function hrisListCostCenterGroups( M.json(200, operations.HrisListCostCenterGroupsResponse$inboundSchema, { key: "HRISCostCenterPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisListDepartmentGroups.ts b/src/funcs/hrisListDepartmentGroups.ts index 4d8d70cd2..607120909 100644 --- a/src/funcs/hrisListDepartmentGroups.ts +++ b/src/funcs/hrisListDepartmentGroups.ts @@ -146,8 +146,8 @@ export async function hrisListDepartmentGroups( M.json(200, operations.HrisListDepartmentGroupsResponse$inboundSchema, { key: "HRISDepartmentsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisListEmployeeCategories.ts b/src/funcs/hrisListEmployeeCategories.ts index d76fff652..02fcedd3b 100644 --- a/src/funcs/hrisListEmployeeCategories.ts +++ b/src/funcs/hrisListEmployeeCategories.ts @@ -146,8 +146,8 @@ export async function hrisListEmployeeCategories( M.json(200, operations.HrisListEmployeeCategoriesResponse$inboundSchema, { key: "ReferencePaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisListEmployeeCustomFieldDefinitions.ts b/src/funcs/hrisListEmployeeCustomFieldDefinitions.ts index a87375155..1e348ca84 100644 --- a/src/funcs/hrisListEmployeeCustomFieldDefinitions.ts +++ b/src/funcs/hrisListEmployeeCustomFieldDefinitions.ts @@ -149,8 +149,8 @@ export async function hrisListEmployeeCustomFieldDefinitions( operations.HrisListEmployeeCustomFieldDefinitionsResponse$inboundSchema, { key: "CustomFieldDefinitionsPaginated" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisListEmployeeDocuments.ts b/src/funcs/hrisListEmployeeDocuments.ts index c78e0bfbf..8a1433c1f 100644 --- a/src/funcs/hrisListEmployeeDocuments.ts +++ b/src/funcs/hrisListEmployeeDocuments.ts @@ -153,8 +153,8 @@ export async function hrisListEmployeeDocuments( M.json(200, operations.HrisListEmployeeDocumentsResponse$inboundSchema, { key: "HrisDocumentsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisListEmployeeEmployments.ts b/src/funcs/hrisListEmployeeEmployments.ts index dbdcd66aa..7099f2284 100644 --- a/src/funcs/hrisListEmployeeEmployments.ts +++ b/src/funcs/hrisListEmployeeEmployments.ts @@ -156,8 +156,8 @@ export async function hrisListEmployeeEmployments( M.json(200, operations.HrisListEmployeeEmploymentsResponse$inboundSchema, { key: "EmploymentsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisListEmployeeTimeOffRequests.ts b/src/funcs/hrisListEmployeeTimeOffRequests.ts index 75dab5feb..eb04466f2 100644 --- a/src/funcs/hrisListEmployeeTimeOffRequests.ts +++ b/src/funcs/hrisListEmployeeTimeOffRequests.ts @@ -157,8 +157,8 @@ export async function hrisListEmployeeTimeOffRequests( operations.HrisListEmployeeTimeOffRequestsResponse$inboundSchema, { key: "TimeOffPaginated" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisListEmployeeWorkEligibility.ts b/src/funcs/hrisListEmployeeWorkEligibility.ts index cd140a911..b2f575d3f 100644 --- a/src/funcs/hrisListEmployeeWorkEligibility.ts +++ b/src/funcs/hrisListEmployeeWorkEligibility.ts @@ -159,8 +159,8 @@ export async function hrisListEmployeeWorkEligibility( operations.HrisListEmployeeWorkEligibilityResponse$inboundSchema, { key: "WorkEligibilityPaginated" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisListEmployees.ts b/src/funcs/hrisListEmployees.ts index c6ec2ef2d..2350a03b1 100644 --- a/src/funcs/hrisListEmployees.ts +++ b/src/funcs/hrisListEmployees.ts @@ -157,8 +157,8 @@ export async function hrisListEmployees( M.json(200, operations.HrisListEmployeesResponse$inboundSchema, { key: "EmployeesPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisListEmployments.ts b/src/funcs/hrisListEmployments.ts index d368054c0..0b0db4a5a 100644 --- a/src/funcs/hrisListEmployments.ts +++ b/src/funcs/hrisListEmployments.ts @@ -147,8 +147,8 @@ export async function hrisListEmployments( M.json(200, operations.HrisListEmploymentsResponse$inboundSchema, { key: "EmploymentsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisListGroups.ts b/src/funcs/hrisListGroups.ts index 6d409c789..601632d96 100644 --- a/src/funcs/hrisListGroups.ts +++ b/src/funcs/hrisListGroups.ts @@ -145,8 +145,8 @@ export async function hrisListGroups( M.json(200, operations.HrisListGroupsResponse$inboundSchema, { key: "HRISGroupsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisListJobs.ts b/src/funcs/hrisListJobs.ts index 262136b4a..470e9a2ef 100644 --- a/src/funcs/hrisListJobs.ts +++ b/src/funcs/hrisListJobs.ts @@ -145,8 +145,8 @@ export async function hrisListJobs( M.json(200, operations.HrisListJobsResponse$inboundSchema, { key: "JobsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisListLocations.ts b/src/funcs/hrisListLocations.ts index 70650b222..bbba74a43 100644 --- a/src/funcs/hrisListLocations.ts +++ b/src/funcs/hrisListLocations.ts @@ -145,8 +145,8 @@ export async function hrisListLocations( M.json(200, operations.HrisListLocationsResponse$inboundSchema, { key: "HRISLocationsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisListTimeEntries.ts b/src/funcs/hrisListTimeEntries.ts new file mode 100644 index 000000000..c1d9884f9 --- /dev/null +++ b/src/funcs/hrisListTimeEntries.ts @@ -0,0 +1,158 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { StackOneCore } from "../core.js"; +import { + encodeDeepObjectQuery, + encodeFormQuery, + encodeSimple, + queryJoin, +} from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../sdk/models/errors/httpclienterrors.js"; +import { SDKError } from "../sdk/models/errors/sdkerror.js"; +import { SDKValidationError } from "../sdk/models/errors/sdkvalidationerror.js"; +import * as operations from "../sdk/models/operations/index.js"; +import { Result } from "../sdk/types/fp.js"; + +/** + * List Time Entries + */ +export async function hrisListTimeEntries( + client: StackOneCore, + request: operations.HrisListTimeEntriesRequest, + options?: RequestOptions, +): Promise< + Result< + operations.HrisListTimeEntriesResponse, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + > +> { + const parsed = safeParse( + request, + (value) => + operations.HrisListTimeEntriesRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return parsed; + } + const payload = parsed.value; + const body = null; + + const path = pathToFunc("/unified/hris/time_entries")(); + + const query = queryJoin( + encodeDeepObjectQuery({ + "filter": payload.filter, + "proxy": payload.proxy, + }), + encodeFormQuery({ + "fields": payload.fields, + "next": payload.next, + "page": payload.page, + "page_size": payload.page_size, + "raw": payload.raw, + "updated_after": payload.updated_after, + }), + ); + + const headers = new Headers(compactMap({ + Accept: "application/json", + "x-account-id": encodeSimple("x-account-id", payload["x-account-id"], { + explode: false, + charEncoding: "none", + }), + })); + + const securityInput = await extractSecurity(client._options.security); + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + operationID: "hris_list_time_entries", + oAuth2Scopes: [], + + resolvedSecurity: requestSecurity, + + securitySource: client._options.security, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return requestRes; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "403", "408", "412", "429", "4XX", "500", "501", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return doResult; + } + const response = doResult.value; + + const responseFields = { + ContentType: response.headers.get("content-type") + ?? "application/octet-stream", + StatusCode: response.status, + RawResponse: response, + Headers: {}, + }; + + const [result] = await M.match< + operations.HrisListTimeEntriesResponse, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + >( + M.json(200, operations.HrisListTimeEntriesResponse$inboundSchema, { + key: "TimeEntriesPaginated", + }), + M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), + M.fail([500, 501, "5XX"]), + )(response, { extraFields: responseFields }); + if (!result.ok) { + return result; + } + + return result; +} diff --git a/src/funcs/hrisListTimeOffRequests.ts b/src/funcs/hrisListTimeOffRequests.ts index 517bb3c5f..fd334bf00 100644 --- a/src/funcs/hrisListTimeOffRequests.ts +++ b/src/funcs/hrisListTimeOffRequests.ts @@ -146,8 +146,8 @@ export async function hrisListTimeOffRequests( M.json(200, operations.HrisListTimeOffRequestsResponse$inboundSchema, { key: "TimeOffPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisListTimeOffTypes.ts b/src/funcs/hrisListTimeOffTypes.ts index f58d0265a..1563b79b3 100644 --- a/src/funcs/hrisListTimeOffTypes.ts +++ b/src/funcs/hrisListTimeOffTypes.ts @@ -146,8 +146,8 @@ export async function hrisListTimeOffTypes( M.json(200, operations.HrisListTimeOffTypesResponse$inboundSchema, { key: "ReferencePaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisUpdateEmployee.ts b/src/funcs/hrisUpdateEmployee.ts index b2761067f..e1216c9fc 100644 --- a/src/funcs/hrisUpdateEmployee.ts +++ b/src/funcs/hrisUpdateEmployee.ts @@ -134,8 +134,8 @@ export async function hrisUpdateEmployee( M.json(200, operations.HrisUpdateEmployeeResponse$inboundSchema, { key: "UpdateEmployeeApiModel", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisUpdateEmployeeEmployment.ts b/src/funcs/hrisUpdateEmployeeEmployment.ts index 81ff83b21..3176406a4 100644 --- a/src/funcs/hrisUpdateEmployeeEmployment.ts +++ b/src/funcs/hrisUpdateEmployeeEmployment.ts @@ -143,8 +143,8 @@ export async function hrisUpdateEmployeeEmployment( M.json(200, operations.HrisUpdateEmployeeEmploymentResponse$inboundSchema, { key: "EmploymentResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisUpdateEmployeeWorkEligibilityRequest.ts b/src/funcs/hrisUpdateEmployeeWorkEligibilityRequest.ts index 29d9a6cbd..0908deea7 100644 --- a/src/funcs/hrisUpdateEmployeeWorkEligibilityRequest.ts +++ b/src/funcs/hrisUpdateEmployeeWorkEligibilityRequest.ts @@ -143,8 +143,8 @@ export async function hrisUpdateEmployeeWorkEligibilityRequest( 200, operations.HrisUpdateEmployeeWorkEligibilityRequestResponse$inboundSchema, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisUpdateTimeOffRequest.ts b/src/funcs/hrisUpdateTimeOffRequest.ts index 3bbeda2c4..b68eaa1e3 100644 --- a/src/funcs/hrisUpdateTimeOffRequest.ts +++ b/src/funcs/hrisUpdateTimeOffRequest.ts @@ -135,8 +135,8 @@ export async function hrisUpdateTimeOffRequest( M.json(200, operations.HrisUpdateTimeOffRequestResponse$inboundSchema, { key: "CreateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/hrisUploadEmployeeDocument.ts b/src/funcs/hrisUploadEmployeeDocument.ts index d17955ae0..5dea76dc0 100644 --- a/src/funcs/hrisUploadEmployeeDocument.ts +++ b/src/funcs/hrisUploadEmployeeDocument.ts @@ -137,8 +137,8 @@ export async function hrisUploadEmployeeDocument( M.json(201, operations.HrisUploadEmployeeDocumentResponse$inboundSchema, { key: "WriteResultApiModel", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/iamGetGroup.ts b/src/funcs/iamGetGroup.ts index 6dee33149..f22ab4a35 100644 --- a/src/funcs/iamGetGroup.ts +++ b/src/funcs/iamGetGroup.ts @@ -148,8 +148,8 @@ export async function iamGetGroup( M.json(200, operations.IamGetGroupResponse$inboundSchema, { key: "IamGroupResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/iamGetPolicy.ts b/src/funcs/iamGetPolicy.ts index 32c182363..6091bef44 100644 --- a/src/funcs/iamGetPolicy.ts +++ b/src/funcs/iamGetPolicy.ts @@ -148,8 +148,8 @@ export async function iamGetPolicy( M.json(200, operations.IamGetPolicyResponse$inboundSchema, { key: "IamPolicyResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/iamGetRole.ts b/src/funcs/iamGetRole.ts index a0b7bf702..4e5d14fb4 100644 --- a/src/funcs/iamGetRole.ts +++ b/src/funcs/iamGetRole.ts @@ -148,8 +148,8 @@ export async function iamGetRole( M.json(200, operations.IamGetRoleResponse$inboundSchema, { key: "IamRoleResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/iamGetUser.ts b/src/funcs/iamGetUser.ts index 6382785ee..e3d292e83 100644 --- a/src/funcs/iamGetUser.ts +++ b/src/funcs/iamGetUser.ts @@ -148,8 +148,8 @@ export async function iamGetUser( M.json(200, operations.IamGetUserResponse$inboundSchema, { key: "IamUserResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/iamListGroups.ts b/src/funcs/iamListGroups.ts index 73e567cf0..d1f4fb4a7 100644 --- a/src/funcs/iamListGroups.ts +++ b/src/funcs/iamListGroups.ts @@ -146,8 +146,8 @@ export async function iamListGroups( M.json(200, operations.IamListGroupsResponse$inboundSchema, { key: "IamGroupsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/iamListPolicies.ts b/src/funcs/iamListPolicies.ts index 576575b18..826b6ac7d 100644 --- a/src/funcs/iamListPolicies.ts +++ b/src/funcs/iamListPolicies.ts @@ -146,8 +146,8 @@ export async function iamListPolicies( M.json(200, operations.IamListPoliciesResponse$inboundSchema, { key: "IamPoliciesPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/iamListRoles.ts b/src/funcs/iamListRoles.ts index f5e745c8d..3dc048839 100644 --- a/src/funcs/iamListRoles.ts +++ b/src/funcs/iamListRoles.ts @@ -146,8 +146,8 @@ export async function iamListRoles( M.json(200, operations.IamListRolesResponse$inboundSchema, { key: "IamRolesPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/iamListUsers.ts b/src/funcs/iamListUsers.ts index 68a1c84a7..c2ce91f5f 100644 --- a/src/funcs/iamListUsers.ts +++ b/src/funcs/iamListUsers.ts @@ -146,8 +146,8 @@ export async function iamListUsers( M.json(200, operations.IamListUsersResponse$inboundSchema, { key: "IamUsersPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsBatchUpsertContent.ts b/src/funcs/lmsBatchUpsertContent.ts index 79cb53c2d..96d0b188f 100644 --- a/src/funcs/lmsBatchUpsertContent.ts +++ b/src/funcs/lmsBatchUpsertContent.ts @@ -128,8 +128,8 @@ export async function lmsBatchUpsertContent( M.json(202, operations.LmsBatchUpsertContentResponse$inboundSchema, { key: "BatchResultApiModel", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsBatchUpsertCourse.ts b/src/funcs/lmsBatchUpsertCourse.ts index b6e9bcb0c..c03622a56 100644 --- a/src/funcs/lmsBatchUpsertCourse.ts +++ b/src/funcs/lmsBatchUpsertCourse.ts @@ -128,8 +128,8 @@ export async function lmsBatchUpsertCourse( M.json(202, operations.LmsBatchUpsertCourseResponse$inboundSchema, { key: "BatchResultApiModel", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsCreateCollection.ts b/src/funcs/lmsCreateCollection.ts index 0bc3ce154..7589a6ac8 100644 --- a/src/funcs/lmsCreateCollection.ts +++ b/src/funcs/lmsCreateCollection.ts @@ -128,8 +128,8 @@ export async function lmsCreateCollection( M.json(201, operations.LmsCreateCollectionResponse$inboundSchema, { key: "CreateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsCreateUserAssignment.ts b/src/funcs/lmsCreateUserAssignment.ts index b7d4be0db..39f9218ce 100644 --- a/src/funcs/lmsCreateUserAssignment.ts +++ b/src/funcs/lmsCreateUserAssignment.ts @@ -135,8 +135,8 @@ export async function lmsCreateUserAssignment( M.json(201, operations.LmsCreateUserAssignmentResponse$inboundSchema, { key: "CreateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsCreateUserCompletion.ts b/src/funcs/lmsCreateUserCompletion.ts index ecc055b2f..6168a7b71 100644 --- a/src/funcs/lmsCreateUserCompletion.ts +++ b/src/funcs/lmsCreateUserCompletion.ts @@ -135,8 +135,8 @@ export async function lmsCreateUserCompletion( M.json(201, operations.LmsCreateUserCompletionResponse$inboundSchema, { key: "CreateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsGetAssignment.ts b/src/funcs/lmsGetAssignment.ts index 0b95d2490..04cf58ebf 100644 --- a/src/funcs/lmsGetAssignment.ts +++ b/src/funcs/lmsGetAssignment.ts @@ -147,8 +147,8 @@ export async function lmsGetAssignment( M.json(200, operations.LmsGetAssignmentResponse$inboundSchema, { key: "AssignmentResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsGetCategory.ts b/src/funcs/lmsGetCategory.ts index 203a4975e..46c4d8e93 100644 --- a/src/funcs/lmsGetCategory.ts +++ b/src/funcs/lmsGetCategory.ts @@ -138,8 +138,8 @@ export async function lmsGetCategory( M.json(200, operations.LmsGetCategoryResponse$inboundSchema, { key: "CategoryResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsGetCompletion.ts b/src/funcs/lmsGetCompletion.ts index 722d1ea00..51516b056 100644 --- a/src/funcs/lmsGetCompletion.ts +++ b/src/funcs/lmsGetCompletion.ts @@ -138,8 +138,8 @@ export async function lmsGetCompletion( M.json(200, operations.LmsGetCompletionResponse$inboundSchema, { key: "CompletionResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsGetContent.ts b/src/funcs/lmsGetContent.ts index f8af7a4a4..0b604ea08 100644 --- a/src/funcs/lmsGetContent.ts +++ b/src/funcs/lmsGetContent.ts @@ -138,8 +138,8 @@ export async function lmsGetContent( M.json(200, operations.LmsGetContentResponse$inboundSchema, { key: "ContentResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsGetCourse.ts b/src/funcs/lmsGetCourse.ts index d5559a21f..386f25aad 100644 --- a/src/funcs/lmsGetCourse.ts +++ b/src/funcs/lmsGetCourse.ts @@ -138,8 +138,8 @@ export async function lmsGetCourse( M.json(200, operations.LmsGetCourseResponse$inboundSchema, { key: "CourseResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsGetSkill.ts b/src/funcs/lmsGetSkill.ts index 6d77d52ff..2ede8e2f2 100644 --- a/src/funcs/lmsGetSkill.ts +++ b/src/funcs/lmsGetSkill.ts @@ -138,8 +138,8 @@ export async function lmsGetSkill( M.json(200, operations.LmsGetSkillResponse$inboundSchema, { key: "SkillResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsGetUser.ts b/src/funcs/lmsGetUser.ts index cab00125f..98f4439a6 100644 --- a/src/funcs/lmsGetUser.ts +++ b/src/funcs/lmsGetUser.ts @@ -138,8 +138,8 @@ export async function lmsGetUser( M.json(200, operations.LmsGetUserResponse$inboundSchema, { key: "UserResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsGetUserAssignment.ts b/src/funcs/lmsGetUserAssignment.ts index 45bd88950..ee3ed8355 100644 --- a/src/funcs/lmsGetUserAssignment.ts +++ b/src/funcs/lmsGetUserAssignment.ts @@ -154,8 +154,8 @@ export async function lmsGetUserAssignment( M.json(200, operations.LmsGetUserAssignmentResponse$inboundSchema, { key: "AssignmentResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsGetUserCompletion.ts b/src/funcs/lmsGetUserCompletion.ts index 6ac83e140..c50748b7d 100644 --- a/src/funcs/lmsGetUserCompletion.ts +++ b/src/funcs/lmsGetUserCompletion.ts @@ -154,8 +154,8 @@ export async function lmsGetUserCompletion( M.json(200, operations.LmsGetUserCompletionResponse$inboundSchema, { key: "CompletionResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsListAssignments.ts b/src/funcs/lmsListAssignments.ts index 4af802973..5d6b8008a 100644 --- a/src/funcs/lmsListAssignments.ts +++ b/src/funcs/lmsListAssignments.ts @@ -138,8 +138,8 @@ export async function lmsListAssignments( M.json(200, operations.LmsListAssignmentsResponse$inboundSchema, { key: "AssignmentsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsListCategories.ts b/src/funcs/lmsListCategories.ts index bae533d80..aed526172 100644 --- a/src/funcs/lmsListCategories.ts +++ b/src/funcs/lmsListCategories.ts @@ -145,8 +145,8 @@ export async function lmsListCategories( M.json(200, operations.LmsListCategoriesResponse$inboundSchema, { key: "CategoriesPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsListCompletions.ts b/src/funcs/lmsListCompletions.ts index 1005379a3..3f31921c7 100644 --- a/src/funcs/lmsListCompletions.ts +++ b/src/funcs/lmsListCompletions.ts @@ -145,8 +145,8 @@ export async function lmsListCompletions( M.json(200, operations.LmsListCompletionsResponse$inboundSchema, { key: "CompletionsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsListContent.ts b/src/funcs/lmsListContent.ts index f2ea6fb94..937afa7ea 100644 --- a/src/funcs/lmsListContent.ts +++ b/src/funcs/lmsListContent.ts @@ -145,8 +145,8 @@ export async function lmsListContent( M.json(200, operations.LmsListContentResponse$inboundSchema, { key: "ContentPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsListCourses.ts b/src/funcs/lmsListCourses.ts index c52185136..f342637c1 100644 --- a/src/funcs/lmsListCourses.ts +++ b/src/funcs/lmsListCourses.ts @@ -145,8 +145,8 @@ export async function lmsListCourses( M.json(200, operations.LmsListCoursesResponse$inboundSchema, { key: "CoursePaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsListSkills.ts b/src/funcs/lmsListSkills.ts index 561c18094..dd603f408 100644 --- a/src/funcs/lmsListSkills.ts +++ b/src/funcs/lmsListSkills.ts @@ -145,8 +145,8 @@ export async function lmsListSkills( M.json(200, operations.LmsListSkillsResponse$inboundSchema, { key: "SkillsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsListUserAssignments.ts b/src/funcs/lmsListUserAssignments.ts index dd13a03eb..be290656a 100644 --- a/src/funcs/lmsListUserAssignments.ts +++ b/src/funcs/lmsListUserAssignments.ts @@ -146,8 +146,8 @@ export async function lmsListUserAssignments( M.json(200, operations.LmsListUserAssignmentsResponse$inboundSchema, { key: "AssignmentsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsListUserCompletions.ts b/src/funcs/lmsListUserCompletions.ts index 0fb0df5ce..0caf4d81f 100644 --- a/src/funcs/lmsListUserCompletions.ts +++ b/src/funcs/lmsListUserCompletions.ts @@ -144,8 +144,8 @@ export async function lmsListUserCompletions( M.json(200, operations.LmsListUserCompletionsResponse$inboundSchema, { key: "CompletionsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsListUsers.ts b/src/funcs/lmsListUsers.ts index adc422d6d..63c82463b 100644 --- a/src/funcs/lmsListUsers.ts +++ b/src/funcs/lmsListUsers.ts @@ -145,8 +145,8 @@ export async function lmsListUsers( M.json(200, operations.LmsListUsersResponse$inboundSchema, { key: "UsersPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsUpdateCollection.ts b/src/funcs/lmsUpdateCollection.ts index e0963a73e..f3449d801 100644 --- a/src/funcs/lmsUpdateCollection.ts +++ b/src/funcs/lmsUpdateCollection.ts @@ -135,8 +135,8 @@ export async function lmsUpdateCollection( M.json(201, operations.LmsUpdateCollectionResponse$inboundSchema, { key: "UpdateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsUpsertContent.ts b/src/funcs/lmsUpsertContent.ts index 96ced60f3..f3f3c2659 100644 --- a/src/funcs/lmsUpsertContent.ts +++ b/src/funcs/lmsUpsertContent.ts @@ -127,8 +127,8 @@ export async function lmsUpsertContent( M.json(201, operations.LmsUpsertContentResponse$inboundSchema, { key: "UpsertResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/lmsUpsertCourse.ts b/src/funcs/lmsUpsertCourse.ts index d08d69fc0..3448ffd5b 100644 --- a/src/funcs/lmsUpsertCourse.ts +++ b/src/funcs/lmsUpsertCourse.ts @@ -127,8 +127,8 @@ export async function lmsUpsertCourse( M.json(201, operations.LmsUpsertCourseResponse$inboundSchema, { key: "UpsertResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingCreateContentBlock.ts b/src/funcs/marketingCreateContentBlock.ts index fcdd2c450..cdf3b5f83 100644 --- a/src/funcs/marketingCreateContentBlock.ts +++ b/src/funcs/marketingCreateContentBlock.ts @@ -130,8 +130,8 @@ export async function marketingCreateContentBlock( M.json(201, operations.MarketingCreateContentBlockResponse$inboundSchema, { key: "CreateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingCreateEmailTemplate.ts b/src/funcs/marketingCreateEmailTemplate.ts index a4f5aba30..18ae71c0e 100644 --- a/src/funcs/marketingCreateEmailTemplate.ts +++ b/src/funcs/marketingCreateEmailTemplate.ts @@ -132,8 +132,8 @@ export async function marketingCreateEmailTemplate( M.json(201, operations.MarketingCreateEmailTemplateResponse$inboundSchema, { key: "CreateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingCreateInAppTemplate.ts b/src/funcs/marketingCreateInAppTemplate.ts index 0fde51140..9b7b7f373 100644 --- a/src/funcs/marketingCreateInAppTemplate.ts +++ b/src/funcs/marketingCreateInAppTemplate.ts @@ -132,8 +132,8 @@ export async function marketingCreateInAppTemplate( M.json(201, operations.MarketingCreateInAppTemplateResponse$inboundSchema, { key: "CreateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingCreateOmniChannelTemplate.ts b/src/funcs/marketingCreateOmniChannelTemplate.ts index 031668517..060bab495 100644 --- a/src/funcs/marketingCreateOmniChannelTemplate.ts +++ b/src/funcs/marketingCreateOmniChannelTemplate.ts @@ -134,8 +134,8 @@ export async function marketingCreateOmniChannelTemplate( operations.MarketingCreateOmniChannelTemplateResponse$inboundSchema, { key: "CreateResult" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingCreatePushTemplate.ts b/src/funcs/marketingCreatePushTemplate.ts index 0362702b5..639852c34 100644 --- a/src/funcs/marketingCreatePushTemplate.ts +++ b/src/funcs/marketingCreatePushTemplate.ts @@ -130,8 +130,8 @@ export async function marketingCreatePushTemplate( M.json(201, operations.MarketingCreatePushTemplateResponse$inboundSchema, { key: "CreateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingCreateSmsTemplate.ts b/src/funcs/marketingCreateSmsTemplate.ts index 5be986986..b68d12d62 100644 --- a/src/funcs/marketingCreateSmsTemplate.ts +++ b/src/funcs/marketingCreateSmsTemplate.ts @@ -130,8 +130,8 @@ export async function marketingCreateSmsTemplate( M.json(201, operations.MarketingCreateSmsTemplateResponse$inboundSchema, { key: "CreateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingGetCampaign.ts b/src/funcs/marketingGetCampaign.ts index c868df60b..289359942 100644 --- a/src/funcs/marketingGetCampaign.ts +++ b/src/funcs/marketingGetCampaign.ts @@ -148,8 +148,8 @@ export async function marketingGetCampaign( M.json(200, operations.MarketingGetCampaignResponse$inboundSchema, { key: "CampaignResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingGetContentBlock.ts b/src/funcs/marketingGetContentBlock.ts index cd671dd43..1acf93886 100644 --- a/src/funcs/marketingGetContentBlock.ts +++ b/src/funcs/marketingGetContentBlock.ts @@ -148,8 +148,8 @@ export async function marketingGetContentBlock( M.json(200, operations.MarketingGetContentBlockResponse$inboundSchema, { key: "ContentBlockResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingGetEmailTemplate.ts b/src/funcs/marketingGetEmailTemplate.ts index 468f4bd41..b3dabc1af 100644 --- a/src/funcs/marketingGetEmailTemplate.ts +++ b/src/funcs/marketingGetEmailTemplate.ts @@ -150,8 +150,8 @@ export async function marketingGetEmailTemplate( M.json(200, operations.MarketingGetEmailTemplateResponse$inboundSchema, { key: "EmailTemplateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingGetInAppTemplate.ts b/src/funcs/marketingGetInAppTemplate.ts index 9ce65b9ca..e85179eb7 100644 --- a/src/funcs/marketingGetInAppTemplate.ts +++ b/src/funcs/marketingGetInAppTemplate.ts @@ -150,8 +150,8 @@ export async function marketingGetInAppTemplate( M.json(200, operations.MarketingGetInAppTemplateResponse$inboundSchema, { key: "InAppTemplateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingGetOmniChannelTemplate.ts b/src/funcs/marketingGetOmniChannelTemplate.ts index f47b97531..8138cb858 100644 --- a/src/funcs/marketingGetOmniChannelTemplate.ts +++ b/src/funcs/marketingGetOmniChannelTemplate.ts @@ -156,8 +156,8 @@ export async function marketingGetOmniChannelTemplate( operations.MarketingGetOmniChannelTemplateResponse$inboundSchema, { key: "TemplateResult" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingGetPushTemplate.ts b/src/funcs/marketingGetPushTemplate.ts index 65444c748..a928a100f 100644 --- a/src/funcs/marketingGetPushTemplate.ts +++ b/src/funcs/marketingGetPushTemplate.ts @@ -148,8 +148,8 @@ export async function marketingGetPushTemplate( M.json(200, operations.MarketingGetPushTemplateResponse$inboundSchema, { key: "PushTemplateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingGetSmsTemplate.ts b/src/funcs/marketingGetSmsTemplate.ts index 032eef6e3..250b76f04 100644 --- a/src/funcs/marketingGetSmsTemplate.ts +++ b/src/funcs/marketingGetSmsTemplate.ts @@ -148,8 +148,8 @@ export async function marketingGetSmsTemplate( M.json(200, operations.MarketingGetSmsTemplateResponse$inboundSchema, { key: "SmsTemplateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingListCampaigns.ts b/src/funcs/marketingListCampaigns.ts index b450fd2f9..b54ec350d 100644 --- a/src/funcs/marketingListCampaigns.ts +++ b/src/funcs/marketingListCampaigns.ts @@ -146,8 +146,8 @@ export async function marketingListCampaigns( M.json(200, operations.MarketingListCampaignsResponse$inboundSchema, { key: "CampaignsPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingListContentBlocks.ts b/src/funcs/marketingListContentBlocks.ts index b7747a214..303506db3 100644 --- a/src/funcs/marketingListContentBlocks.ts +++ b/src/funcs/marketingListContentBlocks.ts @@ -146,8 +146,8 @@ export async function marketingListContentBlocks( M.json(200, operations.MarketingListContentBlocksResponse$inboundSchema, { key: "ContentBlocksPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingListEmailTemplates.ts b/src/funcs/marketingListEmailTemplates.ts index 9a3214608..97771cac1 100644 --- a/src/funcs/marketingListEmailTemplates.ts +++ b/src/funcs/marketingListEmailTemplates.ts @@ -146,8 +146,8 @@ export async function marketingListEmailTemplates( M.json(200, operations.MarketingListEmailTemplatesResponse$inboundSchema, { key: "EmailTemplatesPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingListInAppTemplates.ts b/src/funcs/marketingListInAppTemplates.ts index 8a0419c14..86c18df9c 100644 --- a/src/funcs/marketingListInAppTemplates.ts +++ b/src/funcs/marketingListInAppTemplates.ts @@ -146,8 +146,8 @@ export async function marketingListInAppTemplates( M.json(200, operations.MarketingListInAppTemplatesResponse$inboundSchema, { key: "InAppTemplatesPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingListOmniChannelTemplates.ts b/src/funcs/marketingListOmniChannelTemplates.ts index 6aabb3698..96b495ffb 100644 --- a/src/funcs/marketingListOmniChannelTemplates.ts +++ b/src/funcs/marketingListOmniChannelTemplates.ts @@ -152,8 +152,8 @@ export async function marketingListOmniChannelTemplates( operations.MarketingListOmniChannelTemplatesResponse$inboundSchema, { key: "TemplatesPaginated" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingListPushTemplates.ts b/src/funcs/marketingListPushTemplates.ts index d2eb66593..a94b20ca7 100644 --- a/src/funcs/marketingListPushTemplates.ts +++ b/src/funcs/marketingListPushTemplates.ts @@ -146,8 +146,8 @@ export async function marketingListPushTemplates( M.json(200, operations.MarketingListPushTemplatesResponse$inboundSchema, { key: "PushTemplatesPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingListSmsTemplates.ts b/src/funcs/marketingListSmsTemplates.ts index 61c0a5f93..01fd84109 100644 --- a/src/funcs/marketingListSmsTemplates.ts +++ b/src/funcs/marketingListSmsTemplates.ts @@ -146,8 +146,8 @@ export async function marketingListSmsTemplates( M.json(200, operations.MarketingListSmsTemplatesResponse$inboundSchema, { key: "SmsTemplatesPaginated", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingUpdateContentBlock.ts b/src/funcs/marketingUpdateContentBlock.ts index 73bcab2a3..3013622ec 100644 --- a/src/funcs/marketingUpdateContentBlock.ts +++ b/src/funcs/marketingUpdateContentBlock.ts @@ -137,8 +137,8 @@ export async function marketingUpdateContentBlock( M.json(200, operations.MarketingUpdateContentBlockResponse$inboundSchema, { key: "CreateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingUpdateEmailTemplate.ts b/src/funcs/marketingUpdateEmailTemplate.ts index e8858923f..78c0b244f 100644 --- a/src/funcs/marketingUpdateEmailTemplate.ts +++ b/src/funcs/marketingUpdateEmailTemplate.ts @@ -141,8 +141,8 @@ export async function marketingUpdateEmailTemplate( M.json(200, operations.MarketingUpdateEmailTemplateResponse$inboundSchema, { key: "CreateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingUpdateInAppTemplate.ts b/src/funcs/marketingUpdateInAppTemplate.ts index a1a506f13..72d6b6170 100644 --- a/src/funcs/marketingUpdateInAppTemplate.ts +++ b/src/funcs/marketingUpdateInAppTemplate.ts @@ -141,8 +141,8 @@ export async function marketingUpdateInAppTemplate( M.json(200, operations.MarketingUpdateInAppTemplateResponse$inboundSchema, { key: "CreateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingUpdateOmniChannelTemplate.ts b/src/funcs/marketingUpdateOmniChannelTemplate.ts index cfcaa59f2..5b3141ad6 100644 --- a/src/funcs/marketingUpdateOmniChannelTemplate.ts +++ b/src/funcs/marketingUpdateOmniChannelTemplate.ts @@ -143,8 +143,8 @@ export async function marketingUpdateOmniChannelTemplate( operations.MarketingUpdateOmniChannelTemplateResponse$inboundSchema, { key: "CreateResult" }, ), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingUpdatePushTemplate.ts b/src/funcs/marketingUpdatePushTemplate.ts index 6e1bd5d95..3f0f7aebd 100644 --- a/src/funcs/marketingUpdatePushTemplate.ts +++ b/src/funcs/marketingUpdatePushTemplate.ts @@ -137,8 +137,8 @@ export async function marketingUpdatePushTemplate( M.json(200, operations.MarketingUpdatePushTemplateResponse$inboundSchema, { key: "CreateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/marketingUpdateSmsTemplate.ts b/src/funcs/marketingUpdateSmsTemplate.ts index f65ce464d..c138a3296 100644 --- a/src/funcs/marketingUpdateSmsTemplate.ts +++ b/src/funcs/marketingUpdateSmsTemplate.ts @@ -137,8 +137,8 @@ export async function marketingUpdateSmsTemplate( M.json(200, operations.MarketingUpdateSmsTemplateResponse$inboundSchema, { key: "CreateResult", }), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/proxyProxyRequest.ts b/src/funcs/proxyProxyRequest.ts index 9cbe064ef..97c029d55 100644 --- a/src/funcs/proxyProxyRequest.ts +++ b/src/funcs/proxyProxyRequest.ts @@ -124,8 +124,8 @@ export async function proxyProxyRequest( | ConnectionError >( M.nil(200, operations.StackoneProxyRequestResponse$inboundSchema), - M.fail([400, 403, 412, 429, "4XX"]), M.fail(408), + M.fail([400, 403, 412, 429, "4XX"]), M.fail([500, 501, "5XX"]), )(response, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/lib/config.ts b/src/lib/config.ts index a8c33ecef..3be48c555 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -58,8 +58,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "1.0.0", - sdkVersion: "4.17.11", - genVersion: "2.495.1", + sdkVersion: "4.17.12", + genVersion: "2.500.4", userAgent: - "speakeasy-sdk/typescript 4.17.11 2.495.1 1.0.0 @stackone/stackone-client-ts", + "speakeasy-sdk/typescript 4.17.12 2.500.4 1.0.0 @stackone/stackone-client-ts", } as const; diff --git a/src/lib/retries.ts b/src/lib/retries.ts index 93ebc8def..e3ce9aba7 100644 --- a/src/lib/retries.ts +++ b/src/lib/retries.ts @@ -158,7 +158,6 @@ async function retryBackoff( const start = Date.now(); let x = 0; - // eslint-disable-next-line no-constant-condition while (true) { try { const res = await fn(); diff --git a/src/sdk/ats.ts b/src/sdk/ats.ts index 4b82cbd74..0e671319f 100644 --- a/src/sdk/ats.ts +++ b/src/sdk/ats.ts @@ -62,6 +62,8 @@ import { atsListOffers } from "../funcs/atsListOffers.js"; import { atsListRejectedReasons } from "../funcs/atsListRejectedReasons.js"; import { atsListUsers } from "../funcs/atsListUsers.js"; import { atsMoveApplication } from "../funcs/atsMoveApplication.js"; +import { atsOrderAssessmentsRequest } from "../funcs/atsOrderAssessmentsRequest.js"; +import { atsOrderBackgroundCheckRequest } from "../funcs/atsOrderBackgroundCheckRequest.js"; import { atsRejectApplication } from "../funcs/atsRejectApplication.js"; import { atsUpdateApplication } from "../funcs/atsUpdateApplication.js"; import { atsUpdateApplicationNote } from "../funcs/atsUpdateApplicationNote.js"; @@ -913,6 +915,34 @@ export class Ats extends ClientSDK { )); } + /** + * Order Assessments Request + */ + async orderAssessmentsRequest( + request: operations.AtsOrderAssessmentsRequestRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(atsOrderAssessmentsRequest( + this, + request, + options, + )); + } + + /** + * Order Background Check Request + */ + async orderBackgroundCheckRequest( + request: operations.AtsOrderBackgroundCheckRequestRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(atsOrderBackgroundCheckRequest( + this, + request, + options, + )); + } + /** * Reject Application */ diff --git a/src/sdk/hris.ts b/src/sdk/hris.ts index 241518188..fd1a04d42 100644 --- a/src/sdk/hris.ts +++ b/src/sdk/hris.ts @@ -24,6 +24,7 @@ import { hrisGetEmployment } from "../funcs/hrisGetEmployment.js"; import { hrisGetGroup } from "../funcs/hrisGetGroup.js"; import { hrisGetJob } from "../funcs/hrisGetJob.js"; import { hrisGetLocation } from "../funcs/hrisGetLocation.js"; +import { hrisGetTimeEntries } from "../funcs/hrisGetTimeEntries.js"; import { hrisGetTimeOffRequest } from "../funcs/hrisGetTimeOffRequest.js"; import { hrisGetTimeOffType } from "../funcs/hrisGetTimeOffType.js"; import { hrisListBenefits } from "../funcs/hrisListBenefits.js"; @@ -41,6 +42,7 @@ import { hrisListEmployments } from "../funcs/hrisListEmployments.js"; import { hrisListGroups } from "../funcs/hrisListGroups.js"; import { hrisListJobs } from "../funcs/hrisListJobs.js"; import { hrisListLocations } from "../funcs/hrisListLocations.js"; +import { hrisListTimeEntries } from "../funcs/hrisListTimeEntries.js"; import { hrisListTimeOffRequests } from "../funcs/hrisListTimeOffRequests.js"; import { hrisListTimeOffTypes } from "../funcs/hrisListTimeOffTypes.js"; import { hrisUpdateEmployee } from "../funcs/hrisUpdateEmployee.js"; @@ -362,6 +364,20 @@ export class Hris extends ClientSDK { )); } + /** + * Get Time Entry + */ + async getTimeEntries( + request: operations.HrisGetTimeEntriesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(hrisGetTimeEntries( + this, + request, + options, + )); + } + /** * Get time off request */ @@ -602,6 +618,20 @@ export class Hris extends ClientSDK { )); } + /** + * List Time Entries + */ + async listTimeEntries( + request: operations.HrisListTimeEntriesRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(hrisListTimeEntries( + this, + request, + options, + )); + } + /** * List time off requests */ diff --git a/src/sdk/models/operations/atsorderassessmentsrequest.ts b/src/sdk/models/operations/atsorderassessmentsrequest.ts new file mode 100644 index 000000000..9f229c818 --- /dev/null +++ b/src/sdk/models/operations/atsorderassessmentsrequest.ts @@ -0,0 +1,206 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../../../lib/primitives.js"; +import { safeParse } from "../../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import * as shared from "../shared/index.js"; + +export type AtsOrderAssessmentsRequestRequest = { + atsCreateCandidatesAssessmentsRequestDto: + shared.AtsCreateCandidatesAssessmentsRequestDto; + /** + * The account identifier + */ + xAccountId: string; +}; + +export type AtsOrderAssessmentsRequestResponse = { + /** + * HTTP response content type for this operation + */ + contentType: string; + /** + * The order request of the assessment for candidate. + */ + createAssessmentOrderResult?: shared.CreateAssessmentOrderResult | undefined; + headers: { [k: string]: Array }; + /** + * HTTP response status code for this operation + */ + statusCode: number; + /** + * Raw HTTP response; suitable for custom response parsing + */ + rawResponse: Response; +}; + +/** @internal */ +export const AtsOrderAssessmentsRequestRequest$inboundSchema: z.ZodType< + AtsOrderAssessmentsRequestRequest, + z.ZodTypeDef, + unknown +> = z.object({ + AtsCreateCandidatesAssessmentsRequestDto: + shared.AtsCreateCandidatesAssessmentsRequestDto$inboundSchema, + "x-account-id": z.string(), +}).transform((v) => { + return remap$(v, { + "AtsCreateCandidatesAssessmentsRequestDto": + "atsCreateCandidatesAssessmentsRequestDto", + "x-account-id": "xAccountId", + }); +}); + +/** @internal */ +export type AtsOrderAssessmentsRequestRequest$Outbound = { + AtsCreateCandidatesAssessmentsRequestDto: + shared.AtsCreateCandidatesAssessmentsRequestDto$Outbound; + "x-account-id": string; +}; + +/** @internal */ +export const AtsOrderAssessmentsRequestRequest$outboundSchema: z.ZodType< + AtsOrderAssessmentsRequestRequest$Outbound, + z.ZodTypeDef, + AtsOrderAssessmentsRequestRequest +> = z.object({ + atsCreateCandidatesAssessmentsRequestDto: + shared.AtsCreateCandidatesAssessmentsRequestDto$outboundSchema, + xAccountId: z.string(), +}).transform((v) => { + return remap$(v, { + atsCreateCandidatesAssessmentsRequestDto: + "AtsCreateCandidatesAssessmentsRequestDto", + xAccountId: "x-account-id", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AtsOrderAssessmentsRequestRequest$ { + /** @deprecated use `AtsOrderAssessmentsRequestRequest$inboundSchema` instead. */ + export const inboundSchema = AtsOrderAssessmentsRequestRequest$inboundSchema; + /** @deprecated use `AtsOrderAssessmentsRequestRequest$outboundSchema` instead. */ + export const outboundSchema = + AtsOrderAssessmentsRequestRequest$outboundSchema; + /** @deprecated use `AtsOrderAssessmentsRequestRequest$Outbound` instead. */ + export type Outbound = AtsOrderAssessmentsRequestRequest$Outbound; +} + +export function atsOrderAssessmentsRequestRequestToJSON( + atsOrderAssessmentsRequestRequest: AtsOrderAssessmentsRequestRequest, +): string { + return JSON.stringify( + AtsOrderAssessmentsRequestRequest$outboundSchema.parse( + atsOrderAssessmentsRequestRequest, + ), + ); +} + +export function atsOrderAssessmentsRequestRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AtsOrderAssessmentsRequestRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AtsOrderAssessmentsRequestRequest' from JSON`, + ); +} + +/** @internal */ +export const AtsOrderAssessmentsRequestResponse$inboundSchema: z.ZodType< + AtsOrderAssessmentsRequestResponse, + z.ZodTypeDef, + unknown +> = z.object({ + ContentType: z.string(), + CreateAssessmentOrderResult: shared.CreateAssessmentOrderResult$inboundSchema + .optional(), + Headers: z.record(z.array(z.string())), + StatusCode: z.number().int(), + RawResponse: z.instanceof(Response), +}).transform((v) => { + return remap$(v, { + "ContentType": "contentType", + "CreateAssessmentOrderResult": "createAssessmentOrderResult", + "Headers": "headers", + "StatusCode": "statusCode", + "RawResponse": "rawResponse", + }); +}); + +/** @internal */ +export type AtsOrderAssessmentsRequestResponse$Outbound = { + ContentType: string; + CreateAssessmentOrderResult?: + | shared.CreateAssessmentOrderResult$Outbound + | undefined; + Headers: { [k: string]: Array }; + StatusCode: number; + RawResponse: never; +}; + +/** @internal */ +export const AtsOrderAssessmentsRequestResponse$outboundSchema: z.ZodType< + AtsOrderAssessmentsRequestResponse$Outbound, + z.ZodTypeDef, + AtsOrderAssessmentsRequestResponse +> = z.object({ + contentType: z.string(), + createAssessmentOrderResult: shared.CreateAssessmentOrderResult$outboundSchema + .optional(), + headers: z.record(z.array(z.string())), + statusCode: z.number().int(), + rawResponse: z.instanceof(Response).transform(() => { + throw new Error("Response cannot be serialized"); + }), +}).transform((v) => { + return remap$(v, { + contentType: "ContentType", + createAssessmentOrderResult: "CreateAssessmentOrderResult", + headers: "Headers", + statusCode: "StatusCode", + rawResponse: "RawResponse", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AtsOrderAssessmentsRequestResponse$ { + /** @deprecated use `AtsOrderAssessmentsRequestResponse$inboundSchema` instead. */ + export const inboundSchema = AtsOrderAssessmentsRequestResponse$inboundSchema; + /** @deprecated use `AtsOrderAssessmentsRequestResponse$outboundSchema` instead. */ + export const outboundSchema = + AtsOrderAssessmentsRequestResponse$outboundSchema; + /** @deprecated use `AtsOrderAssessmentsRequestResponse$Outbound` instead. */ + export type Outbound = AtsOrderAssessmentsRequestResponse$Outbound; +} + +export function atsOrderAssessmentsRequestResponseToJSON( + atsOrderAssessmentsRequestResponse: AtsOrderAssessmentsRequestResponse, +): string { + return JSON.stringify( + AtsOrderAssessmentsRequestResponse$outboundSchema.parse( + atsOrderAssessmentsRequestResponse, + ), + ); +} + +export function atsOrderAssessmentsRequestResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + AtsOrderAssessmentsRequestResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AtsOrderAssessmentsRequestResponse' from JSON`, + ); +} diff --git a/src/sdk/models/operations/atsorderbackgroundcheckrequest.ts b/src/sdk/models/operations/atsorderbackgroundcheckrequest.ts new file mode 100644 index 000000000..19c98b36d --- /dev/null +++ b/src/sdk/models/operations/atsorderbackgroundcheckrequest.ts @@ -0,0 +1,212 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../../../lib/primitives.js"; +import { safeParse } from "../../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import * as shared from "../shared/index.js"; + +export type AtsOrderBackgroundCheckRequestRequest = { + atsCreateBackgroundCheckOrderRequestDto: + shared.AtsCreateBackgroundCheckOrderRequestDto; + /** + * The account identifier + */ + xAccountId: string; +}; + +export type AtsOrderBackgroundCheckRequestResponse = { + /** + * HTTP response content type for this operation + */ + contentType: string; + /** + * The order request of the background check for candidate. + */ + createBackgroundCheckOrderResult?: + | shared.CreateBackgroundCheckOrderResult + | undefined; + headers: { [k: string]: Array }; + /** + * HTTP response status code for this operation + */ + statusCode: number; + /** + * Raw HTTP response; suitable for custom response parsing + */ + rawResponse: Response; +}; + +/** @internal */ +export const AtsOrderBackgroundCheckRequestRequest$inboundSchema: z.ZodType< + AtsOrderBackgroundCheckRequestRequest, + z.ZodTypeDef, + unknown +> = z.object({ + AtsCreateBackgroundCheckOrderRequestDto: + shared.AtsCreateBackgroundCheckOrderRequestDto$inboundSchema, + "x-account-id": z.string(), +}).transform((v) => { + return remap$(v, { + "AtsCreateBackgroundCheckOrderRequestDto": + "atsCreateBackgroundCheckOrderRequestDto", + "x-account-id": "xAccountId", + }); +}); + +/** @internal */ +export type AtsOrderBackgroundCheckRequestRequest$Outbound = { + AtsCreateBackgroundCheckOrderRequestDto: + shared.AtsCreateBackgroundCheckOrderRequestDto$Outbound; + "x-account-id": string; +}; + +/** @internal */ +export const AtsOrderBackgroundCheckRequestRequest$outboundSchema: z.ZodType< + AtsOrderBackgroundCheckRequestRequest$Outbound, + z.ZodTypeDef, + AtsOrderBackgroundCheckRequestRequest +> = z.object({ + atsCreateBackgroundCheckOrderRequestDto: + shared.AtsCreateBackgroundCheckOrderRequestDto$outboundSchema, + xAccountId: z.string(), +}).transform((v) => { + return remap$(v, { + atsCreateBackgroundCheckOrderRequestDto: + "AtsCreateBackgroundCheckOrderRequestDto", + xAccountId: "x-account-id", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AtsOrderBackgroundCheckRequestRequest$ { + /** @deprecated use `AtsOrderBackgroundCheckRequestRequest$inboundSchema` instead. */ + export const inboundSchema = + AtsOrderBackgroundCheckRequestRequest$inboundSchema; + /** @deprecated use `AtsOrderBackgroundCheckRequestRequest$outboundSchema` instead. */ + export const outboundSchema = + AtsOrderBackgroundCheckRequestRequest$outboundSchema; + /** @deprecated use `AtsOrderBackgroundCheckRequestRequest$Outbound` instead. */ + export type Outbound = AtsOrderBackgroundCheckRequestRequest$Outbound; +} + +export function atsOrderBackgroundCheckRequestRequestToJSON( + atsOrderBackgroundCheckRequestRequest: AtsOrderBackgroundCheckRequestRequest, +): string { + return JSON.stringify( + AtsOrderBackgroundCheckRequestRequest$outboundSchema.parse( + atsOrderBackgroundCheckRequestRequest, + ), + ); +} + +export function atsOrderBackgroundCheckRequestRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + AtsOrderBackgroundCheckRequestRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AtsOrderBackgroundCheckRequestRequest' from JSON`, + ); +} + +/** @internal */ +export const AtsOrderBackgroundCheckRequestResponse$inboundSchema: z.ZodType< + AtsOrderBackgroundCheckRequestResponse, + z.ZodTypeDef, + unknown +> = z.object({ + ContentType: z.string(), + CreateBackgroundCheckOrderResult: shared + .CreateBackgroundCheckOrderResult$inboundSchema.optional(), + Headers: z.record(z.array(z.string())), + StatusCode: z.number().int(), + RawResponse: z.instanceof(Response), +}).transform((v) => { + return remap$(v, { + "ContentType": "contentType", + "CreateBackgroundCheckOrderResult": "createBackgroundCheckOrderResult", + "Headers": "headers", + "StatusCode": "statusCode", + "RawResponse": "rawResponse", + }); +}); + +/** @internal */ +export type AtsOrderBackgroundCheckRequestResponse$Outbound = { + ContentType: string; + CreateBackgroundCheckOrderResult?: + | shared.CreateBackgroundCheckOrderResult$Outbound + | undefined; + Headers: { [k: string]: Array }; + StatusCode: number; + RawResponse: never; +}; + +/** @internal */ +export const AtsOrderBackgroundCheckRequestResponse$outboundSchema: z.ZodType< + AtsOrderBackgroundCheckRequestResponse$Outbound, + z.ZodTypeDef, + AtsOrderBackgroundCheckRequestResponse +> = z.object({ + contentType: z.string(), + createBackgroundCheckOrderResult: shared + .CreateBackgroundCheckOrderResult$outboundSchema.optional(), + headers: z.record(z.array(z.string())), + statusCode: z.number().int(), + rawResponse: z.instanceof(Response).transform(() => { + throw new Error("Response cannot be serialized"); + }), +}).transform((v) => { + return remap$(v, { + contentType: "ContentType", + createBackgroundCheckOrderResult: "CreateBackgroundCheckOrderResult", + headers: "Headers", + statusCode: "StatusCode", + rawResponse: "RawResponse", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AtsOrderBackgroundCheckRequestResponse$ { + /** @deprecated use `AtsOrderBackgroundCheckRequestResponse$inboundSchema` instead. */ + export const inboundSchema = + AtsOrderBackgroundCheckRequestResponse$inboundSchema; + /** @deprecated use `AtsOrderBackgroundCheckRequestResponse$outboundSchema` instead. */ + export const outboundSchema = + AtsOrderBackgroundCheckRequestResponse$outboundSchema; + /** @deprecated use `AtsOrderBackgroundCheckRequestResponse$Outbound` instead. */ + export type Outbound = AtsOrderBackgroundCheckRequestResponse$Outbound; +} + +export function atsOrderBackgroundCheckRequestResponseToJSON( + atsOrderBackgroundCheckRequestResponse: + AtsOrderBackgroundCheckRequestResponse, +): string { + return JSON.stringify( + AtsOrderBackgroundCheckRequestResponse$outboundSchema.parse( + atsOrderBackgroundCheckRequestResponse, + ), + ); +} + +export function atsOrderBackgroundCheckRequestResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + AtsOrderBackgroundCheckRequestResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AtsOrderBackgroundCheckRequestResponse' from JSON`, + ); +} diff --git a/src/sdk/models/operations/create.ts b/src/sdk/models/operations/create.ts deleted file mode 100644 index b975ee54b..000000000 --- a/src/sdk/models/operations/create.ts +++ /dev/null @@ -1,183 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../../lib/primitives.js"; -import { safeParse } from "../../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; -import * as shared from "../shared/index.js"; - -export type CreateRequest = { - requestBody: Array; - id: number; - /** - * The account identifier - */ - xAccountId: string; -}; - -export type CreateResponse = { - /** - * HTTP response content type for this operation - */ - contentType: string; - headers: { [k: string]: Array }; - /** - * HTTP response status code for this operation - */ - statusCode: number; - /** - * Raw HTTP response; suitable for custom response parsing - */ - rawResponse: Response; - /** - * Multiple status returned. Check the response body for details. - */ - classes?: Array | undefined; -}; - -/** @internal */ -export const CreateRequest$inboundSchema: z.ZodType< - CreateRequest, - z.ZodTypeDef, - unknown -> = z.object({ - RequestBody: z.array(shared.CreateEvent$inboundSchema), - id: z.number(), - "x-account-id": z.string(), -}).transform((v) => { - return remap$(v, { - "RequestBody": "requestBody", - "x-account-id": "xAccountId", - }); -}); - -/** @internal */ -export type CreateRequest$Outbound = { - RequestBody: Array; - id: number; - "x-account-id": string; -}; - -/** @internal */ -export const CreateRequest$outboundSchema: z.ZodType< - CreateRequest$Outbound, - z.ZodTypeDef, - CreateRequest -> = z.object({ - requestBody: z.array(shared.CreateEvent$outboundSchema), - id: z.number(), - xAccountId: z.string(), -}).transform((v) => { - return remap$(v, { - requestBody: "RequestBody", - xAccountId: "x-account-id", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateRequest$ { - /** @deprecated use `CreateRequest$inboundSchema` instead. */ - export const inboundSchema = CreateRequest$inboundSchema; - /** @deprecated use `CreateRequest$outboundSchema` instead. */ - export const outboundSchema = CreateRequest$outboundSchema; - /** @deprecated use `CreateRequest$Outbound` instead. */ - export type Outbound = CreateRequest$Outbound; -} - -export function createRequestToJSON(createRequest: CreateRequest): string { - return JSON.stringify(CreateRequest$outboundSchema.parse(createRequest)); -} - -export function createRequestFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateRequest$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateRequest' from JSON`, - ); -} - -/** @internal */ -export const CreateResponse$inboundSchema: z.ZodType< - CreateResponse, - z.ZodTypeDef, - unknown -> = z.object({ - ContentType: z.string(), - Headers: z.record(z.array(z.string())), - StatusCode: z.number().int(), - RawResponse: z.instanceof(Response), - classes: z.array(shared.CreateEventResponse$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "ContentType": "contentType", - "Headers": "headers", - "StatusCode": "statusCode", - "RawResponse": "rawResponse", - }); -}); - -/** @internal */ -export type CreateResponse$Outbound = { - ContentType: string; - Headers: { [k: string]: Array }; - StatusCode: number; - RawResponse: never; - classes?: Array | undefined; -}; - -/** @internal */ -export const CreateResponse$outboundSchema: z.ZodType< - CreateResponse$Outbound, - z.ZodTypeDef, - CreateResponse -> = z.object({ - contentType: z.string(), - headers: z.record(z.array(z.string())), - statusCode: z.number().int(), - rawResponse: z.instanceof(Response).transform(() => { - throw new Error("Response cannot be serialized"); - }), - classes: z.array(shared.CreateEventResponse$outboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - contentType: "ContentType", - headers: "Headers", - statusCode: "StatusCode", - rawResponse: "RawResponse", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateResponse$ { - /** @deprecated use `CreateResponse$inboundSchema` instead. */ - export const inboundSchema = CreateResponse$inboundSchema; - /** @deprecated use `CreateResponse$outboundSchema` instead. */ - export const outboundSchema = CreateResponse$outboundSchema; - /** @deprecated use `CreateResponse$Outbound` instead. */ - export type Outbound = CreateResponse$Outbound; -} - -export function createResponseToJSON(createResponse: CreateResponse): string { - return JSON.stringify(CreateResponse$outboundSchema.parse(createResponse)); -} - -export function createResponseFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateResponse$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateResponse' from JSON`, - ); -} diff --git a/src/sdk/models/operations/hrisgettimeentries.ts b/src/sdk/models/operations/hrisgettimeentries.ts new file mode 100644 index 000000000..3a7b051e6 --- /dev/null +++ b/src/sdk/models/operations/hrisgettimeentries.ts @@ -0,0 +1,208 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../../../lib/primitives.js"; +import { safeParse } from "../../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import * as shared from "../shared/index.js"; + +export type HrisGetTimeEntriesRequest = { + /** + * The comma separated list of fields that will be returned in the response (if empty, all fields are returned) + */ + fields?: string | null | undefined; + id: string; + /** + * Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key + */ + proxy?: { [k: string]: any } | null | undefined; + /** + * Indicates that the raw request result is returned + */ + raw?: boolean | null | undefined; + /** + * The account identifier + */ + xAccountId: string; +}; + +export type HrisGetTimeEntriesResponse = { + /** + * HTTP response content type for this operation + */ + contentType: string; + headers: { [k: string]: Array }; + /** + * HTTP response status code for this operation + */ + statusCode: number; + /** + * Raw HTTP response; suitable for custom response parsing + */ + rawResponse: Response; + /** + * The time entry with the given identifier was retrieved. + */ + timeEntriesResult?: shared.TimeEntriesResult | undefined; +}; + +/** @internal */ +export const HrisGetTimeEntriesRequest$inboundSchema: z.ZodType< + HrisGetTimeEntriesRequest, + z.ZodTypeDef, + unknown +> = z.object({ + fields: z.nullable(z.string()).optional(), + id: z.string(), + proxy: z.nullable(z.record(z.any())).optional(), + raw: z.nullable(z.boolean().default(false)), + "x-account-id": z.string(), +}).transform((v) => { + return remap$(v, { + "x-account-id": "xAccountId", + }); +}); + +/** @internal */ +export type HrisGetTimeEntriesRequest$Outbound = { + fields?: string | null | undefined; + id: string; + proxy?: { [k: string]: any } | null | undefined; + raw: boolean | null; + "x-account-id": string; +}; + +/** @internal */ +export const HrisGetTimeEntriesRequest$outboundSchema: z.ZodType< + HrisGetTimeEntriesRequest$Outbound, + z.ZodTypeDef, + HrisGetTimeEntriesRequest +> = z.object({ + fields: z.nullable(z.string()).optional(), + id: z.string(), + proxy: z.nullable(z.record(z.any())).optional(), + raw: z.nullable(z.boolean().default(false)), + xAccountId: z.string(), +}).transform((v) => { + return remap$(v, { + xAccountId: "x-account-id", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace HrisGetTimeEntriesRequest$ { + /** @deprecated use `HrisGetTimeEntriesRequest$inboundSchema` instead. */ + export const inboundSchema = HrisGetTimeEntriesRequest$inboundSchema; + /** @deprecated use `HrisGetTimeEntriesRequest$outboundSchema` instead. */ + export const outboundSchema = HrisGetTimeEntriesRequest$outboundSchema; + /** @deprecated use `HrisGetTimeEntriesRequest$Outbound` instead. */ + export type Outbound = HrisGetTimeEntriesRequest$Outbound; +} + +export function hrisGetTimeEntriesRequestToJSON( + hrisGetTimeEntriesRequest: HrisGetTimeEntriesRequest, +): string { + return JSON.stringify( + HrisGetTimeEntriesRequest$outboundSchema.parse(hrisGetTimeEntriesRequest), + ); +} + +export function hrisGetTimeEntriesRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => HrisGetTimeEntriesRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'HrisGetTimeEntriesRequest' from JSON`, + ); +} + +/** @internal */ +export const HrisGetTimeEntriesResponse$inboundSchema: z.ZodType< + HrisGetTimeEntriesResponse, + z.ZodTypeDef, + unknown +> = z.object({ + ContentType: z.string(), + Headers: z.record(z.array(z.string())), + StatusCode: z.number().int(), + RawResponse: z.instanceof(Response), + TimeEntriesResult: shared.TimeEntriesResult$inboundSchema.optional(), +}).transform((v) => { + return remap$(v, { + "ContentType": "contentType", + "Headers": "headers", + "StatusCode": "statusCode", + "RawResponse": "rawResponse", + "TimeEntriesResult": "timeEntriesResult", + }); +}); + +/** @internal */ +export type HrisGetTimeEntriesResponse$Outbound = { + ContentType: string; + Headers: { [k: string]: Array }; + StatusCode: number; + RawResponse: never; + TimeEntriesResult?: shared.TimeEntriesResult$Outbound | undefined; +}; + +/** @internal */ +export const HrisGetTimeEntriesResponse$outboundSchema: z.ZodType< + HrisGetTimeEntriesResponse$Outbound, + z.ZodTypeDef, + HrisGetTimeEntriesResponse +> = z.object({ + contentType: z.string(), + headers: z.record(z.array(z.string())), + statusCode: z.number().int(), + rawResponse: z.instanceof(Response).transform(() => { + throw new Error("Response cannot be serialized"); + }), + timeEntriesResult: shared.TimeEntriesResult$outboundSchema.optional(), +}).transform((v) => { + return remap$(v, { + contentType: "ContentType", + headers: "Headers", + statusCode: "StatusCode", + rawResponse: "RawResponse", + timeEntriesResult: "TimeEntriesResult", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace HrisGetTimeEntriesResponse$ { + /** @deprecated use `HrisGetTimeEntriesResponse$inboundSchema` instead. */ + export const inboundSchema = HrisGetTimeEntriesResponse$inboundSchema; + /** @deprecated use `HrisGetTimeEntriesResponse$outboundSchema` instead. */ + export const outboundSchema = HrisGetTimeEntriesResponse$outboundSchema; + /** @deprecated use `HrisGetTimeEntriesResponse$Outbound` instead. */ + export type Outbound = HrisGetTimeEntriesResponse$Outbound; +} + +export function hrisGetTimeEntriesResponseToJSON( + hrisGetTimeEntriesResponse: HrisGetTimeEntriesResponse, +): string { + return JSON.stringify( + HrisGetTimeEntriesResponse$outboundSchema.parse(hrisGetTimeEntriesResponse), + ); +} + +export function hrisGetTimeEntriesResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => HrisGetTimeEntriesResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'HrisGetTimeEntriesResponse' from JSON`, + ); +} diff --git a/src/sdk/models/operations/hrislisttimeentries.ts b/src/sdk/models/operations/hrislisttimeentries.ts new file mode 100644 index 000000000..f59867b20 --- /dev/null +++ b/src/sdk/models/operations/hrislisttimeentries.ts @@ -0,0 +1,357 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../../../lib/primitives.js"; +import { safeParse } from "../../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import * as shared from "../shared/index.js"; + +/** + * HRIS Time Entries filters + */ +export type HrisListTimeEntriesQueryParamFilter = { + /** + * Filter to select time entries by employee_id + */ + employeeId?: string | null | undefined; + /** + * Filter to select time entries before a given time + */ + endTime?: string | null | undefined; + /** + * Filter to select time entries after a given time + */ + startTime?: string | null | undefined; + /** + * Use a string with a date to only select results updated after that given date + */ + updatedAfter?: string | null | undefined; +}; + +export type HrisListTimeEntriesRequest = { + /** + * The comma separated list of fields that will be returned in the response (if empty, all fields are returned) + */ + fields?: string | null | undefined; + /** + * HRIS Time Entries filters + */ + filter?: HrisListTimeEntriesQueryParamFilter | null | undefined; + /** + * The unified cursor + */ + next?: string | null | undefined; + /** + * The page number of the results to fetch + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + page?: string | null | undefined; + /** + * The number of results per page + */ + pageSize?: string | null | undefined; + /** + * Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key + */ + proxy?: { [k: string]: any } | null | undefined; + /** + * Indicates that the raw request result is returned + */ + raw?: boolean | null | undefined; + /** + * Use a string with a date to only select results updated after that given date + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + updatedAfter?: string | null | undefined; + /** + * The account identifier + */ + xAccountId: string; +}; + +export type HrisListTimeEntriesResponse = { + /** + * HTTP response content type for this operation + */ + contentType: string; + headers: { [k: string]: Array }; + /** + * HTTP response status code for this operation + */ + statusCode: number; + /** + * Raw HTTP response; suitable for custom response parsing + */ + rawResponse: Response; + /** + * The list of time entries was retrieved. + */ + timeEntriesPaginated?: shared.TimeEntriesPaginated | undefined; +}; + +/** @internal */ +export const HrisListTimeEntriesQueryParamFilter$inboundSchema: z.ZodType< + HrisListTimeEntriesQueryParamFilter, + z.ZodTypeDef, + unknown +> = z.object({ + employee_id: z.nullable(z.string()).optional(), + end_time: z.nullable(z.string()).optional(), + start_time: z.nullable(z.string()).optional(), + updated_after: z.nullable(z.string()).optional(), +}).transform((v) => { + return remap$(v, { + "employee_id": "employeeId", + "end_time": "endTime", + "start_time": "startTime", + "updated_after": "updatedAfter", + }); +}); + +/** @internal */ +export type HrisListTimeEntriesQueryParamFilter$Outbound = { + employee_id?: string | null | undefined; + end_time?: string | null | undefined; + start_time?: string | null | undefined; + updated_after?: string | null | undefined; +}; + +/** @internal */ +export const HrisListTimeEntriesQueryParamFilter$outboundSchema: z.ZodType< + HrisListTimeEntriesQueryParamFilter$Outbound, + z.ZodTypeDef, + HrisListTimeEntriesQueryParamFilter +> = z.object({ + employeeId: z.nullable(z.string()).optional(), + endTime: z.nullable(z.string()).optional(), + startTime: z.nullable(z.string()).optional(), + updatedAfter: z.nullable(z.string()).optional(), +}).transform((v) => { + return remap$(v, { + employeeId: "employee_id", + endTime: "end_time", + startTime: "start_time", + updatedAfter: "updated_after", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace HrisListTimeEntriesQueryParamFilter$ { + /** @deprecated use `HrisListTimeEntriesQueryParamFilter$inboundSchema` instead. */ + export const inboundSchema = + HrisListTimeEntriesQueryParamFilter$inboundSchema; + /** @deprecated use `HrisListTimeEntriesQueryParamFilter$outboundSchema` instead. */ + export const outboundSchema = + HrisListTimeEntriesQueryParamFilter$outboundSchema; + /** @deprecated use `HrisListTimeEntriesQueryParamFilter$Outbound` instead. */ + export type Outbound = HrisListTimeEntriesQueryParamFilter$Outbound; +} + +export function hrisListTimeEntriesQueryParamFilterToJSON( + hrisListTimeEntriesQueryParamFilter: HrisListTimeEntriesQueryParamFilter, +): string { + return JSON.stringify( + HrisListTimeEntriesQueryParamFilter$outboundSchema.parse( + hrisListTimeEntriesQueryParamFilter, + ), + ); +} + +export function hrisListTimeEntriesQueryParamFilterFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + HrisListTimeEntriesQueryParamFilter$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'HrisListTimeEntriesQueryParamFilter' from JSON`, + ); +} + +/** @internal */ +export const HrisListTimeEntriesRequest$inboundSchema: z.ZodType< + HrisListTimeEntriesRequest, + z.ZodTypeDef, + unknown +> = z.object({ + fields: z.nullable(z.string()).optional(), + filter: z.nullable( + z.lazy(() => HrisListTimeEntriesQueryParamFilter$inboundSchema), + ).optional(), + next: z.nullable(z.string()).optional(), + page: z.nullable(z.string()).optional(), + page_size: z.nullable(z.string().default("25")), + proxy: z.nullable(z.record(z.any())).optional(), + raw: z.nullable(z.boolean().default(false)), + updated_after: z.nullable(z.string()).optional(), + "x-account-id": z.string(), +}).transform((v) => { + return remap$(v, { + "page_size": "pageSize", + "updated_after": "updatedAfter", + "x-account-id": "xAccountId", + }); +}); + +/** @internal */ +export type HrisListTimeEntriesRequest$Outbound = { + fields?: string | null | undefined; + filter?: HrisListTimeEntriesQueryParamFilter$Outbound | null | undefined; + next?: string | null | undefined; + page?: string | null | undefined; + page_size: string | null; + proxy?: { [k: string]: any } | null | undefined; + raw: boolean | null; + updated_after?: string | null | undefined; + "x-account-id": string; +}; + +/** @internal */ +export const HrisListTimeEntriesRequest$outboundSchema: z.ZodType< + HrisListTimeEntriesRequest$Outbound, + z.ZodTypeDef, + HrisListTimeEntriesRequest +> = z.object({ + fields: z.nullable(z.string()).optional(), + filter: z.nullable( + z.lazy(() => HrisListTimeEntriesQueryParamFilter$outboundSchema), + ).optional(), + next: z.nullable(z.string()).optional(), + page: z.nullable(z.string()).optional(), + pageSize: z.nullable(z.string().default("25")), + proxy: z.nullable(z.record(z.any())).optional(), + raw: z.nullable(z.boolean().default(false)), + updatedAfter: z.nullable(z.string()).optional(), + xAccountId: z.string(), +}).transform((v) => { + return remap$(v, { + pageSize: "page_size", + updatedAfter: "updated_after", + xAccountId: "x-account-id", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace HrisListTimeEntriesRequest$ { + /** @deprecated use `HrisListTimeEntriesRequest$inboundSchema` instead. */ + export const inboundSchema = HrisListTimeEntriesRequest$inboundSchema; + /** @deprecated use `HrisListTimeEntriesRequest$outboundSchema` instead. */ + export const outboundSchema = HrisListTimeEntriesRequest$outboundSchema; + /** @deprecated use `HrisListTimeEntriesRequest$Outbound` instead. */ + export type Outbound = HrisListTimeEntriesRequest$Outbound; +} + +export function hrisListTimeEntriesRequestToJSON( + hrisListTimeEntriesRequest: HrisListTimeEntriesRequest, +): string { + return JSON.stringify( + HrisListTimeEntriesRequest$outboundSchema.parse(hrisListTimeEntriesRequest), + ); +} + +export function hrisListTimeEntriesRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => HrisListTimeEntriesRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'HrisListTimeEntriesRequest' from JSON`, + ); +} + +/** @internal */ +export const HrisListTimeEntriesResponse$inboundSchema: z.ZodType< + HrisListTimeEntriesResponse, + z.ZodTypeDef, + unknown +> = z.object({ + ContentType: z.string(), + Headers: z.record(z.array(z.string())), + StatusCode: z.number().int(), + RawResponse: z.instanceof(Response), + TimeEntriesPaginated: shared.TimeEntriesPaginated$inboundSchema.optional(), +}).transform((v) => { + return remap$(v, { + "ContentType": "contentType", + "Headers": "headers", + "StatusCode": "statusCode", + "RawResponse": "rawResponse", + "TimeEntriesPaginated": "timeEntriesPaginated", + }); +}); + +/** @internal */ +export type HrisListTimeEntriesResponse$Outbound = { + ContentType: string; + Headers: { [k: string]: Array }; + StatusCode: number; + RawResponse: never; + TimeEntriesPaginated?: shared.TimeEntriesPaginated$Outbound | undefined; +}; + +/** @internal */ +export const HrisListTimeEntriesResponse$outboundSchema: z.ZodType< + HrisListTimeEntriesResponse$Outbound, + z.ZodTypeDef, + HrisListTimeEntriesResponse +> = z.object({ + contentType: z.string(), + headers: z.record(z.array(z.string())), + statusCode: z.number().int(), + rawResponse: z.instanceof(Response).transform(() => { + throw new Error("Response cannot be serialized"); + }), + timeEntriesPaginated: shared.TimeEntriesPaginated$outboundSchema.optional(), +}).transform((v) => { + return remap$(v, { + contentType: "ContentType", + headers: "Headers", + statusCode: "StatusCode", + rawResponse: "RawResponse", + timeEntriesPaginated: "TimeEntriesPaginated", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace HrisListTimeEntriesResponse$ { + /** @deprecated use `HrisListTimeEntriesResponse$inboundSchema` instead. */ + export const inboundSchema = HrisListTimeEntriesResponse$inboundSchema; + /** @deprecated use `HrisListTimeEntriesResponse$outboundSchema` instead. */ + export const outboundSchema = HrisListTimeEntriesResponse$outboundSchema; + /** @deprecated use `HrisListTimeEntriesResponse$Outbound` instead. */ + export type Outbound = HrisListTimeEntriesResponse$Outbound; +} + +export function hrisListTimeEntriesResponseToJSON( + hrisListTimeEntriesResponse: HrisListTimeEntriesResponse, +): string { + return JSON.stringify( + HrisListTimeEntriesResponse$outboundSchema.parse( + hrisListTimeEntriesResponse, + ), + ); +} + +export function hrisListTimeEntriesResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => HrisListTimeEntriesResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'HrisListTimeEntriesResponse' from JSON`, + ); +} diff --git a/src/sdk/models/operations/index.ts b/src/sdk/models/operations/index.ts index 74dd5fd13..84cb52861 100644 --- a/src/sdk/models/operations/index.ts +++ b/src/sdk/models/operations/index.ts @@ -62,13 +62,14 @@ export * from "./atslistoffers.js"; export * from "./atslistrejectedreasons.js"; export * from "./atslistusers.js"; export * from "./atsmoveapplication.js"; +export * from "./atsorderassessmentsrequest.js"; +export * from "./atsorderbackgroundcheckrequest.js"; export * from "./atsrejectapplication.js"; export * from "./atsupdateapplication.js"; export * from "./atsupdateapplicationnote.js"; export * from "./atsupdatecandidate.js"; export * from "./atsupdatejob.js"; export * from "./atsuploadapplicationdocument.js"; -export * from "./create.js"; export * from "./crmcreatecontact.js"; export * from "./crmgetaccount.js"; export * from "./crmgetcontact.js"; @@ -101,6 +102,7 @@ export * from "./hrisgetemployment.js"; export * from "./hrisgetgroup.js"; export * from "./hrisgetjob.js"; export * from "./hrisgetlocation.js"; +export * from "./hrisgettimeentries.js"; export * from "./hrisgettimeoffrequest.js"; export * from "./hrisgettimeofftype.js"; export * from "./hrislistbenefits.js"; @@ -118,6 +120,7 @@ export * from "./hrislistemployments.js"; export * from "./hrislistgroups.js"; export * from "./hrislistjobs.js"; export * from "./hrislistlocations.js"; +export * from "./hrislisttimeentries.js"; export * from "./hrislisttimeoffrequests.js"; export * from "./hrislisttimeofftypes.js"; export * from "./hrisupdateemployee.js"; diff --git a/src/sdk/models/shared/additionaldata.ts b/src/sdk/models/shared/additionaldata.ts new file mode 100644 index 000000000..aa115594a --- /dev/null +++ b/src/sdk/models/shared/additionaldata.ts @@ -0,0 +1,134 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../../../lib/primitives.js"; +import { safeParse } from "../../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * The value of the additional data + */ +export type Value = {}; + +export type AdditionalData = { + /** + * The type of the additional data + */ + id?: string | null | undefined; + /** + * Provider's unique identifier + */ + remoteId?: string | null | undefined; + /** + * The value of the additional data + */ + value?: Value | null | undefined; +}; + +/** @internal */ +export const Value$inboundSchema: z.ZodType = z + .object({}); + +/** @internal */ +export type Value$Outbound = {}; + +/** @internal */ +export const Value$outboundSchema: z.ZodType< + Value$Outbound, + z.ZodTypeDef, + Value +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Value$ { + /** @deprecated use `Value$inboundSchema` instead. */ + export const inboundSchema = Value$inboundSchema; + /** @deprecated use `Value$outboundSchema` instead. */ + export const outboundSchema = Value$outboundSchema; + /** @deprecated use `Value$Outbound` instead. */ + export type Outbound = Value$Outbound; +} + +export function valueToJSON(value: Value): string { + return JSON.stringify(Value$outboundSchema.parse(value)); +} + +export function valueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Value$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Value' from JSON`, + ); +} + +/** @internal */ +export const AdditionalData$inboundSchema: z.ZodType< + AdditionalData, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + value: z.nullable(z.lazy(() => Value$inboundSchema)).optional(), +}).transform((v) => { + return remap$(v, { + "remote_id": "remoteId", + }); +}); + +/** @internal */ +export type AdditionalData$Outbound = { + id?: string | null | undefined; + remote_id?: string | null | undefined; + value?: Value$Outbound | null | undefined; +}; + +/** @internal */ +export const AdditionalData$outboundSchema: z.ZodType< + AdditionalData$Outbound, + z.ZodTypeDef, + AdditionalData +> = z.object({ + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + value: z.nullable(z.lazy(() => Value$outboundSchema)).optional(), +}).transform((v) => { + return remap$(v, { + remoteId: "remote_id", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AdditionalData$ { + /** @deprecated use `AdditionalData$inboundSchema` instead. */ + export const inboundSchema = AdditionalData$inboundSchema; + /** @deprecated use `AdditionalData$outboundSchema` instead. */ + export const outboundSchema = AdditionalData$outboundSchema; + /** @deprecated use `AdditionalData$Outbound` instead. */ + export type Outbound = AdditionalData$Outbound; +} + +export function additionalDataToJSON(additionalData: AdditionalData): string { + return JSON.stringify(AdditionalData$outboundSchema.parse(additionalData)); +} + +export function additionalDataFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AdditionalData$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AdditionalData' from JSON`, + ); +} diff --git a/src/sdk/models/shared/atscreatebackgroundcheckorderrequestdto.ts b/src/sdk/models/shared/atscreatebackgroundcheckorderrequestdto.ts new file mode 100644 index 000000000..ea0d444b0 --- /dev/null +++ b/src/sdk/models/shared/atscreatebackgroundcheckorderrequestdto.ts @@ -0,0 +1,1141 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../../../lib/primitives.js"; +import { safeParse } from "../../../lib/schemas.js"; +import { + catchUnrecognizedEnum, + OpenEnum, + Unrecognized, +} from "../../types/enums.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + CandidateEmail, + CandidateEmail$inboundSchema, + CandidateEmail$Outbound, + CandidateEmail$outboundSchema, +} from "./candidateemail.js"; +import { + JobHiringTeam, + JobHiringTeam$inboundSchema, + JobHiringTeam$Outbound, + JobHiringTeam$outboundSchema, +} from "./jobhiringteam.js"; +import { + Package, + Package$inboundSchema, + Package$Outbound, + Package$outboundSchema, +} from "./package.js"; + +export type AtsCreateBackgroundCheckOrderRequestDto4 = {}; + +/** + * The source value of the application status. + */ +export type AtsCreateBackgroundCheckOrderRequestDtoSourceValue = + | AtsCreateBackgroundCheckOrderRequestDto4 + | string + | number + | boolean + | Array; + +/** + * The status of the application. + */ +export enum AtsCreateBackgroundCheckOrderRequestDtoValue { + Active = "active", + Assessment = "assessment", + BackgroundCheck = "background_check", + Converted = "converted", + DeclinedByCandidate = "declined_by_candidate", + Hired = "hired", + Interview = "interview", + Lead = "lead", + Offer = "offer", + ReferenceCheck = "reference_check", + Rejected = "rejected", + Review = "review", + Screen = "screen", + New = "new", + Onboarding = "onboarding", + Created = "created", + Accepted = "accepted", + ShortList = "short_list", + Approved = "approved", + UnmappedValue = "unmapped_value", +} +/** + * The status of the application. + */ +export type AtsCreateBackgroundCheckOrderRequestDtoValueOpen = OpenEnum< + typeof AtsCreateBackgroundCheckOrderRequestDtoValue +>; + +export type AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus = { + /** + * The source value of the application status. + */ + sourceValue?: + | AtsCreateBackgroundCheckOrderRequestDto4 + | string + | number + | boolean + | Array + | null + | undefined; + /** + * The status of the application. + */ + value?: AtsCreateBackgroundCheckOrderRequestDtoValueOpen | null | undefined; +}; + +export type AtsCreateBackgroundCheckOrderRequestDtoApplication = { + applicationStatus?: + | AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus + | null + | undefined; + /** + * Unique identifier + */ + id?: string | null | undefined; + /** + * Value to pass through to the provider + */ + passthrough?: { [k: string]: any } | null | undefined; + /** + * Provider's unique identifier + */ + remoteId?: string | null | undefined; +}; + +export type AtsCreateBackgroundCheckOrderRequestDtoCandidate = { + /** + * List of candidate emails + */ + emails?: Array | null | undefined; + /** + * Candidate first name + */ + firstName?: string | null | undefined; + /** + * Unique identifier + */ + id?: string | null | undefined; + /** + * Candidate last name + */ + lastName?: string | null | undefined; + /** + * Value to pass through to the provider + */ + passthrough?: { [k: string]: any } | null | undefined; + /** + * Candidate profile url + */ + profileUrl?: string | null | undefined; + /** + * Provider's unique identifier + */ + remoteId?: string | null | undefined; +}; + +export type AtsCreateBackgroundCheckOrderRequestDtoJob = { + /** + * Hiring team for the job. + */ + hiringTeam?: Array | null | undefined; + /** + * Unique identifier + */ + id?: string | null | undefined; + /** + * Value to pass through to the provider + */ + passthrough?: { [k: string]: any } | null | undefined; + /** + * Provider's unique identifier + */ + remoteId?: string | null | undefined; + /** + * Title of the job + */ + title?: string | null | undefined; +}; + +export type AtsCreateBackgroundCheckOrderRequestDtoPackage = { + /** + * Package description + */ + description?: string | null | undefined; + /** + * Unique identifier + */ + id?: string | null | undefined; + /** + * Package name + */ + name?: string | null | undefined; + /** + * Provider's unique identifier + */ + remoteId?: string | null | undefined; + /** + * Package tests + */ + tests?: Array | null | undefined; +}; + +export type AtsCreateBackgroundCheckOrderRequestDtoRequester = { + /** + * Email of the hiring team member. + */ + email?: string | null | undefined; + /** + * First name of the hiring team member. + */ + firstName?: string | null | undefined; + /** + * Last name of the hiring team member. + */ + lastName?: string | null | undefined; + /** + * Provider's unique identifier of the user + */ + remoteUserId?: string | null | undefined; + /** + * Role of the hiring team member. + */ + role?: string | null | undefined; + /** + * User ID of the hiring team member. + */ + userId?: string | null | undefined; +}; + +export type AtsCreateBackgroundCheckOrderRequestDto = { + application?: + | AtsCreateBackgroundCheckOrderRequestDtoApplication + | null + | undefined; + candidate?: + | AtsCreateBackgroundCheckOrderRequestDtoCandidate + | null + | undefined; + /** + * Unique identifier + */ + id?: string | null | undefined; + job?: AtsCreateBackgroundCheckOrderRequestDtoJob | null | undefined; + package?: AtsCreateBackgroundCheckOrderRequestDtoPackage | null | undefined; + /** + * Value to pass through to the provider + */ + passthrough?: { [k: string]: any } | null | undefined; + /** + * Provider's unique identifier + */ + remoteId?: string | null | undefined; + requester?: + | AtsCreateBackgroundCheckOrderRequestDtoRequester + | null + | undefined; + /** + * Results update url + */ + resultsUpdateUrl?: string | null | undefined; +}; + +/** @internal */ +export const AtsCreateBackgroundCheckOrderRequestDto4$inboundSchema: z.ZodType< + AtsCreateBackgroundCheckOrderRequestDto4, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type AtsCreateBackgroundCheckOrderRequestDto4$Outbound = {}; + +/** @internal */ +export const AtsCreateBackgroundCheckOrderRequestDto4$outboundSchema: z.ZodType< + AtsCreateBackgroundCheckOrderRequestDto4$Outbound, + z.ZodTypeDef, + AtsCreateBackgroundCheckOrderRequestDto4 +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AtsCreateBackgroundCheckOrderRequestDto4$ { + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDto4$inboundSchema` instead. */ + export const inboundSchema = + AtsCreateBackgroundCheckOrderRequestDto4$inboundSchema; + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDto4$outboundSchema` instead. */ + export const outboundSchema = + AtsCreateBackgroundCheckOrderRequestDto4$outboundSchema; + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDto4$Outbound` instead. */ + export type Outbound = AtsCreateBackgroundCheckOrderRequestDto4$Outbound; +} + +export function atsCreateBackgroundCheckOrderRequestDto4ToJSON( + atsCreateBackgroundCheckOrderRequestDto4: + AtsCreateBackgroundCheckOrderRequestDto4, +): string { + return JSON.stringify( + AtsCreateBackgroundCheckOrderRequestDto4$outboundSchema.parse( + atsCreateBackgroundCheckOrderRequestDto4, + ), + ); +} + +export function atsCreateBackgroundCheckOrderRequestDto4FromJSON( + jsonString: string, +): SafeParseResult< + AtsCreateBackgroundCheckOrderRequestDto4, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + AtsCreateBackgroundCheckOrderRequestDto4$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'AtsCreateBackgroundCheckOrderRequestDto4' from JSON`, + ); +} + +/** @internal */ +export const AtsCreateBackgroundCheckOrderRequestDtoSourceValue$inboundSchema: + z.ZodType< + AtsCreateBackgroundCheckOrderRequestDtoSourceValue, + z.ZodTypeDef, + unknown + > = z.union([ + z.lazy(() => AtsCreateBackgroundCheckOrderRequestDto4$inboundSchema), + z.string(), + z.number(), + z.boolean(), + z.array(z.any()), + ]); + +/** @internal */ +export type AtsCreateBackgroundCheckOrderRequestDtoSourceValue$Outbound = + | AtsCreateBackgroundCheckOrderRequestDto4$Outbound + | string + | number + | boolean + | Array; + +/** @internal */ +export const AtsCreateBackgroundCheckOrderRequestDtoSourceValue$outboundSchema: + z.ZodType< + AtsCreateBackgroundCheckOrderRequestDtoSourceValue$Outbound, + z.ZodTypeDef, + AtsCreateBackgroundCheckOrderRequestDtoSourceValue + > = z.union([ + z.lazy(() => AtsCreateBackgroundCheckOrderRequestDto4$outboundSchema), + z.string(), + z.number(), + z.boolean(), + z.array(z.any()), + ]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AtsCreateBackgroundCheckOrderRequestDtoSourceValue$ { + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDtoSourceValue$inboundSchema` instead. */ + export const inboundSchema = + AtsCreateBackgroundCheckOrderRequestDtoSourceValue$inboundSchema; + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDtoSourceValue$outboundSchema` instead. */ + export const outboundSchema = + AtsCreateBackgroundCheckOrderRequestDtoSourceValue$outboundSchema; + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDtoSourceValue$Outbound` instead. */ + export type Outbound = + AtsCreateBackgroundCheckOrderRequestDtoSourceValue$Outbound; +} + +export function atsCreateBackgroundCheckOrderRequestDtoSourceValueToJSON( + atsCreateBackgroundCheckOrderRequestDtoSourceValue: + AtsCreateBackgroundCheckOrderRequestDtoSourceValue, +): string { + return JSON.stringify( + AtsCreateBackgroundCheckOrderRequestDtoSourceValue$outboundSchema.parse( + atsCreateBackgroundCheckOrderRequestDtoSourceValue, + ), + ); +} + +export function atsCreateBackgroundCheckOrderRequestDtoSourceValueFromJSON( + jsonString: string, +): SafeParseResult< + AtsCreateBackgroundCheckOrderRequestDtoSourceValue, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + AtsCreateBackgroundCheckOrderRequestDtoSourceValue$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'AtsCreateBackgroundCheckOrderRequestDtoSourceValue' from JSON`, + ); +} + +/** @internal */ +export const AtsCreateBackgroundCheckOrderRequestDtoValue$inboundSchema: + z.ZodType< + AtsCreateBackgroundCheckOrderRequestDtoValueOpen, + z.ZodTypeDef, + unknown + > = z + .union([ + z.nativeEnum(AtsCreateBackgroundCheckOrderRequestDtoValue), + z.string().transform(catchUnrecognizedEnum), + ]); + +/** @internal */ +export const AtsCreateBackgroundCheckOrderRequestDtoValue$outboundSchema: + z.ZodType< + AtsCreateBackgroundCheckOrderRequestDtoValueOpen, + z.ZodTypeDef, + AtsCreateBackgroundCheckOrderRequestDtoValueOpen + > = z.union([ + z.nativeEnum(AtsCreateBackgroundCheckOrderRequestDtoValue), + z.string().and(z.custom>()), + ]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AtsCreateBackgroundCheckOrderRequestDtoValue$ { + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDtoValue$inboundSchema` instead. */ + export const inboundSchema = + AtsCreateBackgroundCheckOrderRequestDtoValue$inboundSchema; + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDtoValue$outboundSchema` instead. */ + export const outboundSchema = + AtsCreateBackgroundCheckOrderRequestDtoValue$outboundSchema; +} + +/** @internal */ +export const AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus$inboundSchema: + z.ZodType< + AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus, + z.ZodTypeDef, + unknown + > = z.object({ + source_value: z.nullable( + z.union([ + z.lazy(() => AtsCreateBackgroundCheckOrderRequestDto4$inboundSchema), + z.string(), + z.number(), + z.boolean(), + z.array(z.any()), + ]), + ).optional(), + value: z.nullable( + AtsCreateBackgroundCheckOrderRequestDtoValue$inboundSchema, + ).optional(), + }).transform((v) => { + return remap$(v, { + "source_value": "sourceValue", + }); + }); + +/** @internal */ +export type AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus$Outbound = + { + source_value?: + | AtsCreateBackgroundCheckOrderRequestDto4$Outbound + | string + | number + | boolean + | Array + | null + | undefined; + value?: string | null | undefined; + }; + +/** @internal */ +export const AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus$outboundSchema: + z.ZodType< + AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus$Outbound, + z.ZodTypeDef, + AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus + > = z.object({ + sourceValue: z.nullable( + z.union([ + z.lazy(() => AtsCreateBackgroundCheckOrderRequestDto4$outboundSchema), + z.string(), + z.number(), + z.boolean(), + z.array(z.any()), + ]), + ).optional(), + value: z.nullable( + AtsCreateBackgroundCheckOrderRequestDtoValue$outboundSchema, + ).optional(), + }).transform((v) => { + return remap$(v, { + sourceValue: "source_value", + }); + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus$ { + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus$inboundSchema` instead. */ + export const inboundSchema = + AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus$inboundSchema; + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus$outboundSchema` instead. */ + export const outboundSchema = + AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus$outboundSchema; + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus$Outbound` instead. */ + export type Outbound = + AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus$Outbound; +} + +export function atsCreateBackgroundCheckOrderRequestDtoApplicationStatusToJSON( + atsCreateBackgroundCheckOrderRequestDtoApplicationStatus: + AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus, +): string { + return JSON.stringify( + AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus$outboundSchema + .parse(atsCreateBackgroundCheckOrderRequestDtoApplicationStatus), + ); +} + +export function atsCreateBackgroundCheckOrderRequestDtoApplicationStatusFromJSON( + jsonString: string, +): SafeParseResult< + AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus$inboundSchema + .parse(JSON.parse(x)), + `Failed to parse 'AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus' from JSON`, + ); +} + +/** @internal */ +export const AtsCreateBackgroundCheckOrderRequestDtoApplication$inboundSchema: + z.ZodType< + AtsCreateBackgroundCheckOrderRequestDtoApplication, + z.ZodTypeDef, + unknown + > = z.object({ + application_status: z.nullable( + z.lazy(() => + AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus$inboundSchema + ), + ).optional(), + id: z.nullable(z.string()).optional(), + passthrough: z.nullable(z.record(z.any())).optional(), + remote_id: z.nullable(z.string()).optional(), + }).transform((v) => { + return remap$(v, { + "application_status": "applicationStatus", + "remote_id": "remoteId", + }); + }); + +/** @internal */ +export type AtsCreateBackgroundCheckOrderRequestDtoApplication$Outbound = { + application_status?: + | AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus$Outbound + | null + | undefined; + id?: string | null | undefined; + passthrough?: { [k: string]: any } | null | undefined; + remote_id?: string | null | undefined; +}; + +/** @internal */ +export const AtsCreateBackgroundCheckOrderRequestDtoApplication$outboundSchema: + z.ZodType< + AtsCreateBackgroundCheckOrderRequestDtoApplication$Outbound, + z.ZodTypeDef, + AtsCreateBackgroundCheckOrderRequestDtoApplication + > = z.object({ + applicationStatus: z.nullable( + z.lazy(() => + AtsCreateBackgroundCheckOrderRequestDtoApplicationStatus$outboundSchema + ), + ).optional(), + id: z.nullable(z.string()).optional(), + passthrough: z.nullable(z.record(z.any())).optional(), + remoteId: z.nullable(z.string()).optional(), + }).transform((v) => { + return remap$(v, { + applicationStatus: "application_status", + remoteId: "remote_id", + }); + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AtsCreateBackgroundCheckOrderRequestDtoApplication$ { + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDtoApplication$inboundSchema` instead. */ + export const inboundSchema = + AtsCreateBackgroundCheckOrderRequestDtoApplication$inboundSchema; + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDtoApplication$outboundSchema` instead. */ + export const outboundSchema = + AtsCreateBackgroundCheckOrderRequestDtoApplication$outboundSchema; + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDtoApplication$Outbound` instead. */ + export type Outbound = + AtsCreateBackgroundCheckOrderRequestDtoApplication$Outbound; +} + +export function atsCreateBackgroundCheckOrderRequestDtoApplicationToJSON( + atsCreateBackgroundCheckOrderRequestDtoApplication: + AtsCreateBackgroundCheckOrderRequestDtoApplication, +): string { + return JSON.stringify( + AtsCreateBackgroundCheckOrderRequestDtoApplication$outboundSchema.parse( + atsCreateBackgroundCheckOrderRequestDtoApplication, + ), + ); +} + +export function atsCreateBackgroundCheckOrderRequestDtoApplicationFromJSON( + jsonString: string, +): SafeParseResult< + AtsCreateBackgroundCheckOrderRequestDtoApplication, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + AtsCreateBackgroundCheckOrderRequestDtoApplication$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'AtsCreateBackgroundCheckOrderRequestDtoApplication' from JSON`, + ); +} + +/** @internal */ +export const AtsCreateBackgroundCheckOrderRequestDtoCandidate$inboundSchema: + z.ZodType< + AtsCreateBackgroundCheckOrderRequestDtoCandidate, + z.ZodTypeDef, + unknown + > = z.object({ + emails: z.nullable(z.array(CandidateEmail$inboundSchema)).optional(), + first_name: z.nullable(z.string()).optional(), + id: z.nullable(z.string()).optional(), + last_name: z.nullable(z.string()).optional(), + passthrough: z.nullable(z.record(z.any())).optional(), + profile_url: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + }).transform((v) => { + return remap$(v, { + "first_name": "firstName", + "last_name": "lastName", + "profile_url": "profileUrl", + "remote_id": "remoteId", + }); + }); + +/** @internal */ +export type AtsCreateBackgroundCheckOrderRequestDtoCandidate$Outbound = { + emails?: Array | null | undefined; + first_name?: string | null | undefined; + id?: string | null | undefined; + last_name?: string | null | undefined; + passthrough?: { [k: string]: any } | null | undefined; + profile_url?: string | null | undefined; + remote_id?: string | null | undefined; +}; + +/** @internal */ +export const AtsCreateBackgroundCheckOrderRequestDtoCandidate$outboundSchema: + z.ZodType< + AtsCreateBackgroundCheckOrderRequestDtoCandidate$Outbound, + z.ZodTypeDef, + AtsCreateBackgroundCheckOrderRequestDtoCandidate + > = z.object({ + emails: z.nullable(z.array(CandidateEmail$outboundSchema)).optional(), + firstName: z.nullable(z.string()).optional(), + id: z.nullable(z.string()).optional(), + lastName: z.nullable(z.string()).optional(), + passthrough: z.nullable(z.record(z.any())).optional(), + profileUrl: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + }).transform((v) => { + return remap$(v, { + firstName: "first_name", + lastName: "last_name", + profileUrl: "profile_url", + remoteId: "remote_id", + }); + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AtsCreateBackgroundCheckOrderRequestDtoCandidate$ { + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDtoCandidate$inboundSchema` instead. */ + export const inboundSchema = + AtsCreateBackgroundCheckOrderRequestDtoCandidate$inboundSchema; + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDtoCandidate$outboundSchema` instead. */ + export const outboundSchema = + AtsCreateBackgroundCheckOrderRequestDtoCandidate$outboundSchema; + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDtoCandidate$Outbound` instead. */ + export type Outbound = + AtsCreateBackgroundCheckOrderRequestDtoCandidate$Outbound; +} + +export function atsCreateBackgroundCheckOrderRequestDtoCandidateToJSON( + atsCreateBackgroundCheckOrderRequestDtoCandidate: + AtsCreateBackgroundCheckOrderRequestDtoCandidate, +): string { + return JSON.stringify( + AtsCreateBackgroundCheckOrderRequestDtoCandidate$outboundSchema.parse( + atsCreateBackgroundCheckOrderRequestDtoCandidate, + ), + ); +} + +export function atsCreateBackgroundCheckOrderRequestDtoCandidateFromJSON( + jsonString: string, +): SafeParseResult< + AtsCreateBackgroundCheckOrderRequestDtoCandidate, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + AtsCreateBackgroundCheckOrderRequestDtoCandidate$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'AtsCreateBackgroundCheckOrderRequestDtoCandidate' from JSON`, + ); +} + +/** @internal */ +export const AtsCreateBackgroundCheckOrderRequestDtoJob$inboundSchema: + z.ZodType = + z.object({ + hiring_team: z.nullable(z.array(JobHiringTeam$inboundSchema)).optional(), + id: z.nullable(z.string()).optional(), + passthrough: z.nullable(z.record(z.any())).optional(), + remote_id: z.nullable(z.string()).optional(), + title: z.nullable(z.string()).optional(), + }).transform((v) => { + return remap$(v, { + "hiring_team": "hiringTeam", + "remote_id": "remoteId", + }); + }); + +/** @internal */ +export type AtsCreateBackgroundCheckOrderRequestDtoJob$Outbound = { + hiring_team?: Array | null | undefined; + id?: string | null | undefined; + passthrough?: { [k: string]: any } | null | undefined; + remote_id?: string | null | undefined; + title?: string | null | undefined; +}; + +/** @internal */ +export const AtsCreateBackgroundCheckOrderRequestDtoJob$outboundSchema: + z.ZodType< + AtsCreateBackgroundCheckOrderRequestDtoJob$Outbound, + z.ZodTypeDef, + AtsCreateBackgroundCheckOrderRequestDtoJob + > = z.object({ + hiringTeam: z.nullable(z.array(JobHiringTeam$outboundSchema)).optional(), + id: z.nullable(z.string()).optional(), + passthrough: z.nullable(z.record(z.any())).optional(), + remoteId: z.nullable(z.string()).optional(), + title: z.nullable(z.string()).optional(), + }).transform((v) => { + return remap$(v, { + hiringTeam: "hiring_team", + remoteId: "remote_id", + }); + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AtsCreateBackgroundCheckOrderRequestDtoJob$ { + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDtoJob$inboundSchema` instead. */ + export const inboundSchema = + AtsCreateBackgroundCheckOrderRequestDtoJob$inboundSchema; + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDtoJob$outboundSchema` instead. */ + export const outboundSchema = + AtsCreateBackgroundCheckOrderRequestDtoJob$outboundSchema; + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDtoJob$Outbound` instead. */ + export type Outbound = AtsCreateBackgroundCheckOrderRequestDtoJob$Outbound; +} + +export function atsCreateBackgroundCheckOrderRequestDtoJobToJSON( + atsCreateBackgroundCheckOrderRequestDtoJob: + AtsCreateBackgroundCheckOrderRequestDtoJob, +): string { + return JSON.stringify( + AtsCreateBackgroundCheckOrderRequestDtoJob$outboundSchema.parse( + atsCreateBackgroundCheckOrderRequestDtoJob, + ), + ); +} + +export function atsCreateBackgroundCheckOrderRequestDtoJobFromJSON( + jsonString: string, +): SafeParseResult< + AtsCreateBackgroundCheckOrderRequestDtoJob, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + AtsCreateBackgroundCheckOrderRequestDtoJob$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'AtsCreateBackgroundCheckOrderRequestDtoJob' from JSON`, + ); +} + +/** @internal */ +export const AtsCreateBackgroundCheckOrderRequestDtoPackage$inboundSchema: + z.ZodType< + AtsCreateBackgroundCheckOrderRequestDtoPackage, + z.ZodTypeDef, + unknown + > = z.object({ + description: z.nullable(z.string()).optional(), + id: z.nullable(z.string()).optional(), + name: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + tests: z.nullable(z.array(Package$inboundSchema)).optional(), + }).transform((v) => { + return remap$(v, { + "remote_id": "remoteId", + }); + }); + +/** @internal */ +export type AtsCreateBackgroundCheckOrderRequestDtoPackage$Outbound = { + description?: string | null | undefined; + id?: string | null | undefined; + name?: string | null | undefined; + remote_id?: string | null | undefined; + tests?: Array | null | undefined; +}; + +/** @internal */ +export const AtsCreateBackgroundCheckOrderRequestDtoPackage$outboundSchema: + z.ZodType< + AtsCreateBackgroundCheckOrderRequestDtoPackage$Outbound, + z.ZodTypeDef, + AtsCreateBackgroundCheckOrderRequestDtoPackage + > = z.object({ + description: z.nullable(z.string()).optional(), + id: z.nullable(z.string()).optional(), + name: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + tests: z.nullable(z.array(Package$outboundSchema)).optional(), + }).transform((v) => { + return remap$(v, { + remoteId: "remote_id", + }); + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AtsCreateBackgroundCheckOrderRequestDtoPackage$ { + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDtoPackage$inboundSchema` instead. */ + export const inboundSchema = + AtsCreateBackgroundCheckOrderRequestDtoPackage$inboundSchema; + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDtoPackage$outboundSchema` instead. */ + export const outboundSchema = + AtsCreateBackgroundCheckOrderRequestDtoPackage$outboundSchema; + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDtoPackage$Outbound` instead. */ + export type Outbound = + AtsCreateBackgroundCheckOrderRequestDtoPackage$Outbound; +} + +export function atsCreateBackgroundCheckOrderRequestDtoPackageToJSON( + atsCreateBackgroundCheckOrderRequestDtoPackage: + AtsCreateBackgroundCheckOrderRequestDtoPackage, +): string { + return JSON.stringify( + AtsCreateBackgroundCheckOrderRequestDtoPackage$outboundSchema.parse( + atsCreateBackgroundCheckOrderRequestDtoPackage, + ), + ); +} + +export function atsCreateBackgroundCheckOrderRequestDtoPackageFromJSON( + jsonString: string, +): SafeParseResult< + AtsCreateBackgroundCheckOrderRequestDtoPackage, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + AtsCreateBackgroundCheckOrderRequestDtoPackage$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'AtsCreateBackgroundCheckOrderRequestDtoPackage' from JSON`, + ); +} + +/** @internal */ +export const AtsCreateBackgroundCheckOrderRequestDtoRequester$inboundSchema: + z.ZodType< + AtsCreateBackgroundCheckOrderRequestDtoRequester, + z.ZodTypeDef, + unknown + > = z.object({ + email: z.nullable(z.string()).optional(), + first_name: z.nullable(z.string()).optional(), + last_name: z.nullable(z.string()).optional(), + remote_user_id: z.nullable(z.string()).optional(), + role: z.nullable(z.string()).optional(), + user_id: z.nullable(z.string()).optional(), + }).transform((v) => { + return remap$(v, { + "first_name": "firstName", + "last_name": "lastName", + "remote_user_id": "remoteUserId", + "user_id": "userId", + }); + }); + +/** @internal */ +export type AtsCreateBackgroundCheckOrderRequestDtoRequester$Outbound = { + email?: string | null | undefined; + first_name?: string | null | undefined; + last_name?: string | null | undefined; + remote_user_id?: string | null | undefined; + role?: string | null | undefined; + user_id?: string | null | undefined; +}; + +/** @internal */ +export const AtsCreateBackgroundCheckOrderRequestDtoRequester$outboundSchema: + z.ZodType< + AtsCreateBackgroundCheckOrderRequestDtoRequester$Outbound, + z.ZodTypeDef, + AtsCreateBackgroundCheckOrderRequestDtoRequester + > = z.object({ + email: z.nullable(z.string()).optional(), + firstName: z.nullable(z.string()).optional(), + lastName: z.nullable(z.string()).optional(), + remoteUserId: z.nullable(z.string()).optional(), + role: z.nullable(z.string()).optional(), + userId: z.nullable(z.string()).optional(), + }).transform((v) => { + return remap$(v, { + firstName: "first_name", + lastName: "last_name", + remoteUserId: "remote_user_id", + userId: "user_id", + }); + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AtsCreateBackgroundCheckOrderRequestDtoRequester$ { + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDtoRequester$inboundSchema` instead. */ + export const inboundSchema = + AtsCreateBackgroundCheckOrderRequestDtoRequester$inboundSchema; + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDtoRequester$outboundSchema` instead. */ + export const outboundSchema = + AtsCreateBackgroundCheckOrderRequestDtoRequester$outboundSchema; + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDtoRequester$Outbound` instead. */ + export type Outbound = + AtsCreateBackgroundCheckOrderRequestDtoRequester$Outbound; +} + +export function atsCreateBackgroundCheckOrderRequestDtoRequesterToJSON( + atsCreateBackgroundCheckOrderRequestDtoRequester: + AtsCreateBackgroundCheckOrderRequestDtoRequester, +): string { + return JSON.stringify( + AtsCreateBackgroundCheckOrderRequestDtoRequester$outboundSchema.parse( + atsCreateBackgroundCheckOrderRequestDtoRequester, + ), + ); +} + +export function atsCreateBackgroundCheckOrderRequestDtoRequesterFromJSON( + jsonString: string, +): SafeParseResult< + AtsCreateBackgroundCheckOrderRequestDtoRequester, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + AtsCreateBackgroundCheckOrderRequestDtoRequester$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'AtsCreateBackgroundCheckOrderRequestDtoRequester' from JSON`, + ); +} + +/** @internal */ +export const AtsCreateBackgroundCheckOrderRequestDto$inboundSchema: z.ZodType< + AtsCreateBackgroundCheckOrderRequestDto, + z.ZodTypeDef, + unknown +> = z.object({ + application: z.nullable( + z.lazy(() => + AtsCreateBackgroundCheckOrderRequestDtoApplication$inboundSchema + ), + ).optional(), + candidate: z.nullable( + z.lazy(() => + AtsCreateBackgroundCheckOrderRequestDtoCandidate$inboundSchema + ), + ).optional(), + id: z.nullable(z.string()).optional(), + job: z.nullable( + z.lazy(() => AtsCreateBackgroundCheckOrderRequestDtoJob$inboundSchema), + ).optional(), + package: z.nullable( + z.lazy(() => AtsCreateBackgroundCheckOrderRequestDtoPackage$inboundSchema), + ).optional(), + passthrough: z.nullable(z.record(z.any())).optional(), + remote_id: z.nullable(z.string()).optional(), + requester: z.nullable( + z.lazy(() => + AtsCreateBackgroundCheckOrderRequestDtoRequester$inboundSchema + ), + ).optional(), + results_update_url: z.nullable(z.string()).optional(), +}).transform((v) => { + return remap$(v, { + "remote_id": "remoteId", + "results_update_url": "resultsUpdateUrl", + }); +}); + +/** @internal */ +export type AtsCreateBackgroundCheckOrderRequestDto$Outbound = { + application?: + | AtsCreateBackgroundCheckOrderRequestDtoApplication$Outbound + | null + | undefined; + candidate?: + | AtsCreateBackgroundCheckOrderRequestDtoCandidate$Outbound + | null + | undefined; + id?: string | null | undefined; + job?: AtsCreateBackgroundCheckOrderRequestDtoJob$Outbound | null | undefined; + package?: + | AtsCreateBackgroundCheckOrderRequestDtoPackage$Outbound + | null + | undefined; + passthrough?: { [k: string]: any } | null | undefined; + remote_id?: string | null | undefined; + requester?: + | AtsCreateBackgroundCheckOrderRequestDtoRequester$Outbound + | null + | undefined; + results_update_url?: string | null | undefined; +}; + +/** @internal */ +export const AtsCreateBackgroundCheckOrderRequestDto$outboundSchema: z.ZodType< + AtsCreateBackgroundCheckOrderRequestDto$Outbound, + z.ZodTypeDef, + AtsCreateBackgroundCheckOrderRequestDto +> = z.object({ + application: z.nullable( + z.lazy(() => + AtsCreateBackgroundCheckOrderRequestDtoApplication$outboundSchema + ), + ).optional(), + candidate: z.nullable( + z.lazy(() => + AtsCreateBackgroundCheckOrderRequestDtoCandidate$outboundSchema + ), + ).optional(), + id: z.nullable(z.string()).optional(), + job: z.nullable( + z.lazy(() => AtsCreateBackgroundCheckOrderRequestDtoJob$outboundSchema), + ).optional(), + package: z.nullable( + z.lazy(() => AtsCreateBackgroundCheckOrderRequestDtoPackage$outboundSchema), + ).optional(), + passthrough: z.nullable(z.record(z.any())).optional(), + remoteId: z.nullable(z.string()).optional(), + requester: z.nullable( + z.lazy(() => + AtsCreateBackgroundCheckOrderRequestDtoRequester$outboundSchema + ), + ).optional(), + resultsUpdateUrl: z.nullable(z.string()).optional(), +}).transform((v) => { + return remap$(v, { + remoteId: "remote_id", + resultsUpdateUrl: "results_update_url", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AtsCreateBackgroundCheckOrderRequestDto$ { + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDto$inboundSchema` instead. */ + export const inboundSchema = + AtsCreateBackgroundCheckOrderRequestDto$inboundSchema; + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDto$outboundSchema` instead. */ + export const outboundSchema = + AtsCreateBackgroundCheckOrderRequestDto$outboundSchema; + /** @deprecated use `AtsCreateBackgroundCheckOrderRequestDto$Outbound` instead. */ + export type Outbound = AtsCreateBackgroundCheckOrderRequestDto$Outbound; +} + +export function atsCreateBackgroundCheckOrderRequestDtoToJSON( + atsCreateBackgroundCheckOrderRequestDto: + AtsCreateBackgroundCheckOrderRequestDto, +): string { + return JSON.stringify( + AtsCreateBackgroundCheckOrderRequestDto$outboundSchema.parse( + atsCreateBackgroundCheckOrderRequestDto, + ), + ); +} + +export function atsCreateBackgroundCheckOrderRequestDtoFromJSON( + jsonString: string, +): SafeParseResult< + AtsCreateBackgroundCheckOrderRequestDto, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + AtsCreateBackgroundCheckOrderRequestDto$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'AtsCreateBackgroundCheckOrderRequestDto' from JSON`, + ); +} diff --git a/src/sdk/models/shared/atscreatecandidatesassessmentsrequestdto.ts b/src/sdk/models/shared/atscreatecandidatesassessmentsrequestdto.ts new file mode 100644 index 000000000..a5c1b5b4e --- /dev/null +++ b/src/sdk/models/shared/atscreatecandidatesassessmentsrequestdto.ts @@ -0,0 +1,1125 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../../../lib/primitives.js"; +import { safeParse } from "../../../lib/schemas.js"; +import { + catchUnrecognizedEnum, + OpenEnum, + Unrecognized, +} from "../../types/enums.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + CandidateEmail, + CandidateEmail$inboundSchema, + CandidateEmail$Outbound, + CandidateEmail$outboundSchema, +} from "./candidateemail.js"; +import { + JobHiringTeam, + JobHiringTeam$inboundSchema, + JobHiringTeam$Outbound, + JobHiringTeam$outboundSchema, +} from "./jobhiringteam.js"; + +export type AtsCreateCandidatesAssessmentsRequestDto4 = {}; + +/** + * The source value of the application status. + */ +export type AtsCreateCandidatesAssessmentsRequestDtoSourceValue = + | AtsCreateCandidatesAssessmentsRequestDto4 + | string + | number + | boolean + | Array; + +/** + * The status of the application. + */ +export enum AtsCreateCandidatesAssessmentsRequestDtoValue { + Active = "active", + Assessment = "assessment", + BackgroundCheck = "background_check", + Converted = "converted", + DeclinedByCandidate = "declined_by_candidate", + Hired = "hired", + Interview = "interview", + Lead = "lead", + Offer = "offer", + ReferenceCheck = "reference_check", + Rejected = "rejected", + Review = "review", + Screen = "screen", + New = "new", + Onboarding = "onboarding", + Created = "created", + Accepted = "accepted", + ShortList = "short_list", + Approved = "approved", + UnmappedValue = "unmapped_value", +} +/** + * The status of the application. + */ +export type AtsCreateCandidatesAssessmentsRequestDtoValueOpen = OpenEnum< + typeof AtsCreateCandidatesAssessmentsRequestDtoValue +>; + +export type AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus = { + /** + * The source value of the application status. + */ + sourceValue?: + | AtsCreateCandidatesAssessmentsRequestDto4 + | string + | number + | boolean + | Array + | null + | undefined; + /** + * The status of the application. + */ + value?: AtsCreateCandidatesAssessmentsRequestDtoValueOpen | null | undefined; +}; + +export type AtsCreateCandidatesAssessmentsRequestDtoApplication = { + applicationStatus?: + | AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus + | null + | undefined; + /** + * Unique identifier + */ + id?: string | null | undefined; + /** + * Value to pass through to the provider + */ + passthrough?: { [k: string]: any } | null | undefined; + /** + * Provider's unique identifier + */ + remoteId?: string | null | undefined; +}; + +export type AtsCreateCandidatesAssessmentsRequestDtoCandidate = { + /** + * List of candidate emails + */ + emails?: Array | null | undefined; + /** + * Candidate first name + */ + firstName?: string | null | undefined; + /** + * Unique identifier + */ + id?: string | null | undefined; + /** + * Candidate last name + */ + lastName?: string | null | undefined; + /** + * Value to pass through to the provider + */ + passthrough?: { [k: string]: any } | null | undefined; + /** + * Candidate profile url + */ + profileUrl?: string | null | undefined; + /** + * Provider's unique identifier + */ + remoteId?: string | null | undefined; +}; + +export type AtsCreateCandidatesAssessmentsRequestDtoJob = { + /** + * Hiring team for the job. + */ + hiringTeam?: Array | null | undefined; + /** + * Unique identifier + */ + id?: string | null | undefined; + /** + * Value to pass through to the provider + */ + passthrough?: { [k: string]: any } | null | undefined; + /** + * Provider's unique identifier + */ + remoteId?: string | null | undefined; + /** + * Title of the job + */ + title?: string | null | undefined; +}; + +export type AtsCreateCandidatesAssessmentsRequestDtoPackage = { + /** + * Package description + */ + description?: string | null | undefined; + /** + * Unique identifier + */ + id?: string | null | undefined; + /** + * Package name + */ + name?: string | null | undefined; + /** + * Provider's unique identifier + */ + remoteId?: string | null | undefined; +}; + +export type AtsCreateCandidatesAssessmentsRequestDtoRequester = { + /** + * Email of the hiring team member. + */ + email?: string | null | undefined; + /** + * First name of the hiring team member. + */ + firstName?: string | null | undefined; + /** + * Last name of the hiring team member. + */ + lastName?: string | null | undefined; + /** + * Provider's unique identifier of the user + */ + remoteUserId?: string | null | undefined; + /** + * Role of the hiring team member. + */ + role?: string | null | undefined; + /** + * User ID of the hiring team member. + */ + userId?: string | null | undefined; +}; + +export type AtsCreateCandidatesAssessmentsRequestDto = { + application?: + | AtsCreateCandidatesAssessmentsRequestDtoApplication + | null + | undefined; + candidate?: + | AtsCreateCandidatesAssessmentsRequestDtoCandidate + | null + | undefined; + /** + * Unique identifier + */ + id?: string | null | undefined; + job?: AtsCreateCandidatesAssessmentsRequestDtoJob | null | undefined; + package?: AtsCreateCandidatesAssessmentsRequestDtoPackage | null | undefined; + /** + * Value to pass through to the provider + */ + passthrough?: { [k: string]: any } | null | undefined; + requester?: + | AtsCreateCandidatesAssessmentsRequestDtoRequester + | null + | undefined; + /** + * Results update url + */ + resultsUpdateUrl?: string | null | undefined; +}; + +/** @internal */ +export const AtsCreateCandidatesAssessmentsRequestDto4$inboundSchema: z.ZodType< + AtsCreateCandidatesAssessmentsRequestDto4, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type AtsCreateCandidatesAssessmentsRequestDto4$Outbound = {}; + +/** @internal */ +export const AtsCreateCandidatesAssessmentsRequestDto4$outboundSchema: + z.ZodType< + AtsCreateCandidatesAssessmentsRequestDto4$Outbound, + z.ZodTypeDef, + AtsCreateCandidatesAssessmentsRequestDto4 + > = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AtsCreateCandidatesAssessmentsRequestDto4$ { + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDto4$inboundSchema` instead. */ + export const inboundSchema = + AtsCreateCandidatesAssessmentsRequestDto4$inboundSchema; + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDto4$outboundSchema` instead. */ + export const outboundSchema = + AtsCreateCandidatesAssessmentsRequestDto4$outboundSchema; + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDto4$Outbound` instead. */ + export type Outbound = AtsCreateCandidatesAssessmentsRequestDto4$Outbound; +} + +export function atsCreateCandidatesAssessmentsRequestDto4ToJSON( + atsCreateCandidatesAssessmentsRequestDto4: + AtsCreateCandidatesAssessmentsRequestDto4, +): string { + return JSON.stringify( + AtsCreateCandidatesAssessmentsRequestDto4$outboundSchema.parse( + atsCreateCandidatesAssessmentsRequestDto4, + ), + ); +} + +export function atsCreateCandidatesAssessmentsRequestDto4FromJSON( + jsonString: string, +): SafeParseResult< + AtsCreateCandidatesAssessmentsRequestDto4, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + AtsCreateCandidatesAssessmentsRequestDto4$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'AtsCreateCandidatesAssessmentsRequestDto4' from JSON`, + ); +} + +/** @internal */ +export const AtsCreateCandidatesAssessmentsRequestDtoSourceValue$inboundSchema: + z.ZodType< + AtsCreateCandidatesAssessmentsRequestDtoSourceValue, + z.ZodTypeDef, + unknown + > = z.union([ + z.lazy(() => AtsCreateCandidatesAssessmentsRequestDto4$inboundSchema), + z.string(), + z.number(), + z.boolean(), + z.array(z.any()), + ]); + +/** @internal */ +export type AtsCreateCandidatesAssessmentsRequestDtoSourceValue$Outbound = + | AtsCreateCandidatesAssessmentsRequestDto4$Outbound + | string + | number + | boolean + | Array; + +/** @internal */ +export const AtsCreateCandidatesAssessmentsRequestDtoSourceValue$outboundSchema: + z.ZodType< + AtsCreateCandidatesAssessmentsRequestDtoSourceValue$Outbound, + z.ZodTypeDef, + AtsCreateCandidatesAssessmentsRequestDtoSourceValue + > = z.union([ + z.lazy(() => AtsCreateCandidatesAssessmentsRequestDto4$outboundSchema), + z.string(), + z.number(), + z.boolean(), + z.array(z.any()), + ]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AtsCreateCandidatesAssessmentsRequestDtoSourceValue$ { + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDtoSourceValue$inboundSchema` instead. */ + export const inboundSchema = + AtsCreateCandidatesAssessmentsRequestDtoSourceValue$inboundSchema; + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDtoSourceValue$outboundSchema` instead. */ + export const outboundSchema = + AtsCreateCandidatesAssessmentsRequestDtoSourceValue$outboundSchema; + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDtoSourceValue$Outbound` instead. */ + export type Outbound = + AtsCreateCandidatesAssessmentsRequestDtoSourceValue$Outbound; +} + +export function atsCreateCandidatesAssessmentsRequestDtoSourceValueToJSON( + atsCreateCandidatesAssessmentsRequestDtoSourceValue: + AtsCreateCandidatesAssessmentsRequestDtoSourceValue, +): string { + return JSON.stringify( + AtsCreateCandidatesAssessmentsRequestDtoSourceValue$outboundSchema.parse( + atsCreateCandidatesAssessmentsRequestDtoSourceValue, + ), + ); +} + +export function atsCreateCandidatesAssessmentsRequestDtoSourceValueFromJSON( + jsonString: string, +): SafeParseResult< + AtsCreateCandidatesAssessmentsRequestDtoSourceValue, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + AtsCreateCandidatesAssessmentsRequestDtoSourceValue$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'AtsCreateCandidatesAssessmentsRequestDtoSourceValue' from JSON`, + ); +} + +/** @internal */ +export const AtsCreateCandidatesAssessmentsRequestDtoValue$inboundSchema: + z.ZodType< + AtsCreateCandidatesAssessmentsRequestDtoValueOpen, + z.ZodTypeDef, + unknown + > = z + .union([ + z.nativeEnum(AtsCreateCandidatesAssessmentsRequestDtoValue), + z.string().transform(catchUnrecognizedEnum), + ]); + +/** @internal */ +export const AtsCreateCandidatesAssessmentsRequestDtoValue$outboundSchema: + z.ZodType< + AtsCreateCandidatesAssessmentsRequestDtoValueOpen, + z.ZodTypeDef, + AtsCreateCandidatesAssessmentsRequestDtoValueOpen + > = z.union([ + z.nativeEnum(AtsCreateCandidatesAssessmentsRequestDtoValue), + z.string().and(z.custom>()), + ]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AtsCreateCandidatesAssessmentsRequestDtoValue$ { + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDtoValue$inboundSchema` instead. */ + export const inboundSchema = + AtsCreateCandidatesAssessmentsRequestDtoValue$inboundSchema; + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDtoValue$outboundSchema` instead. */ + export const outboundSchema = + AtsCreateCandidatesAssessmentsRequestDtoValue$outboundSchema; +} + +/** @internal */ +export const AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus$inboundSchema: + z.ZodType< + AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus, + z.ZodTypeDef, + unknown + > = z.object({ + source_value: z.nullable( + z.union([ + z.lazy(() => AtsCreateCandidatesAssessmentsRequestDto4$inboundSchema), + z.string(), + z.number(), + z.boolean(), + z.array(z.any()), + ]), + ).optional(), + value: z.nullable( + AtsCreateCandidatesAssessmentsRequestDtoValue$inboundSchema, + ).optional(), + }).transform((v) => { + return remap$(v, { + "source_value": "sourceValue", + }); + }); + +/** @internal */ +export type AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus$Outbound = + { + source_value?: + | AtsCreateCandidatesAssessmentsRequestDto4$Outbound + | string + | number + | boolean + | Array + | null + | undefined; + value?: string | null | undefined; + }; + +/** @internal */ +export const AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus$outboundSchema: + z.ZodType< + AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus$Outbound, + z.ZodTypeDef, + AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus + > = z.object({ + sourceValue: z.nullable( + z.union([ + z.lazy(() => AtsCreateCandidatesAssessmentsRequestDto4$outboundSchema), + z.string(), + z.number(), + z.boolean(), + z.array(z.any()), + ]), + ).optional(), + value: z.nullable( + AtsCreateCandidatesAssessmentsRequestDtoValue$outboundSchema, + ).optional(), + }).transform((v) => { + return remap$(v, { + sourceValue: "source_value", + }); + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus$ { + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus$inboundSchema` instead. */ + export const inboundSchema = + AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus$inboundSchema; + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus$outboundSchema` instead. */ + export const outboundSchema = + AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus$outboundSchema; + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus$Outbound` instead. */ + export type Outbound = + AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus$Outbound; +} + +export function atsCreateCandidatesAssessmentsRequestDtoApplicationStatusToJSON( + atsCreateCandidatesAssessmentsRequestDtoApplicationStatus: + AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus, +): string { + return JSON.stringify( + AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus$outboundSchema + .parse(atsCreateCandidatesAssessmentsRequestDtoApplicationStatus), + ); +} + +export function atsCreateCandidatesAssessmentsRequestDtoApplicationStatusFromJSON( + jsonString: string, +): SafeParseResult< + AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus$inboundSchema + .parse(JSON.parse(x)), + `Failed to parse 'AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus' from JSON`, + ); +} + +/** @internal */ +export const AtsCreateCandidatesAssessmentsRequestDtoApplication$inboundSchema: + z.ZodType< + AtsCreateCandidatesAssessmentsRequestDtoApplication, + z.ZodTypeDef, + unknown + > = z.object({ + application_status: z.nullable( + z.lazy(() => + AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus$inboundSchema + ), + ).optional(), + id: z.nullable(z.string()).optional(), + passthrough: z.nullable(z.record(z.any())).optional(), + remote_id: z.nullable(z.string()).optional(), + }).transform((v) => { + return remap$(v, { + "application_status": "applicationStatus", + "remote_id": "remoteId", + }); + }); + +/** @internal */ +export type AtsCreateCandidatesAssessmentsRequestDtoApplication$Outbound = { + application_status?: + | AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus$Outbound + | null + | undefined; + id?: string | null | undefined; + passthrough?: { [k: string]: any } | null | undefined; + remote_id?: string | null | undefined; +}; + +/** @internal */ +export const AtsCreateCandidatesAssessmentsRequestDtoApplication$outboundSchema: + z.ZodType< + AtsCreateCandidatesAssessmentsRequestDtoApplication$Outbound, + z.ZodTypeDef, + AtsCreateCandidatesAssessmentsRequestDtoApplication + > = z.object({ + applicationStatus: z.nullable( + z.lazy(() => + AtsCreateCandidatesAssessmentsRequestDtoApplicationStatus$outboundSchema + ), + ).optional(), + id: z.nullable(z.string()).optional(), + passthrough: z.nullable(z.record(z.any())).optional(), + remoteId: z.nullable(z.string()).optional(), + }).transform((v) => { + return remap$(v, { + applicationStatus: "application_status", + remoteId: "remote_id", + }); + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AtsCreateCandidatesAssessmentsRequestDtoApplication$ { + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDtoApplication$inboundSchema` instead. */ + export const inboundSchema = + AtsCreateCandidatesAssessmentsRequestDtoApplication$inboundSchema; + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDtoApplication$outboundSchema` instead. */ + export const outboundSchema = + AtsCreateCandidatesAssessmentsRequestDtoApplication$outboundSchema; + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDtoApplication$Outbound` instead. */ + export type Outbound = + AtsCreateCandidatesAssessmentsRequestDtoApplication$Outbound; +} + +export function atsCreateCandidatesAssessmentsRequestDtoApplicationToJSON( + atsCreateCandidatesAssessmentsRequestDtoApplication: + AtsCreateCandidatesAssessmentsRequestDtoApplication, +): string { + return JSON.stringify( + AtsCreateCandidatesAssessmentsRequestDtoApplication$outboundSchema.parse( + atsCreateCandidatesAssessmentsRequestDtoApplication, + ), + ); +} + +export function atsCreateCandidatesAssessmentsRequestDtoApplicationFromJSON( + jsonString: string, +): SafeParseResult< + AtsCreateCandidatesAssessmentsRequestDtoApplication, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + AtsCreateCandidatesAssessmentsRequestDtoApplication$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'AtsCreateCandidatesAssessmentsRequestDtoApplication' from JSON`, + ); +} + +/** @internal */ +export const AtsCreateCandidatesAssessmentsRequestDtoCandidate$inboundSchema: + z.ZodType< + AtsCreateCandidatesAssessmentsRequestDtoCandidate, + z.ZodTypeDef, + unknown + > = z.object({ + emails: z.nullable(z.array(CandidateEmail$inboundSchema)).optional(), + first_name: z.nullable(z.string()).optional(), + id: z.nullable(z.string()).optional(), + last_name: z.nullable(z.string()).optional(), + passthrough: z.nullable(z.record(z.any())).optional(), + profile_url: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + }).transform((v) => { + return remap$(v, { + "first_name": "firstName", + "last_name": "lastName", + "profile_url": "profileUrl", + "remote_id": "remoteId", + }); + }); + +/** @internal */ +export type AtsCreateCandidatesAssessmentsRequestDtoCandidate$Outbound = { + emails?: Array | null | undefined; + first_name?: string | null | undefined; + id?: string | null | undefined; + last_name?: string | null | undefined; + passthrough?: { [k: string]: any } | null | undefined; + profile_url?: string | null | undefined; + remote_id?: string | null | undefined; +}; + +/** @internal */ +export const AtsCreateCandidatesAssessmentsRequestDtoCandidate$outboundSchema: + z.ZodType< + AtsCreateCandidatesAssessmentsRequestDtoCandidate$Outbound, + z.ZodTypeDef, + AtsCreateCandidatesAssessmentsRequestDtoCandidate + > = z.object({ + emails: z.nullable(z.array(CandidateEmail$outboundSchema)).optional(), + firstName: z.nullable(z.string()).optional(), + id: z.nullable(z.string()).optional(), + lastName: z.nullable(z.string()).optional(), + passthrough: z.nullable(z.record(z.any())).optional(), + profileUrl: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + }).transform((v) => { + return remap$(v, { + firstName: "first_name", + lastName: "last_name", + profileUrl: "profile_url", + remoteId: "remote_id", + }); + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AtsCreateCandidatesAssessmentsRequestDtoCandidate$ { + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDtoCandidate$inboundSchema` instead. */ + export const inboundSchema = + AtsCreateCandidatesAssessmentsRequestDtoCandidate$inboundSchema; + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDtoCandidate$outboundSchema` instead. */ + export const outboundSchema = + AtsCreateCandidatesAssessmentsRequestDtoCandidate$outboundSchema; + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDtoCandidate$Outbound` instead. */ + export type Outbound = + AtsCreateCandidatesAssessmentsRequestDtoCandidate$Outbound; +} + +export function atsCreateCandidatesAssessmentsRequestDtoCandidateToJSON( + atsCreateCandidatesAssessmentsRequestDtoCandidate: + AtsCreateCandidatesAssessmentsRequestDtoCandidate, +): string { + return JSON.stringify( + AtsCreateCandidatesAssessmentsRequestDtoCandidate$outboundSchema.parse( + atsCreateCandidatesAssessmentsRequestDtoCandidate, + ), + ); +} + +export function atsCreateCandidatesAssessmentsRequestDtoCandidateFromJSON( + jsonString: string, +): SafeParseResult< + AtsCreateCandidatesAssessmentsRequestDtoCandidate, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + AtsCreateCandidatesAssessmentsRequestDtoCandidate$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'AtsCreateCandidatesAssessmentsRequestDtoCandidate' from JSON`, + ); +} + +/** @internal */ +export const AtsCreateCandidatesAssessmentsRequestDtoJob$inboundSchema: + z.ZodType< + AtsCreateCandidatesAssessmentsRequestDtoJob, + z.ZodTypeDef, + unknown + > = z.object({ + hiring_team: z.nullable(z.array(JobHiringTeam$inboundSchema)).optional(), + id: z.nullable(z.string()).optional(), + passthrough: z.nullable(z.record(z.any())).optional(), + remote_id: z.nullable(z.string()).optional(), + title: z.nullable(z.string()).optional(), + }).transform((v) => { + return remap$(v, { + "hiring_team": "hiringTeam", + "remote_id": "remoteId", + }); + }); + +/** @internal */ +export type AtsCreateCandidatesAssessmentsRequestDtoJob$Outbound = { + hiring_team?: Array | null | undefined; + id?: string | null | undefined; + passthrough?: { [k: string]: any } | null | undefined; + remote_id?: string | null | undefined; + title?: string | null | undefined; +}; + +/** @internal */ +export const AtsCreateCandidatesAssessmentsRequestDtoJob$outboundSchema: + z.ZodType< + AtsCreateCandidatesAssessmentsRequestDtoJob$Outbound, + z.ZodTypeDef, + AtsCreateCandidatesAssessmentsRequestDtoJob + > = z.object({ + hiringTeam: z.nullable(z.array(JobHiringTeam$outboundSchema)).optional(), + id: z.nullable(z.string()).optional(), + passthrough: z.nullable(z.record(z.any())).optional(), + remoteId: z.nullable(z.string()).optional(), + title: z.nullable(z.string()).optional(), + }).transform((v) => { + return remap$(v, { + hiringTeam: "hiring_team", + remoteId: "remote_id", + }); + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AtsCreateCandidatesAssessmentsRequestDtoJob$ { + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDtoJob$inboundSchema` instead. */ + export const inboundSchema = + AtsCreateCandidatesAssessmentsRequestDtoJob$inboundSchema; + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDtoJob$outboundSchema` instead. */ + export const outboundSchema = + AtsCreateCandidatesAssessmentsRequestDtoJob$outboundSchema; + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDtoJob$Outbound` instead. */ + export type Outbound = AtsCreateCandidatesAssessmentsRequestDtoJob$Outbound; +} + +export function atsCreateCandidatesAssessmentsRequestDtoJobToJSON( + atsCreateCandidatesAssessmentsRequestDtoJob: + AtsCreateCandidatesAssessmentsRequestDtoJob, +): string { + return JSON.stringify( + AtsCreateCandidatesAssessmentsRequestDtoJob$outboundSchema.parse( + atsCreateCandidatesAssessmentsRequestDtoJob, + ), + ); +} + +export function atsCreateCandidatesAssessmentsRequestDtoJobFromJSON( + jsonString: string, +): SafeParseResult< + AtsCreateCandidatesAssessmentsRequestDtoJob, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + AtsCreateCandidatesAssessmentsRequestDtoJob$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'AtsCreateCandidatesAssessmentsRequestDtoJob' from JSON`, + ); +} + +/** @internal */ +export const AtsCreateCandidatesAssessmentsRequestDtoPackage$inboundSchema: + z.ZodType< + AtsCreateCandidatesAssessmentsRequestDtoPackage, + z.ZodTypeDef, + unknown + > = z.object({ + description: z.nullable(z.string()).optional(), + id: z.nullable(z.string()).optional(), + name: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + }).transform((v) => { + return remap$(v, { + "remote_id": "remoteId", + }); + }); + +/** @internal */ +export type AtsCreateCandidatesAssessmentsRequestDtoPackage$Outbound = { + description?: string | null | undefined; + id?: string | null | undefined; + name?: string | null | undefined; + remote_id?: string | null | undefined; +}; + +/** @internal */ +export const AtsCreateCandidatesAssessmentsRequestDtoPackage$outboundSchema: + z.ZodType< + AtsCreateCandidatesAssessmentsRequestDtoPackage$Outbound, + z.ZodTypeDef, + AtsCreateCandidatesAssessmentsRequestDtoPackage + > = z.object({ + description: z.nullable(z.string()).optional(), + id: z.nullable(z.string()).optional(), + name: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + }).transform((v) => { + return remap$(v, { + remoteId: "remote_id", + }); + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AtsCreateCandidatesAssessmentsRequestDtoPackage$ { + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDtoPackage$inboundSchema` instead. */ + export const inboundSchema = + AtsCreateCandidatesAssessmentsRequestDtoPackage$inboundSchema; + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDtoPackage$outboundSchema` instead. */ + export const outboundSchema = + AtsCreateCandidatesAssessmentsRequestDtoPackage$outboundSchema; + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDtoPackage$Outbound` instead. */ + export type Outbound = + AtsCreateCandidatesAssessmentsRequestDtoPackage$Outbound; +} + +export function atsCreateCandidatesAssessmentsRequestDtoPackageToJSON( + atsCreateCandidatesAssessmentsRequestDtoPackage: + AtsCreateCandidatesAssessmentsRequestDtoPackage, +): string { + return JSON.stringify( + AtsCreateCandidatesAssessmentsRequestDtoPackage$outboundSchema.parse( + atsCreateCandidatesAssessmentsRequestDtoPackage, + ), + ); +} + +export function atsCreateCandidatesAssessmentsRequestDtoPackageFromJSON( + jsonString: string, +): SafeParseResult< + AtsCreateCandidatesAssessmentsRequestDtoPackage, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + AtsCreateCandidatesAssessmentsRequestDtoPackage$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'AtsCreateCandidatesAssessmentsRequestDtoPackage' from JSON`, + ); +} + +/** @internal */ +export const AtsCreateCandidatesAssessmentsRequestDtoRequester$inboundSchema: + z.ZodType< + AtsCreateCandidatesAssessmentsRequestDtoRequester, + z.ZodTypeDef, + unknown + > = z.object({ + email: z.nullable(z.string()).optional(), + first_name: z.nullable(z.string()).optional(), + last_name: z.nullable(z.string()).optional(), + remote_user_id: z.nullable(z.string()).optional(), + role: z.nullable(z.string()).optional(), + user_id: z.nullable(z.string()).optional(), + }).transform((v) => { + return remap$(v, { + "first_name": "firstName", + "last_name": "lastName", + "remote_user_id": "remoteUserId", + "user_id": "userId", + }); + }); + +/** @internal */ +export type AtsCreateCandidatesAssessmentsRequestDtoRequester$Outbound = { + email?: string | null | undefined; + first_name?: string | null | undefined; + last_name?: string | null | undefined; + remote_user_id?: string | null | undefined; + role?: string | null | undefined; + user_id?: string | null | undefined; +}; + +/** @internal */ +export const AtsCreateCandidatesAssessmentsRequestDtoRequester$outboundSchema: + z.ZodType< + AtsCreateCandidatesAssessmentsRequestDtoRequester$Outbound, + z.ZodTypeDef, + AtsCreateCandidatesAssessmentsRequestDtoRequester + > = z.object({ + email: z.nullable(z.string()).optional(), + firstName: z.nullable(z.string()).optional(), + lastName: z.nullable(z.string()).optional(), + remoteUserId: z.nullable(z.string()).optional(), + role: z.nullable(z.string()).optional(), + userId: z.nullable(z.string()).optional(), + }).transform((v) => { + return remap$(v, { + firstName: "first_name", + lastName: "last_name", + remoteUserId: "remote_user_id", + userId: "user_id", + }); + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AtsCreateCandidatesAssessmentsRequestDtoRequester$ { + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDtoRequester$inboundSchema` instead. */ + export const inboundSchema = + AtsCreateCandidatesAssessmentsRequestDtoRequester$inboundSchema; + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDtoRequester$outboundSchema` instead. */ + export const outboundSchema = + AtsCreateCandidatesAssessmentsRequestDtoRequester$outboundSchema; + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDtoRequester$Outbound` instead. */ + export type Outbound = + AtsCreateCandidatesAssessmentsRequestDtoRequester$Outbound; +} + +export function atsCreateCandidatesAssessmentsRequestDtoRequesterToJSON( + atsCreateCandidatesAssessmentsRequestDtoRequester: + AtsCreateCandidatesAssessmentsRequestDtoRequester, +): string { + return JSON.stringify( + AtsCreateCandidatesAssessmentsRequestDtoRequester$outboundSchema.parse( + atsCreateCandidatesAssessmentsRequestDtoRequester, + ), + ); +} + +export function atsCreateCandidatesAssessmentsRequestDtoRequesterFromJSON( + jsonString: string, +): SafeParseResult< + AtsCreateCandidatesAssessmentsRequestDtoRequester, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + AtsCreateCandidatesAssessmentsRequestDtoRequester$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'AtsCreateCandidatesAssessmentsRequestDtoRequester' from JSON`, + ); +} + +/** @internal */ +export const AtsCreateCandidatesAssessmentsRequestDto$inboundSchema: z.ZodType< + AtsCreateCandidatesAssessmentsRequestDto, + z.ZodTypeDef, + unknown +> = z.object({ + application: z.nullable( + z.lazy(() => + AtsCreateCandidatesAssessmentsRequestDtoApplication$inboundSchema + ), + ).optional(), + candidate: z.nullable( + z.lazy(() => + AtsCreateCandidatesAssessmentsRequestDtoCandidate$inboundSchema + ), + ).optional(), + id: z.nullable(z.string()).optional(), + job: z.nullable( + z.lazy(() => AtsCreateCandidatesAssessmentsRequestDtoJob$inboundSchema), + ).optional(), + package: z.nullable( + z.lazy(() => AtsCreateCandidatesAssessmentsRequestDtoPackage$inboundSchema), + ).optional(), + passthrough: z.nullable(z.record(z.any())).optional(), + requester: z.nullable( + z.lazy(() => + AtsCreateCandidatesAssessmentsRequestDtoRequester$inboundSchema + ), + ).optional(), + results_update_url: z.nullable(z.string()).optional(), +}).transform((v) => { + return remap$(v, { + "results_update_url": "resultsUpdateUrl", + }); +}); + +/** @internal */ +export type AtsCreateCandidatesAssessmentsRequestDto$Outbound = { + application?: + | AtsCreateCandidatesAssessmentsRequestDtoApplication$Outbound + | null + | undefined; + candidate?: + | AtsCreateCandidatesAssessmentsRequestDtoCandidate$Outbound + | null + | undefined; + id?: string | null | undefined; + job?: AtsCreateCandidatesAssessmentsRequestDtoJob$Outbound | null | undefined; + package?: + | AtsCreateCandidatesAssessmentsRequestDtoPackage$Outbound + | null + | undefined; + passthrough?: { [k: string]: any } | null | undefined; + requester?: + | AtsCreateCandidatesAssessmentsRequestDtoRequester$Outbound + | null + | undefined; + results_update_url?: string | null | undefined; +}; + +/** @internal */ +export const AtsCreateCandidatesAssessmentsRequestDto$outboundSchema: z.ZodType< + AtsCreateCandidatesAssessmentsRequestDto$Outbound, + z.ZodTypeDef, + AtsCreateCandidatesAssessmentsRequestDto +> = z.object({ + application: z.nullable( + z.lazy(() => + AtsCreateCandidatesAssessmentsRequestDtoApplication$outboundSchema + ), + ).optional(), + candidate: z.nullable( + z.lazy(() => + AtsCreateCandidatesAssessmentsRequestDtoCandidate$outboundSchema + ), + ).optional(), + id: z.nullable(z.string()).optional(), + job: z.nullable( + z.lazy(() => AtsCreateCandidatesAssessmentsRequestDtoJob$outboundSchema), + ).optional(), + package: z.nullable( + z.lazy(() => + AtsCreateCandidatesAssessmentsRequestDtoPackage$outboundSchema + ), + ).optional(), + passthrough: z.nullable(z.record(z.any())).optional(), + requester: z.nullable( + z.lazy(() => + AtsCreateCandidatesAssessmentsRequestDtoRequester$outboundSchema + ), + ).optional(), + resultsUpdateUrl: z.nullable(z.string()).optional(), +}).transform((v) => { + return remap$(v, { + resultsUpdateUrl: "results_update_url", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace AtsCreateCandidatesAssessmentsRequestDto$ { + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDto$inboundSchema` instead. */ + export const inboundSchema = + AtsCreateCandidatesAssessmentsRequestDto$inboundSchema; + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDto$outboundSchema` instead. */ + export const outboundSchema = + AtsCreateCandidatesAssessmentsRequestDto$outboundSchema; + /** @deprecated use `AtsCreateCandidatesAssessmentsRequestDto$Outbound` instead. */ + export type Outbound = AtsCreateCandidatesAssessmentsRequestDto$Outbound; +} + +export function atsCreateCandidatesAssessmentsRequestDtoToJSON( + atsCreateCandidatesAssessmentsRequestDto: + AtsCreateCandidatesAssessmentsRequestDto, +): string { + return JSON.stringify( + AtsCreateCandidatesAssessmentsRequestDto$outboundSchema.parse( + atsCreateCandidatesAssessmentsRequestDto, + ), + ); +} + +export function atsCreateCandidatesAssessmentsRequestDtoFromJSON( + jsonString: string, +): SafeParseResult< + AtsCreateCandidatesAssessmentsRequestDto, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + AtsCreateCandidatesAssessmentsRequestDto$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'AtsCreateCandidatesAssessmentsRequestDto' from JSON`, + ); +} diff --git a/src/sdk/models/shared/channelsenum.ts b/src/sdk/models/shared/channelsenum.ts index 814562517..5e726e97f 100644 --- a/src/sdk/models/shared/channelsenum.ts +++ b/src/sdk/models/shared/channelsenum.ts @@ -23,7 +23,7 @@ export type SourceValue = Four | string | number | boolean | Array; /** * The Channels of the campaign. */ -export enum Value { +export enum ChannelsEnumValue { Email = "email", Sms = "sms", WebPush = "web_push", @@ -35,7 +35,7 @@ export enum Value { /** * The Channels of the campaign. */ -export type ValueOpen = OpenEnum; +export type ChannelsEnumValueOpen = OpenEnum; export type ChannelsEnum = { /** @@ -52,7 +52,7 @@ export type ChannelsEnum = { /** * The Channels of the campaign. */ - value?: ValueOpen | null | undefined; + value?: ChannelsEnumValueOpen | null | undefined; }; /** @internal */ @@ -155,20 +155,23 @@ export function sourceValueFromJSON( } /** @internal */ -export const Value$inboundSchema: z.ZodType = - z - .union([ - z.nativeEnum(Value), - z.string().transform(catchUnrecognizedEnum), - ]); +export const ChannelsEnumValue$inboundSchema: z.ZodType< + ChannelsEnumValueOpen, + z.ZodTypeDef, + unknown +> = z + .union([ + z.nativeEnum(ChannelsEnumValue), + z.string().transform(catchUnrecognizedEnum), + ]); /** @internal */ -export const Value$outboundSchema: z.ZodType< - ValueOpen, +export const ChannelsEnumValue$outboundSchema: z.ZodType< + ChannelsEnumValueOpen, z.ZodTypeDef, - ValueOpen + ChannelsEnumValueOpen > = z.union([ - z.nativeEnum(Value), + z.nativeEnum(ChannelsEnumValue), z.string().and(z.custom>()), ]); @@ -176,11 +179,11 @@ export const Value$outboundSchema: z.ZodType< * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ -export namespace Value$ { - /** @deprecated use `Value$inboundSchema` instead. */ - export const inboundSchema = Value$inboundSchema; - /** @deprecated use `Value$outboundSchema` instead. */ - export const outboundSchema = Value$outboundSchema; +export namespace ChannelsEnumValue$ { + /** @deprecated use `ChannelsEnumValue$inboundSchema` instead. */ + export const inboundSchema = ChannelsEnumValue$inboundSchema; + /** @deprecated use `ChannelsEnumValue$outboundSchema` instead. */ + export const outboundSchema = ChannelsEnumValue$outboundSchema; } /** @internal */ @@ -198,7 +201,7 @@ export const ChannelsEnum$inboundSchema: z.ZodType< z.array(z.any()), ]), ).optional(), - value: z.nullable(Value$inboundSchema).optional(), + value: z.nullable(ChannelsEnumValue$inboundSchema).optional(), }).transform((v) => { return remap$(v, { "source_value": "sourceValue", @@ -233,7 +236,7 @@ export const ChannelsEnum$outboundSchema: z.ZodType< z.array(z.any()), ]), ).optional(), - value: z.nullable(Value$outboundSchema).optional(), + value: z.nullable(ChannelsEnumValue$outboundSchema).optional(), }).transform((v) => { return remap$(v, { sourceValue: "source_value", diff --git a/src/sdk/models/shared/content.ts b/src/sdk/models/shared/content.ts index 02b6d7d3e..2d5821cb3 100644 --- a/src/sdk/models/shared/content.ts +++ b/src/sdk/models/shared/content.ts @@ -12,6 +12,12 @@ import { } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + AdditionalData, + AdditionalData$inboundSchema, + AdditionalData$Outbound, + AdditionalData$outboundSchema, +} from "./additionaldata.js"; import { Category, Category$inboundSchema, @@ -67,6 +73,10 @@ export type Content = { * Whether the content is active and available for users. */ active?: boolean | null | undefined; + /** + * The additional_data associated with this content + */ + additionalData?: Array | null | undefined; /** * The categories associated with this content */ @@ -125,6 +135,8 @@ export type Content = { remoteId?: string | null | undefined; /** * A short description or summary for the content + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ shortDescription?: string | null | undefined; /** @@ -374,6 +386,8 @@ export function contentContentTypeFromJSON( export const Content$inboundSchema: z.ZodType = z.object({ active: z.nullable(z.boolean()).optional(), + additional_data: z.nullable(z.array(AdditionalData$inboundSchema)) + .optional(), categories: z.nullable(z.array(Category$inboundSchema)).optional(), content_type: z.nullable(z.lazy(() => ContentContentType$inboundSchema)) .optional(), @@ -395,6 +409,7 @@ export const Content$inboundSchema: z.ZodType = unified_custom_fields: z.nullable(z.record(z.any())).optional(), }).transform((v) => { return remap$(v, { + "additional_data": "additionalData", "content_type": "contentType", "content_url": "contentUrl", "course_ids": "courseIds", @@ -410,6 +425,7 @@ export const Content$inboundSchema: z.ZodType = /** @internal */ export type Content$Outbound = { active?: boolean | null | undefined; + additional_data?: Array | null | undefined; categories?: Array | null | undefined; content_type?: ContentContentType$Outbound | null | undefined; content_url?: string | null | undefined; @@ -437,6 +453,7 @@ export const Content$outboundSchema: z.ZodType< Content > = z.object({ active: z.nullable(z.boolean()).optional(), + additionalData: z.nullable(z.array(AdditionalData$outboundSchema)).optional(), categories: z.nullable(z.array(Category$outboundSchema)).optional(), contentType: z.nullable(z.lazy(() => ContentContentType$outboundSchema)) .optional(), @@ -458,6 +475,7 @@ export const Content$outboundSchema: z.ZodType< unifiedCustomFields: z.nullable(z.record(z.any())).optional(), }).transform((v) => { return remap$(v, { + additionalData: "additional_data", contentType: "content_type", contentUrl: "content_url", courseIds: "course_ids", diff --git a/src/sdk/models/shared/createassessmentorderresult.ts b/src/sdk/models/shared/createassessmentorderresult.ts new file mode 100644 index 000000000..618474d12 --- /dev/null +++ b/src/sdk/models/shared/createassessmentorderresult.ts @@ -0,0 +1,96 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../../../lib/primitives.js"; +import { safeParse } from "../../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type CreateAssessmentOrderResult = { + /** + * Unique identifier + */ + id?: string | null | undefined; + /** + * Provider's unique identifier + */ + remoteId?: string | null | undefined; + /** + * Test url + */ + testUrl?: string | null | undefined; +}; + +/** @internal */ +export const CreateAssessmentOrderResult$inboundSchema: z.ZodType< + CreateAssessmentOrderResult, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + test_url: z.nullable(z.string()).optional(), +}).transform((v) => { + return remap$(v, { + "remote_id": "remoteId", + "test_url": "testUrl", + }); +}); + +/** @internal */ +export type CreateAssessmentOrderResult$Outbound = { + id?: string | null | undefined; + remote_id?: string | null | undefined; + test_url?: string | null | undefined; +}; + +/** @internal */ +export const CreateAssessmentOrderResult$outboundSchema: z.ZodType< + CreateAssessmentOrderResult$Outbound, + z.ZodTypeDef, + CreateAssessmentOrderResult +> = z.object({ + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + testUrl: z.nullable(z.string()).optional(), +}).transform((v) => { + return remap$(v, { + remoteId: "remote_id", + testUrl: "test_url", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateAssessmentOrderResult$ { + /** @deprecated use `CreateAssessmentOrderResult$inboundSchema` instead. */ + export const inboundSchema = CreateAssessmentOrderResult$inboundSchema; + /** @deprecated use `CreateAssessmentOrderResult$outboundSchema` instead. */ + export const outboundSchema = CreateAssessmentOrderResult$outboundSchema; + /** @deprecated use `CreateAssessmentOrderResult$Outbound` instead. */ + export type Outbound = CreateAssessmentOrderResult$Outbound; +} + +export function createAssessmentOrderResultToJSON( + createAssessmentOrderResult: CreateAssessmentOrderResult, +): string { + return JSON.stringify( + CreateAssessmentOrderResult$outboundSchema.parse( + createAssessmentOrderResult, + ), + ); +} + +export function createAssessmentOrderResultFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateAssessmentOrderResult$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateAssessmentOrderResult' from JSON`, + ); +} diff --git a/src/sdk/models/shared/createbackgroundcheckorderresult.ts b/src/sdk/models/shared/createbackgroundcheckorderresult.ts new file mode 100644 index 000000000..c7fac5cc8 --- /dev/null +++ b/src/sdk/models/shared/createbackgroundcheckorderresult.ts @@ -0,0 +1,96 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../../../lib/primitives.js"; +import { safeParse } from "../../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type CreateBackgroundCheckOrderResult = { + /** + * Unique identifier + */ + id?: string | null | undefined; + /** + * Provider's unique identifier + */ + remoteId?: string | null | undefined; + /** + * Test url + */ + testUrl?: string | null | undefined; +}; + +/** @internal */ +export const CreateBackgroundCheckOrderResult$inboundSchema: z.ZodType< + CreateBackgroundCheckOrderResult, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + test_url: z.nullable(z.string()).optional(), +}).transform((v) => { + return remap$(v, { + "remote_id": "remoteId", + "test_url": "testUrl", + }); +}); + +/** @internal */ +export type CreateBackgroundCheckOrderResult$Outbound = { + id?: string | null | undefined; + remote_id?: string | null | undefined; + test_url?: string | null | undefined; +}; + +/** @internal */ +export const CreateBackgroundCheckOrderResult$outboundSchema: z.ZodType< + CreateBackgroundCheckOrderResult$Outbound, + z.ZodTypeDef, + CreateBackgroundCheckOrderResult +> = z.object({ + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + testUrl: z.nullable(z.string()).optional(), +}).transform((v) => { + return remap$(v, { + remoteId: "remote_id", + testUrl: "test_url", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateBackgroundCheckOrderResult$ { + /** @deprecated use `CreateBackgroundCheckOrderResult$inboundSchema` instead. */ + export const inboundSchema = CreateBackgroundCheckOrderResult$inboundSchema; + /** @deprecated use `CreateBackgroundCheckOrderResult$outboundSchema` instead. */ + export const outboundSchema = CreateBackgroundCheckOrderResult$outboundSchema; + /** @deprecated use `CreateBackgroundCheckOrderResult$Outbound` instead. */ + export type Outbound = CreateBackgroundCheckOrderResult$Outbound; +} + +export function createBackgroundCheckOrderResultToJSON( + createBackgroundCheckOrderResult: CreateBackgroundCheckOrderResult, +): string { + return JSON.stringify( + CreateBackgroundCheckOrderResult$outboundSchema.parse( + createBackgroundCheckOrderResult, + ), + ); +} + +export function createBackgroundCheckOrderResultFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateBackgroundCheckOrderResult$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateBackgroundCheckOrderResult' from JSON`, + ); +} diff --git a/src/sdk/models/shared/createevent.ts b/src/sdk/models/shared/createevent.ts deleted file mode 100644 index ffd1cc2ec..000000000 --- a/src/sdk/models/shared/createevent.ts +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../../lib/primitives.js"; -import { safeParse } from "../../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type CreateEvent = { - /** - * The event name - */ - event: string; - /** - * The record id associated with the event - */ - recordId: string; -}; - -/** @internal */ -export const CreateEvent$inboundSchema: z.ZodType< - CreateEvent, - z.ZodTypeDef, - unknown -> = z.object({ - event: z.string(), - record_id: z.string(), -}).transform((v) => { - return remap$(v, { - "record_id": "recordId", - }); -}); - -/** @internal */ -export type CreateEvent$Outbound = { - event: string; - record_id: string; -}; - -/** @internal */ -export const CreateEvent$outboundSchema: z.ZodType< - CreateEvent$Outbound, - z.ZodTypeDef, - CreateEvent -> = z.object({ - event: z.string(), - recordId: z.string(), -}).transform((v) => { - return remap$(v, { - recordId: "record_id", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateEvent$ { - /** @deprecated use `CreateEvent$inboundSchema` instead. */ - export const inboundSchema = CreateEvent$inboundSchema; - /** @deprecated use `CreateEvent$outboundSchema` instead. */ - export const outboundSchema = CreateEvent$outboundSchema; - /** @deprecated use `CreateEvent$Outbound` instead. */ - export type Outbound = CreateEvent$Outbound; -} - -export function createEventToJSON(createEvent: CreateEvent): string { - return JSON.stringify(CreateEvent$outboundSchema.parse(createEvent)); -} - -export function createEventFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateEvent$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateEvent' from JSON`, - ); -} diff --git a/src/sdk/models/shared/createeventresponse.ts b/src/sdk/models/shared/createeventresponse.ts deleted file mode 100644 index 608395cbe..000000000 --- a/src/sdk/models/shared/createeventresponse.ts +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod"; -import { remap as remap$ } from "../../../lib/primitives.js"; -import { safeParse } from "../../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdkvalidationerror.js"; - -export type CreateEventResponse = { - /** - * The event name - */ - event: string; - /** - * The message associated with the operation result - */ - message?: string | null | undefined; - /** - * The record id associated with the event - */ - recordId: string; - /** - * The response http status code - */ - status: number; -}; - -/** @internal */ -export const CreateEventResponse$inboundSchema: z.ZodType< - CreateEventResponse, - z.ZodTypeDef, - unknown -> = z.object({ - event: z.string(), - message: z.nullable(z.string()).optional(), - record_id: z.string(), - status: z.number(), -}).transform((v) => { - return remap$(v, { - "record_id": "recordId", - }); -}); - -/** @internal */ -export type CreateEventResponse$Outbound = { - event: string; - message?: string | null | undefined; - record_id: string; - status: number; -}; - -/** @internal */ -export const CreateEventResponse$outboundSchema: z.ZodType< - CreateEventResponse$Outbound, - z.ZodTypeDef, - CreateEventResponse -> = z.object({ - event: z.string(), - message: z.nullable(z.string()).optional(), - recordId: z.string(), - status: z.number(), -}).transform((v) => { - return remap$(v, { - recordId: "record_id", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateEventResponse$ { - /** @deprecated use `CreateEventResponse$inboundSchema` instead. */ - export const inboundSchema = CreateEventResponse$inboundSchema; - /** @deprecated use `CreateEventResponse$outboundSchema` instead. */ - export const outboundSchema = CreateEventResponse$outboundSchema; - /** @deprecated use `CreateEventResponse$Outbound` instead. */ - export type Outbound = CreateEventResponse$Outbound; -} - -export function createEventResponseToJSON( - createEventResponse: CreateEventResponse, -): string { - return JSON.stringify( - CreateEventResponse$outboundSchema.parse(createEventResponse), - ); -} - -export function createEventResponseFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateEventResponse$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateEventResponse' from JSON`, - ); -} diff --git a/src/sdk/models/shared/employee.ts b/src/sdk/models/shared/employee.ts index 731568361..acdef1bf5 100644 --- a/src/sdk/models/shared/employee.ts +++ b/src/sdk/models/shared/employee.ts @@ -110,6 +110,8 @@ export type EmployeeValueOpen = OpenEnum; /** * The employment work schedule type (e.g., full-time, part-time) + * + * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible. */ export type EmployeeEmploymentContractType = { sourceValue?: @@ -201,6 +203,8 @@ export type EmployeeSchemasEmploymentTypeValueOpen = OpenEnum< /** * The employee employment type + * + * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible. */ export type EmployeeEmploymentType = { /** @@ -705,6 +709,8 @@ export type HomeLocation = { /** * The employee job description + * + * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible. */ export type JobDescription = { text?: string | null | undefined; @@ -1803,6 +1809,8 @@ export type Employee = { companyName?: string | null | undefined; /** * The employee cost centers + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ costCenters?: Array | null | undefined; /** @@ -1819,10 +1827,14 @@ export type Employee = { dateOfBirth?: Date | null | undefined; /** * The employee department + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ department?: string | null | undefined; /** * The employee department id + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ departmentId?: string | null | undefined; /** @@ -1835,6 +1847,8 @@ export type Employee = { employeeNumber?: string | null | undefined; /** * The employment work schedule type (e.g., full-time, part-time) + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ employmentContractType?: EmployeeEmploymentContractType | null | undefined; /** @@ -1843,6 +1857,8 @@ export type Employee = { employmentStatus?: EmploymentStatus | null | undefined; /** * The employee employment type + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ employmentType?: EmployeeEmploymentType | null | undefined; /** @@ -1879,14 +1895,20 @@ export type Employee = { id?: string | null | undefined; /** * The employee job description + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ jobDescription?: JobDescription | null | undefined; /** * The employee job id + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ jobId?: string | null | undefined; /** * The employee job title + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ jobTitle?: string | null | undefined; /** @@ -1895,6 +1917,8 @@ export type Employee = { lastName?: string | null | undefined; /** * The employee manager ID + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ managerId?: string | null | undefined; /** @@ -1931,6 +1955,8 @@ export type Employee = { remoteManagerId?: string | null | undefined; /** * The employee start date + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ startDate?: Date | null | undefined; /** diff --git a/src/sdk/models/shared/employment.ts b/src/sdk/models/shared/employment.ts index 615393438..bddbe2e76 100644 --- a/src/sdk/models/shared/employment.ts +++ b/src/sdk/models/shared/employment.ts @@ -12,6 +12,182 @@ import { } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + EmploymentManagerApiModel, + EmploymentManagerApiModel$inboundSchema, + EmploymentManagerApiModel$Outbound, + EmploymentManagerApiModel$outboundSchema, +} from "./employmentmanagerapimodel.js"; + +export type EmploymentSchemasContractType4 = {}; + +export type EmploymentSchemasContractTypeSourceValue = + | EmploymentSchemasContractType4 + | string + | number + | boolean + | Array; + +export enum EmploymentSchemasContractTypeValue { + FullTime = "full_time", + Shifts = "shifts", + PartTime = "part_time", + UnmappedValue = "unmapped_value", +} +export type EmploymentSchemasContractTypeValueOpen = OpenEnum< + typeof EmploymentSchemasContractTypeValue +>; + +/** + * The employment work schedule type (e.g., full-time, part-time) + */ +export type EmploymentSchemasContractType = { + sourceValue?: + | EmploymentSchemasContractType4 + | string + | number + | boolean + | Array + | null + | undefined; + value?: EmploymentSchemasContractTypeValueOpen | null | undefined; +}; + +/** + * The employment work schedule type + */ +export type ContractType = { + /** + * The employment work schedule type (e.g., full-time, part-time) + */ + contractType?: EmploymentSchemasContractType | null | undefined; + /** + * Unique identifier + */ + id?: string | null | undefined; + /** + * The label of the employment type + */ + label?: string | null | undefined; + /** + * Provider's unique identifier + */ + remoteId?: string | null | undefined; +}; + +/** + * The employee cost_center + */ +export type CostCenter = { + /** + * Unique identifier + */ + id?: string | null | undefined; + /** + * The name of the group + */ + name?: string | null | undefined; + /** + * The list of group owner ids of the given group + */ + ownerIds?: Array | null | undefined; + /** + * The list of parent group ids of the given group + */ + parentIds?: Array | null | undefined; + /** + * Provider's unique identifier + */ + remoteId?: string | null | undefined; + /** + * The list of remote group owner ids of the given group + */ + remoteOwnerIds?: Array | null | undefined; + /** + * Provider's list of parent group remote ids of the given group + */ + remoteParentIds?: Array | null | undefined; + /** + * Custom Unified Fields configured in your StackOne project + */ + unifiedCustomFields?: { [k: string]: any } | null | undefined; +}; + +/** + * The employee department + */ +export type EmploymentDepartment = { + /** + * Unique identifier + */ + id?: string | null | undefined; + /** + * The name of the group + */ + name?: string | null | undefined; + /** + * The list of group owner ids of the given group + */ + ownerIds?: Array | null | undefined; + /** + * The list of parent group ids of the given group + */ + parentIds?: Array | null | undefined; + /** + * Provider's unique identifier + */ + remoteId?: string | null | undefined; + /** + * The list of remote group owner ids of the given group + */ + remoteOwnerIds?: Array | null | undefined; + /** + * Provider's list of parent group remote ids of the given group + */ + remoteParentIds?: Array | null | undefined; + /** + * Custom Unified Fields configured in your StackOne project + */ + unifiedCustomFields?: { [k: string]: any } | null | undefined; +}; + +/** + * The employee division + */ +export type Division = { + /** + * Unique identifier + */ + id?: string | null | undefined; + /** + * The name of the group + */ + name?: string | null | undefined; + /** + * The list of group owner ids of the given group + */ + ownerIds?: Array | null | undefined; + /** + * The list of parent group ids of the given group + */ + parentIds?: Array | null | undefined; + /** + * Provider's unique identifier + */ + remoteId?: string | null | undefined; + /** + * The list of remote group owner ids of the given group + */ + remoteOwnerIds?: Array | null | undefined; + /** + * Provider's list of parent group remote ids of the given group + */ + remoteParentIds?: Array | null | undefined; + /** + * Custom Unified Fields configured in your StackOne project + */ + unifiedCustomFields?: { [k: string]: any } | null | undefined; +}; export type Employment4 = {}; @@ -32,6 +208,8 @@ export type EmploymentValueOpen = OpenEnum; /** * The employment work schedule type (e.g., full-time, part-time) + * + * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible. */ export type EmploymentEmploymentContractType = { sourceValue?: @@ -88,6 +266,8 @@ export type EmploymentSchemasValueOpen = OpenEnum< /** * The type of employment (e.g., contractor, permanent) + * + * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible. */ export type EmploymentEmploymentType = { /** @@ -107,6 +287,43 @@ export type EmploymentEmploymentType = { value?: EmploymentSchemasValueOpen | null | undefined; }; +/** + * The employee job description + */ +export type Description = { + text?: string | null | undefined; +}; + +/** + * The job of employee + */ +export type EmploymentJob = { + /** + * The employee job description + */ + description?: Description | null | undefined; + /** + * Unique identifier + */ + id?: string | null | undefined; + /** + * The owner_id of the job + */ + ownerId?: string | null | undefined; + /** + * The parent_id of the job + */ + parentId?: string | null | undefined; + /** + * Provider's unique identifier + */ + remoteId?: string | null | undefined; + /** + * Title of the job + */ + title?: string | null | undefined; +}; + export type EmploymentSchemasPayFrequency4 = {}; /** @@ -146,151 +363,861 @@ export type EmploymentSchemasPayFrequencyValueOpen = OpenEnum< typeof EmploymentSchemasPayFrequencyValue >; -/** - * The pay frequency - */ -export type EmploymentPayFrequency = { - /** - * The source value of the pay frequency. - */ - sourceValue?: - | EmploymentSchemasPayFrequency4 - | string - | number - | boolean - | Array - | null - | undefined; - /** - * The pay frequency of the job postings. - */ - value?: EmploymentSchemasPayFrequencyValueOpen | null | undefined; +/** + * The pay frequency + */ +export type EmploymentPayFrequency = { + /** + * The source value of the pay frequency. + */ + sourceValue?: + | EmploymentSchemasPayFrequency4 + | string + | number + | boolean + | Array + | null + | undefined; + /** + * The pay frequency of the job postings. + */ + value?: EmploymentSchemasPayFrequencyValueOpen | null | undefined; +}; + +export type EmploymentSchemasPayPeriod4 = {}; + +/** + * The source value of the pay period. + */ +export type EmploymentSchemasPayPeriodSourceValue = + | EmploymentSchemasPayPeriod4 + | string + | number + | boolean + | Array; + +/** + * The pay period of the job postings. + */ +export enum EmploymentSchemasPayPeriodValue { + Hour = "hour", + Day = "day", + Week = "week", + EveryTwoWeeks = "every_two_weeks", + Month = "month", + TwiceAMonth = "twice_a_month", + EveryTwoMonths = "every_two_months", + Quarter = "quarter", + EverySixMonths = "every_six_months", + Year = "year", + OneOff = "one_off", + None = "none", + UnmappedValue = "unmapped_value", +} +/** + * The pay period of the job postings. + */ +export type EmploymentSchemasPayPeriodValueOpen = OpenEnum< + typeof EmploymentSchemasPayPeriodValue +>; + +/** + * The pay period + */ +export type EmploymentPayPeriod = { + /** + * The source value of the pay period. + */ + sourceValue?: + | EmploymentSchemasPayPeriod4 + | string + | number + | boolean + | Array + | null + | undefined; + /** + * The pay period of the job postings. + */ + value?: EmploymentSchemasPayPeriodValueOpen | null | undefined; +}; + +export type EmploymentSchemasType4 = {}; + +export type EmploymentSchemasTypeSourceValue = + | EmploymentSchemasType4 + | string + | number + | boolean + | Array; + +export enum EmploymentSchemasTypeValue { + Contractor = "contractor", + Intern = "intern", + Permanent = "permanent", + Apprentice = "apprentice", + Freelance = "freelance", + Terminated = "terminated", + Temporary = "temporary", + Seasonal = "seasonal", + Volunteer = "volunteer", + Probation = "probation", + Internal = "internal", + External = "external", + Expatriate = "expatriate", + EmployerOfRecord = "employer_of_record", + Casual = "casual", + Programme = "Programme", + UnmappedValue = "unmapped_value", +} +export type EmploymentSchemasTypeValueOpen = OpenEnum< + typeof EmploymentSchemasTypeValue +>; + +/** + * The type of employment (e.g., contractor, permanent) + */ +export type EmploymentSchemasTypeType = { + sourceValue?: + | EmploymentSchemasType4 + | string + | number + | boolean + | Array + | null + | undefined; + value?: EmploymentSchemasTypeValueOpen | null | undefined; +}; + +/** + * The type of employment + */ +export type EmploymentSchemasType = { + /** + * Unique identifier + */ + id?: string | null | undefined; + /** + * The label of the employment type + */ + label?: string | null | undefined; + /** + * Provider's unique identifier + */ + remoteId?: string | null | undefined; + /** + * The type of employment (e.g., contractor, permanent) + */ + type?: EmploymentSchemasTypeType | null | undefined; +}; + +export type Employment = { + /** + * The employment active status + */ + active?: boolean | null | undefined; + /** + * The employment work schedule type + */ + contractType?: ContractType | null | undefined; + /** + * The employee cost_center + */ + costCenter?: CostCenter | null | undefined; + /** + * The created_at date + */ + createdAt?: Date | null | undefined; + /** + * The employee department + */ + department?: EmploymentDepartment | null | undefined; + /** + * The employee division + */ + division?: Division | null | undefined; + /** + * The effective date of the employment contract + */ + effectiveDate?: Date | null | undefined; + /** + * The employee ID associated with this employment + */ + employeeId?: string | null | undefined; + /** + * The employment work schedule type (e.g., full-time, part-time) + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + employmentContractType?: EmploymentEmploymentContractType | null | undefined; + /** + * The type of employment (e.g., contractor, permanent) + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + employmentType?: EmploymentEmploymentType | null | undefined; + /** + * The end_date of employment + */ + endDate?: Date | null | undefined; + /** + * Unique identifier + */ + id?: string | null | undefined; + /** + * The job of employee + */ + job?: EmploymentJob | null | undefined; + /** + * The job title of the employee + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + jobTitle?: string | null | undefined; + /** + * The employee manager + */ + manager?: Array | null | undefined; + /** + * The currency used for pay + */ + payCurrency?: string | null | undefined; + /** + * The pay frequency + */ + payFrequency?: EmploymentPayFrequency | null | undefined; + /** + * The pay period + */ + payPeriod?: EmploymentPayPeriod | null | undefined; + /** + * The pay rate for the employee + */ + payRate?: string | null | undefined; + /** + * Provider's unique identifier of the employee associated with this employment + */ + remoteEmployeeId?: string | null | undefined; + /** + * Provider's unique identifier + */ + remoteId?: string | null | undefined; + /** + * The start_date of employment + */ + startDate?: Date | null | undefined; + /** + * The time worked for the employee in ISO 8601 duration format + */ + timeWorked?: string | null | undefined; + /** + * The type of employment + */ + type?: EmploymentSchemasType | null | undefined; + /** + * Custom Unified Fields configured in your StackOne project + */ + unifiedCustomFields?: { [k: string]: any } | null | undefined; + /** + * The updated_at date + */ + updatedAt?: Date | null | undefined; +}; + +/** @internal */ +export const EmploymentSchemasContractType4$inboundSchema: z.ZodType< + EmploymentSchemasContractType4, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type EmploymentSchemasContractType4$Outbound = {}; + +/** @internal */ +export const EmploymentSchemasContractType4$outboundSchema: z.ZodType< + EmploymentSchemasContractType4$Outbound, + z.ZodTypeDef, + EmploymentSchemasContractType4 +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EmploymentSchemasContractType4$ { + /** @deprecated use `EmploymentSchemasContractType4$inboundSchema` instead. */ + export const inboundSchema = EmploymentSchemasContractType4$inboundSchema; + /** @deprecated use `EmploymentSchemasContractType4$outboundSchema` instead. */ + export const outboundSchema = EmploymentSchemasContractType4$outboundSchema; + /** @deprecated use `EmploymentSchemasContractType4$Outbound` instead. */ + export type Outbound = EmploymentSchemasContractType4$Outbound; +} + +export function employmentSchemasContractType4ToJSON( + employmentSchemasContractType4: EmploymentSchemasContractType4, +): string { + return JSON.stringify( + EmploymentSchemasContractType4$outboundSchema.parse( + employmentSchemasContractType4, + ), + ); +} + +export function employmentSchemasContractType4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EmploymentSchemasContractType4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EmploymentSchemasContractType4' from JSON`, + ); +} + +/** @internal */ +export const EmploymentSchemasContractTypeSourceValue$inboundSchema: z.ZodType< + EmploymentSchemasContractTypeSourceValue, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => EmploymentSchemasContractType4$inboundSchema), + z.string(), + z.number(), + z.boolean(), + z.array(z.any()), +]); + +/** @internal */ +export type EmploymentSchemasContractTypeSourceValue$Outbound = + | EmploymentSchemasContractType4$Outbound + | string + | number + | boolean + | Array; + +/** @internal */ +export const EmploymentSchemasContractTypeSourceValue$outboundSchema: z.ZodType< + EmploymentSchemasContractTypeSourceValue$Outbound, + z.ZodTypeDef, + EmploymentSchemasContractTypeSourceValue +> = z.union([ + z.lazy(() => EmploymentSchemasContractType4$outboundSchema), + z.string(), + z.number(), + z.boolean(), + z.array(z.any()), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EmploymentSchemasContractTypeSourceValue$ { + /** @deprecated use `EmploymentSchemasContractTypeSourceValue$inboundSchema` instead. */ + export const inboundSchema = + EmploymentSchemasContractTypeSourceValue$inboundSchema; + /** @deprecated use `EmploymentSchemasContractTypeSourceValue$outboundSchema` instead. */ + export const outboundSchema = + EmploymentSchemasContractTypeSourceValue$outboundSchema; + /** @deprecated use `EmploymentSchemasContractTypeSourceValue$Outbound` instead. */ + export type Outbound = EmploymentSchemasContractTypeSourceValue$Outbound; +} + +export function employmentSchemasContractTypeSourceValueToJSON( + employmentSchemasContractTypeSourceValue: + EmploymentSchemasContractTypeSourceValue, +): string { + return JSON.stringify( + EmploymentSchemasContractTypeSourceValue$outboundSchema.parse( + employmentSchemasContractTypeSourceValue, + ), + ); +} + +export function employmentSchemasContractTypeSourceValueFromJSON( + jsonString: string, +): SafeParseResult< + EmploymentSchemasContractTypeSourceValue, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + EmploymentSchemasContractTypeSourceValue$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'EmploymentSchemasContractTypeSourceValue' from JSON`, + ); +} + +/** @internal */ +export const EmploymentSchemasContractTypeValue$inboundSchema: z.ZodType< + EmploymentSchemasContractTypeValueOpen, + z.ZodTypeDef, + unknown +> = z + .union([ + z.nativeEnum(EmploymentSchemasContractTypeValue), + z.string().transform(catchUnrecognizedEnum), + ]); + +/** @internal */ +export const EmploymentSchemasContractTypeValue$outboundSchema: z.ZodType< + EmploymentSchemasContractTypeValueOpen, + z.ZodTypeDef, + EmploymentSchemasContractTypeValueOpen +> = z.union([ + z.nativeEnum(EmploymentSchemasContractTypeValue), + z.string().and(z.custom>()), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EmploymentSchemasContractTypeValue$ { + /** @deprecated use `EmploymentSchemasContractTypeValue$inboundSchema` instead. */ + export const inboundSchema = EmploymentSchemasContractTypeValue$inboundSchema; + /** @deprecated use `EmploymentSchemasContractTypeValue$outboundSchema` instead. */ + export const outboundSchema = + EmploymentSchemasContractTypeValue$outboundSchema; +} + +/** @internal */ +export const EmploymentSchemasContractType$inboundSchema: z.ZodType< + EmploymentSchemasContractType, + z.ZodTypeDef, + unknown +> = z.object({ + source_value: z.nullable( + z.union([ + z.lazy(() => EmploymentSchemasContractType4$inboundSchema), + z.string(), + z.number(), + z.boolean(), + z.array(z.any()), + ]), + ).optional(), + value: z.nullable(EmploymentSchemasContractTypeValue$inboundSchema) + .optional(), +}).transform((v) => { + return remap$(v, { + "source_value": "sourceValue", + }); +}); + +/** @internal */ +export type EmploymentSchemasContractType$Outbound = { + source_value?: + | EmploymentSchemasContractType4$Outbound + | string + | number + | boolean + | Array + | null + | undefined; + value?: string | null | undefined; +}; + +/** @internal */ +export const EmploymentSchemasContractType$outboundSchema: z.ZodType< + EmploymentSchemasContractType$Outbound, + z.ZodTypeDef, + EmploymentSchemasContractType +> = z.object({ + sourceValue: z.nullable( + z.union([ + z.lazy(() => EmploymentSchemasContractType4$outboundSchema), + z.string(), + z.number(), + z.boolean(), + z.array(z.any()), + ]), + ).optional(), + value: z.nullable(EmploymentSchemasContractTypeValue$outboundSchema) + .optional(), +}).transform((v) => { + return remap$(v, { + sourceValue: "source_value", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EmploymentSchemasContractType$ { + /** @deprecated use `EmploymentSchemasContractType$inboundSchema` instead. */ + export const inboundSchema = EmploymentSchemasContractType$inboundSchema; + /** @deprecated use `EmploymentSchemasContractType$outboundSchema` instead. */ + export const outboundSchema = EmploymentSchemasContractType$outboundSchema; + /** @deprecated use `EmploymentSchemasContractType$Outbound` instead. */ + export type Outbound = EmploymentSchemasContractType$Outbound; +} + +export function employmentSchemasContractTypeToJSON( + employmentSchemasContractType: EmploymentSchemasContractType, +): string { + return JSON.stringify( + EmploymentSchemasContractType$outboundSchema.parse( + employmentSchemasContractType, + ), + ); +} + +export function employmentSchemasContractTypeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EmploymentSchemasContractType$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EmploymentSchemasContractType' from JSON`, + ); +} + +/** @internal */ +export const ContractType$inboundSchema: z.ZodType< + ContractType, + z.ZodTypeDef, + unknown +> = z.object({ + contract_type: z.nullable( + z.lazy(() => EmploymentSchemasContractType$inboundSchema), + ).optional(), + id: z.nullable(z.string()).optional(), + label: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), +}).transform((v) => { + return remap$(v, { + "contract_type": "contractType", + "remote_id": "remoteId", + }); +}); + +/** @internal */ +export type ContractType$Outbound = { + contract_type?: EmploymentSchemasContractType$Outbound | null | undefined; + id?: string | null | undefined; + label?: string | null | undefined; + remote_id?: string | null | undefined; +}; + +/** @internal */ +export const ContractType$outboundSchema: z.ZodType< + ContractType$Outbound, + z.ZodTypeDef, + ContractType +> = z.object({ + contractType: z.nullable( + z.lazy(() => EmploymentSchemasContractType$outboundSchema), + ).optional(), + id: z.nullable(z.string()).optional(), + label: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), +}).transform((v) => { + return remap$(v, { + contractType: "contract_type", + remoteId: "remote_id", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ContractType$ { + /** @deprecated use `ContractType$inboundSchema` instead. */ + export const inboundSchema = ContractType$inboundSchema; + /** @deprecated use `ContractType$outboundSchema` instead. */ + export const outboundSchema = ContractType$outboundSchema; + /** @deprecated use `ContractType$Outbound` instead. */ + export type Outbound = ContractType$Outbound; +} + +export function contractTypeToJSON(contractType: ContractType): string { + return JSON.stringify(ContractType$outboundSchema.parse(contractType)); +} + +export function contractTypeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContractType$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContractType' from JSON`, + ); +} + +/** @internal */ +export const CostCenter$inboundSchema: z.ZodType< + CostCenter, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.nullable(z.string()).optional(), + name: z.nullable(z.string()).optional(), + owner_ids: z.nullable(z.array(z.string())).optional(), + parent_ids: z.nullable(z.array(z.string())).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_owner_ids: z.nullable(z.array(z.string())).optional(), + remote_parent_ids: z.nullable(z.array(z.string())).optional(), + unified_custom_fields: z.nullable(z.record(z.any())).optional(), +}).transform((v) => { + return remap$(v, { + "owner_ids": "ownerIds", + "parent_ids": "parentIds", + "remote_id": "remoteId", + "remote_owner_ids": "remoteOwnerIds", + "remote_parent_ids": "remoteParentIds", + "unified_custom_fields": "unifiedCustomFields", + }); +}); + +/** @internal */ +export type CostCenter$Outbound = { + id?: string | null | undefined; + name?: string | null | undefined; + owner_ids?: Array | null | undefined; + parent_ids?: Array | null | undefined; + remote_id?: string | null | undefined; + remote_owner_ids?: Array | null | undefined; + remote_parent_ids?: Array | null | undefined; + unified_custom_fields?: { [k: string]: any } | null | undefined; +}; + +/** @internal */ +export const CostCenter$outboundSchema: z.ZodType< + CostCenter$Outbound, + z.ZodTypeDef, + CostCenter +> = z.object({ + id: z.nullable(z.string()).optional(), + name: z.nullable(z.string()).optional(), + ownerIds: z.nullable(z.array(z.string())).optional(), + parentIds: z.nullable(z.array(z.string())).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteOwnerIds: z.nullable(z.array(z.string())).optional(), + remoteParentIds: z.nullable(z.array(z.string())).optional(), + unifiedCustomFields: z.nullable(z.record(z.any())).optional(), +}).transform((v) => { + return remap$(v, { + ownerIds: "owner_ids", + parentIds: "parent_ids", + remoteId: "remote_id", + remoteOwnerIds: "remote_owner_ids", + remoteParentIds: "remote_parent_ids", + unifiedCustomFields: "unified_custom_fields", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CostCenter$ { + /** @deprecated use `CostCenter$inboundSchema` instead. */ + export const inboundSchema = CostCenter$inboundSchema; + /** @deprecated use `CostCenter$outboundSchema` instead. */ + export const outboundSchema = CostCenter$outboundSchema; + /** @deprecated use `CostCenter$Outbound` instead. */ + export type Outbound = CostCenter$Outbound; +} + +export function costCenterToJSON(costCenter: CostCenter): string { + return JSON.stringify(CostCenter$outboundSchema.parse(costCenter)); +} + +export function costCenterFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CostCenter$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CostCenter' from JSON`, + ); +} + +/** @internal */ +export const EmploymentDepartment$inboundSchema: z.ZodType< + EmploymentDepartment, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.nullable(z.string()).optional(), + name: z.nullable(z.string()).optional(), + owner_ids: z.nullable(z.array(z.string())).optional(), + parent_ids: z.nullable(z.array(z.string())).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_owner_ids: z.nullable(z.array(z.string())).optional(), + remote_parent_ids: z.nullable(z.array(z.string())).optional(), + unified_custom_fields: z.nullable(z.record(z.any())).optional(), +}).transform((v) => { + return remap$(v, { + "owner_ids": "ownerIds", + "parent_ids": "parentIds", + "remote_id": "remoteId", + "remote_owner_ids": "remoteOwnerIds", + "remote_parent_ids": "remoteParentIds", + "unified_custom_fields": "unifiedCustomFields", + }); +}); + +/** @internal */ +export type EmploymentDepartment$Outbound = { + id?: string | null | undefined; + name?: string | null | undefined; + owner_ids?: Array | null | undefined; + parent_ids?: Array | null | undefined; + remote_id?: string | null | undefined; + remote_owner_ids?: Array | null | undefined; + remote_parent_ids?: Array | null | undefined; + unified_custom_fields?: { [k: string]: any } | null | undefined; +}; + +/** @internal */ +export const EmploymentDepartment$outboundSchema: z.ZodType< + EmploymentDepartment$Outbound, + z.ZodTypeDef, + EmploymentDepartment +> = z.object({ + id: z.nullable(z.string()).optional(), + name: z.nullable(z.string()).optional(), + ownerIds: z.nullable(z.array(z.string())).optional(), + parentIds: z.nullable(z.array(z.string())).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteOwnerIds: z.nullable(z.array(z.string())).optional(), + remoteParentIds: z.nullable(z.array(z.string())).optional(), + unifiedCustomFields: z.nullable(z.record(z.any())).optional(), +}).transform((v) => { + return remap$(v, { + ownerIds: "owner_ids", + parentIds: "parent_ids", + remoteId: "remote_id", + remoteOwnerIds: "remote_owner_ids", + remoteParentIds: "remote_parent_ids", + unifiedCustomFields: "unified_custom_fields", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EmploymentDepartment$ { + /** @deprecated use `EmploymentDepartment$inboundSchema` instead. */ + export const inboundSchema = EmploymentDepartment$inboundSchema; + /** @deprecated use `EmploymentDepartment$outboundSchema` instead. */ + export const outboundSchema = EmploymentDepartment$outboundSchema; + /** @deprecated use `EmploymentDepartment$Outbound` instead. */ + export type Outbound = EmploymentDepartment$Outbound; +} + +export function employmentDepartmentToJSON( + employmentDepartment: EmploymentDepartment, +): string { + return JSON.stringify( + EmploymentDepartment$outboundSchema.parse(employmentDepartment), + ); +} + +export function employmentDepartmentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EmploymentDepartment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EmploymentDepartment' from JSON`, + ); +} + +/** @internal */ +export const Division$inboundSchema: z.ZodType< + Division, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.nullable(z.string()).optional(), + name: z.nullable(z.string()).optional(), + owner_ids: z.nullable(z.array(z.string())).optional(), + parent_ids: z.nullable(z.array(z.string())).optional(), + remote_id: z.nullable(z.string()).optional(), + remote_owner_ids: z.nullable(z.array(z.string())).optional(), + remote_parent_ids: z.nullable(z.array(z.string())).optional(), + unified_custom_fields: z.nullable(z.record(z.any())).optional(), +}).transform((v) => { + return remap$(v, { + "owner_ids": "ownerIds", + "parent_ids": "parentIds", + "remote_id": "remoteId", + "remote_owner_ids": "remoteOwnerIds", + "remote_parent_ids": "remoteParentIds", + "unified_custom_fields": "unifiedCustomFields", + }); +}); + +/** @internal */ +export type Division$Outbound = { + id?: string | null | undefined; + name?: string | null | undefined; + owner_ids?: Array | null | undefined; + parent_ids?: Array | null | undefined; + remote_id?: string | null | undefined; + remote_owner_ids?: Array | null | undefined; + remote_parent_ids?: Array | null | undefined; + unified_custom_fields?: { [k: string]: any } | null | undefined; }; -export type EmploymentSchemasPayPeriod4 = {}; - -/** - * The source value of the pay period. - */ -export type EmploymentSchemasPayPeriodSourceValue = - | EmploymentSchemasPayPeriod4 - | string - | number - | boolean - | Array; +/** @internal */ +export const Division$outboundSchema: z.ZodType< + Division$Outbound, + z.ZodTypeDef, + Division +> = z.object({ + id: z.nullable(z.string()).optional(), + name: z.nullable(z.string()).optional(), + ownerIds: z.nullable(z.array(z.string())).optional(), + parentIds: z.nullable(z.array(z.string())).optional(), + remoteId: z.nullable(z.string()).optional(), + remoteOwnerIds: z.nullable(z.array(z.string())).optional(), + remoteParentIds: z.nullable(z.array(z.string())).optional(), + unifiedCustomFields: z.nullable(z.record(z.any())).optional(), +}).transform((v) => { + return remap$(v, { + ownerIds: "owner_ids", + parentIds: "parent_ids", + remoteId: "remote_id", + remoteOwnerIds: "remote_owner_ids", + remoteParentIds: "remote_parent_ids", + unifiedCustomFields: "unified_custom_fields", + }); +}); /** - * The pay period of the job postings. + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ -export enum EmploymentSchemasPayPeriodValue { - Hour = "hour", - Day = "day", - Week = "week", - EveryTwoWeeks = "every_two_weeks", - Month = "month", - TwiceAMonth = "twice_a_month", - EveryTwoMonths = "every_two_months", - Quarter = "quarter", - EverySixMonths = "every_six_months", - Year = "year", - OneOff = "one_off", - None = "none", - UnmappedValue = "unmapped_value", +export namespace Division$ { + /** @deprecated use `Division$inboundSchema` instead. */ + export const inboundSchema = Division$inboundSchema; + /** @deprecated use `Division$outboundSchema` instead. */ + export const outboundSchema = Division$outboundSchema; + /** @deprecated use `Division$Outbound` instead. */ + export type Outbound = Division$Outbound; } -/** - * The pay period of the job postings. - */ -export type EmploymentSchemasPayPeriodValueOpen = OpenEnum< - typeof EmploymentSchemasPayPeriodValue ->; -/** - * The pay period - */ -export type EmploymentPayPeriod = { - /** - * The source value of the pay period. - */ - sourceValue?: - | EmploymentSchemasPayPeriod4 - | string - | number - | boolean - | Array - | null - | undefined; - /** - * The pay period of the job postings. - */ - value?: EmploymentSchemasPayPeriodValueOpen | null | undefined; -}; +export function divisionToJSON(division: Division): string { + return JSON.stringify(Division$outboundSchema.parse(division)); +} -export type Employment = { - /** - * The created_at date - */ - createdAt?: Date | null | undefined; - /** - * The effective date of the employment contract - */ - effectiveDate?: Date | null | undefined; - /** - * The employee ID associated with this employment - */ - employeeId?: string | null | undefined; - /** - * The employment work schedule type (e.g., full-time, part-time) - */ - employmentContractType?: EmploymentEmploymentContractType | null | undefined; - /** - * The type of employment (e.g., contractor, permanent) - */ - employmentType?: EmploymentEmploymentType | null | undefined; - /** - * Unique identifier - */ - id?: string | null | undefined; - /** - * The job title of the employee - */ - jobTitle?: string | null | undefined; - /** - * The currency used for pay - */ - payCurrency?: string | null | undefined; - /** - * The pay frequency - */ - payFrequency?: EmploymentPayFrequency | null | undefined; - /** - * The pay period - */ - payPeriod?: EmploymentPayPeriod | null | undefined; - /** - * The pay rate for the employee - */ - payRate?: string | null | undefined; - /** - * Provider's unique identifier of the employee associated with this employment - */ - remoteEmployeeId?: string | null | undefined; - /** - * Provider's unique identifier - */ - remoteId?: string | null | undefined; - /** - * The time worked for the employee in ISO 8601 duration format - */ - timeWorked?: string | null | undefined; - /** - * Custom Unified Fields configured in your StackOne project - */ - unifiedCustomFields?: { [k: string]: any } | null | undefined; - /** - * The updated_at date - */ - updatedAt?: Date | null | undefined; -}; +export function divisionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Division$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Division' from JSON`, + ); +} /** @internal */ export const Employment4$inboundSchema: z.ZodType< @@ -706,24 +1633,155 @@ export type EmploymentEmploymentType$Outbound = { }; /** @internal */ -export const EmploymentEmploymentType$outboundSchema: z.ZodType< - EmploymentEmploymentType$Outbound, +export const EmploymentEmploymentType$outboundSchema: z.ZodType< + EmploymentEmploymentType$Outbound, + z.ZodTypeDef, + EmploymentEmploymentType +> = z.object({ + sourceValue: z.nullable( + z.union([ + z.lazy(() => EmploymentSchemas4$outboundSchema), + z.string(), + z.number(), + z.boolean(), + z.array(z.any()), + ]), + ).optional(), + value: z.nullable(EmploymentSchemasValue$outboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + sourceValue: "source_value", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EmploymentEmploymentType$ { + /** @deprecated use `EmploymentEmploymentType$inboundSchema` instead. */ + export const inboundSchema = EmploymentEmploymentType$inboundSchema; + /** @deprecated use `EmploymentEmploymentType$outboundSchema` instead. */ + export const outboundSchema = EmploymentEmploymentType$outboundSchema; + /** @deprecated use `EmploymentEmploymentType$Outbound` instead. */ + export type Outbound = EmploymentEmploymentType$Outbound; +} + +export function employmentEmploymentTypeToJSON( + employmentEmploymentType: EmploymentEmploymentType, +): string { + return JSON.stringify( + EmploymentEmploymentType$outboundSchema.parse(employmentEmploymentType), + ); +} + +export function employmentEmploymentTypeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EmploymentEmploymentType$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EmploymentEmploymentType' from JSON`, + ); +} + +/** @internal */ +export const Description$inboundSchema: z.ZodType< + Description, + z.ZodTypeDef, + unknown +> = z.object({ + text: z.nullable(z.string()).optional(), +}); + +/** @internal */ +export type Description$Outbound = { + text?: string | null | undefined; +}; + +/** @internal */ +export const Description$outboundSchema: z.ZodType< + Description$Outbound, + z.ZodTypeDef, + Description +> = z.object({ + text: z.nullable(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Description$ { + /** @deprecated use `Description$inboundSchema` instead. */ + export const inboundSchema = Description$inboundSchema; + /** @deprecated use `Description$outboundSchema` instead. */ + export const outboundSchema = Description$outboundSchema; + /** @deprecated use `Description$Outbound` instead. */ + export type Outbound = Description$Outbound; +} + +export function descriptionToJSON(description: Description): string { + return JSON.stringify(Description$outboundSchema.parse(description)); +} + +export function descriptionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Description$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Description' from JSON`, + ); +} + +/** @internal */ +export const EmploymentJob$inboundSchema: z.ZodType< + EmploymentJob, + z.ZodTypeDef, + unknown +> = z.object({ + description: z.nullable(z.lazy(() => Description$inboundSchema)).optional(), + id: z.nullable(z.string()).optional(), + owner_id: z.nullable(z.string()).optional(), + parent_id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + title: z.nullable(z.string()).optional(), +}).transform((v) => { + return remap$(v, { + "owner_id": "ownerId", + "parent_id": "parentId", + "remote_id": "remoteId", + }); +}); + +/** @internal */ +export type EmploymentJob$Outbound = { + description?: Description$Outbound | null | undefined; + id?: string | null | undefined; + owner_id?: string | null | undefined; + parent_id?: string | null | undefined; + remote_id?: string | null | undefined; + title?: string | null | undefined; +}; + +/** @internal */ +export const EmploymentJob$outboundSchema: z.ZodType< + EmploymentJob$Outbound, z.ZodTypeDef, - EmploymentEmploymentType + EmploymentJob > = z.object({ - sourceValue: z.nullable( - z.union([ - z.lazy(() => EmploymentSchemas4$outboundSchema), - z.string(), - z.number(), - z.boolean(), - z.array(z.any()), - ]), - ).optional(), - value: z.nullable(EmploymentSchemasValue$outboundSchema).optional(), + description: z.nullable(z.lazy(() => Description$outboundSchema)).optional(), + id: z.nullable(z.string()).optional(), + ownerId: z.nullable(z.string()).optional(), + parentId: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + title: z.nullable(z.string()).optional(), }).transform((v) => { return remap$(v, { - sourceValue: "source_value", + ownerId: "owner_id", + parentId: "parent_id", + remoteId: "remote_id", }); }); @@ -731,30 +1789,26 @@ export const EmploymentEmploymentType$outboundSchema: z.ZodType< * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ -export namespace EmploymentEmploymentType$ { - /** @deprecated use `EmploymentEmploymentType$inboundSchema` instead. */ - export const inboundSchema = EmploymentEmploymentType$inboundSchema; - /** @deprecated use `EmploymentEmploymentType$outboundSchema` instead. */ - export const outboundSchema = EmploymentEmploymentType$outboundSchema; - /** @deprecated use `EmploymentEmploymentType$Outbound` instead. */ - export type Outbound = EmploymentEmploymentType$Outbound; +export namespace EmploymentJob$ { + /** @deprecated use `EmploymentJob$inboundSchema` instead. */ + export const inboundSchema = EmploymentJob$inboundSchema; + /** @deprecated use `EmploymentJob$outboundSchema` instead. */ + export const outboundSchema = EmploymentJob$outboundSchema; + /** @deprecated use `EmploymentJob$Outbound` instead. */ + export type Outbound = EmploymentJob$Outbound; } -export function employmentEmploymentTypeToJSON( - employmentEmploymentType: EmploymentEmploymentType, -): string { - return JSON.stringify( - EmploymentEmploymentType$outboundSchema.parse(employmentEmploymentType), - ); +export function employmentJobToJSON(employmentJob: EmploymentJob): string { + return JSON.stringify(EmploymentJob$outboundSchema.parse(employmentJob)); } -export function employmentEmploymentTypeFromJSON( +export function employmentJobFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => EmploymentEmploymentType$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EmploymentEmploymentType' from JSON`, + (x) => EmploymentJob$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EmploymentJob' from JSON`, ); } @@ -1247,15 +2301,330 @@ export function employmentPayPeriodFromJSON( ); } +/** @internal */ +export const EmploymentSchemasType4$inboundSchema: z.ZodType< + EmploymentSchemasType4, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type EmploymentSchemasType4$Outbound = {}; + +/** @internal */ +export const EmploymentSchemasType4$outboundSchema: z.ZodType< + EmploymentSchemasType4$Outbound, + z.ZodTypeDef, + EmploymentSchemasType4 +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EmploymentSchemasType4$ { + /** @deprecated use `EmploymentSchemasType4$inboundSchema` instead. */ + export const inboundSchema = EmploymentSchemasType4$inboundSchema; + /** @deprecated use `EmploymentSchemasType4$outboundSchema` instead. */ + export const outboundSchema = EmploymentSchemasType4$outboundSchema; + /** @deprecated use `EmploymentSchemasType4$Outbound` instead. */ + export type Outbound = EmploymentSchemasType4$Outbound; +} + +export function employmentSchemasType4ToJSON( + employmentSchemasType4: EmploymentSchemasType4, +): string { + return JSON.stringify( + EmploymentSchemasType4$outboundSchema.parse(employmentSchemasType4), + ); +} + +export function employmentSchemasType4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EmploymentSchemasType4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EmploymentSchemasType4' from JSON`, + ); +} + +/** @internal */ +export const EmploymentSchemasTypeSourceValue$inboundSchema: z.ZodType< + EmploymentSchemasTypeSourceValue, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => EmploymentSchemasType4$inboundSchema), + z.string(), + z.number(), + z.boolean(), + z.array(z.any()), +]); + +/** @internal */ +export type EmploymentSchemasTypeSourceValue$Outbound = + | EmploymentSchemasType4$Outbound + | string + | number + | boolean + | Array; + +/** @internal */ +export const EmploymentSchemasTypeSourceValue$outboundSchema: z.ZodType< + EmploymentSchemasTypeSourceValue$Outbound, + z.ZodTypeDef, + EmploymentSchemasTypeSourceValue +> = z.union([ + z.lazy(() => EmploymentSchemasType4$outboundSchema), + z.string(), + z.number(), + z.boolean(), + z.array(z.any()), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EmploymentSchemasTypeSourceValue$ { + /** @deprecated use `EmploymentSchemasTypeSourceValue$inboundSchema` instead. */ + export const inboundSchema = EmploymentSchemasTypeSourceValue$inboundSchema; + /** @deprecated use `EmploymentSchemasTypeSourceValue$outboundSchema` instead. */ + export const outboundSchema = EmploymentSchemasTypeSourceValue$outboundSchema; + /** @deprecated use `EmploymentSchemasTypeSourceValue$Outbound` instead. */ + export type Outbound = EmploymentSchemasTypeSourceValue$Outbound; +} + +export function employmentSchemasTypeSourceValueToJSON( + employmentSchemasTypeSourceValue: EmploymentSchemasTypeSourceValue, +): string { + return JSON.stringify( + EmploymentSchemasTypeSourceValue$outboundSchema.parse( + employmentSchemasTypeSourceValue, + ), + ); +} + +export function employmentSchemasTypeSourceValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EmploymentSchemasTypeSourceValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EmploymentSchemasTypeSourceValue' from JSON`, + ); +} + +/** @internal */ +export const EmploymentSchemasTypeValue$inboundSchema: z.ZodType< + EmploymentSchemasTypeValueOpen, + z.ZodTypeDef, + unknown +> = z + .union([ + z.nativeEnum(EmploymentSchemasTypeValue), + z.string().transform(catchUnrecognizedEnum), + ]); + +/** @internal */ +export const EmploymentSchemasTypeValue$outboundSchema: z.ZodType< + EmploymentSchemasTypeValueOpen, + z.ZodTypeDef, + EmploymentSchemasTypeValueOpen +> = z.union([ + z.nativeEnum(EmploymentSchemasTypeValue), + z.string().and(z.custom>()), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EmploymentSchemasTypeValue$ { + /** @deprecated use `EmploymentSchemasTypeValue$inboundSchema` instead. */ + export const inboundSchema = EmploymentSchemasTypeValue$inboundSchema; + /** @deprecated use `EmploymentSchemasTypeValue$outboundSchema` instead. */ + export const outboundSchema = EmploymentSchemasTypeValue$outboundSchema; +} + +/** @internal */ +export const EmploymentSchemasTypeType$inboundSchema: z.ZodType< + EmploymentSchemasTypeType, + z.ZodTypeDef, + unknown +> = z.object({ + source_value: z.nullable( + z.union([ + z.lazy(() => EmploymentSchemasType4$inboundSchema), + z.string(), + z.number(), + z.boolean(), + z.array(z.any()), + ]), + ).optional(), + value: z.nullable(EmploymentSchemasTypeValue$inboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + "source_value": "sourceValue", + }); +}); + +/** @internal */ +export type EmploymentSchemasTypeType$Outbound = { + source_value?: + | EmploymentSchemasType4$Outbound + | string + | number + | boolean + | Array + | null + | undefined; + value?: string | null | undefined; +}; + +/** @internal */ +export const EmploymentSchemasTypeType$outboundSchema: z.ZodType< + EmploymentSchemasTypeType$Outbound, + z.ZodTypeDef, + EmploymentSchemasTypeType +> = z.object({ + sourceValue: z.nullable( + z.union([ + z.lazy(() => EmploymentSchemasType4$outboundSchema), + z.string(), + z.number(), + z.boolean(), + z.array(z.any()), + ]), + ).optional(), + value: z.nullable(EmploymentSchemasTypeValue$outboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + sourceValue: "source_value", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EmploymentSchemasTypeType$ { + /** @deprecated use `EmploymentSchemasTypeType$inboundSchema` instead. */ + export const inboundSchema = EmploymentSchemasTypeType$inboundSchema; + /** @deprecated use `EmploymentSchemasTypeType$outboundSchema` instead. */ + export const outboundSchema = EmploymentSchemasTypeType$outboundSchema; + /** @deprecated use `EmploymentSchemasTypeType$Outbound` instead. */ + export type Outbound = EmploymentSchemasTypeType$Outbound; +} + +export function employmentSchemasTypeTypeToJSON( + employmentSchemasTypeType: EmploymentSchemasTypeType, +): string { + return JSON.stringify( + EmploymentSchemasTypeType$outboundSchema.parse(employmentSchemasTypeType), + ); +} + +export function employmentSchemasTypeTypeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EmploymentSchemasTypeType$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EmploymentSchemasTypeType' from JSON`, + ); +} + +/** @internal */ +export const EmploymentSchemasType$inboundSchema: z.ZodType< + EmploymentSchemasType, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.nullable(z.string()).optional(), + label: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + type: z.nullable(z.lazy(() => EmploymentSchemasTypeType$inboundSchema)) + .optional(), +}).transform((v) => { + return remap$(v, { + "remote_id": "remoteId", + }); +}); + +/** @internal */ +export type EmploymentSchemasType$Outbound = { + id?: string | null | undefined; + label?: string | null | undefined; + remote_id?: string | null | undefined; + type?: EmploymentSchemasTypeType$Outbound | null | undefined; +}; + +/** @internal */ +export const EmploymentSchemasType$outboundSchema: z.ZodType< + EmploymentSchemasType$Outbound, + z.ZodTypeDef, + EmploymentSchemasType +> = z.object({ + id: z.nullable(z.string()).optional(), + label: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + type: z.nullable(z.lazy(() => EmploymentSchemasTypeType$outboundSchema)) + .optional(), +}).transform((v) => { + return remap$(v, { + remoteId: "remote_id", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EmploymentSchemasType$ { + /** @deprecated use `EmploymentSchemasType$inboundSchema` instead. */ + export const inboundSchema = EmploymentSchemasType$inboundSchema; + /** @deprecated use `EmploymentSchemasType$outboundSchema` instead. */ + export const outboundSchema = EmploymentSchemasType$outboundSchema; + /** @deprecated use `EmploymentSchemasType$Outbound` instead. */ + export type Outbound = EmploymentSchemasType$Outbound; +} + +export function employmentSchemasTypeToJSON( + employmentSchemasType: EmploymentSchemasType, +): string { + return JSON.stringify( + EmploymentSchemasType$outboundSchema.parse(employmentSchemasType), + ); +} + +export function employmentSchemasTypeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EmploymentSchemasType$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EmploymentSchemasType' from JSON`, + ); +} + /** @internal */ export const Employment$inboundSchema: z.ZodType< Employment, z.ZodTypeDef, unknown > = z.object({ + active: z.nullable(z.boolean()).optional(), + contract_type: z.nullable(z.lazy(() => ContractType$inboundSchema)) + .optional(), + cost_center: z.nullable(z.lazy(() => CostCenter$inboundSchema)).optional(), created_at: z.nullable( z.string().datetime({ offset: true }).transform(v => new Date(v)), ).optional(), + department: z.nullable(z.lazy(() => EmploymentDepartment$inboundSchema)) + .optional(), + division: z.nullable(z.lazy(() => Division$inboundSchema)).optional(), effective_date: z.nullable( z.string().datetime({ offset: true }).transform(v => new Date(v)), ).optional(), @@ -1266,8 +2635,14 @@ export const Employment$inboundSchema: z.ZodType< employment_type: z.nullable( z.lazy(() => EmploymentEmploymentType$inboundSchema), ).optional(), + end_date: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), id: z.nullable(z.string()).optional(), + job: z.nullable(z.lazy(() => EmploymentJob$inboundSchema)).optional(), job_title: z.nullable(z.string()).optional(), + manager: z.nullable(z.array(EmploymentManagerApiModel$inboundSchema)) + .optional(), pay_currency: z.nullable(z.string()).optional(), pay_frequency: z.nullable(z.lazy(() => EmploymentPayFrequency$inboundSchema)) .optional(), @@ -1276,18 +2651,26 @@ export const Employment$inboundSchema: z.ZodType< pay_rate: z.nullable(z.string()).optional(), remote_employee_id: z.nullable(z.string()).optional(), remote_id: z.nullable(z.string()).optional(), + start_date: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), time_worked: z.nullable(z.string()).optional(), + type: z.nullable(z.lazy(() => EmploymentSchemasType$inboundSchema)) + .optional(), unified_custom_fields: z.nullable(z.record(z.any())).optional(), updated_at: z.nullable( z.string().datetime({ offset: true }).transform(v => new Date(v)), ).optional(), }).transform((v) => { return remap$(v, { + "contract_type": "contractType", + "cost_center": "costCenter", "created_at": "createdAt", "effective_date": "effectiveDate", "employee_id": "employeeId", "employment_contract_type": "employmentContractType", "employment_type": "employmentType", + "end_date": "endDate", "job_title": "jobTitle", "pay_currency": "payCurrency", "pay_frequency": "payFrequency", @@ -1295,6 +2678,7 @@ export const Employment$inboundSchema: z.ZodType< "pay_rate": "payRate", "remote_employee_id": "remoteEmployeeId", "remote_id": "remoteId", + "start_date": "startDate", "time_worked": "timeWorked", "unified_custom_fields": "unifiedCustomFields", "updated_at": "updatedAt", @@ -1303,7 +2687,12 @@ export const Employment$inboundSchema: z.ZodType< /** @internal */ export type Employment$Outbound = { + active?: boolean | null | undefined; + contract_type?: ContractType$Outbound | null | undefined; + cost_center?: CostCenter$Outbound | null | undefined; created_at?: string | null | undefined; + department?: EmploymentDepartment$Outbound | null | undefined; + division?: Division$Outbound | null | undefined; effective_date?: string | null | undefined; employee_id?: string | null | undefined; employment_contract_type?: @@ -1311,15 +2700,20 @@ export type Employment$Outbound = { | null | undefined; employment_type?: EmploymentEmploymentType$Outbound | null | undefined; + end_date?: string | null | undefined; id?: string | null | undefined; + job?: EmploymentJob$Outbound | null | undefined; job_title?: string | null | undefined; + manager?: Array | null | undefined; pay_currency?: string | null | undefined; pay_frequency?: EmploymentPayFrequency$Outbound | null | undefined; pay_period?: EmploymentPayPeriod$Outbound | null | undefined; pay_rate?: string | null | undefined; remote_employee_id?: string | null | undefined; remote_id?: string | null | undefined; + start_date?: string | null | undefined; time_worked?: string | null | undefined; + type?: EmploymentSchemasType$Outbound | null | undefined; unified_custom_fields?: { [k: string]: any } | null | undefined; updated_at?: string | null | undefined; }; @@ -1330,7 +2724,14 @@ export const Employment$outboundSchema: z.ZodType< z.ZodTypeDef, Employment > = z.object({ + active: z.nullable(z.boolean()).optional(), + contractType: z.nullable(z.lazy(() => ContractType$outboundSchema)) + .optional(), + costCenter: z.nullable(z.lazy(() => CostCenter$outboundSchema)).optional(), createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), + department: z.nullable(z.lazy(() => EmploymentDepartment$outboundSchema)) + .optional(), + division: z.nullable(z.lazy(() => Division$outboundSchema)).optional(), effectiveDate: z.nullable(z.date().transform(v => v.toISOString())) .optional(), employeeId: z.nullable(z.string()).optional(), @@ -1340,8 +2741,12 @@ export const Employment$outboundSchema: z.ZodType< employmentType: z.nullable( z.lazy(() => EmploymentEmploymentType$outboundSchema), ).optional(), + endDate: z.nullable(z.date().transform(v => v.toISOString())).optional(), id: z.nullable(z.string()).optional(), + job: z.nullable(z.lazy(() => EmploymentJob$outboundSchema)).optional(), jobTitle: z.nullable(z.string()).optional(), + manager: z.nullable(z.array(EmploymentManagerApiModel$outboundSchema)) + .optional(), payCurrency: z.nullable(z.string()).optional(), payFrequency: z.nullable(z.lazy(() => EmploymentPayFrequency$outboundSchema)) .optional(), @@ -1350,16 +2755,22 @@ export const Employment$outboundSchema: z.ZodType< payRate: z.nullable(z.string()).optional(), remoteEmployeeId: z.nullable(z.string()).optional(), remoteId: z.nullable(z.string()).optional(), + startDate: z.nullable(z.date().transform(v => v.toISOString())).optional(), timeWorked: z.nullable(z.string()).optional(), + type: z.nullable(z.lazy(() => EmploymentSchemasType$outboundSchema)) + .optional(), unifiedCustomFields: z.nullable(z.record(z.any())).optional(), updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), }).transform((v) => { return remap$(v, { + contractType: "contract_type", + costCenter: "cost_center", createdAt: "created_at", effectiveDate: "effective_date", employeeId: "employee_id", employmentContractType: "employment_contract_type", employmentType: "employment_type", + endDate: "end_date", jobTitle: "job_title", payCurrency: "pay_currency", payFrequency: "pay_frequency", @@ -1367,6 +2778,7 @@ export const Employment$outboundSchema: z.ZodType< payRate: "pay_rate", remoteEmployeeId: "remote_employee_id", remoteId: "remote_id", + startDate: "start_date", timeWorked: "time_worked", unifiedCustomFields: "unified_custom_fields", updatedAt: "updated_at", diff --git a/src/sdk/models/shared/employmentmanagerapimodel.ts b/src/sdk/models/shared/employmentmanagerapimodel.ts new file mode 100644 index 000000000..857aafc53 --- /dev/null +++ b/src/sdk/models/shared/employmentmanagerapimodel.ts @@ -0,0 +1,454 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../../../lib/primitives.js"; +import { safeParse } from "../../../lib/schemas.js"; +import { + catchUnrecognizedEnum, + OpenEnum, + Unrecognized, +} from "../../types/enums.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type EmploymentManagerApiModel4 = {}; + +export type EmploymentManagerApiModelSourceValue = + | EmploymentManagerApiModel4 + | string + | number + | boolean + | Array; + +export enum EmploymentManagerApiModelValue { + Admin = "admin", + Viewer = "viewer", + Editor = "editor", + Basic = "basic", + Guest = "guest", + Unassigned = "unassigned", + Restricted = "restricted", + UnmappedValue = "unmapped_value", +} +export type EmploymentManagerApiModelValueOpen = OpenEnum< + typeof EmploymentManagerApiModelValue +>; + +/** + * The manager role type (e.g., admin, viewer) + */ +export type RoleType = { + sourceValue?: + | EmploymentManagerApiModel4 + | string + | number + | boolean + | Array + | null + | undefined; + value?: EmploymentManagerApiModelValueOpen | null | undefined; +}; + +/** + * The role of manager + */ +export type Role = { + /** + * Unique identifier + */ + id?: string | null | undefined; + /** + * The label of the role type + */ + label?: string | null | undefined; + /** + * Provider's unique identifier + */ + remoteId?: string | null | undefined; + /** + * The manager role type (e.g., admin, viewer) + */ + roleType?: RoleType | null | undefined; +}; + +export type EmploymentManagerApiModel = { + /** + * Unique identifier + */ + id?: string | null | undefined; + /** + * Provider's unique identifier + */ + remoteId?: string | null | undefined; + /** + * The role of manager + */ + role?: Role | null | undefined; +}; + +/** @internal */ +export const EmploymentManagerApiModel4$inboundSchema: z.ZodType< + EmploymentManagerApiModel4, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type EmploymentManagerApiModel4$Outbound = {}; + +/** @internal */ +export const EmploymentManagerApiModel4$outboundSchema: z.ZodType< + EmploymentManagerApiModel4$Outbound, + z.ZodTypeDef, + EmploymentManagerApiModel4 +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EmploymentManagerApiModel4$ { + /** @deprecated use `EmploymentManagerApiModel4$inboundSchema` instead. */ + export const inboundSchema = EmploymentManagerApiModel4$inboundSchema; + /** @deprecated use `EmploymentManagerApiModel4$outboundSchema` instead. */ + export const outboundSchema = EmploymentManagerApiModel4$outboundSchema; + /** @deprecated use `EmploymentManagerApiModel4$Outbound` instead. */ + export type Outbound = EmploymentManagerApiModel4$Outbound; +} + +export function employmentManagerApiModel4ToJSON( + employmentManagerApiModel4: EmploymentManagerApiModel4, +): string { + return JSON.stringify( + EmploymentManagerApiModel4$outboundSchema.parse(employmentManagerApiModel4), + ); +} + +export function employmentManagerApiModel4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EmploymentManagerApiModel4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EmploymentManagerApiModel4' from JSON`, + ); +} + +/** @internal */ +export const EmploymentManagerApiModelSourceValue$inboundSchema: z.ZodType< + EmploymentManagerApiModelSourceValue, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => EmploymentManagerApiModel4$inboundSchema), + z.string(), + z.number(), + z.boolean(), + z.array(z.any()), +]); + +/** @internal */ +export type EmploymentManagerApiModelSourceValue$Outbound = + | EmploymentManagerApiModel4$Outbound + | string + | number + | boolean + | Array; + +/** @internal */ +export const EmploymentManagerApiModelSourceValue$outboundSchema: z.ZodType< + EmploymentManagerApiModelSourceValue$Outbound, + z.ZodTypeDef, + EmploymentManagerApiModelSourceValue +> = z.union([ + z.lazy(() => EmploymentManagerApiModel4$outboundSchema), + z.string(), + z.number(), + z.boolean(), + z.array(z.any()), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EmploymentManagerApiModelSourceValue$ { + /** @deprecated use `EmploymentManagerApiModelSourceValue$inboundSchema` instead. */ + export const inboundSchema = + EmploymentManagerApiModelSourceValue$inboundSchema; + /** @deprecated use `EmploymentManagerApiModelSourceValue$outboundSchema` instead. */ + export const outboundSchema = + EmploymentManagerApiModelSourceValue$outboundSchema; + /** @deprecated use `EmploymentManagerApiModelSourceValue$Outbound` instead. */ + export type Outbound = EmploymentManagerApiModelSourceValue$Outbound; +} + +export function employmentManagerApiModelSourceValueToJSON( + employmentManagerApiModelSourceValue: EmploymentManagerApiModelSourceValue, +): string { + return JSON.stringify( + EmploymentManagerApiModelSourceValue$outboundSchema.parse( + employmentManagerApiModelSourceValue, + ), + ); +} + +export function employmentManagerApiModelSourceValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + EmploymentManagerApiModelSourceValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EmploymentManagerApiModelSourceValue' from JSON`, + ); +} + +/** @internal */ +export const EmploymentManagerApiModelValue$inboundSchema: z.ZodType< + EmploymentManagerApiModelValueOpen, + z.ZodTypeDef, + unknown +> = z + .union([ + z.nativeEnum(EmploymentManagerApiModelValue), + z.string().transform(catchUnrecognizedEnum), + ]); + +/** @internal */ +export const EmploymentManagerApiModelValue$outboundSchema: z.ZodType< + EmploymentManagerApiModelValueOpen, + z.ZodTypeDef, + EmploymentManagerApiModelValueOpen +> = z.union([ + z.nativeEnum(EmploymentManagerApiModelValue), + z.string().and(z.custom>()), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EmploymentManagerApiModelValue$ { + /** @deprecated use `EmploymentManagerApiModelValue$inboundSchema` instead. */ + export const inboundSchema = EmploymentManagerApiModelValue$inboundSchema; + /** @deprecated use `EmploymentManagerApiModelValue$outboundSchema` instead. */ + export const outboundSchema = EmploymentManagerApiModelValue$outboundSchema; +} + +/** @internal */ +export const RoleType$inboundSchema: z.ZodType< + RoleType, + z.ZodTypeDef, + unknown +> = z.object({ + source_value: z.nullable( + z.union([ + z.lazy(() => EmploymentManagerApiModel4$inboundSchema), + z.string(), + z.number(), + z.boolean(), + z.array(z.any()), + ]), + ).optional(), + value: z.nullable(EmploymentManagerApiModelValue$inboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + "source_value": "sourceValue", + }); +}); + +/** @internal */ +export type RoleType$Outbound = { + source_value?: + | EmploymentManagerApiModel4$Outbound + | string + | number + | boolean + | Array + | null + | undefined; + value?: string | null | undefined; +}; + +/** @internal */ +export const RoleType$outboundSchema: z.ZodType< + RoleType$Outbound, + z.ZodTypeDef, + RoleType +> = z.object({ + sourceValue: z.nullable( + z.union([ + z.lazy(() => EmploymentManagerApiModel4$outboundSchema), + z.string(), + z.number(), + z.boolean(), + z.array(z.any()), + ]), + ).optional(), + value: z.nullable(EmploymentManagerApiModelValue$outboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + sourceValue: "source_value", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace RoleType$ { + /** @deprecated use `RoleType$inboundSchema` instead. */ + export const inboundSchema = RoleType$inboundSchema; + /** @deprecated use `RoleType$outboundSchema` instead. */ + export const outboundSchema = RoleType$outboundSchema; + /** @deprecated use `RoleType$Outbound` instead. */ + export type Outbound = RoleType$Outbound; +} + +export function roleTypeToJSON(roleType: RoleType): string { + return JSON.stringify(RoleType$outboundSchema.parse(roleType)); +} + +export function roleTypeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RoleType$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RoleType' from JSON`, + ); +} + +/** @internal */ +export const Role$inboundSchema: z.ZodType = z + .object({ + id: z.nullable(z.string()).optional(), + label: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + role_type: z.nullable(z.lazy(() => RoleType$inboundSchema)).optional(), + }).transform((v) => { + return remap$(v, { + "remote_id": "remoteId", + "role_type": "roleType", + }); + }); + +/** @internal */ +export type Role$Outbound = { + id?: string | null | undefined; + label?: string | null | undefined; + remote_id?: string | null | undefined; + role_type?: RoleType$Outbound | null | undefined; +}; + +/** @internal */ +export const Role$outboundSchema: z.ZodType = + z.object({ + id: z.nullable(z.string()).optional(), + label: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + roleType: z.nullable(z.lazy(() => RoleType$outboundSchema)).optional(), + }).transform((v) => { + return remap$(v, { + remoteId: "remote_id", + roleType: "role_type", + }); + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Role$ { + /** @deprecated use `Role$inboundSchema` instead. */ + export const inboundSchema = Role$inboundSchema; + /** @deprecated use `Role$outboundSchema` instead. */ + export const outboundSchema = Role$outboundSchema; + /** @deprecated use `Role$Outbound` instead. */ + export type Outbound = Role$Outbound; +} + +export function roleToJSON(role: Role): string { + return JSON.stringify(Role$outboundSchema.parse(role)); +} + +export function roleFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Role$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Role' from JSON`, + ); +} + +/** @internal */ +export const EmploymentManagerApiModel$inboundSchema: z.ZodType< + EmploymentManagerApiModel, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + role: z.nullable(z.lazy(() => Role$inboundSchema)).optional(), +}).transform((v) => { + return remap$(v, { + "remote_id": "remoteId", + }); +}); + +/** @internal */ +export type EmploymentManagerApiModel$Outbound = { + id?: string | null | undefined; + remote_id?: string | null | undefined; + role?: Role$Outbound | null | undefined; +}; + +/** @internal */ +export const EmploymentManagerApiModel$outboundSchema: z.ZodType< + EmploymentManagerApiModel$Outbound, + z.ZodTypeDef, + EmploymentManagerApiModel +> = z.object({ + id: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + role: z.nullable(z.lazy(() => Role$outboundSchema)).optional(), +}).transform((v) => { + return remap$(v, { + remoteId: "remote_id", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EmploymentManagerApiModel$ { + /** @deprecated use `EmploymentManagerApiModel$inboundSchema` instead. */ + export const inboundSchema = EmploymentManagerApiModel$inboundSchema; + /** @deprecated use `EmploymentManagerApiModel$outboundSchema` instead. */ + export const outboundSchema = EmploymentManagerApiModel$outboundSchema; + /** @deprecated use `EmploymentManagerApiModel$Outbound` instead. */ + export type Outbound = EmploymentManagerApiModel$Outbound; +} + +export function employmentManagerApiModelToJSON( + employmentManagerApiModel: EmploymentManagerApiModel, +): string { + return JSON.stringify( + EmploymentManagerApiModel$outboundSchema.parse(employmentManagerApiModel), + ); +} + +export function employmentManagerApiModelFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => EmploymentManagerApiModel$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EmploymentManagerApiModel' from JSON`, + ); +} diff --git a/src/sdk/models/shared/hrisupdateemployeerequestdto.ts b/src/sdk/models/shared/hrisupdateemployeerequestdto.ts index e9987cc4c..70041e9b9 100644 --- a/src/sdk/models/shared/hrisupdateemployeerequestdto.ts +++ b/src/sdk/models/shared/hrisupdateemployeerequestdto.ts @@ -18,12 +18,6 @@ import { CountryCodeEnum$Outbound, CountryCodeEnum$outboundSchema, } from "./countrycodeenum.js"; -import { - CreateEmploymentApiModel, - CreateEmploymentApiModel$inboundSchema, - CreateEmploymentApiModel$Outbound, - CreateEmploymentApiModel$outboundSchema, -} from "./createemploymentapimodel.js"; import { CreateHRISBenefit, CreateHRISBenefit$inboundSchema, @@ -9387,10 +9381,6 @@ export type HrisUpdateEmployeeRequestDto = { | HrisUpdateEmployeeRequestDtoEmploymentType | null | undefined; - /** - * The employee employments - */ - employments?: Array | null | undefined; /** * The employee ethnicity */ @@ -13545,8 +13535,6 @@ export const HrisUpdateEmployeeRequestDto$inboundSchema: z.ZodType< employment_type: z.nullable( z.lazy(() => HrisUpdateEmployeeRequestDtoEmploymentType$inboundSchema), ).optional(), - employments: z.nullable(z.array(CreateEmploymentApiModel$inboundSchema)) - .optional(), ethnicity: z.nullable( z.lazy(() => HrisUpdateEmployeeRequestDtoEthnicity$inboundSchema), ).optional(), @@ -13653,7 +13641,6 @@ export type HrisUpdateEmployeeRequestDto$Outbound = { | HrisUpdateEmployeeRequestDtoEmploymentType$Outbound | null | undefined; - employments?: Array | null | undefined; ethnicity?: HrisUpdateEmployeeRequestDtoEthnicity$Outbound | null | undefined; first_name?: string | null | undefined; gender?: HrisUpdateEmployeeRequestDtoGender$Outbound | null | undefined; @@ -13725,8 +13712,6 @@ export const HrisUpdateEmployeeRequestDto$outboundSchema: z.ZodType< employmentType: z.nullable( z.lazy(() => HrisUpdateEmployeeRequestDtoEmploymentType$outboundSchema), ).optional(), - employments: z.nullable(z.array(CreateEmploymentApiModel$outboundSchema)) - .optional(), ethnicity: z.nullable( z.lazy(() => HrisUpdateEmployeeRequestDtoEthnicity$outboundSchema), ).optional(), diff --git a/src/sdk/models/shared/index.ts b/src/sdk/models/shared/index.ts index 0cf0c9804..c403c9c11 100644 --- a/src/sdk/models/shared/index.ts +++ b/src/sdk/models/shared/index.ts @@ -6,6 +6,7 @@ export * from "./account.js"; export * from "./accountaddress.js"; export * from "./accountresult.js"; export * from "./accountspaginated.js"; +export * from "./additionaldata.js"; export * from "./answer.js"; export * from "./application.js"; export * from "./applicationattachment.js"; @@ -22,8 +23,10 @@ export * from "./assignment.js"; export * from "./assignmentresult.js"; export * from "./assignmentspaginated.js"; export * from "./atscreateapplicationrequestdto.js"; +export * from "./atscreatebackgroundcheckorderrequestdto.js"; export * from "./atscreatebackgroundcheckpackagesrequestdto.js"; export * from "./atscreatecandidaterequestdto.js"; +export * from "./atscreatecandidatesassessmentsrequestdto.js"; export * from "./atscreatejobrequestdto.js"; export * from "./atscreatenotesrequestdto.js"; export * from "./atscreateofferrequestdto.js"; @@ -86,12 +89,12 @@ export * from "./course.js"; export * from "./coursepaginated.js"; export * from "./courseresult.js"; export * from "./createanswer.js"; +export * from "./createassessmentorderresult.js"; +export * from "./createbackgroundcheckorderresult.js"; export * from "./createcategoriesapimodel.js"; export * from "./createcontentapimodel.js"; export * from "./createcostcenterapimodel.js"; export * from "./createemploymentapimodel.js"; -export * from "./createevent.js"; -export * from "./createeventresponse.js"; export * from "./createhrisbenefit.js"; export * from "./createmessage.js"; export * from "./createpackage.js"; @@ -115,6 +118,7 @@ export * from "./employee.js"; export * from "./employeeresult.js"; export * from "./employeespaginated.js"; export * from "./employment.js"; +export * from "./employmentmanagerapimodel.js"; export * from "./employmentresult.js"; export * from "./employmentspaginated.js"; export * from "./field.js"; @@ -252,6 +256,9 @@ export * from "./statusreason.js"; export * from "./template.js"; export * from "./templateresult.js"; export * from "./templatespaginated.js"; +export * from "./timeentries.js"; +export * from "./timeentriespaginated.js"; +export * from "./timeentriesresult.js"; export * from "./timeoff.js"; export * from "./timeoffpaginated.js"; export * from "./timeoffresult.js"; diff --git a/src/sdk/models/shared/lmsupsertcontentrequestdto.ts b/src/sdk/models/shared/lmsupsertcontentrequestdto.ts index b1fab69f1..82a2d35cd 100644 --- a/src/sdk/models/shared/lmsupsertcontentrequestdto.ts +++ b/src/sdk/models/shared/lmsupsertcontentrequestdto.ts @@ -12,6 +12,12 @@ import { } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + AdditionalData, + AdditionalData$inboundSchema, + AdditionalData$Outbound, + AdditionalData$outboundSchema, +} from "./additionaldata.js"; import { CreateCategoriesApiModel, CreateCategoriesApiModel$inboundSchema, @@ -69,6 +75,10 @@ export type LmsUpsertContentRequestDto = { * Whether the content is active and available for users. */ active?: boolean | null | undefined; + /** + * The additional_data associated with this content + */ + additionalData?: Array | null | undefined; /** * The categories associated with this content */ @@ -115,6 +125,8 @@ export type LmsUpsertContentRequestDto = { provider?: string | null | undefined; /** * A short description or summary for the content + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ shortDescription?: string | null | undefined; /** @@ -383,6 +395,7 @@ export const LmsUpsertContentRequestDto$inboundSchema: z.ZodType< unknown > = z.object({ active: z.nullable(z.boolean()).optional(), + additional_data: z.nullable(z.array(AdditionalData$inboundSchema)).optional(), categories: z.nullable(z.array(CreateCategoriesApiModel$inboundSchema)) .optional(), content_type: z.nullable( @@ -403,6 +416,7 @@ export const LmsUpsertContentRequestDto$inboundSchema: z.ZodType< unified_custom_fields: z.nullable(z.record(z.any())).optional(), }).transform((v) => { return remap$(v, { + "additional_data": "additionalData", "content_type": "contentType", "content_url": "contentUrl", "course_ids": "courseIds", @@ -416,6 +430,7 @@ export const LmsUpsertContentRequestDto$inboundSchema: z.ZodType< /** @internal */ export type LmsUpsertContentRequestDto$Outbound = { active?: boolean | null | undefined; + additional_data?: Array | null | undefined; categories?: Array | null | undefined; content_type?: | LmsUpsertContentRequestDtoContentType$Outbound @@ -443,6 +458,7 @@ export const LmsUpsertContentRequestDto$outboundSchema: z.ZodType< LmsUpsertContentRequestDto > = z.object({ active: z.nullable(z.boolean()).optional(), + additionalData: z.nullable(z.array(AdditionalData$outboundSchema)).optional(), categories: z.nullable(z.array(CreateCategoriesApiModel$outboundSchema)) .optional(), contentType: z.nullable( @@ -463,6 +479,7 @@ export const LmsUpsertContentRequestDto$outboundSchema: z.ZodType< unifiedCustomFields: z.nullable(z.record(z.any())).optional(), }).transform((v) => { return remap$(v, { + additionalData: "additional_data", contentType: "content_type", contentUrl: "content_url", courseIds: "course_ids", diff --git a/src/sdk/models/shared/timeentries.ts b/src/sdk/models/shared/timeentries.ts new file mode 100644 index 000000000..c628043f9 --- /dev/null +++ b/src/sdk/models/shared/timeentries.ts @@ -0,0 +1,682 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../../../lib/primitives.js"; +import { safeParse } from "../../../lib/schemas.js"; +import { + catchUnrecognizedEnum, + OpenEnum, + Unrecognized, +} from "../../types/enums.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * The labor type associated with this time entry + */ +export type LaborType = { + code?: string | null | undefined; +}; + +export enum TimeEntries2 { + True = "true", + False = "false", +} + +/** + * The reference status + */ +export type TimeEntriesActive = boolean | TimeEntries2; + +/** + * The location of the time entry + */ +export type Location = { + /** + * The reference status + */ + active?: boolean | TimeEntries2 | null | undefined; + /** + * The reference id + */ + id?: string | null | undefined; + /** + * The reference name + */ + name?: string | null | undefined; + /** + * Provider's unique identifier + */ + remoteId?: string | null | undefined; +}; + +export type TimeEntries4 = {}; + +export type TimeEntriesSourceValue = + | TimeEntries4 + | string + | number + | boolean + | Array; + +export enum TimeEntriesValue { + Approved = "approved", + UnmappedValue = "unmapped_value", +} +export type TimeEntriesValueOpen = OpenEnum; + +/** + * The status of the time entry + */ +export type TimeEntriesStatus = { + sourceValue?: + | TimeEntries4 + | string + | number + | boolean + | Array + | null + | undefined; + value?: TimeEntriesValueOpen | null | undefined; +}; + +export type TimeEntries = { + /** + * The duration of the break in hours + */ + breakDuration?: number | null | undefined; + /** + * The created_at date + */ + createdAt?: Date | null | undefined; + /** + * The employee ID associated with this employment + */ + employeeId?: string | null | undefined; + /** + * The end time of the time entry + */ + endTime?: Date | null | undefined; + /** + * The hours worked in the time entry + */ + hoursWorked?: number | null | undefined; + /** + * Unique identifier + */ + id?: string | null | undefined; + /** + * The labor type associated with this time entry + */ + laborType?: LaborType | null | undefined; + /** + * The location of the time entry + */ + location?: Location | null | undefined; + /** + * Provider's unique identifier of the employee associated with this employment + */ + remoteEmployeeId?: string | null | undefined; + /** + * Provider's unique identifier + */ + remoteId?: string | null | undefined; + /** + * The start time of the time entry + */ + startTime?: Date | null | undefined; + /** + * The status of the time entry + */ + status?: TimeEntriesStatus | null | undefined; + /** + * Custom Unified Fields configured in your StackOne project + */ + unifiedCustomFields?: { [k: string]: any } | null | undefined; + /** + * The updated_at date + */ + updatedAt?: Date | null | undefined; +}; + +/** @internal */ +export const LaborType$inboundSchema: z.ZodType< + LaborType, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.nullable(z.string()).optional(), +}); + +/** @internal */ +export type LaborType$Outbound = { + code?: string | null | undefined; +}; + +/** @internal */ +export const LaborType$outboundSchema: z.ZodType< + LaborType$Outbound, + z.ZodTypeDef, + LaborType +> = z.object({ + code: z.nullable(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace LaborType$ { + /** @deprecated use `LaborType$inboundSchema` instead. */ + export const inboundSchema = LaborType$inboundSchema; + /** @deprecated use `LaborType$outboundSchema` instead. */ + export const outboundSchema = LaborType$outboundSchema; + /** @deprecated use `LaborType$Outbound` instead. */ + export type Outbound = LaborType$Outbound; +} + +export function laborTypeToJSON(laborType: LaborType): string { + return JSON.stringify(LaborType$outboundSchema.parse(laborType)); +} + +export function laborTypeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => LaborType$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'LaborType' from JSON`, + ); +} + +/** @internal */ +export const TimeEntries2$inboundSchema: z.ZodNativeEnum = + z.nativeEnum(TimeEntries2); + +/** @internal */ +export const TimeEntries2$outboundSchema: z.ZodNativeEnum = + TimeEntries2$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace TimeEntries2$ { + /** @deprecated use `TimeEntries2$inboundSchema` instead. */ + export const inboundSchema = TimeEntries2$inboundSchema; + /** @deprecated use `TimeEntries2$outboundSchema` instead. */ + export const outboundSchema = TimeEntries2$outboundSchema; +} + +/** @internal */ +export const TimeEntriesActive$inboundSchema: z.ZodType< + TimeEntriesActive, + z.ZodTypeDef, + unknown +> = z.union([z.boolean(), TimeEntries2$inboundSchema]); + +/** @internal */ +export type TimeEntriesActive$Outbound = boolean | string; + +/** @internal */ +export const TimeEntriesActive$outboundSchema: z.ZodType< + TimeEntriesActive$Outbound, + z.ZodTypeDef, + TimeEntriesActive +> = z.union([z.boolean(), TimeEntries2$outboundSchema]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace TimeEntriesActive$ { + /** @deprecated use `TimeEntriesActive$inboundSchema` instead. */ + export const inboundSchema = TimeEntriesActive$inboundSchema; + /** @deprecated use `TimeEntriesActive$outboundSchema` instead. */ + export const outboundSchema = TimeEntriesActive$outboundSchema; + /** @deprecated use `TimeEntriesActive$Outbound` instead. */ + export type Outbound = TimeEntriesActive$Outbound; +} + +export function timeEntriesActiveToJSON( + timeEntriesActive: TimeEntriesActive, +): string { + return JSON.stringify( + TimeEntriesActive$outboundSchema.parse(timeEntriesActive), + ); +} + +export function timeEntriesActiveFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TimeEntriesActive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TimeEntriesActive' from JSON`, + ); +} + +/** @internal */ +export const Location$inboundSchema: z.ZodType< + Location, + z.ZodTypeDef, + unknown +> = z.object({ + active: z.nullable(z.union([z.boolean(), TimeEntries2$inboundSchema])) + .optional(), + id: z.nullable(z.string()).optional(), + name: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), +}).transform((v) => { + return remap$(v, { + "remote_id": "remoteId", + }); +}); + +/** @internal */ +export type Location$Outbound = { + active?: boolean | string | null | undefined; + id?: string | null | undefined; + name?: string | null | undefined; + remote_id?: string | null | undefined; +}; + +/** @internal */ +export const Location$outboundSchema: z.ZodType< + Location$Outbound, + z.ZodTypeDef, + Location +> = z.object({ + active: z.nullable(z.union([z.boolean(), TimeEntries2$outboundSchema])) + .optional(), + id: z.nullable(z.string()).optional(), + name: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), +}).transform((v) => { + return remap$(v, { + remoteId: "remote_id", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Location$ { + /** @deprecated use `Location$inboundSchema` instead. */ + export const inboundSchema = Location$inboundSchema; + /** @deprecated use `Location$outboundSchema` instead. */ + export const outboundSchema = Location$outboundSchema; + /** @deprecated use `Location$Outbound` instead. */ + export type Outbound = Location$Outbound; +} + +export function locationToJSON(location: Location): string { + return JSON.stringify(Location$outboundSchema.parse(location)); +} + +export function locationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Location$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Location' from JSON`, + ); +} + +/** @internal */ +export const TimeEntries4$inboundSchema: z.ZodType< + TimeEntries4, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type TimeEntries4$Outbound = {}; + +/** @internal */ +export const TimeEntries4$outboundSchema: z.ZodType< + TimeEntries4$Outbound, + z.ZodTypeDef, + TimeEntries4 +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace TimeEntries4$ { + /** @deprecated use `TimeEntries4$inboundSchema` instead. */ + export const inboundSchema = TimeEntries4$inboundSchema; + /** @deprecated use `TimeEntries4$outboundSchema` instead. */ + export const outboundSchema = TimeEntries4$outboundSchema; + /** @deprecated use `TimeEntries4$Outbound` instead. */ + export type Outbound = TimeEntries4$Outbound; +} + +export function timeEntries4ToJSON(timeEntries4: TimeEntries4): string { + return JSON.stringify(TimeEntries4$outboundSchema.parse(timeEntries4)); +} + +export function timeEntries4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TimeEntries4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TimeEntries4' from JSON`, + ); +} + +/** @internal */ +export const TimeEntriesSourceValue$inboundSchema: z.ZodType< + TimeEntriesSourceValue, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => TimeEntries4$inboundSchema), + z.string(), + z.number(), + z.boolean(), + z.array(z.any()), +]); + +/** @internal */ +export type TimeEntriesSourceValue$Outbound = + | TimeEntries4$Outbound + | string + | number + | boolean + | Array; + +/** @internal */ +export const TimeEntriesSourceValue$outboundSchema: z.ZodType< + TimeEntriesSourceValue$Outbound, + z.ZodTypeDef, + TimeEntriesSourceValue +> = z.union([ + z.lazy(() => TimeEntries4$outboundSchema), + z.string(), + z.number(), + z.boolean(), + z.array(z.any()), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace TimeEntriesSourceValue$ { + /** @deprecated use `TimeEntriesSourceValue$inboundSchema` instead. */ + export const inboundSchema = TimeEntriesSourceValue$inboundSchema; + /** @deprecated use `TimeEntriesSourceValue$outboundSchema` instead. */ + export const outboundSchema = TimeEntriesSourceValue$outboundSchema; + /** @deprecated use `TimeEntriesSourceValue$Outbound` instead. */ + export type Outbound = TimeEntriesSourceValue$Outbound; +} + +export function timeEntriesSourceValueToJSON( + timeEntriesSourceValue: TimeEntriesSourceValue, +): string { + return JSON.stringify( + TimeEntriesSourceValue$outboundSchema.parse(timeEntriesSourceValue), + ); +} + +export function timeEntriesSourceValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TimeEntriesSourceValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TimeEntriesSourceValue' from JSON`, + ); +} + +/** @internal */ +export const TimeEntriesValue$inboundSchema: z.ZodType< + TimeEntriesValueOpen, + z.ZodTypeDef, + unknown +> = z + .union([ + z.nativeEnum(TimeEntriesValue), + z.string().transform(catchUnrecognizedEnum), + ]); + +/** @internal */ +export const TimeEntriesValue$outboundSchema: z.ZodType< + TimeEntriesValueOpen, + z.ZodTypeDef, + TimeEntriesValueOpen +> = z.union([ + z.nativeEnum(TimeEntriesValue), + z.string().and(z.custom>()), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace TimeEntriesValue$ { + /** @deprecated use `TimeEntriesValue$inboundSchema` instead. */ + export const inboundSchema = TimeEntriesValue$inboundSchema; + /** @deprecated use `TimeEntriesValue$outboundSchema` instead. */ + export const outboundSchema = TimeEntriesValue$outboundSchema; +} + +/** @internal */ +export const TimeEntriesStatus$inboundSchema: z.ZodType< + TimeEntriesStatus, + z.ZodTypeDef, + unknown +> = z.object({ + source_value: z.nullable( + z.union([ + z.lazy(() => TimeEntries4$inboundSchema), + z.string(), + z.number(), + z.boolean(), + z.array(z.any()), + ]), + ).optional(), + value: z.nullable(TimeEntriesValue$inboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + "source_value": "sourceValue", + }); +}); + +/** @internal */ +export type TimeEntriesStatus$Outbound = { + source_value?: + | TimeEntries4$Outbound + | string + | number + | boolean + | Array + | null + | undefined; + value?: string | null | undefined; +}; + +/** @internal */ +export const TimeEntriesStatus$outboundSchema: z.ZodType< + TimeEntriesStatus$Outbound, + z.ZodTypeDef, + TimeEntriesStatus +> = z.object({ + sourceValue: z.nullable( + z.union([ + z.lazy(() => TimeEntries4$outboundSchema), + z.string(), + z.number(), + z.boolean(), + z.array(z.any()), + ]), + ).optional(), + value: z.nullable(TimeEntriesValue$outboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + sourceValue: "source_value", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace TimeEntriesStatus$ { + /** @deprecated use `TimeEntriesStatus$inboundSchema` instead. */ + export const inboundSchema = TimeEntriesStatus$inboundSchema; + /** @deprecated use `TimeEntriesStatus$outboundSchema` instead. */ + export const outboundSchema = TimeEntriesStatus$outboundSchema; + /** @deprecated use `TimeEntriesStatus$Outbound` instead. */ + export type Outbound = TimeEntriesStatus$Outbound; +} + +export function timeEntriesStatusToJSON( + timeEntriesStatus: TimeEntriesStatus, +): string { + return JSON.stringify( + TimeEntriesStatus$outboundSchema.parse(timeEntriesStatus), + ); +} + +export function timeEntriesStatusFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TimeEntriesStatus$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TimeEntriesStatus' from JSON`, + ); +} + +/** @internal */ +export const TimeEntries$inboundSchema: z.ZodType< + TimeEntries, + z.ZodTypeDef, + unknown +> = z.object({ + break_duration: z.nullable(z.number()).optional(), + created_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + employee_id: z.nullable(z.string()).optional(), + end_time: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + hours_worked: z.nullable(z.number()).optional(), + id: z.nullable(z.string()).optional(), + labor_type: z.nullable(z.lazy(() => LaborType$inboundSchema)).optional(), + location: z.nullable(z.lazy(() => Location$inboundSchema)).optional(), + remote_employee_id: z.nullable(z.string()).optional(), + remote_id: z.nullable(z.string()).optional(), + start_time: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + status: z.nullable(z.lazy(() => TimeEntriesStatus$inboundSchema)).optional(), + unified_custom_fields: z.nullable(z.record(z.any())).optional(), + updated_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), +}).transform((v) => { + return remap$(v, { + "break_duration": "breakDuration", + "created_at": "createdAt", + "employee_id": "employeeId", + "end_time": "endTime", + "hours_worked": "hoursWorked", + "labor_type": "laborType", + "remote_employee_id": "remoteEmployeeId", + "remote_id": "remoteId", + "start_time": "startTime", + "unified_custom_fields": "unifiedCustomFields", + "updated_at": "updatedAt", + }); +}); + +/** @internal */ +export type TimeEntries$Outbound = { + break_duration?: number | null | undefined; + created_at?: string | null | undefined; + employee_id?: string | null | undefined; + end_time?: string | null | undefined; + hours_worked?: number | null | undefined; + id?: string | null | undefined; + labor_type?: LaborType$Outbound | null | undefined; + location?: Location$Outbound | null | undefined; + remote_employee_id?: string | null | undefined; + remote_id?: string | null | undefined; + start_time?: string | null | undefined; + status?: TimeEntriesStatus$Outbound | null | undefined; + unified_custom_fields?: { [k: string]: any } | null | undefined; + updated_at?: string | null | undefined; +}; + +/** @internal */ +export const TimeEntries$outboundSchema: z.ZodType< + TimeEntries$Outbound, + z.ZodTypeDef, + TimeEntries +> = z.object({ + breakDuration: z.nullable(z.number()).optional(), + createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), + employeeId: z.nullable(z.string()).optional(), + endTime: z.nullable(z.date().transform(v => v.toISOString())).optional(), + hoursWorked: z.nullable(z.number()).optional(), + id: z.nullable(z.string()).optional(), + laborType: z.nullable(z.lazy(() => LaborType$outboundSchema)).optional(), + location: z.nullable(z.lazy(() => Location$outboundSchema)).optional(), + remoteEmployeeId: z.nullable(z.string()).optional(), + remoteId: z.nullable(z.string()).optional(), + startTime: z.nullable(z.date().transform(v => v.toISOString())).optional(), + status: z.nullable(z.lazy(() => TimeEntriesStatus$outboundSchema)).optional(), + unifiedCustomFields: z.nullable(z.record(z.any())).optional(), + updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(), +}).transform((v) => { + return remap$(v, { + breakDuration: "break_duration", + createdAt: "created_at", + employeeId: "employee_id", + endTime: "end_time", + hoursWorked: "hours_worked", + laborType: "labor_type", + remoteEmployeeId: "remote_employee_id", + remoteId: "remote_id", + startTime: "start_time", + unifiedCustomFields: "unified_custom_fields", + updatedAt: "updated_at", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace TimeEntries$ { + /** @deprecated use `TimeEntries$inboundSchema` instead. */ + export const inboundSchema = TimeEntries$inboundSchema; + /** @deprecated use `TimeEntries$outboundSchema` instead. */ + export const outboundSchema = TimeEntries$outboundSchema; + /** @deprecated use `TimeEntries$Outbound` instead. */ + export type Outbound = TimeEntries$Outbound; +} + +export function timeEntriesToJSON(timeEntries: TimeEntries): string { + return JSON.stringify(TimeEntries$outboundSchema.parse(timeEntries)); +} + +export function timeEntriesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TimeEntries$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TimeEntries' from JSON`, + ); +} diff --git a/src/sdk/models/shared/timeentriespaginated.ts b/src/sdk/models/shared/timeentriespaginated.ts new file mode 100644 index 000000000..483e9c59a --- /dev/null +++ b/src/sdk/models/shared/timeentriespaginated.ts @@ -0,0 +1,102 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../../../lib/primitives.js"; +import { safeParse } from "../../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + RawResponse, + RawResponse$inboundSchema, + RawResponse$Outbound, + RawResponse$outboundSchema, +} from "./rawresponse.js"; +import { + TimeEntries, + TimeEntries$inboundSchema, + TimeEntries$Outbound, + TimeEntries$outboundSchema, +} from "./timeentries.js"; + +export type TimeEntriesPaginated = { + data: Array; + next?: string | null | undefined; + /** + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + nextPage?: string | null | undefined; + raw?: Array | null | undefined; +}; + +/** @internal */ +export const TimeEntriesPaginated$inboundSchema: z.ZodType< + TimeEntriesPaginated, + z.ZodTypeDef, + unknown +> = z.object({ + data: z.array(TimeEntries$inboundSchema), + next: z.nullable(z.string()).optional(), + next_page: z.nullable(z.string()).optional(), + raw: z.nullable(z.array(RawResponse$inboundSchema)).optional(), +}).transform((v) => { + return remap$(v, { + "next_page": "nextPage", + }); +}); + +/** @internal */ +export type TimeEntriesPaginated$Outbound = { + data: Array; + next?: string | null | undefined; + next_page?: string | null | undefined; + raw?: Array | null | undefined; +}; + +/** @internal */ +export const TimeEntriesPaginated$outboundSchema: z.ZodType< + TimeEntriesPaginated$Outbound, + z.ZodTypeDef, + TimeEntriesPaginated +> = z.object({ + data: z.array(TimeEntries$outboundSchema), + next: z.nullable(z.string()).optional(), + nextPage: z.nullable(z.string()).optional(), + raw: z.nullable(z.array(RawResponse$outboundSchema)).optional(), +}).transform((v) => { + return remap$(v, { + nextPage: "next_page", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace TimeEntriesPaginated$ { + /** @deprecated use `TimeEntriesPaginated$inboundSchema` instead. */ + export const inboundSchema = TimeEntriesPaginated$inboundSchema; + /** @deprecated use `TimeEntriesPaginated$outboundSchema` instead. */ + export const outboundSchema = TimeEntriesPaginated$outboundSchema; + /** @deprecated use `TimeEntriesPaginated$Outbound` instead. */ + export type Outbound = TimeEntriesPaginated$Outbound; +} + +export function timeEntriesPaginatedToJSON( + timeEntriesPaginated: TimeEntriesPaginated, +): string { + return JSON.stringify( + TimeEntriesPaginated$outboundSchema.parse(timeEntriesPaginated), + ); +} + +export function timeEntriesPaginatedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TimeEntriesPaginated$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TimeEntriesPaginated' from JSON`, + ); +} diff --git a/src/sdk/models/shared/timeentriesresult.ts b/src/sdk/models/shared/timeentriesresult.ts new file mode 100644 index 000000000..939cdf4fb --- /dev/null +++ b/src/sdk/models/shared/timeentriesresult.ts @@ -0,0 +1,82 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + RawResponse, + RawResponse$inboundSchema, + RawResponse$Outbound, + RawResponse$outboundSchema, +} from "./rawresponse.js"; +import { + TimeEntries, + TimeEntries$inboundSchema, + TimeEntries$Outbound, + TimeEntries$outboundSchema, +} from "./timeentries.js"; + +export type TimeEntriesResult = { + data: TimeEntries; + raw?: Array | null | undefined; +}; + +/** @internal */ +export const TimeEntriesResult$inboundSchema: z.ZodType< + TimeEntriesResult, + z.ZodTypeDef, + unknown +> = z.object({ + data: TimeEntries$inboundSchema, + raw: z.nullable(z.array(RawResponse$inboundSchema)).optional(), +}); + +/** @internal */ +export type TimeEntriesResult$Outbound = { + data: TimeEntries$Outbound; + raw?: Array | null | undefined; +}; + +/** @internal */ +export const TimeEntriesResult$outboundSchema: z.ZodType< + TimeEntriesResult$Outbound, + z.ZodTypeDef, + TimeEntriesResult +> = z.object({ + data: TimeEntries$outboundSchema, + raw: z.nullable(z.array(RawResponse$outboundSchema)).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace TimeEntriesResult$ { + /** @deprecated use `TimeEntriesResult$inboundSchema` instead. */ + export const inboundSchema = TimeEntriesResult$inboundSchema; + /** @deprecated use `TimeEntriesResult$outboundSchema` instead. */ + export const outboundSchema = TimeEntriesResult$outboundSchema; + /** @deprecated use `TimeEntriesResult$Outbound` instead. */ + export type Outbound = TimeEntriesResult$Outbound; +} + +export function timeEntriesResultToJSON( + timeEntriesResult: TimeEntriesResult, +): string { + return JSON.stringify( + TimeEntriesResult$outboundSchema.parse(timeEntriesResult), + ); +} + +export function timeEntriesResultFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TimeEntriesResult$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TimeEntriesResult' from JSON`, + ); +} diff --git a/src/sdk/models/shared/updateemployeeapimodel.ts b/src/sdk/models/shared/updateemployeeapimodel.ts index a3afa1a2c..7851b3b0e 100644 --- a/src/sdk/models/shared/updateemployeeapimodel.ts +++ b/src/sdk/models/shared/updateemployeeapimodel.ts @@ -18,12 +18,6 @@ import { CountryCodeEnum$Outbound, CountryCodeEnum$outboundSchema, } from "./countrycodeenum.js"; -import { - CreateEmploymentApiModel, - CreateEmploymentApiModel$inboundSchema, - CreateEmploymentApiModel$Outbound, - CreateEmploymentApiModel$outboundSchema, -} from "./createemploymentapimodel.js"; import { CreateHRISBenefit, CreateHRISBenefit$inboundSchema, @@ -9370,10 +9364,6 @@ export type UpdateEmployeeApiModel = { * The employee employment type */ employmentType?: UpdateEmployeeApiModelEmploymentType | null | undefined; - /** - * The employee employments - */ - employments?: Array | null | undefined; /** * The employee ethnicity */ @@ -13371,8 +13361,6 @@ export const UpdateEmployeeApiModel$inboundSchema: z.ZodType< employment_type: z.nullable( z.lazy(() => UpdateEmployeeApiModelEmploymentType$inboundSchema), ).optional(), - employments: z.nullable(z.array(CreateEmploymentApiModel$inboundSchema)) - .optional(), ethnicity: z.nullable( z.lazy(() => UpdateEmployeeApiModelEthnicity$inboundSchema), ).optional(), @@ -13475,7 +13463,6 @@ export type UpdateEmployeeApiModel$Outbound = { | UpdateEmployeeApiModelEmploymentType$Outbound | null | undefined; - employments?: Array | null | undefined; ethnicity?: UpdateEmployeeApiModelEthnicity$Outbound | null | undefined; first_name?: string | null | undefined; gender?: UpdateEmployeeApiModelGender$Outbound | null | undefined; @@ -13543,8 +13530,6 @@ export const UpdateEmployeeApiModel$outboundSchema: z.ZodType< employmentType: z.nullable( z.lazy(() => UpdateEmployeeApiModelEmploymentType$outboundSchema), ).optional(), - employments: z.nullable(z.array(CreateEmploymentApiModel$outboundSchema)) - .optional(), ethnicity: z.nullable( z.lazy(() => UpdateEmployeeApiModelEthnicity$outboundSchema), ).optional(), diff --git a/src/sdk/sdk.ts b/src/sdk/sdk.ts index cc95d9f6f..a2b8558b2 100644 --- a/src/sdk/sdk.ts +++ b/src/sdk/sdk.ts @@ -13,7 +13,6 @@ import { Iam } from "./iam.js"; import { Lms } from "./lms.js"; import { Marketing } from "./marketing.js"; import { Proxy } from "./proxy.js"; -import { Webhooks } from "./webhooks.js"; export class StackOne extends ClientSDK { private _accounts?: Accounts; @@ -65,9 +64,4 @@ export class StackOne extends ClientSDK { get proxy(): Proxy { return (this._proxy ??= new Proxy(this._options)); } - - private _webhooks?: Webhooks; - get webhooks(): Webhooks { - return (this._webhooks ??= new Webhooks(this._options)); - } } diff --git a/src/sdk/webhooks.ts b/src/sdk/webhooks.ts deleted file mode 100644 index 3f2eb03ba..000000000 --- a/src/sdk/webhooks.ts +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import { webhooksCreate } from "../funcs/webhooksCreate.js"; -import { ClientSDK, RequestOptions } from "../lib/sdks.js"; -import * as operations from "./models/operations/index.js"; -import { unwrapAsync } from "./types/fp.js"; - -export class Webhooks extends ClientSDK { - async create( - request: operations.CreateRequest, - options?: RequestOptions, - ): Promise { - return unwrapAsync(webhooksCreate( - this, - request, - options, - )); - } -}