@unified-api/typescript-sdk 2.85.27 → 2.85.28
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 +26 -0
- package/dist/commonjs/funcs/accountingListAccountingProjects.js +0 -1
- package/dist/commonjs/funcs/accountingListAccountingProjects.js.map +1 -1
- package/dist/commonjs/funcs/performanceCreatePerformanceFeedback.d.ts +15 -0
- package/dist/commonjs/funcs/performanceCreatePerformanceFeedback.d.ts.map +1 -0
- package/dist/commonjs/funcs/performanceCreatePerformanceFeedback.js +125 -0
- package/dist/commonjs/funcs/performanceCreatePerformanceFeedback.js.map +1 -0
- package/dist/commonjs/funcs/performanceCreatePerformanceGoal.d.ts +15 -0
- package/dist/commonjs/funcs/performanceCreatePerformanceGoal.d.ts.map +1 -0
- package/dist/commonjs/funcs/performanceCreatePerformanceGoal.js +123 -0
- package/dist/commonjs/funcs/performanceCreatePerformanceGoal.js.map +1 -0
- package/dist/commonjs/funcs/performanceGetPerformanceCycle.d.ts +15 -0
- package/dist/commonjs/funcs/performanceGetPerformanceCycle.d.ts.map +1 -0
- package/dist/commonjs/funcs/performanceGetPerformanceCycle.js +126 -0
- package/dist/commonjs/funcs/performanceGetPerformanceCycle.js.map +1 -0
- package/dist/commonjs/funcs/performanceGetPerformanceFeedback.d.ts +15 -0
- package/dist/commonjs/funcs/performanceGetPerformanceFeedback.d.ts.map +1 -0
- package/dist/commonjs/funcs/performanceGetPerformanceFeedback.js +126 -0
- package/dist/commonjs/funcs/performanceGetPerformanceFeedback.js.map +1 -0
- package/dist/commonjs/funcs/performanceGetPerformanceGoal.d.ts +15 -0
- package/dist/commonjs/funcs/performanceGetPerformanceGoal.d.ts.map +1 -0
- package/dist/commonjs/funcs/performanceGetPerformanceGoal.js +126 -0
- package/dist/commonjs/funcs/performanceGetPerformanceGoal.js.map +1 -0
- package/dist/commonjs/funcs/performanceListPerformanceCycles.d.ts +15 -0
- package/dist/commonjs/funcs/performanceListPerformanceCycles.d.ts.map +1 -0
- package/dist/commonjs/funcs/performanceListPerformanceCycles.js +130 -0
- package/dist/commonjs/funcs/performanceListPerformanceCycles.js.map +1 -0
- package/dist/commonjs/funcs/performanceListPerformanceFeedbacks.d.ts +15 -0
- package/dist/commonjs/funcs/performanceListPerformanceFeedbacks.d.ts.map +1 -0
- package/dist/commonjs/funcs/performanceListPerformanceFeedbacks.js +131 -0
- package/dist/commonjs/funcs/performanceListPerformanceFeedbacks.js.map +1 -0
- package/dist/commonjs/funcs/performanceListPerformanceGoals.d.ts +15 -0
- package/dist/commonjs/funcs/performanceListPerformanceGoals.d.ts.map +1 -0
- package/dist/commonjs/funcs/performanceListPerformanceGoals.js +133 -0
- package/dist/commonjs/funcs/performanceListPerformanceGoals.js.map +1 -0
- package/dist/commonjs/funcs/performancePatchPerformanceGoal.d.ts +15 -0
- package/dist/commonjs/funcs/performancePatchPerformanceGoal.d.ts.map +1 -0
- package/dist/commonjs/funcs/performancePatchPerformanceGoal.js +127 -0
- package/dist/commonjs/funcs/performancePatchPerformanceGoal.js.map +1 -0
- package/dist/commonjs/funcs/performanceRemovePerformanceGoal.d.ts +14 -0
- package/dist/commonjs/funcs/performanceRemovePerformanceGoal.d.ts.map +1 -0
- package/dist/commonjs/funcs/performanceRemovePerformanceGoal.js +123 -0
- package/dist/commonjs/funcs/performanceRemovePerformanceGoal.js.map +1 -0
- package/dist/commonjs/funcs/performanceUpdatePerformanceGoal.d.ts +15 -0
- package/dist/commonjs/funcs/performanceUpdatePerformanceGoal.d.ts.map +1 -0
- package/dist/commonjs/funcs/performanceUpdatePerformanceGoal.js +127 -0
- package/dist/commonjs/funcs/performanceUpdatePerformanceGoal.js.map +1 -0
- package/dist/commonjs/funcs/reviewGetPerformanceReview.d.ts +15 -0
- package/dist/commonjs/funcs/reviewGetPerformanceReview.d.ts.map +1 -0
- package/dist/commonjs/funcs/reviewGetPerformanceReview.js +126 -0
- package/dist/commonjs/funcs/reviewGetPerformanceReview.js.map +1 -0
- package/dist/commonjs/funcs/reviewListPerformanceReviews.d.ts +15 -0
- package/dist/commonjs/funcs/reviewListPerformanceReviews.d.ts.map +1 -0
- package/dist/commonjs/funcs/reviewListPerformanceReviews.js +132 -0
- package/dist/commonjs/funcs/reviewListPerformanceReviews.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/sdk/cycle.d.ts +14 -0
- package/dist/commonjs/sdk/cycle.d.ts.map +1 -0
- package/dist/commonjs/sdk/cycle.js +26 -0
- package/dist/commonjs/sdk/cycle.js.map +1 -0
- package/dist/commonjs/sdk/feedback.d.ts +18 -0
- package/dist/commonjs/sdk/feedback.d.ts.map +1 -0
- package/dist/commonjs/sdk/feedback.js +33 -0
- package/dist/commonjs/sdk/feedback.js.map +1 -0
- package/dist/commonjs/sdk/goal.d.ts +30 -0
- package/dist/commonjs/sdk/goal.d.ts.map +1 -0
- package/dist/commonjs/sdk/goal.js +54 -0
- package/dist/commonjs/sdk/goal.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/createaccountingorder.d.ts +3 -0
- package/dist/commonjs/sdk/models/operations/createaccountingorder.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/createaccountingorder.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/createperformancefeedback.d.ts +44 -0
- package/dist/commonjs/sdk/models/operations/createperformancefeedback.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/createperformancefeedback.js +75 -0
- package/dist/commonjs/sdk/models/operations/createperformancefeedback.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/createperformancegoal.d.ts +52 -0
- package/dist/commonjs/sdk/models/operations/createperformancegoal.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/createperformancegoal.js +82 -0
- package/dist/commonjs/sdk/models/operations/createperformancegoal.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getperformancecycle.d.ts +47 -0
- package/dist/commonjs/sdk/models/operations/getperformancecycle.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getperformancecycle.js +73 -0
- package/dist/commonjs/sdk/models/operations/getperformancecycle.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getperformancefeedback.d.ts +46 -0
- package/dist/commonjs/sdk/models/operations/getperformancefeedback.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getperformancefeedback.js +72 -0
- package/dist/commonjs/sdk/models/operations/getperformancefeedback.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getperformancegoal.d.ts +54 -0
- package/dist/commonjs/sdk/models/operations/getperformancegoal.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getperformancegoal.js +79 -0
- package/dist/commonjs/sdk/models/operations/getperformancegoal.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getperformancereview.d.ts +54 -0
- package/dist/commonjs/sdk/models/operations/getperformancereview.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getperformancereview.js +80 -0
- package/dist/commonjs/sdk/models/operations/getperformancereview.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/index.d.ts +13 -0
- package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/index.js +13 -0
- package/dist/commonjs/sdk/models/operations/index.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listaccountingprojects.d.ts +0 -2
- package/dist/commonjs/sdk/models/operations/listaccountingprojects.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listaccountingprojects.js +0 -2
- package/dist/commonjs/sdk/models/operations/listaccountingprojects.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listperformancecycles.d.ts +62 -0
- package/dist/commonjs/sdk/models/operations/listperformancecycles.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/listperformancecycles.js +80 -0
- package/dist/commonjs/sdk/models/operations/listperformancecycles.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/listperformancefeedbacks.d.ts +66 -0
- package/dist/commonjs/sdk/models/operations/listperformancefeedbacks.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/listperformancefeedbacks.js +82 -0
- package/dist/commonjs/sdk/models/operations/listperformancefeedbacks.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/listperformancegoals.d.ts +84 -0
- package/dist/commonjs/sdk/models/operations/listperformancegoals.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/listperformancegoals.js +93 -0
- package/dist/commonjs/sdk/models/operations/listperformancegoals.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/listperformancereviews.d.ts +79 -0
- package/dist/commonjs/sdk/models/operations/listperformancereviews.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/listperformancereviews.js +91 -0
- package/dist/commonjs/sdk/models/operations/listperformancereviews.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/listunifiedconnections.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/listunifiedconnections.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listunifiedconnections.js +1 -0
- package/dist/commonjs/sdk/models/operations/listunifiedconnections.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listunifiedintegrations.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/listunifiedintegrations.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listunifiedintegrations.js +1 -0
- package/dist/commonjs/sdk/models/operations/listunifiedintegrations.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listunifiedintegrationworkspaces.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/listunifiedintegrationworkspaces.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listunifiedintegrationworkspaces.js +1 -0
- package/dist/commonjs/sdk/models/operations/listunifiedintegrationworkspaces.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchaccountingorder.d.ts +3 -0
- package/dist/commonjs/sdk/models/operations/patchaccountingorder.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchaccountingorder.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchperformancegoal.d.ts +57 -0
- package/dist/commonjs/sdk/models/operations/patchperformancegoal.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/patchperformancegoal.js +83 -0
- package/dist/commonjs/sdk/models/operations/patchperformancegoal.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/removeperformancegoal.d.ts +30 -0
- package/dist/commonjs/sdk/models/operations/removeperformancegoal.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/removeperformancegoal.js +68 -0
- package/dist/commonjs/sdk/models/operations/removeperformancegoal.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/updateaccountingorder.d.ts +3 -0
- package/dist/commonjs/sdk/models/operations/updateaccountingorder.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/updateaccountingorder.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/updateperformancegoal.d.ts +57 -0
- package/dist/commonjs/sdk/models/operations/updateperformancegoal.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/updateperformancegoal.js +83 -0
- package/dist/commonjs/sdk/models/operations/updateperformancegoal.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/accountingorder.d.ts +3 -0
- package/dist/commonjs/sdk/models/shared/accountingorder.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/accountingorder.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/index.d.ts +6 -0
- package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/index.js +6 -0
- package/dist/commonjs/sdk/models/shared/index.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/integrationsupport.d.ts +18 -0
- package/dist/commonjs/sdk/models/shared/integrationsupport.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/integrationsupport.js +26 -8
- package/dist/commonjs/sdk/models/shared/integrationsupport.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/performancecycle.d.ts +41 -0
- package/dist/commonjs/sdk/models/shared/performancecycle.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/performancecycle.js +91 -0
- package/dist/commonjs/sdk/models/shared/performancecycle.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/performancefeedback.d.ts +54 -0
- package/dist/commonjs/sdk/models/shared/performancefeedback.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/performancefeedback.js +106 -0
- package/dist/commonjs/sdk/models/shared/performancefeedback.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/performancegoal.d.ts +87 -0
- package/dist/commonjs/sdk/models/shared/performancegoal.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/performancegoal.js +145 -0
- package/dist/commonjs/sdk/models/shared/performancegoal.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/performancegoalmilestone.d.ts +33 -0
- package/dist/commonjs/sdk/models/shared/performancegoalmilestone.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/performancegoalmilestone.js +90 -0
- package/dist/commonjs/sdk/models/shared/performancegoalmilestone.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/performancereview.d.ts +53 -0
- package/dist/commonjs/sdk/models/shared/performancereview.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/performancereview.js +106 -0
- package/dist/commonjs/sdk/models/shared/performancereview.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/performancereviewquestion.d.ts +27 -0
- package/dist/commonjs/sdk/models/shared/performancereviewquestion.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/performancereviewquestion.js +63 -0
- package/dist/commonjs/sdk/models/shared/performancereviewquestion.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyconnectioncategories.d.ts +1 -0
- package/dist/commonjs/sdk/models/shared/propertyconnectioncategories.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyconnectioncategories.js +1 -0
- package/dist/commonjs/sdk/models/shared/propertyconnectioncategories.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.d.ts +7 -0
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.js +7 -0
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyhrisemployeeemployeeroles.d.ts +2 -0
- package/dist/commonjs/sdk/models/shared/propertyhrisemployeeemployeeroles.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyhrisemployeeemployeeroles.js +2 -0
- package/dist/commonjs/sdk/models/shared/propertyhrisemployeeemployeeroles.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyintegrationcategories.d.ts +1 -0
- package/dist/commonjs/sdk/models/shared/propertyintegrationcategories.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyintegrationcategories.js +1 -0
- package/dist/commonjs/sdk/models/shared/propertyintegrationcategories.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/webhook.d.ts +4 -0
- package/dist/commonjs/sdk/models/shared/webhook.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/webhook.js +4 -0
- package/dist/commonjs/sdk/models/shared/webhook.js.map +1 -1
- package/dist/commonjs/sdk/performance.d.ts +58 -0
- package/dist/commonjs/sdk/performance.d.ts.map +1 -0
- package/dist/commonjs/sdk/performance.js +103 -0
- package/dist/commonjs/sdk/performance.js.map +1 -0
- package/dist/commonjs/sdk/review.d.ts +8 -0
- package/dist/commonjs/sdk/review.d.ts.map +1 -1
- package/dist/commonjs/sdk/review.js +14 -0
- package/dist/commonjs/sdk/review.js.map +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +12 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +16 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/esm/funcs/accountingListAccountingProjects.js +0 -1
- package/dist/esm/funcs/accountingListAccountingProjects.js.map +1 -1
- package/dist/esm/funcs/performanceCreatePerformanceFeedback.d.ts +15 -0
- package/dist/esm/funcs/performanceCreatePerformanceFeedback.d.ts.map +1 -0
- package/dist/esm/funcs/performanceCreatePerformanceFeedback.js +89 -0
- package/dist/esm/funcs/performanceCreatePerformanceFeedback.js.map +1 -0
- package/dist/esm/funcs/performanceCreatePerformanceGoal.d.ts +15 -0
- package/dist/esm/funcs/performanceCreatePerformanceGoal.d.ts.map +1 -0
- package/dist/esm/funcs/performanceCreatePerformanceGoal.js +87 -0
- package/dist/esm/funcs/performanceCreatePerformanceGoal.js.map +1 -0
- package/dist/esm/funcs/performanceGetPerformanceCycle.d.ts +15 -0
- package/dist/esm/funcs/performanceGetPerformanceCycle.d.ts.map +1 -0
- package/dist/esm/funcs/performanceGetPerformanceCycle.js +90 -0
- package/dist/esm/funcs/performanceGetPerformanceCycle.js.map +1 -0
- package/dist/esm/funcs/performanceGetPerformanceFeedback.d.ts +15 -0
- package/dist/esm/funcs/performanceGetPerformanceFeedback.d.ts.map +1 -0
- package/dist/esm/funcs/performanceGetPerformanceFeedback.js +90 -0
- package/dist/esm/funcs/performanceGetPerformanceFeedback.js.map +1 -0
- package/dist/esm/funcs/performanceGetPerformanceGoal.d.ts +15 -0
- package/dist/esm/funcs/performanceGetPerformanceGoal.d.ts.map +1 -0
- package/dist/esm/funcs/performanceGetPerformanceGoal.js +90 -0
- package/dist/esm/funcs/performanceGetPerformanceGoal.js.map +1 -0
- package/dist/esm/funcs/performanceListPerformanceCycles.d.ts +15 -0
- package/dist/esm/funcs/performanceListPerformanceCycles.d.ts.map +1 -0
- package/dist/esm/funcs/performanceListPerformanceCycles.js +94 -0
- package/dist/esm/funcs/performanceListPerformanceCycles.js.map +1 -0
- package/dist/esm/funcs/performanceListPerformanceFeedbacks.d.ts +15 -0
- package/dist/esm/funcs/performanceListPerformanceFeedbacks.d.ts.map +1 -0
- package/dist/esm/funcs/performanceListPerformanceFeedbacks.js +95 -0
- package/dist/esm/funcs/performanceListPerformanceFeedbacks.js.map +1 -0
- package/dist/esm/funcs/performanceListPerformanceGoals.d.ts +15 -0
- package/dist/esm/funcs/performanceListPerformanceGoals.d.ts.map +1 -0
- package/dist/esm/funcs/performanceListPerformanceGoals.js +97 -0
- package/dist/esm/funcs/performanceListPerformanceGoals.js.map +1 -0
- package/dist/esm/funcs/performancePatchPerformanceGoal.d.ts +15 -0
- package/dist/esm/funcs/performancePatchPerformanceGoal.d.ts.map +1 -0
- package/dist/esm/funcs/performancePatchPerformanceGoal.js +91 -0
- package/dist/esm/funcs/performancePatchPerformanceGoal.js.map +1 -0
- package/dist/esm/funcs/performanceRemovePerformanceGoal.d.ts +14 -0
- package/dist/esm/funcs/performanceRemovePerformanceGoal.d.ts.map +1 -0
- package/dist/esm/funcs/performanceRemovePerformanceGoal.js +87 -0
- package/dist/esm/funcs/performanceRemovePerformanceGoal.js.map +1 -0
- package/dist/esm/funcs/performanceUpdatePerformanceGoal.d.ts +15 -0
- package/dist/esm/funcs/performanceUpdatePerformanceGoal.d.ts.map +1 -0
- package/dist/esm/funcs/performanceUpdatePerformanceGoal.js +91 -0
- package/dist/esm/funcs/performanceUpdatePerformanceGoal.js.map +1 -0
- package/dist/esm/funcs/reviewGetPerformanceReview.d.ts +15 -0
- package/dist/esm/funcs/reviewGetPerformanceReview.d.ts.map +1 -0
- package/dist/esm/funcs/reviewGetPerformanceReview.js +90 -0
- package/dist/esm/funcs/reviewGetPerformanceReview.js.map +1 -0
- package/dist/esm/funcs/reviewListPerformanceReviews.d.ts +15 -0
- package/dist/esm/funcs/reviewListPerformanceReviews.d.ts.map +1 -0
- package/dist/esm/funcs/reviewListPerformanceReviews.js +96 -0
- package/dist/esm/funcs/reviewListPerformanceReviews.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/sdk/cycle.d.ts +14 -0
- package/dist/esm/sdk/cycle.d.ts.map +1 -0
- package/dist/esm/sdk/cycle.js +22 -0
- package/dist/esm/sdk/cycle.js.map +1 -0
- package/dist/esm/sdk/feedback.d.ts +18 -0
- package/dist/esm/sdk/feedback.d.ts.map +1 -0
- package/dist/esm/sdk/feedback.js +29 -0
- package/dist/esm/sdk/feedback.js.map +1 -0
- package/dist/esm/sdk/goal.d.ts +30 -0
- package/dist/esm/sdk/goal.d.ts.map +1 -0
- package/dist/esm/sdk/goal.js +50 -0
- package/dist/esm/sdk/goal.js.map +1 -0
- package/dist/esm/sdk/models/operations/createaccountingorder.d.ts +3 -0
- package/dist/esm/sdk/models/operations/createaccountingorder.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/createaccountingorder.js.map +1 -1
- package/dist/esm/sdk/models/operations/createperformancefeedback.d.ts +44 -0
- package/dist/esm/sdk/models/operations/createperformancefeedback.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/createperformancefeedback.js +38 -0
- package/dist/esm/sdk/models/operations/createperformancefeedback.js.map +1 -0
- package/dist/esm/sdk/models/operations/createperformancegoal.d.ts +52 -0
- package/dist/esm/sdk/models/operations/createperformancegoal.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/createperformancegoal.js +45 -0
- package/dist/esm/sdk/models/operations/createperformancegoal.js.map +1 -0
- package/dist/esm/sdk/models/operations/getperformancecycle.d.ts +47 -0
- package/dist/esm/sdk/models/operations/getperformancecycle.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getperformancecycle.js +36 -0
- package/dist/esm/sdk/models/operations/getperformancecycle.js.map +1 -0
- package/dist/esm/sdk/models/operations/getperformancefeedback.d.ts +46 -0
- package/dist/esm/sdk/models/operations/getperformancefeedback.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getperformancefeedback.js +35 -0
- package/dist/esm/sdk/models/operations/getperformancefeedback.js.map +1 -0
- package/dist/esm/sdk/models/operations/getperformancegoal.d.ts +54 -0
- package/dist/esm/sdk/models/operations/getperformancegoal.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getperformancegoal.js +42 -0
- package/dist/esm/sdk/models/operations/getperformancegoal.js.map +1 -0
- package/dist/esm/sdk/models/operations/getperformancereview.d.ts +54 -0
- package/dist/esm/sdk/models/operations/getperformancereview.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getperformancereview.js +43 -0
- package/dist/esm/sdk/models/operations/getperformancereview.js.map +1 -0
- package/dist/esm/sdk/models/operations/index.d.ts +13 -0
- package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/index.js +13 -0
- package/dist/esm/sdk/models/operations/index.js.map +1 -1
- package/dist/esm/sdk/models/operations/listaccountingprojects.d.ts +0 -2
- package/dist/esm/sdk/models/operations/listaccountingprojects.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listaccountingprojects.js +0 -2
- package/dist/esm/sdk/models/operations/listaccountingprojects.js.map +1 -1
- package/dist/esm/sdk/models/operations/listperformancecycles.d.ts +62 -0
- package/dist/esm/sdk/models/operations/listperformancecycles.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/listperformancecycles.js +43 -0
- package/dist/esm/sdk/models/operations/listperformancecycles.js.map +1 -0
- package/dist/esm/sdk/models/operations/listperformancefeedbacks.d.ts +66 -0
- package/dist/esm/sdk/models/operations/listperformancefeedbacks.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/listperformancefeedbacks.js +45 -0
- package/dist/esm/sdk/models/operations/listperformancefeedbacks.js.map +1 -0
- package/dist/esm/sdk/models/operations/listperformancegoals.d.ts +84 -0
- package/dist/esm/sdk/models/operations/listperformancegoals.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/listperformancegoals.js +56 -0
- package/dist/esm/sdk/models/operations/listperformancegoals.js.map +1 -0
- package/dist/esm/sdk/models/operations/listperformancereviews.d.ts +79 -0
- package/dist/esm/sdk/models/operations/listperformancereviews.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/listperformancereviews.js +54 -0
- package/dist/esm/sdk/models/operations/listperformancereviews.js.map +1 -0
- package/dist/esm/sdk/models/operations/listunifiedconnections.d.ts +1 -0
- package/dist/esm/sdk/models/operations/listunifiedconnections.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listunifiedconnections.js +1 -0
- package/dist/esm/sdk/models/operations/listunifiedconnections.js.map +1 -1
- package/dist/esm/sdk/models/operations/listunifiedintegrations.d.ts +1 -0
- package/dist/esm/sdk/models/operations/listunifiedintegrations.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listunifiedintegrations.js +1 -0
- package/dist/esm/sdk/models/operations/listunifiedintegrations.js.map +1 -1
- package/dist/esm/sdk/models/operations/listunifiedintegrationworkspaces.d.ts +1 -0
- package/dist/esm/sdk/models/operations/listunifiedintegrationworkspaces.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listunifiedintegrationworkspaces.js +1 -0
- package/dist/esm/sdk/models/operations/listunifiedintegrationworkspaces.js.map +1 -1
- package/dist/esm/sdk/models/operations/patchaccountingorder.d.ts +3 -0
- package/dist/esm/sdk/models/operations/patchaccountingorder.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/patchaccountingorder.js.map +1 -1
- package/dist/esm/sdk/models/operations/patchperformancegoal.d.ts +57 -0
- package/dist/esm/sdk/models/operations/patchperformancegoal.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/patchperformancegoal.js +46 -0
- package/dist/esm/sdk/models/operations/patchperformancegoal.js.map +1 -0
- package/dist/esm/sdk/models/operations/removeperformancegoal.d.ts +30 -0
- package/dist/esm/sdk/models/operations/removeperformancegoal.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/removeperformancegoal.js +30 -0
- package/dist/esm/sdk/models/operations/removeperformancegoal.js.map +1 -0
- package/dist/esm/sdk/models/operations/updateaccountingorder.d.ts +3 -0
- package/dist/esm/sdk/models/operations/updateaccountingorder.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/updateaccountingorder.js.map +1 -1
- package/dist/esm/sdk/models/operations/updateperformancegoal.d.ts +57 -0
- package/dist/esm/sdk/models/operations/updateperformancegoal.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/updateperformancegoal.js +46 -0
- package/dist/esm/sdk/models/operations/updateperformancegoal.js.map +1 -0
- package/dist/esm/sdk/models/shared/accountingorder.d.ts +3 -0
- package/dist/esm/sdk/models/shared/accountingorder.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/accountingorder.js.map +1 -1
- package/dist/esm/sdk/models/shared/index.d.ts +6 -0
- package/dist/esm/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/index.js +6 -0
- package/dist/esm/sdk/models/shared/index.js.map +1 -1
- package/dist/esm/sdk/models/shared/integrationsupport.d.ts +18 -0
- package/dist/esm/sdk/models/shared/integrationsupport.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/integrationsupport.js +18 -0
- package/dist/esm/sdk/models/shared/integrationsupport.js.map +1 -1
- package/dist/esm/sdk/models/shared/performancecycle.d.ts +41 -0
- package/dist/esm/sdk/models/shared/performancecycle.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/performancecycle.js +54 -0
- package/dist/esm/sdk/models/shared/performancecycle.js.map +1 -0
- package/dist/esm/sdk/models/shared/performancefeedback.d.ts +54 -0
- package/dist/esm/sdk/models/shared/performancefeedback.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/performancefeedback.js +68 -0
- package/dist/esm/sdk/models/shared/performancefeedback.js.map +1 -0
- package/dist/esm/sdk/models/shared/performancegoal.d.ts +87 -0
- package/dist/esm/sdk/models/shared/performancegoal.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/performancegoal.js +107 -0
- package/dist/esm/sdk/models/shared/performancegoal.js.map +1 -0
- package/dist/esm/sdk/models/shared/performancegoalmilestone.d.ts +33 -0
- package/dist/esm/sdk/models/shared/performancegoalmilestone.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/performancegoalmilestone.js +52 -0
- package/dist/esm/sdk/models/shared/performancegoalmilestone.js.map +1 -0
- package/dist/esm/sdk/models/shared/performancereview.d.ts +53 -0
- package/dist/esm/sdk/models/shared/performancereview.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/performancereview.js +69 -0
- package/dist/esm/sdk/models/shared/performancereview.js.map +1 -0
- package/dist/esm/sdk/models/shared/performancereviewquestion.d.ts +27 -0
- package/dist/esm/sdk/models/shared/performancereviewquestion.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/performancereviewquestion.js +26 -0
- package/dist/esm/sdk/models/shared/performancereviewquestion.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertyconnectioncategories.d.ts +1 -0
- package/dist/esm/sdk/models/shared/propertyconnectioncategories.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyconnectioncategories.js +1 -0
- package/dist/esm/sdk/models/shared/propertyconnectioncategories.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.d.ts +7 -0
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.js +7 -0
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyhrisemployeeemployeeroles.d.ts +2 -0
- package/dist/esm/sdk/models/shared/propertyhrisemployeeemployeeroles.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyhrisemployeeemployeeroles.js +2 -0
- package/dist/esm/sdk/models/shared/propertyhrisemployeeemployeeroles.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyintegrationcategories.d.ts +1 -0
- package/dist/esm/sdk/models/shared/propertyintegrationcategories.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyintegrationcategories.js +1 -0
- package/dist/esm/sdk/models/shared/propertyintegrationcategories.js.map +1 -1
- package/dist/esm/sdk/models/shared/webhook.d.ts +4 -0
- package/dist/esm/sdk/models/shared/webhook.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/webhook.js +4 -0
- package/dist/esm/sdk/models/shared/webhook.js.map +1 -1
- package/dist/esm/sdk/performance.d.ts +58 -0
- package/dist/esm/sdk/performance.d.ts.map +1 -0
- package/dist/esm/sdk/performance.js +99 -0
- package/dist/esm/sdk/performance.js.map +1 -0
- package/dist/esm/sdk/review.d.ts +8 -0
- package/dist/esm/sdk/review.d.ts.map +1 -1
- package/dist/esm/sdk/review.js +14 -0
- package/dist/esm/sdk/review.js.map +1 -1
- package/dist/esm/sdk/sdk.d.ts +12 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +16 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/accountingListAccountingProjects.ts +0 -1
- package/src/funcs/performanceCreatePerformanceFeedback.ts +174 -0
- package/src/funcs/performanceCreatePerformanceGoal.ts +172 -0
- package/src/funcs/performanceGetPerformanceCycle.ts +177 -0
- package/src/funcs/performanceGetPerformanceFeedback.ts +177 -0
- package/src/funcs/performanceGetPerformanceGoal.ts +174 -0
- package/src/funcs/performanceListPerformanceCycles.ts +179 -0
- package/src/funcs/performanceListPerformanceFeedbacks.ts +180 -0
- package/src/funcs/performanceListPerformanceGoals.ts +182 -0
- package/src/funcs/performancePatchPerformanceGoal.ts +176 -0
- package/src/funcs/performanceRemovePerformanceGoal.ts +180 -0
- package/src/funcs/performanceUpdatePerformanceGoal.ts +176 -0
- package/src/funcs/reviewGetPerformanceReview.ts +177 -0
- package/src/funcs/reviewListPerformanceReviews.ts +181 -0
- package/src/lib/config.ts +3 -3
- package/src/sdk/cycle.ts +40 -0
- package/src/sdk/feedback.ts +55 -0
- package/src/sdk/goal.ts +100 -0
- package/src/sdk/models/operations/createaccountingorder.ts +3 -0
- package/src/sdk/models/operations/createperformancefeedback.ts +81 -0
- package/src/sdk/models/operations/createperformancegoal.ts +90 -0
- package/src/sdk/models/operations/getperformancecycle.ts +82 -0
- package/src/sdk/models/operations/getperformancefeedback.ts +83 -0
- package/src/sdk/models/operations/getperformancegoal.ts +87 -0
- package/src/sdk/models/operations/getperformancereview.ts +91 -0
- package/src/sdk/models/operations/index.ts +13 -0
- package/src/sdk/models/operations/listaccountingprojects.ts +0 -4
- package/src/sdk/models/operations/listperformancecycles.ts +106 -0
- package/src/sdk/models/operations/listperformancefeedbacks.ts +111 -0
- package/src/sdk/models/operations/listperformancegoals.ts +134 -0
- package/src/sdk/models/operations/listperformancereviews.ts +127 -0
- package/src/sdk/models/operations/listunifiedconnections.ts +1 -0
- package/src/sdk/models/operations/listunifiedintegrations.ts +1 -0
- package/src/sdk/models/operations/listunifiedintegrationworkspaces.ts +1 -0
- package/src/sdk/models/operations/patchaccountingorder.ts +3 -0
- package/src/sdk/models/operations/patchperformancegoal.ts +96 -0
- package/src/sdk/models/operations/removeperformancegoal.ts +77 -0
- package/src/sdk/models/operations/updateaccountingorder.ts +3 -0
- package/src/sdk/models/operations/updateperformancegoal.ts +96 -0
- package/src/sdk/models/shared/accountingorder.ts +3 -0
- package/src/sdk/models/shared/index.ts +6 -0
- package/src/sdk/models/shared/integrationsupport.ts +34 -0
- package/src/sdk/models/shared/performancecycle.ts +97 -0
- package/src/sdk/models/shared/performancefeedback.ts +132 -0
- package/src/sdk/models/shared/performancegoal.ts +208 -0
- package/src/sdk/models/shared/performancegoalmilestone.ts +99 -0
- package/src/sdk/models/shared/performancereview.ts +126 -0
- package/src/sdk/models/shared/performancereviewquestion.ts +60 -0
- package/src/sdk/models/shared/propertyconnectioncategories.ts +1 -0
- package/src/sdk/models/shared/propertyconnectionpermissions.ts +7 -0
- package/src/sdk/models/shared/propertyhrisemployeeemployeeroles.ts +2 -0
- package/src/sdk/models/shared/propertyintegrationcategories.ts +1 -0
- package/src/sdk/models/shared/webhook.ts +4 -0
- package/src/sdk/performance.ts +205 -0
- package/src/sdk/review.ts +30 -0
- package/src/sdk/sdk.ts +24 -0
|
@@ -0,0 +1,127 @@
|
|
|
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 ListPerformanceReviewsQueryParamFields = {
|
|
10
|
+
Id: "id",
|
|
11
|
+
CreatedAt: "created_at",
|
|
12
|
+
UpdatedAt: "updated_at",
|
|
13
|
+
UserId: "user_id",
|
|
14
|
+
ReviewerUserId: "reviewer_user_id",
|
|
15
|
+
CycleId: "cycle_id",
|
|
16
|
+
TemplateIdentifier: "template_identifier",
|
|
17
|
+
Type: "type",
|
|
18
|
+
Status: "status",
|
|
19
|
+
Rating: "rating",
|
|
20
|
+
RatingMaximum: "rating_maximum",
|
|
21
|
+
RatingDescription: "rating_description",
|
|
22
|
+
Comment: "comment",
|
|
23
|
+
Questions: "questions",
|
|
24
|
+
IsAcknowledged: "is_acknowledged",
|
|
25
|
+
SubmittedAt: "submitted_at",
|
|
26
|
+
CompletedAt: "completed_at",
|
|
27
|
+
Raw: "raw",
|
|
28
|
+
} as const;
|
|
29
|
+
export type ListPerformanceReviewsQueryParamFields = ClosedEnum<
|
|
30
|
+
typeof ListPerformanceReviewsQueryParamFields
|
|
31
|
+
>;
|
|
32
|
+
|
|
33
|
+
export type ListPerformanceReviewsRequest = {
|
|
34
|
+
/**
|
|
35
|
+
* ID of the connection
|
|
36
|
+
*/
|
|
37
|
+
connectionId: string;
|
|
38
|
+
/**
|
|
39
|
+
* The performance cycle ID to filter by
|
|
40
|
+
*/
|
|
41
|
+
cycleId?: string | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Fields to return
|
|
44
|
+
*/
|
|
45
|
+
fields?: Array<ListPerformanceReviewsQueryParamFields> | undefined;
|
|
46
|
+
limit?: number | undefined;
|
|
47
|
+
offset?: number | undefined;
|
|
48
|
+
order?: string | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* Query string to search. eg. email address or name
|
|
51
|
+
*/
|
|
52
|
+
query?: string | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* 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
|
|
55
|
+
*/
|
|
56
|
+
raw?: string | undefined;
|
|
57
|
+
sort?: string | undefined;
|
|
58
|
+
type?: string | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
61
|
+
*/
|
|
62
|
+
updatedGte?: string | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* The user/employee ID to filter by (reference to HrisEmployee)
|
|
65
|
+
*/
|
|
66
|
+
userId?: string | undefined;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
/** @internal */
|
|
70
|
+
export const ListPerformanceReviewsQueryParamFields$outboundSchema:
|
|
71
|
+
z.ZodNativeEnum<typeof ListPerformanceReviewsQueryParamFields> = z.nativeEnum(
|
|
72
|
+
ListPerformanceReviewsQueryParamFields,
|
|
73
|
+
);
|
|
74
|
+
|
|
75
|
+
/** @internal */
|
|
76
|
+
export type ListPerformanceReviewsRequest$Outbound = {
|
|
77
|
+
connection_id: string;
|
|
78
|
+
cycle_id?: string | undefined;
|
|
79
|
+
fields?: Array<string> | undefined;
|
|
80
|
+
limit?: number | undefined;
|
|
81
|
+
offset?: number | undefined;
|
|
82
|
+
order?: string | undefined;
|
|
83
|
+
query?: string | undefined;
|
|
84
|
+
raw?: string | undefined;
|
|
85
|
+
sort?: string | undefined;
|
|
86
|
+
type?: string | undefined;
|
|
87
|
+
updated_gte?: string | undefined;
|
|
88
|
+
user_id?: string | undefined;
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
/** @internal */
|
|
92
|
+
export const ListPerformanceReviewsRequest$outboundSchema: z.ZodType<
|
|
93
|
+
ListPerformanceReviewsRequest$Outbound,
|
|
94
|
+
z.ZodTypeDef,
|
|
95
|
+
ListPerformanceReviewsRequest
|
|
96
|
+
> = z.object({
|
|
97
|
+
connectionId: z.string(),
|
|
98
|
+
cycleId: z.string().optional(),
|
|
99
|
+
fields: z.array(ListPerformanceReviewsQueryParamFields$outboundSchema)
|
|
100
|
+
.optional(),
|
|
101
|
+
limit: z.number().optional(),
|
|
102
|
+
offset: z.number().optional(),
|
|
103
|
+
order: z.string().optional(),
|
|
104
|
+
query: z.string().optional(),
|
|
105
|
+
raw: z.string().optional(),
|
|
106
|
+
sort: z.string().optional(),
|
|
107
|
+
type: z.string().optional(),
|
|
108
|
+
updatedGte: z.string().optional(),
|
|
109
|
+
userId: z.string().optional(),
|
|
110
|
+
}).transform((v) => {
|
|
111
|
+
return remap$(v, {
|
|
112
|
+
connectionId: "connection_id",
|
|
113
|
+
cycleId: "cycle_id",
|
|
114
|
+
updatedGte: "updated_gte",
|
|
115
|
+
userId: "user_id",
|
|
116
|
+
});
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
export function listPerformanceReviewsRequestToJSON(
|
|
120
|
+
listPerformanceReviewsRequest: ListPerformanceReviewsRequest,
|
|
121
|
+
): string {
|
|
122
|
+
return JSON.stringify(
|
|
123
|
+
ListPerformanceReviewsRequest$outboundSchema.parse(
|
|
124
|
+
listPerformanceReviewsRequest,
|
|
125
|
+
),
|
|
126
|
+
);
|
|
127
|
+
}
|
|
@@ -40,6 +40,7 @@ export const ListUnifiedIntegrationsQueryParamCategories = {
|
|
|
40
40
|
Clubs: "clubs",
|
|
41
41
|
Datastore: "datastore",
|
|
42
42
|
Cdp: "cdp",
|
|
43
|
+
Performance: "performance",
|
|
43
44
|
} as const;
|
|
44
45
|
export type ListUnifiedIntegrationsQueryParamCategories = ClosedEnum<
|
|
45
46
|
typeof ListUnifiedIntegrationsQueryParamCategories
|
|
@@ -29,6 +29,9 @@ export type PatchAccountingOrderQueryParamFields = ClosedEnum<
|
|
|
29
29
|
>;
|
|
30
30
|
|
|
31
31
|
export type PatchAccountingOrderRequest = {
|
|
32
|
+
/**
|
|
33
|
+
* @deprecated; use AccountingSalesorder or AccountingPurchaseorder
|
|
34
|
+
*/
|
|
32
35
|
accountingOrder: shared.AccountingOrder;
|
|
33
36
|
/**
|
|
34
37
|
* ID of the connection
|
|
@@ -0,0 +1,96 @@
|
|
|
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 PatchPerformanceGoalQueryParamFields = {
|
|
11
|
+
Id: "id",
|
|
12
|
+
CreatedAt: "created_at",
|
|
13
|
+
UpdatedAt: "updated_at",
|
|
14
|
+
Name: "name",
|
|
15
|
+
Description: "description",
|
|
16
|
+
UserIds: "user_ids",
|
|
17
|
+
CompanyId: "company_id",
|
|
18
|
+
ParentId: "parent_id",
|
|
19
|
+
CycleId: "cycle_id",
|
|
20
|
+
Type: "type",
|
|
21
|
+
Status: "status",
|
|
22
|
+
Progress: "progress",
|
|
23
|
+
Weight: "weight",
|
|
24
|
+
StartAt: "start_at",
|
|
25
|
+
DueAt: "due_at",
|
|
26
|
+
CompletedAt: "completed_at",
|
|
27
|
+
Milestones: "milestones",
|
|
28
|
+
Raw: "raw",
|
|
29
|
+
} as const;
|
|
30
|
+
export type PatchPerformanceGoalQueryParamFields = ClosedEnum<
|
|
31
|
+
typeof PatchPerformanceGoalQueryParamFields
|
|
32
|
+
>;
|
|
33
|
+
|
|
34
|
+
export type PatchPerformanceGoalRequest = {
|
|
35
|
+
performanceGoal: shared.PerformanceGoal;
|
|
36
|
+
/**
|
|
37
|
+
* ID of the connection
|
|
38
|
+
*/
|
|
39
|
+
connectionId: string;
|
|
40
|
+
/**
|
|
41
|
+
* Fields to return
|
|
42
|
+
*/
|
|
43
|
+
fields?: Array<PatchPerformanceGoalQueryParamFields> | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* ID of the Goal
|
|
46
|
+
*/
|
|
47
|
+
id: string;
|
|
48
|
+
/**
|
|
49
|
+
* 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
|
|
50
|
+
*/
|
|
51
|
+
raw?: string | undefined;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
/** @internal */
|
|
55
|
+
export const PatchPerformanceGoalQueryParamFields$outboundSchema:
|
|
56
|
+
z.ZodNativeEnum<typeof PatchPerformanceGoalQueryParamFields> = z.nativeEnum(
|
|
57
|
+
PatchPerformanceGoalQueryParamFields,
|
|
58
|
+
);
|
|
59
|
+
|
|
60
|
+
/** @internal */
|
|
61
|
+
export type PatchPerformanceGoalRequest$Outbound = {
|
|
62
|
+
PerformanceGoal: shared.PerformanceGoal$Outbound;
|
|
63
|
+
connection_id: string;
|
|
64
|
+
fields?: Array<string> | undefined;
|
|
65
|
+
id: string;
|
|
66
|
+
raw?: string | undefined;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
/** @internal */
|
|
70
|
+
export const PatchPerformanceGoalRequest$outboundSchema: z.ZodType<
|
|
71
|
+
PatchPerformanceGoalRequest$Outbound,
|
|
72
|
+
z.ZodTypeDef,
|
|
73
|
+
PatchPerformanceGoalRequest
|
|
74
|
+
> = z.object({
|
|
75
|
+
performanceGoal: shared.PerformanceGoal$outboundSchema,
|
|
76
|
+
connectionId: z.string(),
|
|
77
|
+
fields: z.array(PatchPerformanceGoalQueryParamFields$outboundSchema)
|
|
78
|
+
.optional(),
|
|
79
|
+
id: z.string(),
|
|
80
|
+
raw: z.string().optional(),
|
|
81
|
+
}).transform((v) => {
|
|
82
|
+
return remap$(v, {
|
|
83
|
+
performanceGoal: "PerformanceGoal",
|
|
84
|
+
connectionId: "connection_id",
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
|
|
88
|
+
export function patchPerformanceGoalRequestToJSON(
|
|
89
|
+
patchPerformanceGoalRequest: PatchPerformanceGoalRequest,
|
|
90
|
+
): string {
|
|
91
|
+
return JSON.stringify(
|
|
92
|
+
PatchPerformanceGoalRequest$outboundSchema.parse(
|
|
93
|
+
patchPerformanceGoalRequest,
|
|
94
|
+
),
|
|
95
|
+
);
|
|
96
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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 { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type RemovePerformanceGoalRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* ID of the connection
|
|
14
|
+
*/
|
|
15
|
+
connectionId: string;
|
|
16
|
+
/**
|
|
17
|
+
* ID of the Goal
|
|
18
|
+
*/
|
|
19
|
+
id: string;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export type RemovePerformanceGoalResponse = {
|
|
23
|
+
headers: { [k: string]: Array<string> };
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export type RemovePerformanceGoalRequest$Outbound = {
|
|
28
|
+
connection_id: string;
|
|
29
|
+
id: string;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const RemovePerformanceGoalRequest$outboundSchema: z.ZodType<
|
|
34
|
+
RemovePerformanceGoalRequest$Outbound,
|
|
35
|
+
z.ZodTypeDef,
|
|
36
|
+
RemovePerformanceGoalRequest
|
|
37
|
+
> = z.object({
|
|
38
|
+
connectionId: z.string(),
|
|
39
|
+
id: z.string(),
|
|
40
|
+
}).transform((v) => {
|
|
41
|
+
return remap$(v, {
|
|
42
|
+
connectionId: "connection_id",
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
export function removePerformanceGoalRequestToJSON(
|
|
47
|
+
removePerformanceGoalRequest: RemovePerformanceGoalRequest,
|
|
48
|
+
): string {
|
|
49
|
+
return JSON.stringify(
|
|
50
|
+
RemovePerformanceGoalRequest$outboundSchema.parse(
|
|
51
|
+
removePerformanceGoalRequest,
|
|
52
|
+
),
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/** @internal */
|
|
57
|
+
export const RemovePerformanceGoalResponse$inboundSchema: z.ZodType<
|
|
58
|
+
RemovePerformanceGoalResponse,
|
|
59
|
+
z.ZodTypeDef,
|
|
60
|
+
unknown
|
|
61
|
+
> = z.object({
|
|
62
|
+
Headers: z.record(z.array(z.string())).default({}),
|
|
63
|
+
}).transform((v) => {
|
|
64
|
+
return remap$(v, {
|
|
65
|
+
"Headers": "headers",
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
export function removePerformanceGoalResponseFromJSON(
|
|
70
|
+
jsonString: string,
|
|
71
|
+
): SafeParseResult<RemovePerformanceGoalResponse, SDKValidationError> {
|
|
72
|
+
return safeParse(
|
|
73
|
+
jsonString,
|
|
74
|
+
(x) => RemovePerformanceGoalResponse$inboundSchema.parse(JSON.parse(x)),
|
|
75
|
+
`Failed to parse 'RemovePerformanceGoalResponse' from JSON`,
|
|
76
|
+
);
|
|
77
|
+
}
|
|
@@ -29,6 +29,9 @@ export type UpdateAccountingOrderQueryParamFields = ClosedEnum<
|
|
|
29
29
|
>;
|
|
30
30
|
|
|
31
31
|
export type UpdateAccountingOrderRequest = {
|
|
32
|
+
/**
|
|
33
|
+
* @deprecated; use AccountingSalesorder or AccountingPurchaseorder
|
|
34
|
+
*/
|
|
32
35
|
accountingOrder: shared.AccountingOrder;
|
|
33
36
|
/**
|
|
34
37
|
* ID of the connection
|
|
@@ -0,0 +1,96 @@
|
|
|
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 UpdatePerformanceGoalQueryParamFields = {
|
|
11
|
+
Id: "id",
|
|
12
|
+
CreatedAt: "created_at",
|
|
13
|
+
UpdatedAt: "updated_at",
|
|
14
|
+
Name: "name",
|
|
15
|
+
Description: "description",
|
|
16
|
+
UserIds: "user_ids",
|
|
17
|
+
CompanyId: "company_id",
|
|
18
|
+
ParentId: "parent_id",
|
|
19
|
+
CycleId: "cycle_id",
|
|
20
|
+
Type: "type",
|
|
21
|
+
Status: "status",
|
|
22
|
+
Progress: "progress",
|
|
23
|
+
Weight: "weight",
|
|
24
|
+
StartAt: "start_at",
|
|
25
|
+
DueAt: "due_at",
|
|
26
|
+
CompletedAt: "completed_at",
|
|
27
|
+
Milestones: "milestones",
|
|
28
|
+
Raw: "raw",
|
|
29
|
+
} as const;
|
|
30
|
+
export type UpdatePerformanceGoalQueryParamFields = ClosedEnum<
|
|
31
|
+
typeof UpdatePerformanceGoalQueryParamFields
|
|
32
|
+
>;
|
|
33
|
+
|
|
34
|
+
export type UpdatePerformanceGoalRequest = {
|
|
35
|
+
performanceGoal: shared.PerformanceGoal;
|
|
36
|
+
/**
|
|
37
|
+
* ID of the connection
|
|
38
|
+
*/
|
|
39
|
+
connectionId: string;
|
|
40
|
+
/**
|
|
41
|
+
* Fields to return
|
|
42
|
+
*/
|
|
43
|
+
fields?: Array<UpdatePerformanceGoalQueryParamFields> | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* ID of the Goal
|
|
46
|
+
*/
|
|
47
|
+
id: string;
|
|
48
|
+
/**
|
|
49
|
+
* 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
|
|
50
|
+
*/
|
|
51
|
+
raw?: string | undefined;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
/** @internal */
|
|
55
|
+
export const UpdatePerformanceGoalQueryParamFields$outboundSchema:
|
|
56
|
+
z.ZodNativeEnum<typeof UpdatePerformanceGoalQueryParamFields> = z.nativeEnum(
|
|
57
|
+
UpdatePerformanceGoalQueryParamFields,
|
|
58
|
+
);
|
|
59
|
+
|
|
60
|
+
/** @internal */
|
|
61
|
+
export type UpdatePerformanceGoalRequest$Outbound = {
|
|
62
|
+
PerformanceGoal: shared.PerformanceGoal$Outbound;
|
|
63
|
+
connection_id: string;
|
|
64
|
+
fields?: Array<string> | undefined;
|
|
65
|
+
id: string;
|
|
66
|
+
raw?: string | undefined;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
/** @internal */
|
|
70
|
+
export const UpdatePerformanceGoalRequest$outboundSchema: z.ZodType<
|
|
71
|
+
UpdatePerformanceGoalRequest$Outbound,
|
|
72
|
+
z.ZodTypeDef,
|
|
73
|
+
UpdatePerformanceGoalRequest
|
|
74
|
+
> = z.object({
|
|
75
|
+
performanceGoal: shared.PerformanceGoal$outboundSchema,
|
|
76
|
+
connectionId: z.string(),
|
|
77
|
+
fields: z.array(UpdatePerformanceGoalQueryParamFields$outboundSchema)
|
|
78
|
+
.optional(),
|
|
79
|
+
id: z.string(),
|
|
80
|
+
raw: z.string().optional(),
|
|
81
|
+
}).transform((v) => {
|
|
82
|
+
return remap$(v, {
|
|
83
|
+
performanceGoal: "PerformanceGoal",
|
|
84
|
+
connectionId: "connection_id",
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
|
|
88
|
+
export function updatePerformanceGoalRequestToJSON(
|
|
89
|
+
updatePerformanceGoalRequest: UpdatePerformanceGoalRequest,
|
|
90
|
+
): string {
|
|
91
|
+
return JSON.stringify(
|
|
92
|
+
UpdatePerformanceGoalRequest$outboundSchema.parse(
|
|
93
|
+
updatePerformanceGoalRequest,
|
|
94
|
+
),
|
|
95
|
+
);
|
|
96
|
+
}
|
|
@@ -47,6 +47,9 @@ export const AccountingOrderType = {
|
|
|
47
47
|
} as const;
|
|
48
48
|
export type AccountingOrderType = OpenEnum<typeof AccountingOrderType>;
|
|
49
49
|
|
|
50
|
+
/**
|
|
51
|
+
* @deprecated; use AccountingSalesorder or AccountingPurchaseorder
|
|
52
|
+
*/
|
|
50
53
|
export type AccountingOrder = {
|
|
51
54
|
accountId?: string | undefined;
|
|
52
55
|
billingAddress?: PropertyAccountingOrderBillingAddress | undefined;
|
|
@@ -250,6 +250,12 @@ export * from "./paymentpayment.js";
|
|
|
250
250
|
export * from "./paymentpayout.js";
|
|
251
251
|
export * from "./paymentrefund.js";
|
|
252
252
|
export * from "./paymentsubscription.js";
|
|
253
|
+
export * from "./performancecycle.js";
|
|
254
|
+
export * from "./performancefeedback.js";
|
|
255
|
+
export * from "./performancegoal.js";
|
|
256
|
+
export * from "./performancegoalmilestone.js";
|
|
257
|
+
export * from "./performancereview.js";
|
|
258
|
+
export * from "./performancereviewquestion.js";
|
|
253
259
|
export * from "./propertyaccountingagedrowcontact.js";
|
|
254
260
|
export * from "./propertyaccountingagedrowtransaction.js";
|
|
255
261
|
export * from "./propertyaccountingcontactbillingaddress.js";
|
|
@@ -168,6 +168,13 @@ export const ListCustomerId = {
|
|
|
168
168
|
} as const;
|
|
169
169
|
export type ListCustomerId = OpenEnum<typeof ListCustomerId>;
|
|
170
170
|
|
|
171
|
+
export const ListCycleId = {
|
|
172
|
+
SupportedRequired: "supported-required",
|
|
173
|
+
Supported: "supported",
|
|
174
|
+
NotSupported: "not-supported",
|
|
175
|
+
} as const;
|
|
176
|
+
export type ListCycleId = OpenEnum<typeof ListCycleId>;
|
|
177
|
+
|
|
171
178
|
export const ListDatabaseId = {
|
|
172
179
|
SupportedRequired: "supported-required",
|
|
173
180
|
Supported: "supported",
|
|
@@ -994,6 +1001,13 @@ export type VirtualWebhookCustomerId = OpenEnum<
|
|
|
994
1001
|
typeof VirtualWebhookCustomerId
|
|
995
1002
|
>;
|
|
996
1003
|
|
|
1004
|
+
export const VirtualWebhookCycleId = {
|
|
1005
|
+
SupportedRequired: "supported-required",
|
|
1006
|
+
Supported: "supported",
|
|
1007
|
+
NotSupported: "not-supported",
|
|
1008
|
+
} as const;
|
|
1009
|
+
export type VirtualWebhookCycleId = OpenEnum<typeof VirtualWebhookCycleId>;
|
|
1010
|
+
|
|
997
1011
|
export const VirtualWebhookDatabaseId = {
|
|
998
1012
|
SupportedRequired: "supported-required",
|
|
999
1013
|
Supported: "supported",
|
|
@@ -1367,6 +1381,7 @@ export type IntegrationSupport = {
|
|
|
1367
1381
|
listContentId?: ListContentId | undefined;
|
|
1368
1382
|
listCourseId?: ListCourseId | undefined;
|
|
1369
1383
|
listCustomerId?: ListCustomerId | undefined;
|
|
1384
|
+
listCycleId?: ListCycleId | undefined;
|
|
1370
1385
|
listDatabaseId?: ListDatabaseId | undefined;
|
|
1371
1386
|
listDealId?: ListDealId | undefined;
|
|
1372
1387
|
listDimension?: ListDimension | undefined;
|
|
@@ -1490,6 +1505,7 @@ export type IntegrationSupport = {
|
|
|
1490
1505
|
virtualWebhookContactId?: VirtualWebhookContactId | undefined;
|
|
1491
1506
|
virtualWebhookCourseId?: VirtualWebhookCourseId | undefined;
|
|
1492
1507
|
virtualWebhookCustomerId?: VirtualWebhookCustomerId | undefined;
|
|
1508
|
+
virtualWebhookCycleId?: VirtualWebhookCycleId | undefined;
|
|
1493
1509
|
virtualWebhookDatabaseId?: VirtualWebhookDatabaseId | undefined;
|
|
1494
1510
|
virtualWebhookDealId?: VirtualWebhookDealId | undefined;
|
|
1495
1511
|
virtualWebhookEndLt?: VirtualWebhookEndLt | undefined;
|
|
@@ -1694,6 +1710,13 @@ export const ListCustomerId$inboundSchema: z.ZodType<
|
|
|
1694
1710
|
unknown
|
|
1695
1711
|
> = openEnums.inboundSchema(ListCustomerId);
|
|
1696
1712
|
|
|
1713
|
+
/** @internal */
|
|
1714
|
+
export const ListCycleId$inboundSchema: z.ZodType<
|
|
1715
|
+
ListCycleId,
|
|
1716
|
+
z.ZodTypeDef,
|
|
1717
|
+
unknown
|
|
1718
|
+
> = openEnums.inboundSchema(ListCycleId);
|
|
1719
|
+
|
|
1697
1720
|
/** @internal */
|
|
1698
1721
|
export const ListDatabaseId$inboundSchema: z.ZodType<
|
|
1699
1722
|
ListDatabaseId,
|
|
@@ -2506,6 +2529,13 @@ export const VirtualWebhookCustomerId$inboundSchema: z.ZodType<
|
|
|
2506
2529
|
unknown
|
|
2507
2530
|
> = openEnums.inboundSchema(VirtualWebhookCustomerId);
|
|
2508
2531
|
|
|
2532
|
+
/** @internal */
|
|
2533
|
+
export const VirtualWebhookCycleId$inboundSchema: z.ZodType<
|
|
2534
|
+
VirtualWebhookCycleId,
|
|
2535
|
+
z.ZodTypeDef,
|
|
2536
|
+
unknown
|
|
2537
|
+
> = openEnums.inboundSchema(VirtualWebhookCycleId);
|
|
2538
|
+
|
|
2509
2539
|
/** @internal */
|
|
2510
2540
|
export const VirtualWebhookDatabaseId$inboundSchema: z.ZodType<
|
|
2511
2541
|
VirtualWebhookDatabaseId,
|
|
@@ -2864,6 +2894,7 @@ export const IntegrationSupport$inboundSchema: z.ZodType<
|
|
|
2864
2894
|
list_content_id: ListContentId$inboundSchema.optional(),
|
|
2865
2895
|
list_course_id: ListCourseId$inboundSchema.optional(),
|
|
2866
2896
|
list_customer_id: ListCustomerId$inboundSchema.optional(),
|
|
2897
|
+
list_cycle_id: ListCycleId$inboundSchema.optional(),
|
|
2867
2898
|
list_database_id: ListDatabaseId$inboundSchema.optional(),
|
|
2868
2899
|
list_deal_id: ListDealId$inboundSchema.optional(),
|
|
2869
2900
|
list_dimension: ListDimension$inboundSchema.optional(),
|
|
@@ -2991,6 +3022,7 @@ export const IntegrationSupport$inboundSchema: z.ZodType<
|
|
|
2991
3022
|
virtual_webhook_course_id: VirtualWebhookCourseId$inboundSchema.optional(),
|
|
2992
3023
|
virtual_webhook_customer_id: VirtualWebhookCustomerId$inboundSchema
|
|
2993
3024
|
.optional(),
|
|
3025
|
+
virtual_webhook_cycle_id: VirtualWebhookCycleId$inboundSchema.optional(),
|
|
2994
3026
|
virtual_webhook_database_id: VirtualWebhookDatabaseId$inboundSchema
|
|
2995
3027
|
.optional(),
|
|
2996
3028
|
virtual_webhook_deal_id: VirtualWebhookDealId$inboundSchema.optional(),
|
|
@@ -3075,6 +3107,7 @@ export const IntegrationSupport$inboundSchema: z.ZodType<
|
|
|
3075
3107
|
"list_content_id": "listContentId",
|
|
3076
3108
|
"list_course_id": "listCourseId",
|
|
3077
3109
|
"list_customer_id": "listCustomerId",
|
|
3110
|
+
"list_cycle_id": "listCycleId",
|
|
3078
3111
|
"list_database_id": "listDatabaseId",
|
|
3079
3112
|
"list_deal_id": "listDealId",
|
|
3080
3113
|
"list_dimension": "listDimension",
|
|
@@ -3194,6 +3227,7 @@ export const IntegrationSupport$inboundSchema: z.ZodType<
|
|
|
3194
3227
|
"virtual_webhook_contact_id": "virtualWebhookContactId",
|
|
3195
3228
|
"virtual_webhook_course_id": "virtualWebhookCourseId",
|
|
3196
3229
|
"virtual_webhook_customer_id": "virtualWebhookCustomerId",
|
|
3230
|
+
"virtual_webhook_cycle_id": "virtualWebhookCycleId",
|
|
3197
3231
|
"virtual_webhook_database_id": "virtualWebhookDatabaseId",
|
|
3198
3232
|
"virtual_webhook_deal_id": "virtualWebhookDealId",
|
|
3199
3233
|
"virtual_webhook_end_lt": "virtualWebhookEndLt",
|
|
@@ -0,0 +1,97 @@
|
|
|
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 { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import * as openEnums from "../../types/enums.js";
|
|
9
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
10
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
11
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
|
+
|
|
13
|
+
export const PerformanceCycleStatus = {
|
|
14
|
+
Draft: "DRAFT",
|
|
15
|
+
Scheduled: "SCHEDULED",
|
|
16
|
+
Active: "ACTIVE",
|
|
17
|
+
Closed: "CLOSED",
|
|
18
|
+
Other: "OTHER",
|
|
19
|
+
} as const;
|
|
20
|
+
export type PerformanceCycleStatus = OpenEnum<typeof PerformanceCycleStatus>;
|
|
21
|
+
|
|
22
|
+
export const PerformanceCycleType = {
|
|
23
|
+
Review: "REVIEW",
|
|
24
|
+
Goal: "GOAL",
|
|
25
|
+
Other: "OTHER",
|
|
26
|
+
} as const;
|
|
27
|
+
export type PerformanceCycleType = OpenEnum<typeof PerformanceCycleType>;
|
|
28
|
+
|
|
29
|
+
export type PerformanceCycle = {
|
|
30
|
+
createdAt?: Date | undefined;
|
|
31
|
+
description?: string | undefined;
|
|
32
|
+
dueAt?: Date | undefined;
|
|
33
|
+
endAt?: Date | undefined;
|
|
34
|
+
id?: string | undefined;
|
|
35
|
+
name?: string | undefined;
|
|
36
|
+
raw?: { [k: string]: any } | undefined;
|
|
37
|
+
startAt?: Date | undefined;
|
|
38
|
+
status?: PerformanceCycleStatus | undefined;
|
|
39
|
+
type?: PerformanceCycleType | undefined;
|
|
40
|
+
updatedAt?: Date | undefined;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
/** @internal */
|
|
44
|
+
export const PerformanceCycleStatus$inboundSchema: z.ZodType<
|
|
45
|
+
PerformanceCycleStatus,
|
|
46
|
+
z.ZodTypeDef,
|
|
47
|
+
unknown
|
|
48
|
+
> = openEnums.inboundSchema(PerformanceCycleStatus);
|
|
49
|
+
|
|
50
|
+
/** @internal */
|
|
51
|
+
export const PerformanceCycleType$inboundSchema: z.ZodType<
|
|
52
|
+
PerformanceCycleType,
|
|
53
|
+
z.ZodTypeDef,
|
|
54
|
+
unknown
|
|
55
|
+
> = openEnums.inboundSchema(PerformanceCycleType);
|
|
56
|
+
|
|
57
|
+
/** @internal */
|
|
58
|
+
export const PerformanceCycle$inboundSchema: z.ZodType<
|
|
59
|
+
PerformanceCycle,
|
|
60
|
+
z.ZodTypeDef,
|
|
61
|
+
unknown
|
|
62
|
+
> = z.object({
|
|
63
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
64
|
+
.optional(),
|
|
65
|
+
description: z.string().optional(),
|
|
66
|
+
due_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
67
|
+
.optional(),
|
|
68
|
+
end_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
69
|
+
.optional(),
|
|
70
|
+
id: z.string().optional(),
|
|
71
|
+
name: z.string().optional(),
|
|
72
|
+
raw: z.record(z.any()).optional(),
|
|
73
|
+
start_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
74
|
+
.optional(),
|
|
75
|
+
status: PerformanceCycleStatus$inboundSchema.optional(),
|
|
76
|
+
type: PerformanceCycleType$inboundSchema.optional(),
|
|
77
|
+
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
78
|
+
.optional(),
|
|
79
|
+
}).transform((v) => {
|
|
80
|
+
return remap$(v, {
|
|
81
|
+
"created_at": "createdAt",
|
|
82
|
+
"due_at": "dueAt",
|
|
83
|
+
"end_at": "endAt",
|
|
84
|
+
"start_at": "startAt",
|
|
85
|
+
"updated_at": "updatedAt",
|
|
86
|
+
});
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
export function performanceCycleFromJSON(
|
|
90
|
+
jsonString: string,
|
|
91
|
+
): SafeParseResult<PerformanceCycle, SDKValidationError> {
|
|
92
|
+
return safeParse(
|
|
93
|
+
jsonString,
|
|
94
|
+
(x) => PerformanceCycle$inboundSchema.parse(JSON.parse(x)),
|
|
95
|
+
`Failed to parse 'PerformanceCycle' from JSON`,
|
|
96
|
+
);
|
|
97
|
+
}
|