@unified-api/typescript-sdk 2.85.39 → 2.85.40
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 +6 -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/{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/{esm/funcs/crmListCrmPicklists.d.ts → commonjs/funcs/taxonomyListHrisTaxonomies.d.ts} +3 -3
- 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 +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- 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/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/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 +1 -1
- package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/index.js +1 -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/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/{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 +2 -2
- package/dist/esm/lib/config.js +2 -2
- 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/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/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 +1 -1
- package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/index.js +1 -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/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/{hrisGetHrisTaxonomy.ts → taxonomyGetHrisTaxonomy.ts} +1 -1
- package/src/funcs/{hrisListHrisTaxonomies.ts → taxonomyListHrisTaxonomies.ts} +1 -1
- package/src/lib/config.ts +2 -2
- 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/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/gethristimeoff.ts +1 -0
- package/src/sdk/models/operations/index.ts +1 -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/sdk.ts +5 -11
- package/src/sdk/taxonomy.ts +19 -4
- package/dist/commonjs/funcs/crmListCrmPicklists.d.ts +0 -15
- 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/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,
|
|
@@ -380,8 +380,8 @@ export * from "./listcrmcontacts.js";
|
|
|
380
380
|
export * from "./listcrmdeals.js";
|
|
381
381
|
export * from "./listcrmevents.js";
|
|
382
382
|
export * from "./listcrmleads.js";
|
|
383
|
-
export * from "./listcrmpicklists.js";
|
|
384
383
|
export * from "./listcrmpipelines.js";
|
|
384
|
+
export * from "./listcrmtaxonomies.js";
|
|
385
385
|
export * from "./listdatastoredatabases.js";
|
|
386
386
|
export * from "./listdatastorerecords.js";
|
|
387
387
|
export * from "./listdatastoretables.js";
|
|
@@ -6,18 +6,18 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
7
|
import { ClosedEnum } from "../../types/enums.js";
|
|
8
8
|
|
|
9
|
-
export const
|
|
9
|
+
export const ListCrmTaxonomiesQueryParamFields = {
|
|
10
10
|
Id: "id",
|
|
11
11
|
Name: "name",
|
|
12
12
|
Label: "label",
|
|
13
13
|
Type: "type",
|
|
14
14
|
Raw: "raw",
|
|
15
15
|
} as const;
|
|
16
|
-
export type
|
|
17
|
-
typeof
|
|
16
|
+
export type ListCrmTaxonomiesQueryParamFields = ClosedEnum<
|
|
17
|
+
typeof ListCrmTaxonomiesQueryParamFields
|
|
18
18
|
>;
|
|
19
19
|
|
|
20
|
-
export type
|
|
20
|
+
export type ListCrmTaxonomiesRequest = {
|
|
21
21
|
/**
|
|
22
22
|
* ID of the connection
|
|
23
23
|
*/
|
|
@@ -25,7 +25,7 @@ export type ListCrmPicklistsRequest = {
|
|
|
25
25
|
/**
|
|
26
26
|
* Fields to return
|
|
27
27
|
*/
|
|
28
|
-
fields?: Array<
|
|
28
|
+
fields?: Array<ListCrmTaxonomiesQueryParamFields> | undefined;
|
|
29
29
|
limit?: number | undefined;
|
|
30
30
|
offset?: number | undefined;
|
|
31
31
|
order?: string | undefined;
|
|
@@ -46,12 +46,12 @@ export type ListCrmPicklistsRequest = {
|
|
|
46
46
|
};
|
|
47
47
|
|
|
48
48
|
/** @internal */
|
|
49
|
-
export const
|
|
50
|
-
typeof
|
|
51
|
-
> = z.nativeEnum(
|
|
49
|
+
export const ListCrmTaxonomiesQueryParamFields$outboundSchema: z.ZodNativeEnum<
|
|
50
|
+
typeof ListCrmTaxonomiesQueryParamFields
|
|
51
|
+
> = z.nativeEnum(ListCrmTaxonomiesQueryParamFields);
|
|
52
52
|
|
|
53
53
|
/** @internal */
|
|
54
|
-
export type
|
|
54
|
+
export type ListCrmTaxonomiesRequest$Outbound = {
|
|
55
55
|
connection_id: string;
|
|
56
56
|
fields?: Array<string> | undefined;
|
|
57
57
|
limit?: number | undefined;
|
|
@@ -65,13 +65,13 @@ export type ListCrmPicklistsRequest$Outbound = {
|
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
/** @internal */
|
|
68
|
-
export const
|
|
69
|
-
|
|
68
|
+
export const ListCrmTaxonomiesRequest$outboundSchema: z.ZodType<
|
|
69
|
+
ListCrmTaxonomiesRequest$Outbound,
|
|
70
70
|
z.ZodTypeDef,
|
|
71
|
-
|
|
71
|
+
ListCrmTaxonomiesRequest
|
|
72
72
|
> = z.object({
|
|
73
73
|
connectionId: z.string(),
|
|
74
|
-
fields: z.array(
|
|
74
|
+
fields: z.array(ListCrmTaxonomiesQueryParamFields$outboundSchema).optional(),
|
|
75
75
|
limit: z.number().optional(),
|
|
76
76
|
offset: z.number().optional(),
|
|
77
77
|
order: z.string().optional(),
|
|
@@ -87,10 +87,10 @@ export const ListCrmPicklistsRequest$outboundSchema: z.ZodType<
|
|
|
87
87
|
});
|
|
88
88
|
});
|
|
89
89
|
|
|
90
|
-
export function
|
|
91
|
-
|
|
90
|
+
export function listCrmTaxonomiesRequestToJSON(
|
|
91
|
+
listCrmTaxonomiesRequest: ListCrmTaxonomiesRequest,
|
|
92
92
|
): string {
|
|
93
93
|
return JSON.stringify(
|
|
94
|
-
|
|
94
|
+
ListCrmTaxonomiesRequest$outboundSchema.parse(listCrmTaxonomiesRequest),
|
|
95
95
|
);
|
|
96
96
|
}
|
|
@@ -15,6 +15,12 @@ import {
|
|
|
15
15
|
AccountingAttachment$Outbound,
|
|
16
16
|
AccountingAttachment$outboundSchema,
|
|
17
17
|
} from "./accountingattachment.js";
|
|
18
|
+
import {
|
|
19
|
+
AccountingExtendedNote,
|
|
20
|
+
AccountingExtendedNote$inboundSchema,
|
|
21
|
+
AccountingExtendedNote$Outbound,
|
|
22
|
+
AccountingExtendedNote$outboundSchema,
|
|
23
|
+
} from "./accountingextendednote.js";
|
|
18
24
|
import {
|
|
19
25
|
AccountingLineitem,
|
|
20
26
|
AccountingLineitem$inboundSchema,
|
|
@@ -95,6 +101,7 @@ export type AccountingBill = {
|
|
|
95
101
|
currency?: string | undefined;
|
|
96
102
|
discountAmount?: number | undefined;
|
|
97
103
|
dueAt?: Date | undefined;
|
|
104
|
+
extendedNotes?: Array<AccountingExtendedNote> | undefined;
|
|
98
105
|
id?: string | undefined;
|
|
99
106
|
lineitems?: Array<AccountingLineitem> | undefined;
|
|
100
107
|
metadata?: Array<AccountingMetadata> | undefined;
|
|
@@ -190,6 +197,7 @@ export const AccountingBill$inboundSchema: z.ZodType<
|
|
|
190
197
|
discount_amount: z.number().optional(),
|
|
191
198
|
due_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
192
199
|
.optional(),
|
|
200
|
+
extended_notes: z.array(AccountingExtendedNote$inboundSchema).optional(),
|
|
193
201
|
id: z.string().optional(),
|
|
194
202
|
lineitems: z.array(AccountingLineitem$inboundSchema).optional(),
|
|
195
203
|
metadata: z.array(AccountingMetadata$inboundSchema).optional(),
|
|
@@ -228,6 +236,7 @@ export const AccountingBill$inboundSchema: z.ZodType<
|
|
|
228
236
|
"created_at": "createdAt",
|
|
229
237
|
"discount_amount": "discountAmount",
|
|
230
238
|
"due_at": "dueAt",
|
|
239
|
+
"extended_notes": "extendedNotes",
|
|
231
240
|
"organization_id": "organizationId",
|
|
232
241
|
"paid_amount": "paidAmount",
|
|
233
242
|
"paid_at": "paidAt",
|
|
@@ -256,6 +265,7 @@ export type AccountingBill$Outbound = {
|
|
|
256
265
|
currency?: string | undefined;
|
|
257
266
|
discount_amount?: number | undefined;
|
|
258
267
|
due_at?: string | undefined;
|
|
268
|
+
extended_notes?: Array<AccountingExtendedNote$Outbound> | undefined;
|
|
259
269
|
id?: string | undefined;
|
|
260
270
|
lineitems?: Array<AccountingLineitem$Outbound> | undefined;
|
|
261
271
|
metadata?: Array<AccountingMetadata$Outbound> | undefined;
|
|
@@ -298,6 +308,7 @@ export const AccountingBill$outboundSchema: z.ZodType<
|
|
|
298
308
|
currency: z.string().optional(),
|
|
299
309
|
discountAmount: z.number().optional(),
|
|
300
310
|
dueAt: z.date().transform(v => v.toISOString()).optional(),
|
|
311
|
+
extendedNotes: z.array(AccountingExtendedNote$outboundSchema).optional(),
|
|
301
312
|
id: z.string().optional(),
|
|
302
313
|
lineitems: z.array(AccountingLineitem$outboundSchema).optional(),
|
|
303
314
|
metadata: z.array(AccountingMetadata$outboundSchema).optional(),
|
|
@@ -332,6 +343,7 @@ export const AccountingBill$outboundSchema: z.ZodType<
|
|
|
332
343
|
createdAt: "created_at",
|
|
333
344
|
discountAmount: "discount_amount",
|
|
334
345
|
dueAt: "due_at",
|
|
346
|
+
extendedNotes: "extended_notes",
|
|
335
347
|
organizationId: "organization_id",
|
|
336
348
|
paidAmount: "paid_amount",
|
|
337
349
|
paidAt: "paid_at",
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
7
|
+
import * as openEnums from "../../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
import {
|
|
12
|
+
PropertyAccountingExtendedNoteUser,
|
|
13
|
+
PropertyAccountingExtendedNoteUser$inboundSchema,
|
|
14
|
+
PropertyAccountingExtendedNoteUser$Outbound,
|
|
15
|
+
PropertyAccountingExtendedNoteUser$outboundSchema,
|
|
16
|
+
} from "./propertyaccountingextendednoteuser.js";
|
|
17
|
+
|
|
18
|
+
export const Visibility = {
|
|
19
|
+
Public: "PUBLIC",
|
|
20
|
+
Private: "PRIVATE",
|
|
21
|
+
} as const;
|
|
22
|
+
export type Visibility = OpenEnum<typeof Visibility>;
|
|
23
|
+
|
|
24
|
+
export type AccountingExtendedNote = {
|
|
25
|
+
date?: Date | undefined;
|
|
26
|
+
note?: string | undefined;
|
|
27
|
+
user?: PropertyAccountingExtendedNoteUser | undefined;
|
|
28
|
+
visibility?: Visibility | undefined;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const Visibility$inboundSchema: z.ZodType<
|
|
33
|
+
Visibility,
|
|
34
|
+
z.ZodTypeDef,
|
|
35
|
+
unknown
|
|
36
|
+
> = openEnums.inboundSchema(Visibility);
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const Visibility$outboundSchema: z.ZodType<
|
|
39
|
+
string,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
Visibility
|
|
42
|
+
> = openEnums.outboundSchema(Visibility);
|
|
43
|
+
|
|
44
|
+
/** @internal */
|
|
45
|
+
export const AccountingExtendedNote$inboundSchema: z.ZodType<
|
|
46
|
+
AccountingExtendedNote,
|
|
47
|
+
z.ZodTypeDef,
|
|
48
|
+
unknown
|
|
49
|
+
> = z.object({
|
|
50
|
+
date: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
51
|
+
.optional(),
|
|
52
|
+
note: z.string().optional(),
|
|
53
|
+
user: PropertyAccountingExtendedNoteUser$inboundSchema.optional(),
|
|
54
|
+
visibility: Visibility$inboundSchema.optional(),
|
|
55
|
+
});
|
|
56
|
+
/** @internal */
|
|
57
|
+
export type AccountingExtendedNote$Outbound = {
|
|
58
|
+
date?: string | undefined;
|
|
59
|
+
note?: string | undefined;
|
|
60
|
+
user?: PropertyAccountingExtendedNoteUser$Outbound | undefined;
|
|
61
|
+
visibility?: string | undefined;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
/** @internal */
|
|
65
|
+
export const AccountingExtendedNote$outboundSchema: z.ZodType<
|
|
66
|
+
AccountingExtendedNote$Outbound,
|
|
67
|
+
z.ZodTypeDef,
|
|
68
|
+
AccountingExtendedNote
|
|
69
|
+
> = z.object({
|
|
70
|
+
date: z.date().transform(v => v.toISOString()).optional(),
|
|
71
|
+
note: z.string().optional(),
|
|
72
|
+
user: PropertyAccountingExtendedNoteUser$outboundSchema.optional(),
|
|
73
|
+
visibility: Visibility$outboundSchema.optional(),
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
export function accountingExtendedNoteToJSON(
|
|
77
|
+
accountingExtendedNote: AccountingExtendedNote,
|
|
78
|
+
): string {
|
|
79
|
+
return JSON.stringify(
|
|
80
|
+
AccountingExtendedNote$outboundSchema.parse(accountingExtendedNote),
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
export function accountingExtendedNoteFromJSON(
|
|
84
|
+
jsonString: string,
|
|
85
|
+
): SafeParseResult<AccountingExtendedNote, SDKValidationError> {
|
|
86
|
+
return safeParse(
|
|
87
|
+
jsonString,
|
|
88
|
+
(x) => AccountingExtendedNote$inboundSchema.parse(JSON.parse(x)),
|
|
89
|
+
`Failed to parse 'AccountingExtendedNote' from JSON`,
|
|
90
|
+
);
|
|
91
|
+
}
|
|
@@ -15,6 +15,12 @@ import {
|
|
|
15
15
|
AccountingAttachment$Outbound,
|
|
16
16
|
AccountingAttachment$outboundSchema,
|
|
17
17
|
} from "./accountingattachment.js";
|
|
18
|
+
import {
|
|
19
|
+
AccountingExtendedNote,
|
|
20
|
+
AccountingExtendedNote$inboundSchema,
|
|
21
|
+
AccountingExtendedNote$Outbound,
|
|
22
|
+
AccountingExtendedNote$outboundSchema,
|
|
23
|
+
} from "./accountingextendednote.js";
|
|
18
24
|
import {
|
|
19
25
|
AccountingLineitem,
|
|
20
26
|
AccountingLineitem$inboundSchema,
|
|
@@ -105,6 +111,7 @@ export type AccountingInvoice = {
|
|
|
105
111
|
currency?: string | undefined;
|
|
106
112
|
discountAmount?: number | undefined;
|
|
107
113
|
dueAt?: Date | undefined;
|
|
114
|
+
extendedNotes?: Array<AccountingExtendedNote> | undefined;
|
|
108
115
|
id?: string | undefined;
|
|
109
116
|
invoiceNumber?: string | undefined;
|
|
110
117
|
lineitems?: Array<AccountingLineitem> | undefined;
|
|
@@ -223,6 +230,7 @@ export const AccountingInvoice$inboundSchema: z.ZodType<
|
|
|
223
230
|
discount_amount: z.number().optional(),
|
|
224
231
|
due_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
225
232
|
.optional(),
|
|
233
|
+
extended_notes: z.array(AccountingExtendedNote$inboundSchema).optional(),
|
|
226
234
|
id: z.string().optional(),
|
|
227
235
|
invoice_number: z.string().optional(),
|
|
228
236
|
lineitems: z.array(AccountingLineitem$inboundSchema).optional(),
|
|
@@ -264,6 +272,7 @@ export const AccountingInvoice$inboundSchema: z.ZodType<
|
|
|
264
272
|
"created_at": "createdAt",
|
|
265
273
|
"discount_amount": "discountAmount",
|
|
266
274
|
"due_at": "dueAt",
|
|
275
|
+
"extended_notes": "extendedNotes",
|
|
267
276
|
"invoice_number": "invoiceNumber",
|
|
268
277
|
"organization_id": "organizationId",
|
|
269
278
|
"paid_amount": "paidAmount",
|
|
@@ -292,6 +301,7 @@ export type AccountingInvoice$Outbound = {
|
|
|
292
301
|
currency?: string | undefined;
|
|
293
302
|
discount_amount?: number | undefined;
|
|
294
303
|
due_at?: string | undefined;
|
|
304
|
+
extended_notes?: Array<AccountingExtendedNote$Outbound> | undefined;
|
|
295
305
|
id?: string | undefined;
|
|
296
306
|
invoice_number?: string | undefined;
|
|
297
307
|
lineitems?: Array<AccountingLineitem$Outbound> | undefined;
|
|
@@ -336,6 +346,7 @@ export const AccountingInvoice$outboundSchema: z.ZodType<
|
|
|
336
346
|
currency: z.string().optional(),
|
|
337
347
|
discountAmount: z.number().optional(),
|
|
338
348
|
dueAt: z.date().transform(v => v.toISOString()).optional(),
|
|
349
|
+
extendedNotes: z.array(AccountingExtendedNote$outboundSchema).optional(),
|
|
339
350
|
id: z.string().optional(),
|
|
340
351
|
invoiceNumber: z.string().optional(),
|
|
341
352
|
lineitems: z.array(AccountingLineitem$outboundSchema).optional(),
|
|
@@ -373,6 +384,7 @@ export const AccountingInvoice$outboundSchema: z.ZodType<
|
|
|
373
384
|
createdAt: "created_at",
|
|
374
385
|
discountAmount: "discount_amount",
|
|
375
386
|
dueAt: "due_at",
|
|
387
|
+
extendedNotes: "extended_notes",
|
|
376
388
|
invoiceNumber: "invoice_number",
|
|
377
389
|
organizationId: "organization_id",
|
|
378
390
|
paidAmount: "paid_amount",
|
|
@@ -9,29 +9,29 @@ import { OpenEnum } from "../../types/enums.js";
|
|
|
9
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export const
|
|
12
|
+
export const CrmTaxonomyType = {
|
|
13
13
|
Industry: "INDUSTRY",
|
|
14
14
|
} as const;
|
|
15
|
-
export type
|
|
15
|
+
export type CrmTaxonomyType = OpenEnum<typeof CrmTaxonomyType>;
|
|
16
16
|
|
|
17
|
-
export type
|
|
17
|
+
export type CrmTaxonomy = {
|
|
18
18
|
id: string;
|
|
19
19
|
label?: string | undefined;
|
|
20
20
|
name?: string | undefined;
|
|
21
21
|
raw?: { [k: string]: any } | undefined;
|
|
22
|
-
type?:
|
|
22
|
+
type?: CrmTaxonomyType | undefined;
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
/** @internal */
|
|
26
|
-
export const
|
|
27
|
-
|
|
26
|
+
export const CrmTaxonomyType$inboundSchema: z.ZodType<
|
|
27
|
+
CrmTaxonomyType,
|
|
28
28
|
z.ZodTypeDef,
|
|
29
29
|
unknown
|
|
30
|
-
> = openEnums.inboundSchema(
|
|
30
|
+
> = openEnums.inboundSchema(CrmTaxonomyType);
|
|
31
31
|
|
|
32
32
|
/** @internal */
|
|
33
|
-
export const
|
|
34
|
-
|
|
33
|
+
export const CrmTaxonomy$inboundSchema: z.ZodType<
|
|
34
|
+
CrmTaxonomy,
|
|
35
35
|
z.ZodTypeDef,
|
|
36
36
|
unknown
|
|
37
37
|
> = z.object({
|
|
@@ -39,15 +39,15 @@ export const CrmPicklist$inboundSchema: z.ZodType<
|
|
|
39
39
|
label: z.string().optional(),
|
|
40
40
|
name: z.string().optional(),
|
|
41
41
|
raw: z.record(z.any()).optional(),
|
|
42
|
-
type:
|
|
42
|
+
type: CrmTaxonomyType$inboundSchema.optional(),
|
|
43
43
|
});
|
|
44
44
|
|
|
45
|
-
export function
|
|
45
|
+
export function crmTaxonomyFromJSON(
|
|
46
46
|
jsonString: string,
|
|
47
|
-
): SafeParseResult<
|
|
47
|
+
): SafeParseResult<CrmTaxonomy, SDKValidationError> {
|
|
48
48
|
return safeParse(
|
|
49
49
|
jsonString,
|
|
50
|
-
(x) =>
|
|
51
|
-
`Failed to parse '
|
|
50
|
+
(x) => CrmTaxonomy$inboundSchema.parse(JSON.parse(x)),
|
|
51
|
+
`Failed to parse 'CrmTaxonomy' from JSON`,
|
|
52
52
|
);
|
|
53
53
|
}
|
|
@@ -47,6 +47,7 @@ export type HrisTimeoff = {
|
|
|
47
47
|
endAt?: Date | undefined;
|
|
48
48
|
id?: string | undefined;
|
|
49
49
|
isPaid?: boolean | undefined;
|
|
50
|
+
originalType?: string | undefined;
|
|
50
51
|
raw?: { [k: string]: any } | undefined;
|
|
51
52
|
reason?: string | undefined;
|
|
52
53
|
startAt?: Date | undefined;
|
|
@@ -114,6 +115,7 @@ export const HrisTimeoff$inboundSchema: z.ZodType<
|
|
|
114
115
|
.optional(),
|
|
115
116
|
id: z.string().optional(),
|
|
116
117
|
is_paid: z.boolean().optional(),
|
|
118
|
+
original_type: z.string().optional(),
|
|
117
119
|
raw: z.record(z.any()).optional(),
|
|
118
120
|
reason: z.string().optional(),
|
|
119
121
|
start_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
@@ -132,6 +134,7 @@ export const HrisTimeoff$inboundSchema: z.ZodType<
|
|
|
132
134
|
"duration_type": "durationType",
|
|
133
135
|
"end_at": "endAt",
|
|
134
136
|
"is_paid": "isPaid",
|
|
137
|
+
"original_type": "originalType",
|
|
135
138
|
"start_at": "startAt",
|
|
136
139
|
"updated_at": "updatedAt",
|
|
137
140
|
"user_id": "userId",
|
|
@@ -149,6 +152,7 @@ export type HrisTimeoff$Outbound = {
|
|
|
149
152
|
end_at?: string | undefined;
|
|
150
153
|
id?: string | undefined;
|
|
151
154
|
is_paid?: boolean | undefined;
|
|
155
|
+
original_type?: string | undefined;
|
|
152
156
|
raw?: { [k: string]: any } | undefined;
|
|
153
157
|
reason?: string | undefined;
|
|
154
158
|
start_at?: string | undefined;
|
|
@@ -174,6 +178,7 @@ export const HrisTimeoff$outboundSchema: z.ZodType<
|
|
|
174
178
|
endAt: z.date().transform(v => v.toISOString()).optional(),
|
|
175
179
|
id: z.string().optional(),
|
|
176
180
|
isPaid: z.boolean().optional(),
|
|
181
|
+
originalType: z.string().optional(),
|
|
177
182
|
raw: z.record(z.any()).optional(),
|
|
178
183
|
reason: z.string().optional(),
|
|
179
184
|
startAt: z.date().transform(v => v.toISOString()).optional(),
|
|
@@ -190,6 +195,7 @@ export const HrisTimeoff$outboundSchema: z.ZodType<
|
|
|
190
195
|
durationType: "duration_type",
|
|
191
196
|
endAt: "end_at",
|
|
192
197
|
isPaid: "is_paid",
|
|
198
|
+
originalType: "original_type",
|
|
193
199
|
startAt: "start_at",
|
|
194
200
|
updatedAt: "updated_at",
|
|
195
201
|
userId: "user_id",
|
|
@@ -25,6 +25,7 @@ export * from "./accountingcreditapplication.js";
|
|
|
25
25
|
export * from "./accountingcreditmemo.js";
|
|
26
26
|
export * from "./accountingemail.js";
|
|
27
27
|
export * from "./accountingexpense.js";
|
|
28
|
+
export * from "./accountingextendednote.js";
|
|
28
29
|
export * from "./accountingfee.js";
|
|
29
30
|
export * from "./accountinginvoice.js";
|
|
30
31
|
export * from "./accountingjournal.js";
|
|
@@ -165,10 +166,10 @@ export * from "./crmeventformfield.js";
|
|
|
165
166
|
export * from "./crmeventformoption.js";
|
|
166
167
|
export * from "./crmlead.js";
|
|
167
168
|
export * from "./crmmetadata.js";
|
|
168
|
-
export * from "./crmpicklist.js";
|
|
169
169
|
export * from "./crmpipeline.js";
|
|
170
170
|
export * from "./crmreference.js";
|
|
171
171
|
export * from "./crmstage.js";
|
|
172
|
+
export * from "./crmtaxonomy.js";
|
|
172
173
|
export * from "./crmtelephone.js";
|
|
173
174
|
export * from "./datastoredatabase.js";
|
|
174
175
|
export * from "./datastorefield.js";
|
|
@@ -268,6 +269,7 @@ export * from "./propertyaccountingagedrowcontact.js";
|
|
|
268
269
|
export * from "./propertyaccountingagedrowtransaction.js";
|
|
269
270
|
export * from "./propertyaccountingcontactbillingaddress.js";
|
|
270
271
|
export * from "./propertyaccountingcontactshippingaddress.js";
|
|
272
|
+
export * from "./propertyaccountingextendednoteuser.js";
|
|
271
273
|
export * from "./propertyaccountingorderbillingaddress.js";
|
|
272
274
|
export * from "./propertyaccountingordershippingaddress.js";
|
|
273
275
|
export * from "./propertyaccountingorganizationaddress.js";
|