@taktoria/sdk 0.4.1 → 0.5.1
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/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/geist/client/Client.d.ts +49 -0
- package/dist/cjs/api/resources/geist/client/Client.js +213 -0
- package/dist/cjs/api/resources/geist/types/SurveyChange.d.ts +15 -0
- package/dist/cjs/api/resources/geist/types/SurveyChange.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyChangeDirection.d.ts +7 -0
- package/dist/cjs/api/resources/geist/types/SurveyChangeDirection.js +10 -0
- package/dist/cjs/api/resources/geist/types/SurveyChangeRule.d.ts +13 -0
- package/dist/cjs/api/resources/geist/types/SurveyChangeRule.js +16 -0
- package/dist/cjs/api/resources/geist/types/SurveyComparedWith.d.ts +6 -0
- package/dist/cjs/api/resources/geist/types/SurveyComparedWith.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyComparison.d.ts +9 -0
- package/dist/cjs/api/resources/geist/types/SurveyComparison.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyDimensionChange.d.ts +4 -0
- package/dist/cjs/api/resources/geist/types/SurveyDimensionChange.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyLeaderFeedback.d.ts +8 -0
- package/dist/cjs/api/resources/geist/types/SurveyLeaderFeedback.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyLeaderFeedbackLevel.d.ts +12 -0
- package/dist/cjs/api/resources/geist/types/SurveyLeaderFeedbackLevel.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyLeaderFeedbackList.d.ts +4 -0
- package/dist/cjs/api/resources/geist/types/SurveyLeaderFeedbackList.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyLeaderFeedbackSurvey.d.ts +6 -0
- package/dist/cjs/api/resources/geist/types/SurveyLeaderFeedbackSurvey.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyLeaderLevel.d.ts +13 -0
- package/dist/cjs/api/resources/geist/types/SurveyLeaderLevel.js +16 -0
- package/dist/cjs/api/resources/geist/types/SurveyLeaderLevelResult.d.ts +11 -0
- package/dist/cjs/api/resources/geist/types/SurveyLeaderLevelResult.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyLeaderResult.d.ts +15 -0
- package/dist/cjs/api/resources/geist/types/SurveyLeaderResult.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyLeadershipSettings.d.ts +7 -0
- package/dist/cjs/api/resources/geist/types/SurveyLeadershipSettings.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyQuestion.d.ts +1 -0
- package/dist/cjs/api/resources/geist/types/SurveyQuestionChange.d.ts +8 -0
- package/dist/cjs/api/resources/geist/types/SurveyQuestionChange.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyQuestionChangeBasis.d.ts +12 -0
- package/dist/cjs/api/resources/geist/types/SurveyQuestionChangeBasis.js +15 -0
- package/dist/cjs/api/resources/geist/types/SurveyQuestionInput.d.ts +7 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearch.d.ts +25 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearch.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchCbi.d.ts +10 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchCbi.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchCbiScale.d.ts +10 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchCbiScale.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchFevs.d.ts +10 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchFevs.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchFevsIndex.d.ts +10 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchFevsIndex.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchFevsItem.d.ts +8 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchFevsItem.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchFevsVerdict.d.ts +12 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchFevsVerdict.js +15 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchHse.d.ts +12 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchHse.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchHseBand.d.ts +15 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchHseBand.js +18 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchHseBenchmark.d.ts +8 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchHseBenchmark.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchHseScale.d.ts +8 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchHseScale.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchMspb.d.ts +12 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchMspb.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchNone.d.ts +7 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchNone.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchNoneReason.d.ts +9 -0
- package/dist/cjs/api/resources/geist/types/SurveyResearchNoneReason.js +12 -0
- package/dist/cjs/api/resources/geist/types/SurveyResults.d.ts +17 -1
- package/dist/cjs/api/resources/geist/types/SurveyRoundResult.d.ts +1 -0
- package/dist/cjs/api/resources/geist/types/SurveySummary.d.ts +4 -0
- package/dist/cjs/api/resources/geist/types/SurveyTeamChange.d.ts +8 -0
- package/dist/cjs/api/resources/geist/types/SurveyTeamChange.js +3 -0
- package/dist/cjs/api/resources/geist/types/UpdateLeadershipSettingsRequest.d.ts +6 -0
- package/dist/cjs/api/resources/geist/types/UpdateLeadershipSettingsRequest.js +3 -0
- package/dist/cjs/api/resources/geist/types/UpdateSurveyRequest.d.ts +4 -0
- package/dist/cjs/api/resources/geist/types/index.d.ts +32 -0
- package/dist/cjs/api/resources/geist/types/index.js +32 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyChange.d.ts +16 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyChange.js +48 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyChangeDirection.d.ts +7 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyChangeDirection.js +39 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyChangeRule.d.ts +7 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyChangeRule.js +39 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyComparedWith.d.ts +12 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyComparedWith.js +44 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyComparison.d.ts +18 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyComparison.js +50 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyDimensionChange.d.ts +10 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyDimensionChange.js +44 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyLeaderFeedback.d.ts +12 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyLeaderFeedback.js +44 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyLeaderFeedbackLevel.d.ts +15 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyLeaderFeedbackLevel.js +47 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyLeaderFeedbackList.d.ts +10 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyLeaderFeedbackList.js +42 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyLeaderFeedbackSurvey.d.ts +12 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyLeaderFeedbackSurvey.js +44 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyLeaderLevel.d.ts +7 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyLeaderLevel.js +39 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyLeaderLevelResult.d.ts +17 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyLeaderLevelResult.js +49 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyLeaderResult.d.ts +14 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyLeaderResult.js +46 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyLeadershipSettings.d.ts +12 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyLeadershipSettings.js +44 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyQuestion.d.ts +1 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyQuestion.js +1 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyQuestionChange.d.ts +12 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyQuestionChange.js +46 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyQuestionChangeBasis.d.ts +7 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyQuestionChangeBasis.js +39 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyQuestionInput.d.ts +1 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyQuestionInput.js +1 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearch.d.ts +27 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearch.js +55 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchCbi.d.ts +10 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchCbi.js +42 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchCbiScale.d.ts +13 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchCbiScale.js +45 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchFevs.d.ts +12 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchFevs.js +44 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchFevsIndex.d.ts +12 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchFevsIndex.js +44 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchFevsItem.d.ts +14 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchFevsItem.js +46 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchFevsVerdict.d.ts +7 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchFevsVerdict.js +39 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchHse.d.ts +11 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchHse.js +43 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchHseBand.d.ts +7 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchHseBand.js +39 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchHseBenchmark.d.ts +11 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchHseBenchmark.js +43 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchHseScale.d.ts +14 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchHseScale.js +46 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchMspb.d.ts +12 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchMspb.js +44 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchNone.d.ts +10 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchNone.js +42 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchNoneReason.d.ts +7 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResearchNoneReason.js +39 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResults.d.ts +6 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResults.js +6 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyRoundResult.d.ts +1 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyRoundResult.js +1 -0
- package/dist/cjs/serialization/resources/geist/types/SurveySummary.d.ts +3 -0
- package/dist/cjs/serialization/resources/geist/types/SurveySummary.js +3 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyTeamChange.d.ts +11 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyTeamChange.js +45 -0
- package/dist/cjs/serialization/resources/geist/types/UpdateLeadershipSettingsRequest.d.ts +11 -0
- package/dist/cjs/serialization/resources/geist/types/UpdateLeadershipSettingsRequest.js +43 -0
- package/dist/cjs/serialization/resources/geist/types/UpdateSurveyRequest.d.ts +3 -0
- package/dist/cjs/serialization/resources/geist/types/UpdateSurveyRequest.js +3 -0
- package/dist/cjs/serialization/resources/geist/types/index.d.ts +32 -0
- package/dist/cjs/serialization/resources/geist/types/index.js +32 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/geist/client/Client.d.mts +49 -0
- package/dist/esm/api/resources/geist/client/Client.mjs +213 -0
- package/dist/esm/api/resources/geist/types/SurveyChange.d.mts +15 -0
- package/dist/esm/api/resources/geist/types/SurveyChange.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyChangeDirection.d.mts +7 -0
- package/dist/esm/api/resources/geist/types/SurveyChangeDirection.mjs +7 -0
- package/dist/esm/api/resources/geist/types/SurveyChangeRule.d.mts +13 -0
- package/dist/esm/api/resources/geist/types/SurveyChangeRule.mjs +13 -0
- package/dist/esm/api/resources/geist/types/SurveyComparedWith.d.mts +6 -0
- package/dist/esm/api/resources/geist/types/SurveyComparedWith.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyComparison.d.mts +9 -0
- package/dist/esm/api/resources/geist/types/SurveyComparison.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyDimensionChange.d.mts +4 -0
- package/dist/esm/api/resources/geist/types/SurveyDimensionChange.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyLeaderFeedback.d.mts +8 -0
- package/dist/esm/api/resources/geist/types/SurveyLeaderFeedback.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyLeaderFeedbackLevel.d.mts +12 -0
- package/dist/esm/api/resources/geist/types/SurveyLeaderFeedbackLevel.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyLeaderFeedbackList.d.mts +4 -0
- package/dist/esm/api/resources/geist/types/SurveyLeaderFeedbackList.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyLeaderFeedbackSurvey.d.mts +6 -0
- package/dist/esm/api/resources/geist/types/SurveyLeaderFeedbackSurvey.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyLeaderLevel.d.mts +13 -0
- package/dist/esm/api/resources/geist/types/SurveyLeaderLevel.mjs +13 -0
- package/dist/esm/api/resources/geist/types/SurveyLeaderLevelResult.d.mts +11 -0
- package/dist/esm/api/resources/geist/types/SurveyLeaderLevelResult.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyLeaderResult.d.mts +15 -0
- package/dist/esm/api/resources/geist/types/SurveyLeaderResult.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyLeadershipSettings.d.mts +7 -0
- package/dist/esm/api/resources/geist/types/SurveyLeadershipSettings.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyQuestion.d.mts +1 -0
- package/dist/esm/api/resources/geist/types/SurveyQuestionChange.d.mts +8 -0
- package/dist/esm/api/resources/geist/types/SurveyQuestionChange.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyQuestionChangeBasis.d.mts +12 -0
- package/dist/esm/api/resources/geist/types/SurveyQuestionChangeBasis.mjs +12 -0
- package/dist/esm/api/resources/geist/types/SurveyQuestionInput.d.mts +7 -0
- package/dist/esm/api/resources/geist/types/SurveyResearch.d.mts +25 -0
- package/dist/esm/api/resources/geist/types/SurveyResearch.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchCbi.d.mts +10 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchCbi.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchCbiScale.d.mts +10 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchCbiScale.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchFevs.d.mts +10 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchFevs.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchFevsIndex.d.mts +10 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchFevsIndex.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchFevsItem.d.mts +8 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchFevsItem.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchFevsVerdict.d.mts +12 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchFevsVerdict.mjs +12 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchHse.d.mts +12 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchHse.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchHseBand.d.mts +15 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchHseBand.mjs +15 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchHseBenchmark.d.mts +8 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchHseBenchmark.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchHseScale.d.mts +8 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchHseScale.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchMspb.d.mts +12 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchMspb.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchNone.d.mts +7 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchNone.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchNoneReason.d.mts +9 -0
- package/dist/esm/api/resources/geist/types/SurveyResearchNoneReason.mjs +9 -0
- package/dist/esm/api/resources/geist/types/SurveyResults.d.mts +17 -1
- package/dist/esm/api/resources/geist/types/SurveyRoundResult.d.mts +1 -0
- package/dist/esm/api/resources/geist/types/SurveySummary.d.mts +4 -0
- package/dist/esm/api/resources/geist/types/SurveyTeamChange.d.mts +8 -0
- package/dist/esm/api/resources/geist/types/SurveyTeamChange.mjs +2 -0
- package/dist/esm/api/resources/geist/types/UpdateLeadershipSettingsRequest.d.mts +6 -0
- package/dist/esm/api/resources/geist/types/UpdateLeadershipSettingsRequest.mjs +2 -0
- package/dist/esm/api/resources/geist/types/UpdateSurveyRequest.d.mts +4 -0
- package/dist/esm/api/resources/geist/types/index.d.mts +32 -0
- package/dist/esm/api/resources/geist/types/index.mjs +32 -0
- package/dist/esm/serialization/resources/geist/types/SurveyChange.d.mts +16 -0
- package/dist/esm/serialization/resources/geist/types/SurveyChange.mjs +12 -0
- package/dist/esm/serialization/resources/geist/types/SurveyChangeDirection.d.mts +7 -0
- package/dist/esm/serialization/resources/geist/types/SurveyChangeDirection.mjs +3 -0
- package/dist/esm/serialization/resources/geist/types/SurveyChangeRule.d.mts +7 -0
- package/dist/esm/serialization/resources/geist/types/SurveyChangeRule.mjs +3 -0
- package/dist/esm/serialization/resources/geist/types/SurveyComparedWith.d.mts +12 -0
- package/dist/esm/serialization/resources/geist/types/SurveyComparedWith.mjs +8 -0
- package/dist/esm/serialization/resources/geist/types/SurveyComparison.d.mts +18 -0
- package/dist/esm/serialization/resources/geist/types/SurveyComparison.mjs +14 -0
- package/dist/esm/serialization/resources/geist/types/SurveyDimensionChange.d.mts +10 -0
- package/dist/esm/serialization/resources/geist/types/SurveyDimensionChange.mjs +8 -0
- package/dist/esm/serialization/resources/geist/types/SurveyLeaderFeedback.d.mts +12 -0
- package/dist/esm/serialization/resources/geist/types/SurveyLeaderFeedback.mjs +8 -0
- package/dist/esm/serialization/resources/geist/types/SurveyLeaderFeedbackLevel.d.mts +15 -0
- package/dist/esm/serialization/resources/geist/types/SurveyLeaderFeedbackLevel.mjs +11 -0
- package/dist/esm/serialization/resources/geist/types/SurveyLeaderFeedbackList.d.mts +10 -0
- package/dist/esm/serialization/resources/geist/types/SurveyLeaderFeedbackList.mjs +6 -0
- package/dist/esm/serialization/resources/geist/types/SurveyLeaderFeedbackSurvey.d.mts +12 -0
- package/dist/esm/serialization/resources/geist/types/SurveyLeaderFeedbackSurvey.mjs +8 -0
- package/dist/esm/serialization/resources/geist/types/SurveyLeaderLevel.d.mts +7 -0
- package/dist/esm/serialization/resources/geist/types/SurveyLeaderLevel.mjs +3 -0
- package/dist/esm/serialization/resources/geist/types/SurveyLeaderLevelResult.d.mts +17 -0
- package/dist/esm/serialization/resources/geist/types/SurveyLeaderLevelResult.mjs +13 -0
- package/dist/esm/serialization/resources/geist/types/SurveyLeaderResult.d.mts +14 -0
- package/dist/esm/serialization/resources/geist/types/SurveyLeaderResult.mjs +10 -0
- package/dist/esm/serialization/resources/geist/types/SurveyLeadershipSettings.d.mts +12 -0
- package/dist/esm/serialization/resources/geist/types/SurveyLeadershipSettings.mjs +8 -0
- package/dist/esm/serialization/resources/geist/types/SurveyQuestion.d.mts +1 -0
- package/dist/esm/serialization/resources/geist/types/SurveyQuestion.mjs +1 -0
- package/dist/esm/serialization/resources/geist/types/SurveyQuestionChange.d.mts +12 -0
- package/dist/esm/serialization/resources/geist/types/SurveyQuestionChange.mjs +10 -0
- package/dist/esm/serialization/resources/geist/types/SurveyQuestionChangeBasis.d.mts +7 -0
- package/dist/esm/serialization/resources/geist/types/SurveyQuestionChangeBasis.mjs +3 -0
- package/dist/esm/serialization/resources/geist/types/SurveyQuestionInput.d.mts +1 -0
- package/dist/esm/serialization/resources/geist/types/SurveyQuestionInput.mjs +1 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearch.d.mts +27 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearch.mjs +19 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchCbi.d.mts +10 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchCbi.mjs +6 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchCbiScale.d.mts +13 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchCbiScale.mjs +9 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchFevs.d.mts +12 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchFevs.mjs +8 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchFevsIndex.d.mts +12 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchFevsIndex.mjs +8 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchFevsItem.d.mts +14 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchFevsItem.mjs +10 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchFevsVerdict.d.mts +7 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchFevsVerdict.mjs +3 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchHse.d.mts +11 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchHse.mjs +7 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchHseBand.d.mts +7 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchHseBand.mjs +3 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchHseBenchmark.d.mts +11 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchHseBenchmark.mjs +7 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchHseScale.d.mts +14 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchHseScale.mjs +10 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchMspb.d.mts +12 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchMspb.mjs +8 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchNone.d.mts +10 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchNone.mjs +6 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchNoneReason.d.mts +7 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResearchNoneReason.mjs +3 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResults.d.mts +6 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResults.mjs +6 -0
- package/dist/esm/serialization/resources/geist/types/SurveyRoundResult.d.mts +1 -0
- package/dist/esm/serialization/resources/geist/types/SurveyRoundResult.mjs +1 -0
- package/dist/esm/serialization/resources/geist/types/SurveySummary.d.mts +3 -0
- package/dist/esm/serialization/resources/geist/types/SurveySummary.mjs +3 -0
- package/dist/esm/serialization/resources/geist/types/SurveyTeamChange.d.mts +11 -0
- package/dist/esm/serialization/resources/geist/types/SurveyTeamChange.mjs +9 -0
- package/dist/esm/serialization/resources/geist/types/UpdateLeadershipSettingsRequest.d.mts +11 -0
- package/dist/esm/serialization/resources/geist/types/UpdateLeadershipSettingsRequest.mjs +7 -0
- package/dist/esm/serialization/resources/geist/types/UpdateSurveyRequest.d.mts +3 -0
- package/dist/esm/serialization/resources/geist/types/UpdateSurveyRequest.mjs +3 -0
- package/dist/esm/serialization/resources/geist/types/index.d.mts +32 -0
- package/dist/esm/serialization/resources/geist/types/index.mjs +32 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +177 -0
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@taktoria/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "0.
|
|
47
|
-
"User-Agent": "@taktoria/sdk/0.
|
|
46
|
+
"X-Fern-SDK-Version": "0.5.1",
|
|
47
|
+
"User-Agent": "@taktoria/sdk/0.5.1",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -254,6 +254,55 @@ export declare class GeistClient {
|
|
|
254
254
|
*/
|
|
255
255
|
exportSurveyResults(surveyId: string, requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<core.BinaryResponse>;
|
|
256
256
|
private __exportSurveyResults;
|
|
257
|
+
/**
|
|
258
|
+
* The levels of leadership the workspace's surveys may ask about, and who its CEO is.
|
|
259
|
+
*
|
|
260
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
261
|
+
*
|
|
262
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
263
|
+
* @throws {@link errors.TaktoriaError}
|
|
264
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
265
|
+
*
|
|
266
|
+
* @example
|
|
267
|
+
* await client.geist.getLeadershipSettings()
|
|
268
|
+
*/
|
|
269
|
+
getLeadershipSettings(requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<Taktoria.SurveyLeadershipSettings>;
|
|
270
|
+
private __getLeadershipSettings;
|
|
271
|
+
/**
|
|
272
|
+
* Change which levels the workspace has, or who its CEO is. Only
|
|
273
|
+
* Geist's admins, and keys.
|
|
274
|
+
*
|
|
275
|
+
* @param {Taktoria.UpdateLeadershipSettingsRequest} request
|
|
276
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
277
|
+
*
|
|
278
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
279
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
280
|
+
* @throws {@link errors.TaktoriaError}
|
|
281
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
282
|
+
*
|
|
283
|
+
* @example
|
|
284
|
+
* await client.geist.updateLeadershipSettings({})
|
|
285
|
+
*/
|
|
286
|
+
updateLeadershipSettings(request: Taktoria.UpdateLeadershipSettingsRequest, requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<Taktoria.SurveyLeadershipSettings>;
|
|
287
|
+
private __updateLeadershipSettings;
|
|
288
|
+
/**
|
|
289
|
+
* What surveys' answers say about you as a leader: the closed surveys
|
|
290
|
+
* that let each leader see their own, where something of yours shows,
|
|
291
|
+
* most recent first. Only what those who ran them can see too. Empty
|
|
292
|
+
* for a workspace's key. Has a rate limit of its own.
|
|
293
|
+
*
|
|
294
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
295
|
+
*
|
|
296
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
297
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
298
|
+
* @throws {@link errors.TaktoriaError}
|
|
299
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
300
|
+
*
|
|
301
|
+
* @example
|
|
302
|
+
* await client.geist.listMyLeadershipFeedback()
|
|
303
|
+
*/
|
|
304
|
+
listMyLeadershipFeedback(requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<Taktoria.SurveyLeaderFeedbackList>;
|
|
305
|
+
private __listMyLeadershipFeedback;
|
|
257
306
|
/**
|
|
258
307
|
* The built-in surveys: validated instruments free for commercial use
|
|
259
308
|
* (HSE Management Standards, Copenhagen Burnout Inventory, NIOSH
|
|
@@ -1202,6 +1202,219 @@ class GeistClient {
|
|
|
1202
1202
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/geist/surveys/{surveyId}/results/export");
|
|
1203
1203
|
});
|
|
1204
1204
|
}
|
|
1205
|
+
/**
|
|
1206
|
+
* The levels of leadership the workspace's surveys may ask about, and who its CEO is.
|
|
1207
|
+
*
|
|
1208
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1209
|
+
*
|
|
1210
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
1211
|
+
* @throws {@link errors.TaktoriaError}
|
|
1212
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
1213
|
+
*
|
|
1214
|
+
* @example
|
|
1215
|
+
* await client.geist.getLeadershipSettings()
|
|
1216
|
+
*/
|
|
1217
|
+
getLeadershipSettings(requestOptions) {
|
|
1218
|
+
return core.HttpResponsePromise.fromPromise(this.__getLeadershipSettings(requestOptions));
|
|
1219
|
+
}
|
|
1220
|
+
__getLeadershipSettings(requestOptions) {
|
|
1221
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1222
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1223
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1224
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1225
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1226
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, "/geist/leadership"),
|
|
1227
|
+
method: "GET",
|
|
1228
|
+
headers: _headers,
|
|
1229
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
1230
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
1231
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
1232
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1233
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
1234
|
+
logging: this._options.logging,
|
|
1235
|
+
});
|
|
1236
|
+
if (_response.ok) {
|
|
1237
|
+
return {
|
|
1238
|
+
data: serializers.SurveyLeadershipSettings.parseOrThrow(_response.body, {
|
|
1239
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1240
|
+
allowUnrecognizedUnionMembers: true,
|
|
1241
|
+
allowUnrecognizedEnumValues: true,
|
|
1242
|
+
skipValidation: true,
|
|
1243
|
+
breadcrumbsPrefix: ["response"],
|
|
1244
|
+
}),
|
|
1245
|
+
rawResponse: _response.rawResponse,
|
|
1246
|
+
};
|
|
1247
|
+
}
|
|
1248
|
+
if (_response.error.reason === "status-code") {
|
|
1249
|
+
switch (_response.error.statusCode) {
|
|
1250
|
+
case 429:
|
|
1251
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1252
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1253
|
+
allowUnrecognizedUnionMembers: true,
|
|
1254
|
+
allowUnrecognizedEnumValues: true,
|
|
1255
|
+
skipValidation: true,
|
|
1256
|
+
breadcrumbsPrefix: ["response"],
|
|
1257
|
+
}), _response.rawResponse);
|
|
1258
|
+
default:
|
|
1259
|
+
throw new errors.TaktoriaError({
|
|
1260
|
+
statusCode: _response.error.statusCode,
|
|
1261
|
+
body: _response.error.body,
|
|
1262
|
+
rawResponse: _response.rawResponse,
|
|
1263
|
+
});
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1266
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/geist/leadership");
|
|
1267
|
+
});
|
|
1268
|
+
}
|
|
1269
|
+
/**
|
|
1270
|
+
* Change which levels the workspace has, or who its CEO is. Only
|
|
1271
|
+
* Geist's admins, and keys.
|
|
1272
|
+
*
|
|
1273
|
+
* @param {Taktoria.UpdateLeadershipSettingsRequest} request
|
|
1274
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1275
|
+
*
|
|
1276
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
1277
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
1278
|
+
* @throws {@link errors.TaktoriaError}
|
|
1279
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
1280
|
+
*
|
|
1281
|
+
* @example
|
|
1282
|
+
* await client.geist.updateLeadershipSettings({})
|
|
1283
|
+
*/
|
|
1284
|
+
updateLeadershipSettings(request, requestOptions) {
|
|
1285
|
+
return core.HttpResponsePromise.fromPromise(this.__updateLeadershipSettings(request, requestOptions));
|
|
1286
|
+
}
|
|
1287
|
+
__updateLeadershipSettings(request, requestOptions) {
|
|
1288
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1289
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1290
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1291
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1292
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1293
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, "/geist/leadership"),
|
|
1294
|
+
method: "PATCH",
|
|
1295
|
+
headers: _headers,
|
|
1296
|
+
contentType: "application/json",
|
|
1297
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
1298
|
+
requestType: "json",
|
|
1299
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(serializers.UpdateLeadershipSettingsRequest.jsonOrThrow(request, {
|
|
1300
|
+
unrecognizedObjectKeys: "strip",
|
|
1301
|
+
omitUndefined: true,
|
|
1302
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
1303
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
1304
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
1305
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1306
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
1307
|
+
logging: this._options.logging,
|
|
1308
|
+
});
|
|
1309
|
+
if (_response.ok) {
|
|
1310
|
+
return {
|
|
1311
|
+
data: serializers.SurveyLeadershipSettings.parseOrThrow(_response.body, {
|
|
1312
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1313
|
+
allowUnrecognizedUnionMembers: true,
|
|
1314
|
+
allowUnrecognizedEnumValues: true,
|
|
1315
|
+
skipValidation: true,
|
|
1316
|
+
breadcrumbsPrefix: ["response"],
|
|
1317
|
+
}),
|
|
1318
|
+
rawResponse: _response.rawResponse,
|
|
1319
|
+
};
|
|
1320
|
+
}
|
|
1321
|
+
if (_response.error.reason === "status-code") {
|
|
1322
|
+
switch (_response.error.statusCode) {
|
|
1323
|
+
case 403:
|
|
1324
|
+
throw new Taktoria.ForbiddenError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1325
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1326
|
+
allowUnrecognizedUnionMembers: true,
|
|
1327
|
+
allowUnrecognizedEnumValues: true,
|
|
1328
|
+
skipValidation: true,
|
|
1329
|
+
breadcrumbsPrefix: ["response"],
|
|
1330
|
+
}), _response.rawResponse);
|
|
1331
|
+
case 429:
|
|
1332
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1333
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1334
|
+
allowUnrecognizedUnionMembers: true,
|
|
1335
|
+
allowUnrecognizedEnumValues: true,
|
|
1336
|
+
skipValidation: true,
|
|
1337
|
+
breadcrumbsPrefix: ["response"],
|
|
1338
|
+
}), _response.rawResponse);
|
|
1339
|
+
default:
|
|
1340
|
+
throw new errors.TaktoriaError({
|
|
1341
|
+
statusCode: _response.error.statusCode,
|
|
1342
|
+
body: _response.error.body,
|
|
1343
|
+
rawResponse: _response.rawResponse,
|
|
1344
|
+
});
|
|
1345
|
+
}
|
|
1346
|
+
}
|
|
1347
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PATCH", "/geist/leadership");
|
|
1348
|
+
});
|
|
1349
|
+
}
|
|
1350
|
+
/**
|
|
1351
|
+
* What surveys' answers say about you as a leader: the closed surveys
|
|
1352
|
+
* that let each leader see their own, where something of yours shows,
|
|
1353
|
+
* most recent first. Only what those who ran them can see too. Empty
|
|
1354
|
+
* for a workspace's key. Has a rate limit of its own.
|
|
1355
|
+
*
|
|
1356
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1357
|
+
*
|
|
1358
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
1359
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
1360
|
+
* @throws {@link errors.TaktoriaError}
|
|
1361
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
1362
|
+
*
|
|
1363
|
+
* @example
|
|
1364
|
+
* await client.geist.listMyLeadershipFeedback()
|
|
1365
|
+
*/
|
|
1366
|
+
listMyLeadershipFeedback(requestOptions) {
|
|
1367
|
+
return core.HttpResponsePromise.fromPromise(this.__listMyLeadershipFeedback(requestOptions));
|
|
1368
|
+
}
|
|
1369
|
+
__listMyLeadershipFeedback(requestOptions) {
|
|
1370
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1371
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1372
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1373
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1374
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1375
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, "/geist/leadership/feedback"),
|
|
1376
|
+
method: "GET",
|
|
1377
|
+
headers: _headers,
|
|
1378
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
1379
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
1380
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
1381
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1382
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
1383
|
+
logging: this._options.logging,
|
|
1384
|
+
});
|
|
1385
|
+
if (_response.ok) {
|
|
1386
|
+
return {
|
|
1387
|
+
data: serializers.SurveyLeaderFeedbackList.parseOrThrow(_response.body, {
|
|
1388
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1389
|
+
allowUnrecognizedUnionMembers: true,
|
|
1390
|
+
allowUnrecognizedEnumValues: true,
|
|
1391
|
+
skipValidation: true,
|
|
1392
|
+
breadcrumbsPrefix: ["response"],
|
|
1393
|
+
}),
|
|
1394
|
+
rawResponse: _response.rawResponse,
|
|
1395
|
+
};
|
|
1396
|
+
}
|
|
1397
|
+
if (_response.error.reason === "status-code") {
|
|
1398
|
+
switch (_response.error.statusCode) {
|
|
1399
|
+
case 429:
|
|
1400
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1401
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1402
|
+
allowUnrecognizedUnionMembers: true,
|
|
1403
|
+
allowUnrecognizedEnumValues: true,
|
|
1404
|
+
skipValidation: true,
|
|
1405
|
+
breadcrumbsPrefix: ["response"],
|
|
1406
|
+
}), _response.rawResponse);
|
|
1407
|
+
default:
|
|
1408
|
+
throw new errors.TaktoriaError({
|
|
1409
|
+
statusCode: _response.error.statusCode,
|
|
1410
|
+
body: _response.error.body,
|
|
1411
|
+
rawResponse: _response.rawResponse,
|
|
1412
|
+
});
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/geist/leadership/feedback");
|
|
1416
|
+
});
|
|
1417
|
+
}
|
|
1205
1418
|
/**
|
|
1206
1419
|
* The built-in surveys: validated instruments free for commercial use
|
|
1207
1420
|
* (HSE Management Standards, Copenhagen Burnout Inventory, NIOSH
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as Taktoria from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* One figure now and in the earlier survey, each as that survey's results
|
|
4
|
+
* show it. A figure either survey withholds has no change.
|
|
5
|
+
*/
|
|
6
|
+
export interface SurveyChange {
|
|
7
|
+
now: number;
|
|
8
|
+
before: number;
|
|
9
|
+
/** `now` less `before`, to one decimal. */
|
|
10
|
+
delta: number;
|
|
11
|
+
/** More than the normal variation between two surveys, by `rule`. */
|
|
12
|
+
meaningful: boolean;
|
|
13
|
+
direction: Taktoria.SurveyChangeDirection;
|
|
14
|
+
rule: Taktoria.SurveyChangeRule;
|
|
15
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Which way the change goes for the measure. A rise in a burnout score is `WORSE`. */
|
|
2
|
+
export declare const SurveyChangeDirection: {
|
|
3
|
+
readonly Better: "BETTER";
|
|
4
|
+
readonly Worse: "WORSE";
|
|
5
|
+
readonly Same: "SAME";
|
|
6
|
+
};
|
|
7
|
+
export type SurveyChangeDirection = (typeof SurveyChangeDirection)[keyof typeof SurveyChangeDirection];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.SurveyChangeDirection = void 0;
|
|
5
|
+
/** Which way the change goes for the measure. A rise in a burnout score is `WORSE`. */
|
|
6
|
+
exports.SurveyChangeDirection = {
|
|
7
|
+
Better: "BETTER",
|
|
8
|
+
Worse: "WORSE",
|
|
9
|
+
Same: "SAME",
|
|
10
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** How `meaningful` was decided. */
|
|
2
|
+
export declare const SurveyChangeRule: {
|
|
3
|
+
/**
|
|
4
|
+
* The Copenhagen Burnout Inventory's own rule, a change of 5 points or more, and Welch's t-test besides. */
|
|
5
|
+
readonly Cbi: "CBI";
|
|
6
|
+
/**
|
|
7
|
+
* OPM's rule for a FEVS item, a change of 3 points or more in percent positive, and Welch's t-test on the positive answers besides. */
|
|
8
|
+
readonly Fevs: "FEVS";
|
|
9
|
+
/**
|
|
10
|
+
* Welch's t-test on each person's score, p < 0.05, with at least `minGroupSize` people on each side. */
|
|
11
|
+
readonly Welch: "WELCH";
|
|
12
|
+
};
|
|
13
|
+
export type SurveyChangeRule = (typeof SurveyChangeRule)[keyof typeof SurveyChangeRule];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.SurveyChangeRule = void 0;
|
|
5
|
+
/** How `meaningful` was decided. */
|
|
6
|
+
exports.SurveyChangeRule = {
|
|
7
|
+
/**
|
|
8
|
+
* The Copenhagen Burnout Inventory's own rule, a change of 5 points or more, and Welch's t-test besides. */
|
|
9
|
+
Cbi: "CBI",
|
|
10
|
+
/**
|
|
11
|
+
* OPM's rule for a FEVS item, a change of 3 points or more in percent positive, and Welch's t-test on the positive answers besides. */
|
|
12
|
+
Fevs: "FEVS",
|
|
13
|
+
/**
|
|
14
|
+
* Welch's t-test on each person's score, p < 0.05, with at least `minGroupSize` people on each side. */
|
|
15
|
+
Welch: "WELCH",
|
|
16
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Taktoria from "../../../index.js";
|
|
2
|
+
export interface SurveyComparison {
|
|
3
|
+
/** The earlier survey compared with. */
|
|
4
|
+
survey: Taktoria.SurveyComparedWith;
|
|
5
|
+
overall?: Taktoria.SurveyChange;
|
|
6
|
+
dimensions: Taktoria.SurveyDimensionChange[];
|
|
7
|
+
questions: Taktoria.SurveyQuestionChange[];
|
|
8
|
+
teams: Taktoria.SurveyTeamChange[];
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as Taktoria from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* One survey's answers about you, at each level you were named at.
|
|
4
|
+
*/
|
|
5
|
+
export interface SurveyLeaderFeedback {
|
|
6
|
+
survey: Taktoria.SurveyLeaderFeedbackSurvey;
|
|
7
|
+
levels: Taktoria.SurveyLeaderFeedbackLevel[];
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Taktoria from "../../../index.js";
|
|
2
|
+
export interface SurveyLeaderFeedbackLevel {
|
|
3
|
+
level: Taktoria.SurveyLeaderLevel;
|
|
4
|
+
/** How many answered about you at this level. */
|
|
5
|
+
responses: number;
|
|
6
|
+
/** The mean of your `SCALE` questions' scores, where every question shows. */
|
|
7
|
+
overall?: number;
|
|
8
|
+
/** Everybody's at this level, for comparison. */
|
|
9
|
+
levelOverall?: number;
|
|
10
|
+
/** The questions that show for you, each prompt naming the level. */
|
|
11
|
+
questions: Taktoria.SurveyQuestionResult[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A level of leadership a question about each leader is asked about:
|
|
3
|
+
* the respondent's `SUPERVISOR`, `DIRECTOR`, `VP`, `CXO` (C-level
|
|
4
|
+
* executive) or `CEO`. A workspace turns off the levels it does not have.
|
|
5
|
+
*/
|
|
6
|
+
export declare const SurveyLeaderLevel: {
|
|
7
|
+
readonly Supervisor: "SUPERVISOR";
|
|
8
|
+
readonly Director: "DIRECTOR";
|
|
9
|
+
readonly Vp: "VP";
|
|
10
|
+
readonly Cxo: "CXO";
|
|
11
|
+
readonly Ceo: "CEO";
|
|
12
|
+
};
|
|
13
|
+
export type SurveyLeaderLevel = (typeof SurveyLeaderLevel)[keyof typeof SurveyLeaderLevel];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.SurveyLeaderLevel = void 0;
|
|
5
|
+
/**
|
|
6
|
+
* A level of leadership a question about each leader is asked about:
|
|
7
|
+
* the respondent's `SUPERVISOR`, `DIRECTOR`, `VP`, `CXO` (C-level
|
|
8
|
+
* executive) or `CEO`. A workspace turns off the levels it does not have.
|
|
9
|
+
*/
|
|
10
|
+
exports.SurveyLeaderLevel = {
|
|
11
|
+
Supervisor: "SUPERVISOR",
|
|
12
|
+
Director: "DIRECTOR",
|
|
13
|
+
Vp: "VP",
|
|
14
|
+
Cxo: "CXO",
|
|
15
|
+
Ceo: "CEO",
|
|
16
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Taktoria from "../../../index.js";
|
|
2
|
+
export interface SurveyLeaderLevelResult {
|
|
3
|
+
level: Taktoria.SurveyLeaderLevel;
|
|
4
|
+
/** How many answered about somebody at this level. */
|
|
5
|
+
responses: number;
|
|
6
|
+
/** Fewer than `minGroupSize` answered about this level; nothing else is given. */
|
|
7
|
+
hidden: boolean;
|
|
8
|
+
overall?: number;
|
|
9
|
+
questions: Taktoria.SurveyQuestionResult[];
|
|
10
|
+
leaders: Taktoria.SurveyLeaderResult[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as Taktoria from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* One leader's results at one level. Only leaders whose results may show
|
|
4
|
+
* are listed: one too few answered about, or who could be worked out
|
|
5
|
+
* from the others, is left out altogether.
|
|
6
|
+
*/
|
|
7
|
+
export interface SurveyLeaderResult {
|
|
8
|
+
userId: string;
|
|
9
|
+
name: string;
|
|
10
|
+
responses: number;
|
|
11
|
+
/** The mean of its `SCALE` questions' scores, where every question shows. */
|
|
12
|
+
overall?: number;
|
|
13
|
+
/** The questions that show for them, each prompt naming the level. */
|
|
14
|
+
questions: Taktoria.SurveyQuestionResult[];
|
|
15
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Taktoria from "../../../index.js";
|
|
2
|
+
export interface SurveyLeadershipSettings {
|
|
3
|
+
/** The levels the workspace has; surveys ask about these only. */
|
|
4
|
+
levels: Taktoria.SurveyLeaderLevel[];
|
|
5
|
+
/** Named, nobody picks them, and they are asked about through a survey's share link too. */
|
|
6
|
+
ceo?: Taktoria.SurveyPerson;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as Taktoria from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* A question of this survey, matched to the earlier survey's question by its words and kind.
|
|
4
|
+
*/
|
|
5
|
+
export interface SurveyQuestionChange extends Taktoria.SurveyChange {
|
|
6
|
+
questionId: string;
|
|
7
|
+
basis: Taktoria.SurveyQuestionChangeBasis;
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const SurveyQuestionChangeBasis: {
|
|
2
|
+
/**
|
|
3
|
+
* A scale question's 0–100 score. */
|
|
4
|
+
readonly Score: "SCORE";
|
|
5
|
+
/**
|
|
6
|
+
* A 0–10 rating's mean. */
|
|
7
|
+
readonly Mean: "MEAN";
|
|
8
|
+
/**
|
|
9
|
+
* A FEVS item's percent positive, as OPM reports it. */
|
|
10
|
+
readonly Positive: "POSITIVE";
|
|
11
|
+
};
|
|
12
|
+
export type SurveyQuestionChangeBasis = (typeof SurveyQuestionChangeBasis)[keyof typeof SurveyQuestionChangeBasis];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.SurveyQuestionChangeBasis = void 0;
|
|
5
|
+
exports.SurveyQuestionChangeBasis = {
|
|
6
|
+
/**
|
|
7
|
+
* A scale question's 0–100 score. */
|
|
8
|
+
Score: "SCORE",
|
|
9
|
+
/**
|
|
10
|
+
* A 0–10 rating's mean. */
|
|
11
|
+
Mean: "MEAN",
|
|
12
|
+
/**
|
|
13
|
+
* A FEVS item's percent positive, as OPM reports it. */
|
|
14
|
+
Positive: "POSITIVE",
|
|
15
|
+
};
|
|
@@ -13,4 +13,11 @@ export interface SurveyQuestionInput {
|
|
|
13
13
|
dimension?: string;
|
|
14
14
|
/** For `SCALE`, scored the other way round (agreeing scores low). */
|
|
15
15
|
reverse?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* For `SCALE` or `RATING`: asked once for each of the survey's
|
|
18
|
+
* `leaderLevels`, about whoever that is to the respondent. Write
|
|
19
|
+
* `{leader}` where the prompt names them ("My {leader} treats me with
|
|
20
|
+
* respect."); only such a question may.
|
|
21
|
+
*/
|
|
22
|
+
aboutLeader?: boolean;
|
|
16
23
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type * as Taktoria from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* The instrument's own reading of the results, from its publishers'
|
|
4
|
+
* guidance, told apart by `kind`. Whole-survey results only, and every
|
|
5
|
+
* figure held to the survey's `minGroupSize`, as the rest of the results
|
|
6
|
+
* are: a scale or question too few answered is left out.
|
|
7
|
+
*/
|
|
8
|
+
export type SurveyResearch = Taktoria.SurveyResearch.Hse | Taktoria.SurveyResearch.Cbi | Taktoria.SurveyResearch.Fevs | Taktoria.SurveyResearch.Mspb | Taktoria.SurveyResearch.None;
|
|
9
|
+
export declare namespace SurveyResearch {
|
|
10
|
+
interface Hse extends Taktoria.SurveyResearchHse {
|
|
11
|
+
kind: "hse";
|
|
12
|
+
}
|
|
13
|
+
interface Cbi extends Taktoria.SurveyResearchCbi {
|
|
14
|
+
kind: "cbi";
|
|
15
|
+
}
|
|
16
|
+
interface Fevs extends Taktoria.SurveyResearchFevs {
|
|
17
|
+
kind: "fevs";
|
|
18
|
+
}
|
|
19
|
+
interface Mspb extends Taktoria.SurveyResearchMspb {
|
|
20
|
+
kind: "mspb";
|
|
21
|
+
}
|
|
22
|
+
interface None extends Taktoria.SurveyResearchNone {
|
|
23
|
+
kind: "none";
|
|
24
|
+
}
|
|
25
|
+
}
|