@unified-api/typescript-sdk 2.85.39 → 2.85.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -6
- package/dist/{esm/funcs/hrisListHrisTaxonomies.d.ts → commonjs/funcs/crmListCrmTaxonomies.d.ts} +2 -2
- package/dist/commonjs/funcs/crmListCrmTaxonomies.d.ts.map +1 -0
- package/dist/commonjs/funcs/{crmListCrmPicklists.js → crmListCrmTaxonomies.js} +8 -8
- package/dist/commonjs/funcs/crmListCrmTaxonomies.js.map +1 -0
- package/dist/commonjs/funcs/orderCreateAssessmentOrder.d.ts +15 -0
- package/dist/commonjs/funcs/orderCreateAssessmentOrder.d.ts.map +1 -0
- package/dist/commonjs/funcs/orderCreateAssessmentOrder.js +123 -0
- package/dist/commonjs/funcs/orderCreateAssessmentOrder.js.map +1 -0
- package/dist/commonjs/funcs/{crmListCrmPicklists.d.ts → orderGetAssessmentOrder.d.ts} +3 -3
- package/dist/commonjs/funcs/orderGetAssessmentOrder.d.ts.map +1 -0
- package/dist/commonjs/funcs/orderGetAssessmentOrder.js +126 -0
- package/dist/commonjs/funcs/orderGetAssessmentOrder.js.map +1 -0
- package/dist/commonjs/funcs/{hrisGetHrisTaxonomy.d.ts → taxonomyGetHrisTaxonomy.d.ts} +2 -2
- package/dist/commonjs/funcs/taxonomyGetHrisTaxonomy.d.ts.map +1 -0
- package/dist/commonjs/funcs/{hrisGetHrisTaxonomy.js → taxonomyGetHrisTaxonomy.js} +3 -3
- package/dist/commonjs/funcs/taxonomyGetHrisTaxonomy.js.map +1 -0
- package/dist/commonjs/funcs/taxonomyListHrisTaxonomies.d.ts +15 -0
- package/dist/commonjs/funcs/taxonomyListHrisTaxonomies.d.ts.map +1 -0
- package/dist/commonjs/funcs/{hrisListHrisTaxonomies.js → taxonomyListHrisTaxonomies.js} +3 -3
- package/dist/commonjs/funcs/taxonomyListHrisTaxonomies.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/encodings.d.ts +10 -9
- package/dist/commonjs/lib/encodings.d.ts.map +1 -1
- package/dist/commonjs/lib/encodings.js +29 -13
- package/dist/commonjs/lib/encodings.js.map +1 -1
- package/dist/commonjs/sdk/assessment.d.ts +8 -0
- package/dist/commonjs/sdk/assessment.d.ts.map +1 -1
- package/dist/commonjs/sdk/assessment.js +14 -0
- package/dist/commonjs/sdk/assessment.js.map +1 -1
- package/dist/commonjs/sdk/crm.d.ts +4 -4
- package/dist/commonjs/sdk/crm.d.ts.map +1 -1
- package/dist/commonjs/sdk/crm.js +7 -7
- package/dist/commonjs/sdk/crm.js.map +1 -1
- package/dist/commonjs/sdk/hris.js +4 -4
- package/dist/commonjs/sdk/hris.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/createaccountingbill.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/createaccountingbill.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/createaccountingbill.js +1 -0
- package/dist/commonjs/sdk/models/operations/createaccountingbill.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/createaccountinginvoice.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/createaccountinginvoice.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/createaccountinginvoice.js +1 -0
- package/dist/commonjs/sdk/models/operations/createaccountinginvoice.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/createassessmentorder.d.ts +75 -0
- package/dist/commonjs/sdk/models/operations/createassessmentorder.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/createassessmentorder.js +105 -0
- package/dist/commonjs/sdk/models/operations/createassessmentorder.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/createhristimeoff.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/createhristimeoff.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/createhristimeoff.js +1 -0
- package/dist/commonjs/sdk/models/operations/createhristimeoff.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getaccountingbill.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/getaccountingbill.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getaccountingbill.js +1 -0
- package/dist/commonjs/sdk/models/operations/getaccountingbill.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getaccountinginvoice.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/getaccountinginvoice.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getaccountinginvoice.js +1 -0
- package/dist/commonjs/sdk/models/operations/getaccountinginvoice.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getassessmentorder.d.ts +77 -0
- package/dist/commonjs/sdk/models/operations/getassessmentorder.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getassessmentorder.js +102 -0
- package/dist/commonjs/sdk/models/operations/getassessmentorder.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/gethristimeoff.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/gethristimeoff.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/gethristimeoff.js +1 -0
- package/dist/commonjs/sdk/models/operations/gethristimeoff.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/index.d.ts +3 -1
- package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/index.js +3 -1
- package/dist/commonjs/sdk/models/operations/index.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listaccountingbills.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/listaccountingbills.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listaccountingbills.js +1 -0
- package/dist/commonjs/sdk/models/operations/listaccountingbills.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listaccountinginvoices.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/listaccountinginvoices.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listaccountinginvoices.js +1 -0
- package/dist/commonjs/sdk/models/operations/listaccountinginvoices.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/{listcrmpicklists.d.ts → listcrmtaxonomies.d.ts} +9 -9
- package/dist/commonjs/sdk/models/operations/listcrmtaxonomies.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/{listcrmpicklists.js → listcrmtaxonomies.js} +9 -9
- package/dist/commonjs/sdk/models/operations/listcrmtaxonomies.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/listhristimeoffs.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/listhristimeoffs.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listhristimeoffs.js +1 -0
- package/dist/commonjs/sdk/models/operations/listhristimeoffs.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchaccountingbill.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/patchaccountingbill.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchaccountingbill.js +1 -0
- package/dist/commonjs/sdk/models/operations/patchaccountingbill.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchaccountinginvoice.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/patchaccountinginvoice.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchaccountinginvoice.js +1 -0
- package/dist/commonjs/sdk/models/operations/patchaccountinginvoice.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchhristimeoff.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/patchhristimeoff.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchhristimeoff.js +1 -0
- package/dist/commonjs/sdk/models/operations/patchhristimeoff.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/updateaccountingbill.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/updateaccountingbill.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/updateaccountingbill.js +1 -0
- package/dist/commonjs/sdk/models/operations/updateaccountingbill.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/updateaccountinginvoice.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/updateaccountinginvoice.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/updateaccountinginvoice.js +1 -0
- package/dist/commonjs/sdk/models/operations/updateaccountinginvoice.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/updatehristimeoff.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/updatehristimeoff.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/updatehristimeoff.js +1 -0
- package/dist/commonjs/sdk/models/operations/updatehristimeoff.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/accountingbill.d.ts +3 -0
- package/dist/commonjs/sdk/models/shared/accountingbill.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/accountingbill.js +5 -0
- package/dist/commonjs/sdk/models/shared/accountingbill.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/accountingextendednote.d.ts +34 -0
- package/dist/commonjs/sdk/models/shared/accountingextendednote.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/accountingextendednote.js +75 -0
- package/dist/commonjs/sdk/models/shared/accountingextendednote.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/accountinginvoice.d.ts +3 -0
- package/dist/commonjs/sdk/models/shared/accountinginvoice.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/accountinginvoice.js +5 -0
- package/dist/commonjs/sdk/models/shared/accountinginvoice.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/crmtaxonomy.d.ts +23 -0
- package/dist/commonjs/sdk/models/shared/{crmpicklist.d.ts.map → crmtaxonomy.d.ts.map} +1 -1
- package/dist/commonjs/sdk/models/shared/{crmpicklist.js → crmtaxonomy.js} +9 -9
- package/dist/commonjs/sdk/models/shared/{crmpicklist.js.map → crmtaxonomy.js.map} +1 -1
- package/dist/commonjs/sdk/models/shared/hristaxonomy.d.ts +1 -0
- package/dist/commonjs/sdk/models/shared/hristaxonomy.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/hristaxonomy.js +1 -0
- package/dist/commonjs/sdk/models/shared/hristaxonomy.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/hristimeoff.d.ts +2 -0
- package/dist/commonjs/sdk/models/shared/hristimeoff.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/hristimeoff.js +4 -0
- package/dist/commonjs/sdk/models/shared/hristimeoff.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/index.d.ts +3 -1
- package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/index.js +3 -1
- package/dist/commonjs/sdk/models/shared/index.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyaccountingextendednoteuser.d.ts +19 -0
- package/dist/commonjs/sdk/models/shared/propertyaccountingextendednoteuser.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyaccountingextendednoteuser.js +60 -0
- package/dist/commonjs/sdk/models/shared/propertyaccountingextendednoteuser.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.js +1 -1
- package/dist/commonjs/sdk/models/shared/webhook.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/webhook.js +1 -1
- package/dist/commonjs/sdk/order.d.ts +8 -0
- package/dist/commonjs/sdk/order.d.ts.map +1 -1
- package/dist/commonjs/sdk/order.js +14 -0
- package/dist/commonjs/sdk/order.js.map +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +2 -5
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +3 -7
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/taxonomy.d.ts +4 -0
- package/dist/commonjs/sdk/taxonomy.d.ts.map +1 -1
- package/dist/commonjs/sdk/taxonomy.js +11 -4
- package/dist/commonjs/sdk/taxonomy.js.map +1 -1
- package/dist/{commonjs/funcs/hrisListHrisTaxonomies.d.ts → esm/funcs/crmListCrmTaxonomies.d.ts} +2 -2
- package/dist/esm/funcs/crmListCrmTaxonomies.d.ts.map +1 -0
- package/dist/esm/funcs/{crmListCrmPicklists.js → crmListCrmTaxonomies.js} +7 -7
- package/dist/esm/funcs/crmListCrmTaxonomies.js.map +1 -0
- package/dist/esm/funcs/orderCreateAssessmentOrder.d.ts +15 -0
- package/dist/esm/funcs/orderCreateAssessmentOrder.d.ts.map +1 -0
- package/dist/esm/funcs/orderCreateAssessmentOrder.js +87 -0
- package/dist/esm/funcs/orderCreateAssessmentOrder.js.map +1 -0
- package/dist/esm/funcs/{crmListCrmPicklists.d.ts → orderGetAssessmentOrder.d.ts} +3 -3
- package/dist/esm/funcs/orderGetAssessmentOrder.d.ts.map +1 -0
- package/dist/esm/funcs/orderGetAssessmentOrder.js +90 -0
- package/dist/esm/funcs/orderGetAssessmentOrder.js.map +1 -0
- package/dist/esm/funcs/{hrisGetHrisTaxonomy.d.ts → taxonomyGetHrisTaxonomy.d.ts} +2 -2
- package/dist/esm/funcs/taxonomyGetHrisTaxonomy.d.ts.map +1 -0
- package/dist/esm/funcs/{hrisGetHrisTaxonomy.js → taxonomyGetHrisTaxonomy.js} +2 -2
- package/dist/esm/funcs/taxonomyGetHrisTaxonomy.js.map +1 -0
- package/dist/esm/funcs/taxonomyListHrisTaxonomies.d.ts +15 -0
- package/dist/esm/funcs/taxonomyListHrisTaxonomies.d.ts.map +1 -0
- package/dist/esm/funcs/{hrisListHrisTaxonomies.js → taxonomyListHrisTaxonomies.js} +2 -2
- package/dist/esm/funcs/taxonomyListHrisTaxonomies.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/encodings.d.ts +10 -9
- package/dist/esm/lib/encodings.d.ts.map +1 -1
- package/dist/esm/lib/encodings.js +29 -13
- package/dist/esm/lib/encodings.js.map +1 -1
- package/dist/esm/sdk/assessment.d.ts +8 -0
- package/dist/esm/sdk/assessment.d.ts.map +1 -1
- package/dist/esm/sdk/assessment.js +14 -0
- package/dist/esm/sdk/assessment.js.map +1 -1
- package/dist/esm/sdk/crm.d.ts +4 -4
- package/dist/esm/sdk/crm.d.ts.map +1 -1
- package/dist/esm/sdk/crm.js +7 -7
- package/dist/esm/sdk/crm.js.map +1 -1
- package/dist/esm/sdk/hris.js +4 -4
- package/dist/esm/sdk/hris.js.map +1 -1
- package/dist/esm/sdk/models/operations/createaccountingbill.d.ts +1 -0
- package/dist/esm/sdk/models/operations/createaccountingbill.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/createaccountingbill.js +1 -0
- package/dist/esm/sdk/models/operations/createaccountingbill.js.map +1 -1
- package/dist/esm/sdk/models/operations/createaccountinginvoice.d.ts +1 -0
- package/dist/esm/sdk/models/operations/createaccountinginvoice.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/createaccountinginvoice.js +1 -0
- package/dist/esm/sdk/models/operations/createaccountinginvoice.js.map +1 -1
- package/dist/esm/sdk/models/operations/createassessmentorder.d.ts +75 -0
- package/dist/esm/sdk/models/operations/createassessmentorder.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/createassessmentorder.js +68 -0
- package/dist/esm/sdk/models/operations/createassessmentorder.js.map +1 -0
- package/dist/esm/sdk/models/operations/createhristimeoff.d.ts +1 -0
- package/dist/esm/sdk/models/operations/createhristimeoff.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/createhristimeoff.js +1 -0
- package/dist/esm/sdk/models/operations/createhristimeoff.js.map +1 -1
- package/dist/esm/sdk/models/operations/getaccountingbill.d.ts +1 -0
- package/dist/esm/sdk/models/operations/getaccountingbill.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getaccountingbill.js +1 -0
- package/dist/esm/sdk/models/operations/getaccountingbill.js.map +1 -1
- package/dist/esm/sdk/models/operations/getaccountinginvoice.d.ts +1 -0
- package/dist/esm/sdk/models/operations/getaccountinginvoice.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getaccountinginvoice.js +1 -0
- package/dist/esm/sdk/models/operations/getaccountinginvoice.js.map +1 -1
- package/dist/esm/sdk/models/operations/getassessmentorder.d.ts +77 -0
- package/dist/esm/sdk/models/operations/getassessmentorder.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getassessmentorder.js +65 -0
- package/dist/esm/sdk/models/operations/getassessmentorder.js.map +1 -0
- package/dist/esm/sdk/models/operations/gethristimeoff.d.ts +1 -0
- package/dist/esm/sdk/models/operations/gethristimeoff.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/gethristimeoff.js +1 -0
- package/dist/esm/sdk/models/operations/gethristimeoff.js.map +1 -1
- package/dist/esm/sdk/models/operations/index.d.ts +3 -1
- package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/index.js +3 -1
- package/dist/esm/sdk/models/operations/index.js.map +1 -1
- package/dist/esm/sdk/models/operations/listaccountingbills.d.ts +1 -0
- package/dist/esm/sdk/models/operations/listaccountingbills.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listaccountingbills.js +1 -0
- package/dist/esm/sdk/models/operations/listaccountingbills.js.map +1 -1
- package/dist/esm/sdk/models/operations/listaccountinginvoices.d.ts +1 -0
- package/dist/esm/sdk/models/operations/listaccountinginvoices.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listaccountinginvoices.js +1 -0
- package/dist/esm/sdk/models/operations/listaccountinginvoices.js.map +1 -1
- package/dist/esm/sdk/models/operations/{listcrmpicklists.d.ts → listcrmtaxonomies.d.ts} +9 -9
- package/dist/esm/sdk/models/operations/listcrmtaxonomies.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/{listcrmpicklists.js → listcrmtaxonomies.js} +7 -7
- package/dist/esm/sdk/models/operations/listcrmtaxonomies.js.map +1 -0
- package/dist/esm/sdk/models/operations/listhristimeoffs.d.ts +1 -0
- package/dist/esm/sdk/models/operations/listhristimeoffs.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listhristimeoffs.js +1 -0
- package/dist/esm/sdk/models/operations/listhristimeoffs.js.map +1 -1
- package/dist/esm/sdk/models/operations/patchaccountingbill.d.ts +1 -0
- package/dist/esm/sdk/models/operations/patchaccountingbill.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/patchaccountingbill.js +1 -0
- package/dist/esm/sdk/models/operations/patchaccountingbill.js.map +1 -1
- package/dist/esm/sdk/models/operations/patchaccountinginvoice.d.ts +1 -0
- package/dist/esm/sdk/models/operations/patchaccountinginvoice.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/patchaccountinginvoice.js +1 -0
- package/dist/esm/sdk/models/operations/patchaccountinginvoice.js.map +1 -1
- package/dist/esm/sdk/models/operations/patchhristimeoff.d.ts +1 -0
- package/dist/esm/sdk/models/operations/patchhristimeoff.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/patchhristimeoff.js +1 -0
- package/dist/esm/sdk/models/operations/patchhristimeoff.js.map +1 -1
- package/dist/esm/sdk/models/operations/updateaccountingbill.d.ts +1 -0
- package/dist/esm/sdk/models/operations/updateaccountingbill.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/updateaccountingbill.js +1 -0
- package/dist/esm/sdk/models/operations/updateaccountingbill.js.map +1 -1
- package/dist/esm/sdk/models/operations/updateaccountinginvoice.d.ts +1 -0
- package/dist/esm/sdk/models/operations/updateaccountinginvoice.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/updateaccountinginvoice.js +1 -0
- package/dist/esm/sdk/models/operations/updateaccountinginvoice.js.map +1 -1
- package/dist/esm/sdk/models/operations/updatehristimeoff.d.ts +1 -0
- package/dist/esm/sdk/models/operations/updatehristimeoff.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/updatehristimeoff.js +1 -0
- package/dist/esm/sdk/models/operations/updatehristimeoff.js.map +1 -1
- package/dist/esm/sdk/models/shared/accountingbill.d.ts +3 -0
- package/dist/esm/sdk/models/shared/accountingbill.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/accountingbill.js +5 -0
- package/dist/esm/sdk/models/shared/accountingbill.js.map +1 -1
- package/dist/esm/sdk/models/shared/accountingextendednote.d.ts +34 -0
- package/dist/esm/sdk/models/shared/accountingextendednote.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/accountingextendednote.js +37 -0
- package/dist/esm/sdk/models/shared/accountingextendednote.js.map +1 -0
- package/dist/esm/sdk/models/shared/accountinginvoice.d.ts +3 -0
- package/dist/esm/sdk/models/shared/accountinginvoice.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/accountinginvoice.js +5 -0
- package/dist/esm/sdk/models/shared/accountinginvoice.js.map +1 -1
- package/dist/esm/sdk/models/shared/crmtaxonomy.d.ts +23 -0
- package/dist/esm/sdk/models/shared/{crmpicklist.d.ts.map → crmtaxonomy.d.ts.map} +1 -1
- package/dist/esm/sdk/models/shared/crmtaxonomy.js +23 -0
- package/dist/esm/sdk/models/shared/{crmpicklist.js.map → crmtaxonomy.js.map} +1 -1
- package/dist/esm/sdk/models/shared/hristaxonomy.d.ts +1 -0
- package/dist/esm/sdk/models/shared/hristaxonomy.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/hristaxonomy.js +1 -0
- package/dist/esm/sdk/models/shared/hristaxonomy.js.map +1 -1
- package/dist/esm/sdk/models/shared/hristimeoff.d.ts +2 -0
- package/dist/esm/sdk/models/shared/hristimeoff.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/hristimeoff.js +4 -0
- package/dist/esm/sdk/models/shared/hristimeoff.js.map +1 -1
- package/dist/esm/sdk/models/shared/index.d.ts +3 -1
- package/dist/esm/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/index.js +3 -1
- package/dist/esm/sdk/models/shared/index.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyaccountingextendednoteuser.d.ts +19 -0
- package/dist/esm/sdk/models/shared/propertyaccountingextendednoteuser.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertyaccountingextendednoteuser.js +22 -0
- package/dist/esm/sdk/models/shared/propertyaccountingextendednoteuser.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.d.ts +1 -1
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.js +1 -1
- package/dist/esm/sdk/models/shared/webhook.d.ts +1 -1
- package/dist/esm/sdk/models/shared/webhook.js +1 -1
- package/dist/esm/sdk/order.d.ts +8 -0
- package/dist/esm/sdk/order.d.ts.map +1 -1
- package/dist/esm/sdk/order.js +14 -0
- package/dist/esm/sdk/order.js.map +1 -1
- package/dist/esm/sdk/sdk.d.ts +2 -5
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +3 -7
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/taxonomy.d.ts +4 -0
- package/dist/esm/sdk/taxonomy.d.ts.map +1 -1
- package/dist/esm/sdk/taxonomy.js +11 -4
- package/dist/esm/sdk/taxonomy.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/{crmListCrmPicklists.ts → crmListCrmTaxonomies.ts} +11 -11
- package/src/funcs/orderCreateAssessmentOrder.ts +172 -0
- package/src/funcs/orderGetAssessmentOrder.ts +174 -0
- package/src/funcs/{hrisGetHrisTaxonomy.ts → taxonomyGetHrisTaxonomy.ts} +1 -1
- package/src/funcs/{hrisListHrisTaxonomies.ts → taxonomyListHrisTaxonomies.ts} +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +58 -23
- package/src/sdk/assessment.ts +30 -0
- package/src/sdk/crm.ts +11 -11
- package/src/sdk/hris.ts +4 -4
- package/src/sdk/models/operations/createaccountingbill.ts +1 -0
- package/src/sdk/models/operations/createaccountinginvoice.ts +1 -0
- package/src/sdk/models/operations/createassessmentorder.ts +113 -0
- package/src/sdk/models/operations/createhristimeoff.ts +1 -0
- package/src/sdk/models/operations/getaccountingbill.ts +1 -0
- package/src/sdk/models/operations/getaccountinginvoice.ts +1 -0
- package/src/sdk/models/operations/getassessmentorder.ts +110 -0
- package/src/sdk/models/operations/gethristimeoff.ts +1 -0
- package/src/sdk/models/operations/index.ts +3 -1
- package/src/sdk/models/operations/listaccountingbills.ts +1 -0
- package/src/sdk/models/operations/listaccountinginvoices.ts +1 -0
- package/src/sdk/models/operations/{listcrmpicklists.ts → listcrmtaxonomies.ts} +16 -16
- package/src/sdk/models/operations/listhristimeoffs.ts +1 -0
- package/src/sdk/models/operations/patchaccountingbill.ts +1 -0
- package/src/sdk/models/operations/patchaccountinginvoice.ts +1 -0
- package/src/sdk/models/operations/patchhristimeoff.ts +1 -0
- package/src/sdk/models/operations/updateaccountingbill.ts +1 -0
- package/src/sdk/models/operations/updateaccountinginvoice.ts +1 -0
- package/src/sdk/models/operations/updatehristimeoff.ts +1 -0
- package/src/sdk/models/shared/accountingbill.ts +12 -0
- package/src/sdk/models/shared/accountingextendednote.ts +91 -0
- package/src/sdk/models/shared/accountinginvoice.ts +12 -0
- package/src/sdk/models/shared/{crmpicklist.ts → crmtaxonomy.ts} +14 -14
- package/src/sdk/models/shared/hristaxonomy.ts +1 -0
- package/src/sdk/models/shared/hristimeoff.ts +6 -0
- package/src/sdk/models/shared/index.ts +3 -1
- package/src/sdk/models/shared/propertyaccountingextendednoteuser.ts +58 -0
- package/src/sdk/models/shared/propertyconnectionpermissions.ts +1 -1
- package/src/sdk/models/shared/webhook.ts +1 -1
- package/src/sdk/order.ts +30 -0
- package/src/sdk/sdk.ts +5 -11
- package/src/sdk/taxonomy.ts +19 -4
- package/dist/commonjs/funcs/crmListCrmPicklists.d.ts.map +0 -1
- package/dist/commonjs/funcs/crmListCrmPicklists.js.map +0 -1
- package/dist/commonjs/funcs/hrisGetHrisTaxonomy.d.ts.map +0 -1
- package/dist/commonjs/funcs/hrisGetHrisTaxonomy.js.map +0 -1
- package/dist/commonjs/funcs/hrisListHrisTaxonomies.d.ts.map +0 -1
- package/dist/commonjs/funcs/hrisListHrisTaxonomies.js.map +0 -1
- package/dist/commonjs/sdk/models/operations/listcrmpicklists.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/operations/listcrmpicklists.js.map +0 -1
- package/dist/commonjs/sdk/models/shared/crmpicklist.d.ts +0 -23
- package/dist/commonjs/sdk/picklist.d.ts +0 -10
- package/dist/commonjs/sdk/picklist.d.ts.map +0 -1
- package/dist/commonjs/sdk/picklist.js +0 -19
- package/dist/commonjs/sdk/picklist.js.map +0 -1
- package/dist/esm/funcs/crmListCrmPicklists.d.ts.map +0 -1
- package/dist/esm/funcs/crmListCrmPicklists.js.map +0 -1
- package/dist/esm/funcs/hrisGetHrisTaxonomy.d.ts.map +0 -1
- package/dist/esm/funcs/hrisGetHrisTaxonomy.js.map +0 -1
- package/dist/esm/funcs/hrisListHrisTaxonomies.d.ts.map +0 -1
- package/dist/esm/funcs/hrisListHrisTaxonomies.js.map +0 -1
- package/dist/esm/sdk/models/operations/listcrmpicklists.d.ts.map +0 -1
- package/dist/esm/sdk/models/operations/listcrmpicklists.js.map +0 -1
- package/dist/esm/sdk/models/shared/crmpicklist.d.ts +0 -23
- package/dist/esm/sdk/models/shared/crmpicklist.js +0 -23
- package/dist/esm/sdk/picklist.d.ts +0 -10
- package/dist/esm/sdk/picklist.d.ts.map +0 -1
- package/dist/esm/sdk/picklist.js +0 -15
- package/dist/esm/sdk/picklist.js.map +0 -1
- package/src/sdk/picklist.ts +0 -25
package/src/lib/config.ts
CHANGED
|
@@ -73,8 +73,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
73
73
|
export const SDK_METADATA = {
|
|
74
74
|
language: "typescript",
|
|
75
75
|
openapiDocVersion: "1.0",
|
|
76
|
-
sdkVersion: "2.85.
|
|
77
|
-
genVersion: "2.
|
|
76
|
+
sdkVersion: "2.85.41",
|
|
77
|
+
genVersion: "2.933.0",
|
|
78
78
|
userAgent:
|
|
79
|
-
"speakeasy-sdk/typescript 2.85.
|
|
79
|
+
"speakeasy-sdk/typescript 2.85.41 2.933.0 1.0 @unified-api/typescript-sdk",
|
|
80
80
|
} as const;
|
package/src/lib/encodings.ts
CHANGED
|
@@ -12,10 +12,41 @@ export class EncodingError extends Error {
|
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
export type CharEncoding = "percent" | "percentExceptReserved" | "none";
|
|
16
|
+
|
|
17
|
+
const reservedEscapes = /%(2[346bcf]|3[abdf]|40|5[bd])/gi;
|
|
18
|
+
|
|
19
|
+
function encodeKeyChars(
|
|
20
|
+
v: string,
|
|
21
|
+
charEncoding: CharEncoding | undefined,
|
|
22
|
+
): string {
|
|
23
|
+
return encodeChars(
|
|
24
|
+
v,
|
|
25
|
+
charEncoding === "percentExceptReserved" ? "percent" : charEncoding,
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
function encodeChars(
|
|
30
|
+
v: string,
|
|
31
|
+
charEncoding: CharEncoding | undefined,
|
|
32
|
+
): string {
|
|
33
|
+
switch (charEncoding) {
|
|
34
|
+
case "percent":
|
|
35
|
+
return encodeURIComponent(v);
|
|
36
|
+
case "percentExceptReserved":
|
|
37
|
+
return encodeURIComponent(v).replace(
|
|
38
|
+
reservedEscapes,
|
|
39
|
+
(m) => decodeURIComponent(m),
|
|
40
|
+
);
|
|
41
|
+
default:
|
|
42
|
+
return v;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
15
46
|
export function encodeMatrix(
|
|
16
47
|
key: string,
|
|
17
48
|
value: unknown,
|
|
18
|
-
options?: { explode?: boolean; charEncoding?:
|
|
49
|
+
options?: { explode?: boolean; charEncoding?: CharEncoding },
|
|
19
50
|
): string | undefined {
|
|
20
51
|
let out = "";
|
|
21
52
|
const pairs: [string, unknown][] = options?.explode
|
|
@@ -27,7 +58,7 @@ export function encodeMatrix(
|
|
|
27
58
|
}
|
|
28
59
|
|
|
29
60
|
const encodeString = (v: string) => {
|
|
30
|
-
return options?.charEncoding
|
|
61
|
+
return encodeChars(v, options?.charEncoding);
|
|
31
62
|
};
|
|
32
63
|
const encodeValue = (v: unknown) => encodeString(serializeValue(v));
|
|
33
64
|
|
|
@@ -52,7 +83,7 @@ export function encodeMatrix(
|
|
|
52
83
|
return;
|
|
53
84
|
}
|
|
54
85
|
|
|
55
|
-
const keyPrefix =
|
|
86
|
+
const keyPrefix = encodeKeyChars(pk, options?.charEncoding);
|
|
56
87
|
tmp = `${keyPrefix}=${encValue}`;
|
|
57
88
|
// trim trailing '=' if value was empty
|
|
58
89
|
if (tmp === `${keyPrefix}=`) {
|
|
@@ -73,7 +104,7 @@ export function encodeMatrix(
|
|
|
73
104
|
export function encodeLabel(
|
|
74
105
|
key: string,
|
|
75
106
|
value: unknown,
|
|
76
|
-
options?: { explode?: boolean; charEncoding?:
|
|
107
|
+
options?: { explode?: boolean; charEncoding?: CharEncoding },
|
|
77
108
|
): string | undefined {
|
|
78
109
|
let out = "";
|
|
79
110
|
const pairs: [string, unknown][] = options?.explode
|
|
@@ -85,7 +116,7 @@ export function encodeLabel(
|
|
|
85
116
|
}
|
|
86
117
|
|
|
87
118
|
const encodeString = (v: string) => {
|
|
88
|
-
return options?.charEncoding
|
|
119
|
+
return encodeChars(v, options?.charEncoding);
|
|
89
120
|
};
|
|
90
121
|
const encodeValue = (v: unknown) => encodeString(serializeValue(v));
|
|
91
122
|
|
|
@@ -103,7 +134,7 @@ export function encodeLabel(
|
|
|
103
134
|
encValue = mapped?.join("").slice(1);
|
|
104
135
|
} else {
|
|
105
136
|
const k = options?.explode && isPlainObject(value)
|
|
106
|
-
? `${
|
|
137
|
+
? `${encodeKeyChars(pk, options?.charEncoding)}=`
|
|
107
138
|
: "";
|
|
108
139
|
encValue = `${k}${encodeValue(pv)}`;
|
|
109
140
|
}
|
|
@@ -117,14 +148,14 @@ export function encodeLabel(
|
|
|
117
148
|
type FormEncoder = (
|
|
118
149
|
key: string,
|
|
119
150
|
value: unknown,
|
|
120
|
-
options?: { explode?: boolean; charEncoding?:
|
|
151
|
+
options?: { explode?: boolean; charEncoding?: CharEncoding },
|
|
121
152
|
) => string | undefined;
|
|
122
153
|
|
|
123
154
|
function formEncoder(sep: string): FormEncoder {
|
|
124
155
|
return (
|
|
125
156
|
key: string,
|
|
126
157
|
value: unknown,
|
|
127
|
-
options?: { explode?: boolean; charEncoding?:
|
|
158
|
+
options?: { explode?: boolean; charEncoding?: CharEncoding },
|
|
128
159
|
) => {
|
|
129
160
|
let out = "";
|
|
130
161
|
const pairs: [string, unknown][] = options?.explode
|
|
@@ -136,7 +167,7 @@ function formEncoder(sep: string): FormEncoder {
|
|
|
136
167
|
}
|
|
137
168
|
|
|
138
169
|
const encodeString = (v: string) => {
|
|
139
|
-
return options?.charEncoding
|
|
170
|
+
return encodeChars(v, options?.charEncoding);
|
|
140
171
|
};
|
|
141
172
|
|
|
142
173
|
const encodeValue = (v: unknown) => encodeString(serializeValue(v));
|
|
@@ -163,7 +194,7 @@ function formEncoder(sep: string): FormEncoder {
|
|
|
163
194
|
return;
|
|
164
195
|
}
|
|
165
196
|
|
|
166
|
-
tmp = `${
|
|
197
|
+
tmp = `${encodeKeyChars(pk, options?.charEncoding)}=${encValue}`;
|
|
167
198
|
|
|
168
199
|
// If we end up with the nothing then skip forward
|
|
169
200
|
if (!tmp || tmp === "=") {
|
|
@@ -184,7 +215,7 @@ export const encodePipeDelimited = formEncoder("|");
|
|
|
184
215
|
export function encodeBodyForm(
|
|
185
216
|
key: string,
|
|
186
217
|
value: unknown,
|
|
187
|
-
options?: { explode?: boolean; charEncoding?:
|
|
218
|
+
options?: { explode?: boolean; charEncoding?: CharEncoding },
|
|
188
219
|
): string {
|
|
189
220
|
let out = "";
|
|
190
221
|
const pairs: [string, unknown][] = options?.explode
|
|
@@ -192,7 +223,7 @@ export function encodeBodyForm(
|
|
|
192
223
|
: [[key, value]];
|
|
193
224
|
|
|
194
225
|
const encodeString = (v: string) => {
|
|
195
|
-
return options?.charEncoding
|
|
226
|
+
return encodeChars(v, options?.charEncoding);
|
|
196
227
|
};
|
|
197
228
|
|
|
198
229
|
const encodeValue = (v: unknown) => encodeString(serializeValue(v));
|
|
@@ -211,7 +242,7 @@ export function encodeBodyForm(
|
|
|
211
242
|
encValue = `${encodeValue(pv)}`;
|
|
212
243
|
}
|
|
213
244
|
|
|
214
|
-
tmp = `${
|
|
245
|
+
tmp = `${encodeKeyChars(pk, options?.charEncoding)}=${encValue}`;
|
|
215
246
|
|
|
216
247
|
// If we end up with the nothing then skip forward
|
|
217
248
|
if (!tmp || tmp === "=") {
|
|
@@ -227,7 +258,7 @@ export function encodeBodyForm(
|
|
|
227
258
|
export function encodeDeepObject(
|
|
228
259
|
key: string,
|
|
229
260
|
value: unknown,
|
|
230
|
-
options?: { charEncoding?:
|
|
261
|
+
options?: { charEncoding?: CharEncoding },
|
|
231
262
|
): string | undefined {
|
|
232
263
|
if (value == null) {
|
|
233
264
|
return;
|
|
@@ -245,7 +276,7 @@ export function encodeDeepObject(
|
|
|
245
276
|
export function encodeDeepObjectObject(
|
|
246
277
|
key: string,
|
|
247
278
|
value: unknown,
|
|
248
|
-
options?: { charEncoding?:
|
|
279
|
+
options?: { charEncoding?: CharEncoding },
|
|
249
280
|
): string | undefined {
|
|
250
281
|
if (value == null) {
|
|
251
282
|
return;
|
|
@@ -254,7 +285,7 @@ export function encodeDeepObjectObject(
|
|
|
254
285
|
let out = "";
|
|
255
286
|
|
|
256
287
|
const encodeString = (v: string) => {
|
|
257
|
-
return options?.charEncoding
|
|
288
|
+
return encodeChars(v, options?.charEncoding);
|
|
258
289
|
};
|
|
259
290
|
|
|
260
291
|
if (!isPlainObject(value)) {
|
|
@@ -278,7 +309,9 @@ export function encodeDeepObjectObject(
|
|
|
278
309
|
|
|
279
310
|
const pairs: unknown[] = Array.isArray(cv) ? cv : [cv];
|
|
280
311
|
const encoded = mapDefined(pairs, (v) => {
|
|
281
|
-
return `${
|
|
312
|
+
return `${encodeKeyChars(pk, options?.charEncoding)}=${
|
|
313
|
+
encodeString(serializeValue(v))
|
|
314
|
+
}`;
|
|
282
315
|
})?.join("&");
|
|
283
316
|
|
|
284
317
|
out += encoded == null ? "" : `&${encoded}`;
|
|
@@ -290,25 +323,27 @@ export function encodeDeepObjectObject(
|
|
|
290
323
|
export function encodeJSON(
|
|
291
324
|
key: string,
|
|
292
325
|
value: unknown,
|
|
293
|
-
options?: { explode?: boolean; charEncoding?:
|
|
326
|
+
options?: { explode?: boolean; charEncoding?: CharEncoding },
|
|
294
327
|
): string | undefined {
|
|
295
328
|
if (typeof value === "undefined") {
|
|
296
329
|
return;
|
|
297
330
|
}
|
|
298
331
|
|
|
299
332
|
const encodeString = (v: string) => {
|
|
300
|
-
return options?.charEncoding
|
|
333
|
+
return encodeChars(v, options?.charEncoding);
|
|
301
334
|
};
|
|
302
335
|
|
|
303
336
|
const encVal = encodeString(JSON.stringify(value, jsonReplacer));
|
|
304
337
|
|
|
305
|
-
return options?.explode
|
|
338
|
+
return options?.explode
|
|
339
|
+
? encVal
|
|
340
|
+
: `${encodeKeyChars(key, options?.charEncoding)}=${encVal}`;
|
|
306
341
|
}
|
|
307
342
|
|
|
308
343
|
export const encodeSimple = (
|
|
309
344
|
key: string,
|
|
310
345
|
value: unknown,
|
|
311
|
-
options?: { explode?: boolean; charEncoding?:
|
|
346
|
+
options?: { explode?: boolean; charEncoding?: CharEncoding },
|
|
312
347
|
): string | undefined => {
|
|
313
348
|
let out = "";
|
|
314
349
|
const pairs: [string, unknown][] = options?.explode
|
|
@@ -320,7 +355,7 @@ export const encodeSimple = (
|
|
|
320
355
|
}
|
|
321
356
|
|
|
322
357
|
const encodeString = (v: string) => {
|
|
323
|
-
return options?.charEncoding
|
|
358
|
+
return encodeChars(v, options?.charEncoding);
|
|
324
359
|
};
|
|
325
360
|
const encodeValue = (v: unknown) => encodeString(serializeValue(v));
|
|
326
361
|
|
|
@@ -426,7 +461,7 @@ export function queryJoin(...args: (string | undefined)[]): string {
|
|
|
426
461
|
|
|
427
462
|
type QueryEncoderOptions = {
|
|
428
463
|
explode?: boolean;
|
|
429
|
-
charEncoding?:
|
|
464
|
+
charEncoding?: CharEncoding;
|
|
430
465
|
allowEmptyValue?: string[];
|
|
431
466
|
};
|
|
432
467
|
|
package/src/sdk/assessment.ts
CHANGED
|
@@ -8,6 +8,8 @@ import { assessmentListAssessmentPackages } from "../funcs/assessmentListAssessm
|
|
|
8
8
|
import { assessmentPatchAssessmentPackage } from "../funcs/assessmentPatchAssessmentPackage.js";
|
|
9
9
|
import { assessmentRemoveAssessmentPackage } from "../funcs/assessmentRemoveAssessmentPackage.js";
|
|
10
10
|
import { assessmentUpdateAssessmentPackage } from "../funcs/assessmentUpdateAssessmentPackage.js";
|
|
11
|
+
import { orderCreateAssessmentOrder } from "../funcs/orderCreateAssessmentOrder.js";
|
|
12
|
+
import { orderGetAssessmentOrder } from "../funcs/orderGetAssessmentOrder.js";
|
|
11
13
|
import { orderPatchAssessmentOrder } from "../funcs/orderPatchAssessmentOrder.js";
|
|
12
14
|
import { orderUpdateAssessmentOrder } from "../funcs/orderUpdateAssessmentOrder.js";
|
|
13
15
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
@@ -16,6 +18,20 @@ import * as shared from "./models/shared/index.js";
|
|
|
16
18
|
import { unwrapAsync } from "./types/fp.js";
|
|
17
19
|
|
|
18
20
|
export class Assessment extends ClientSDK {
|
|
21
|
+
/**
|
|
22
|
+
* Create an order
|
|
23
|
+
*/
|
|
24
|
+
async createAssessmentOrder(
|
|
25
|
+
request: operations.CreateAssessmentOrderRequest,
|
|
26
|
+
options?: RequestOptions,
|
|
27
|
+
): Promise<shared.AssessmentOrder> {
|
|
28
|
+
return unwrapAsync(orderCreateAssessmentOrder(
|
|
29
|
+
this,
|
|
30
|
+
request,
|
|
31
|
+
options,
|
|
32
|
+
));
|
|
33
|
+
}
|
|
34
|
+
|
|
19
35
|
/**
|
|
20
36
|
* Create an assessment package
|
|
21
37
|
*/
|
|
@@ -30,6 +46,20 @@ export class Assessment extends ClientSDK {
|
|
|
30
46
|
));
|
|
31
47
|
}
|
|
32
48
|
|
|
49
|
+
/**
|
|
50
|
+
* Retrieve an order
|
|
51
|
+
*/
|
|
52
|
+
async getAssessmentOrder(
|
|
53
|
+
request: operations.GetAssessmentOrderRequest,
|
|
54
|
+
options?: RequestOptions,
|
|
55
|
+
): Promise<shared.AssessmentOrder> {
|
|
56
|
+
return unwrapAsync(orderGetAssessmentOrder(
|
|
57
|
+
this,
|
|
58
|
+
request,
|
|
59
|
+
options,
|
|
60
|
+
));
|
|
61
|
+
}
|
|
62
|
+
|
|
33
63
|
/**
|
|
34
64
|
* Get an assessment package
|
|
35
65
|
*/
|
package/src/sdk/crm.ts
CHANGED
|
@@ -22,8 +22,8 @@ import { crmGetCrmLead } from "../funcs/crmGetCrmLead.js";
|
|
|
22
22
|
import { crmGetCrmPipeline } from "../funcs/crmGetCrmPipeline.js";
|
|
23
23
|
import { crmListCrmDeals } from "../funcs/crmListCrmDeals.js";
|
|
24
24
|
import { crmListCrmLeads } from "../funcs/crmListCrmLeads.js";
|
|
25
|
-
import { crmListCrmPicklists } from "../funcs/crmListCrmPicklists.js";
|
|
26
25
|
import { crmListCrmPipelines } from "../funcs/crmListCrmPipelines.js";
|
|
26
|
+
import { crmListCrmTaxonomies } from "../funcs/crmListCrmTaxonomies.js";
|
|
27
27
|
import { crmPatchCrmDeal } from "../funcs/crmPatchCrmDeal.js";
|
|
28
28
|
import { crmPatchCrmLead } from "../funcs/crmPatchCrmLead.js";
|
|
29
29
|
import { crmPatchCrmPipeline } from "../funcs/crmPatchCrmPipeline.js";
|
|
@@ -284,13 +284,13 @@ export class Crm extends ClientSDK {
|
|
|
284
284
|
}
|
|
285
285
|
|
|
286
286
|
/**
|
|
287
|
-
* List all
|
|
287
|
+
* List all pipelines
|
|
288
288
|
*/
|
|
289
|
-
async
|
|
290
|
-
request: operations.
|
|
289
|
+
async listCrmPipelines(
|
|
290
|
+
request: operations.ListCrmPipelinesRequest,
|
|
291
291
|
options?: RequestOptions,
|
|
292
|
-
): Promise<Array<shared.
|
|
293
|
-
return unwrapAsync(
|
|
292
|
+
): Promise<Array<shared.CrmPipeline>> {
|
|
293
|
+
return unwrapAsync(crmListCrmPipelines(
|
|
294
294
|
this,
|
|
295
295
|
request,
|
|
296
296
|
options,
|
|
@@ -298,13 +298,13 @@ export class Crm extends ClientSDK {
|
|
|
298
298
|
}
|
|
299
299
|
|
|
300
300
|
/**
|
|
301
|
-
* List all
|
|
301
|
+
* List all taxonomies
|
|
302
302
|
*/
|
|
303
|
-
async
|
|
304
|
-
request: operations.
|
|
303
|
+
async listCrmTaxonomies(
|
|
304
|
+
request: operations.ListCrmTaxonomiesRequest,
|
|
305
305
|
options?: RequestOptions,
|
|
306
|
-
): Promise<Array<shared.
|
|
307
|
-
return unwrapAsync(
|
|
306
|
+
): Promise<Array<shared.CrmTaxonomy>> {
|
|
307
|
+
return unwrapAsync(crmListCrmTaxonomies(
|
|
308
308
|
this,
|
|
309
309
|
request,
|
|
310
310
|
options,
|
package/src/sdk/hris.ts
CHANGED
|
@@ -35,7 +35,6 @@ import { hrisGetHrisDeduction } from "../funcs/hrisGetHrisDeduction.js";
|
|
|
35
35
|
import { hrisGetHrisDevice } from "../funcs/hrisGetHrisDevice.js";
|
|
36
36
|
import { hrisGetHrisEmployee } from "../funcs/hrisGetHrisEmployee.js";
|
|
37
37
|
import { hrisGetHrisPayslip } from "../funcs/hrisGetHrisPayslip.js";
|
|
38
|
-
import { hrisGetHrisTaxonomy } from "../funcs/hrisGetHrisTaxonomy.js";
|
|
39
38
|
import { hrisGetHrisTimeoff } from "../funcs/hrisGetHrisTimeoff.js";
|
|
40
39
|
import { hrisGetHrisTimeshift } from "../funcs/hrisGetHrisTimeshift.js";
|
|
41
40
|
import { hrisListHrisAttendances } from "../funcs/hrisListHrisAttendances.js";
|
|
@@ -45,7 +44,6 @@ import { hrisListHrisDeductions } from "../funcs/hrisListHrisDeductions.js";
|
|
|
45
44
|
import { hrisListHrisDevices } from "../funcs/hrisListHrisDevices.js";
|
|
46
45
|
import { hrisListHrisEmployees } from "../funcs/hrisListHrisEmployees.js";
|
|
47
46
|
import { hrisListHrisPayslips } from "../funcs/hrisListHrisPayslips.js";
|
|
48
|
-
import { hrisListHrisTaxonomies } from "../funcs/hrisListHrisTaxonomies.js";
|
|
49
47
|
import { hrisListHrisTimeoffs } from "../funcs/hrisListHrisTimeoffs.js";
|
|
50
48
|
import { hrisListHrisTimeshifts } from "../funcs/hrisListHrisTimeshifts.js";
|
|
51
49
|
import { hrisPatchHrisAttendance } from "../funcs/hrisPatchHrisAttendance.js";
|
|
@@ -78,6 +76,8 @@ import { locationListHrisLocations } from "../funcs/locationListHrisLocations.js
|
|
|
78
76
|
import { locationPatchHrisLocation } from "../funcs/locationPatchHrisLocation.js";
|
|
79
77
|
import { locationRemoveHrisLocation } from "../funcs/locationRemoveHrisLocation.js";
|
|
80
78
|
import { locationUpdateHrisLocation } from "../funcs/locationUpdateHrisLocation.js";
|
|
79
|
+
import { taxonomyGetHrisTaxonomy } from "../funcs/taxonomyGetHrisTaxonomy.js";
|
|
80
|
+
import { taxonomyListHrisTaxonomies } from "../funcs/taxonomyListHrisTaxonomies.js";
|
|
81
81
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
82
82
|
import * as operations from "./models/operations/index.js";
|
|
83
83
|
import * as shared from "./models/shared/index.js";
|
|
@@ -413,7 +413,7 @@ export class Hris extends ClientSDK {
|
|
|
413
413
|
request: operations.GetHrisTaxonomyRequest,
|
|
414
414
|
options?: RequestOptions,
|
|
415
415
|
): Promise<shared.HrisTaxonomy> {
|
|
416
|
-
return unwrapAsync(
|
|
416
|
+
return unwrapAsync(taxonomyGetHrisTaxonomy(
|
|
417
417
|
this,
|
|
418
418
|
request,
|
|
419
419
|
options,
|
|
@@ -609,7 +609,7 @@ export class Hris extends ClientSDK {
|
|
|
609
609
|
request: operations.ListHrisTaxonomiesRequest,
|
|
610
610
|
options?: RequestOptions,
|
|
611
611
|
): Promise<Array<shared.HrisTaxonomy>> {
|
|
612
|
-
return unwrapAsync(
|
|
612
|
+
return unwrapAsync(taxonomyListHrisTaxonomies(
|
|
613
613
|
this,
|
|
614
614
|
request,
|
|
615
615
|
options,
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import * as shared from "../shared/index.js";
|
|
9
|
+
|
|
10
|
+
export const CreateAssessmentOrderQueryParamFields = {
|
|
11
|
+
Id: "id",
|
|
12
|
+
CreatedAt: "created_at",
|
|
13
|
+
UpdatedAt: "updated_at",
|
|
14
|
+
WorkspaceId: "workspace_id",
|
|
15
|
+
ConnectionId: "connection_id",
|
|
16
|
+
WebhookId: "webhook_id",
|
|
17
|
+
PackageId: "package_id",
|
|
18
|
+
Parameters: "parameters",
|
|
19
|
+
TargetUrl: "target_url",
|
|
20
|
+
Status: "status",
|
|
21
|
+
Reference: "reference",
|
|
22
|
+
ApplicationId: "application_id",
|
|
23
|
+
JobId: "job_id",
|
|
24
|
+
CompanyId: "company_id",
|
|
25
|
+
CandidateId: "candidate_id",
|
|
26
|
+
EmployeeId: "employee_id",
|
|
27
|
+
ProfileName: "profile_name",
|
|
28
|
+
ProfileFirstName: "profile_first_name",
|
|
29
|
+
ProfileLastName: "profile_last_name",
|
|
30
|
+
ProfileResumeUrl: "profile_resume_url",
|
|
31
|
+
ProfileIpAddress: "profile_ip_address",
|
|
32
|
+
ProfileDateOfBirth: "profile_date_of_birth",
|
|
33
|
+
ProfileAddresses: "profile_addresses",
|
|
34
|
+
ProfileGender: "profile_gender",
|
|
35
|
+
ProfileEmails: "profile_emails",
|
|
36
|
+
ProfileTelephones: "profile_telephones",
|
|
37
|
+
ProfileNationalIdentifier: "profile_national_identifier",
|
|
38
|
+
ProfileSocialMediaUrls: "profile_social_media_urls",
|
|
39
|
+
ResponseCompletedAt: "response_completed_at",
|
|
40
|
+
ResponseExpiresAt: "response_expires_at",
|
|
41
|
+
ResponseIssuedAt: "response_issued_at",
|
|
42
|
+
ResponseStatus: "response_status",
|
|
43
|
+
ResponseScore: "response_score",
|
|
44
|
+
ResponseMaxScore: "response_max_score",
|
|
45
|
+
ResponseUrl: "response_url",
|
|
46
|
+
ResponseRedirectUrl: "response_redirect_url",
|
|
47
|
+
ResponseDownloadUrls: "response_download_urls",
|
|
48
|
+
ResponseDetails: "response_details",
|
|
49
|
+
ResponseSource: "response_source",
|
|
50
|
+
ResponseAttributes: "response_attributes",
|
|
51
|
+
Raw: "raw",
|
|
52
|
+
} as const;
|
|
53
|
+
export type CreateAssessmentOrderQueryParamFields = ClosedEnum<
|
|
54
|
+
typeof CreateAssessmentOrderQueryParamFields
|
|
55
|
+
>;
|
|
56
|
+
|
|
57
|
+
export type CreateAssessmentOrderRequest = {
|
|
58
|
+
assessmentOrder: shared.AssessmentOrder;
|
|
59
|
+
/**
|
|
60
|
+
* ID of the connection
|
|
61
|
+
*/
|
|
62
|
+
connectionId: string;
|
|
63
|
+
/**
|
|
64
|
+
* Fields to return
|
|
65
|
+
*/
|
|
66
|
+
fields?: Array<CreateAssessmentOrderQueryParamFields> | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
|
|
69
|
+
*/
|
|
70
|
+
raw?: string | undefined;
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
/** @internal */
|
|
74
|
+
export const CreateAssessmentOrderQueryParamFields$outboundSchema:
|
|
75
|
+
z.ZodNativeEnum<typeof CreateAssessmentOrderQueryParamFields> = z.nativeEnum(
|
|
76
|
+
CreateAssessmentOrderQueryParamFields,
|
|
77
|
+
);
|
|
78
|
+
|
|
79
|
+
/** @internal */
|
|
80
|
+
export type CreateAssessmentOrderRequest$Outbound = {
|
|
81
|
+
AssessmentOrder: shared.AssessmentOrder$Outbound;
|
|
82
|
+
connection_id: string;
|
|
83
|
+
fields?: Array<string> | undefined;
|
|
84
|
+
raw?: string | undefined;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
/** @internal */
|
|
88
|
+
export const CreateAssessmentOrderRequest$outboundSchema: z.ZodType<
|
|
89
|
+
CreateAssessmentOrderRequest$Outbound,
|
|
90
|
+
z.ZodTypeDef,
|
|
91
|
+
CreateAssessmentOrderRequest
|
|
92
|
+
> = z.object({
|
|
93
|
+
assessmentOrder: shared.AssessmentOrder$outboundSchema,
|
|
94
|
+
connectionId: z.string(),
|
|
95
|
+
fields: z.array(CreateAssessmentOrderQueryParamFields$outboundSchema)
|
|
96
|
+
.optional(),
|
|
97
|
+
raw: z.string().optional(),
|
|
98
|
+
}).transform((v) => {
|
|
99
|
+
return remap$(v, {
|
|
100
|
+
assessmentOrder: "AssessmentOrder",
|
|
101
|
+
connectionId: "connection_id",
|
|
102
|
+
});
|
|
103
|
+
});
|
|
104
|
+
|
|
105
|
+
export function createAssessmentOrderRequestToJSON(
|
|
106
|
+
createAssessmentOrderRequest: CreateAssessmentOrderRequest,
|
|
107
|
+
): string {
|
|
108
|
+
return JSON.stringify(
|
|
109
|
+
CreateAssessmentOrderRequest$outboundSchema.parse(
|
|
110
|
+
createAssessmentOrderRequest,
|
|
111
|
+
),
|
|
112
|
+
);
|
|
113
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
|
|
9
|
+
export const GetAssessmentOrderQueryParamFields = {
|
|
10
|
+
Id: "id",
|
|
11
|
+
CreatedAt: "created_at",
|
|
12
|
+
UpdatedAt: "updated_at",
|
|
13
|
+
WorkspaceId: "workspace_id",
|
|
14
|
+
ConnectionId: "connection_id",
|
|
15
|
+
WebhookId: "webhook_id",
|
|
16
|
+
PackageId: "package_id",
|
|
17
|
+
Parameters: "parameters",
|
|
18
|
+
TargetUrl: "target_url",
|
|
19
|
+
Status: "status",
|
|
20
|
+
Reference: "reference",
|
|
21
|
+
ApplicationId: "application_id",
|
|
22
|
+
JobId: "job_id",
|
|
23
|
+
CompanyId: "company_id",
|
|
24
|
+
CandidateId: "candidate_id",
|
|
25
|
+
EmployeeId: "employee_id",
|
|
26
|
+
ProfileName: "profile_name",
|
|
27
|
+
ProfileFirstName: "profile_first_name",
|
|
28
|
+
ProfileLastName: "profile_last_name",
|
|
29
|
+
ProfileResumeUrl: "profile_resume_url",
|
|
30
|
+
ProfileIpAddress: "profile_ip_address",
|
|
31
|
+
ProfileDateOfBirth: "profile_date_of_birth",
|
|
32
|
+
ProfileAddresses: "profile_addresses",
|
|
33
|
+
ProfileGender: "profile_gender",
|
|
34
|
+
ProfileEmails: "profile_emails",
|
|
35
|
+
ProfileTelephones: "profile_telephones",
|
|
36
|
+
ProfileNationalIdentifier: "profile_national_identifier",
|
|
37
|
+
ProfileSocialMediaUrls: "profile_social_media_urls",
|
|
38
|
+
ResponseCompletedAt: "response_completed_at",
|
|
39
|
+
ResponseExpiresAt: "response_expires_at",
|
|
40
|
+
ResponseIssuedAt: "response_issued_at",
|
|
41
|
+
ResponseStatus: "response_status",
|
|
42
|
+
ResponseScore: "response_score",
|
|
43
|
+
ResponseMaxScore: "response_max_score",
|
|
44
|
+
ResponseUrl: "response_url",
|
|
45
|
+
ResponseRedirectUrl: "response_redirect_url",
|
|
46
|
+
ResponseDownloadUrls: "response_download_urls",
|
|
47
|
+
ResponseDetails: "response_details",
|
|
48
|
+
ResponseSource: "response_source",
|
|
49
|
+
ResponseAttributes: "response_attributes",
|
|
50
|
+
Raw: "raw",
|
|
51
|
+
} as const;
|
|
52
|
+
export type GetAssessmentOrderQueryParamFields = ClosedEnum<
|
|
53
|
+
typeof GetAssessmentOrderQueryParamFields
|
|
54
|
+
>;
|
|
55
|
+
|
|
56
|
+
export type GetAssessmentOrderRequest = {
|
|
57
|
+
/**
|
|
58
|
+
* ID of the connection
|
|
59
|
+
*/
|
|
60
|
+
connectionId: string;
|
|
61
|
+
/**
|
|
62
|
+
* Fields to return
|
|
63
|
+
*/
|
|
64
|
+
fields?: Array<GetAssessmentOrderQueryParamFields> | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* ID of the Order
|
|
67
|
+
*/
|
|
68
|
+
id: string;
|
|
69
|
+
/**
|
|
70
|
+
* Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
|
|
71
|
+
*/
|
|
72
|
+
raw?: string | undefined;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
/** @internal */
|
|
76
|
+
export const GetAssessmentOrderQueryParamFields$outboundSchema: z.ZodNativeEnum<
|
|
77
|
+
typeof GetAssessmentOrderQueryParamFields
|
|
78
|
+
> = z.nativeEnum(GetAssessmentOrderQueryParamFields);
|
|
79
|
+
|
|
80
|
+
/** @internal */
|
|
81
|
+
export type GetAssessmentOrderRequest$Outbound = {
|
|
82
|
+
connection_id: string;
|
|
83
|
+
fields?: Array<string> | undefined;
|
|
84
|
+
id: string;
|
|
85
|
+
raw?: string | undefined;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
/** @internal */
|
|
89
|
+
export const GetAssessmentOrderRequest$outboundSchema: z.ZodType<
|
|
90
|
+
GetAssessmentOrderRequest$Outbound,
|
|
91
|
+
z.ZodTypeDef,
|
|
92
|
+
GetAssessmentOrderRequest
|
|
93
|
+
> = z.object({
|
|
94
|
+
connectionId: z.string(),
|
|
95
|
+
fields: z.array(GetAssessmentOrderQueryParamFields$outboundSchema).optional(),
|
|
96
|
+
id: z.string(),
|
|
97
|
+
raw: z.string().optional(),
|
|
98
|
+
}).transform((v) => {
|
|
99
|
+
return remap$(v, {
|
|
100
|
+
connectionId: "connection_id",
|
|
101
|
+
});
|
|
102
|
+
});
|
|
103
|
+
|
|
104
|
+
export function getAssessmentOrderRequestToJSON(
|
|
105
|
+
getAssessmentOrderRequest: GetAssessmentOrderRequest,
|
|
106
|
+
): string {
|
|
107
|
+
return JSON.stringify(
|
|
108
|
+
GetAssessmentOrderRequest$outboundSchema.parse(getAssessmentOrderRequest),
|
|
109
|
+
);
|
|
110
|
+
}
|