@taktoria/sdk 0.4.1 → 0.5.0
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
|
@@ -2,17 +2,47 @@ export * from "./CreateSurveyRequest.js";
|
|
|
2
2
|
export * from "./SetQuestionsRequest.js";
|
|
3
3
|
export * from "./Survey.js";
|
|
4
4
|
export * from "./SurveyAudience.js";
|
|
5
|
+
export * from "./SurveyChange.js";
|
|
6
|
+
export * from "./SurveyChangeDirection.js";
|
|
7
|
+
export * from "./SurveyChangeRule.js";
|
|
8
|
+
export * from "./SurveyComparedWith.js";
|
|
9
|
+
export * from "./SurveyComparison.js";
|
|
10
|
+
export * from "./SurveyDimensionChange.js";
|
|
5
11
|
export * from "./SurveyDimensionResult.js";
|
|
6
12
|
export * from "./SurveyInstrument.js";
|
|
7
13
|
export * from "./SurveyInstrumentDimension.js";
|
|
8
14
|
export * from "./SurveyInstrumentList.js";
|
|
15
|
+
export * from "./SurveyLeaderFeedback.js";
|
|
16
|
+
export * from "./SurveyLeaderFeedbackLevel.js";
|
|
17
|
+
export * from "./SurveyLeaderFeedbackList.js";
|
|
18
|
+
export * from "./SurveyLeaderFeedbackSurvey.js";
|
|
19
|
+
export * from "./SurveyLeaderLevel.js";
|
|
20
|
+
export * from "./SurveyLeaderLevelResult.js";
|
|
21
|
+
export * from "./SurveyLeaderResult.js";
|
|
22
|
+
export * from "./SurveyLeadershipSettings.js";
|
|
9
23
|
export * from "./SurveyPage.js";
|
|
10
24
|
export * from "./SurveyPerson.js";
|
|
11
25
|
export * from "./SurveyQuestion.js";
|
|
26
|
+
export * from "./SurveyQuestionChange.js";
|
|
27
|
+
export * from "./SurveyQuestionChangeBasis.js";
|
|
12
28
|
export * from "./SurveyQuestionInput.js";
|
|
13
29
|
export * from "./SurveyQuestionKind.js";
|
|
14
30
|
export * from "./SurveyQuestionResult.js";
|
|
15
31
|
export * from "./SurveyRecurrence.js";
|
|
32
|
+
export * from "./SurveyResearch.js";
|
|
33
|
+
export * from "./SurveyResearchCbi.js";
|
|
34
|
+
export * from "./SurveyResearchCbiScale.js";
|
|
35
|
+
export * from "./SurveyResearchFevs.js";
|
|
36
|
+
export * from "./SurveyResearchFevsIndex.js";
|
|
37
|
+
export * from "./SurveyResearchFevsItem.js";
|
|
38
|
+
export * from "./SurveyResearchFevsVerdict.js";
|
|
39
|
+
export * from "./SurveyResearchHse.js";
|
|
40
|
+
export * from "./SurveyResearchHseBand.js";
|
|
41
|
+
export * from "./SurveyResearchHseBenchmark.js";
|
|
42
|
+
export * from "./SurveyResearchHseScale.js";
|
|
43
|
+
export * from "./SurveyResearchMspb.js";
|
|
44
|
+
export * from "./SurveyResearchNone.js";
|
|
45
|
+
export * from "./SurveyResearchNoneReason.js";
|
|
16
46
|
export * from "./SurveyRespondent.js";
|
|
17
47
|
export * from "./SurveyResults.js";
|
|
18
48
|
export * from "./SurveyResultsAccess.js";
|
|
@@ -23,8 +53,10 @@ export * from "./SurveyScaleKey.js";
|
|
|
23
53
|
export * from "./SurveyStatus.js";
|
|
24
54
|
export * from "./SurveySummary.js";
|
|
25
55
|
export * from "./SurveyTeam.js";
|
|
56
|
+
export * from "./SurveyTeamChange.js";
|
|
26
57
|
export * from "./SurveyTeamResult.js";
|
|
27
58
|
export * from "./SurveyTemplate.js";
|
|
28
59
|
export * from "./SurveyTemplateList.js";
|
|
29
60
|
export * from "./SurveyTemplateRequest.js";
|
|
61
|
+
export * from "./UpdateLeadershipSettingsRequest.js";
|
|
30
62
|
export * from "./UpdateSurveyRequest.js";
|
|
@@ -18,17 +18,47 @@ __exportStar(require("./CreateSurveyRequest.js"), exports);
|
|
|
18
18
|
__exportStar(require("./SetQuestionsRequest.js"), exports);
|
|
19
19
|
__exportStar(require("./Survey.js"), exports);
|
|
20
20
|
__exportStar(require("./SurveyAudience.js"), exports);
|
|
21
|
+
__exportStar(require("./SurveyChange.js"), exports);
|
|
22
|
+
__exportStar(require("./SurveyChangeDirection.js"), exports);
|
|
23
|
+
__exportStar(require("./SurveyChangeRule.js"), exports);
|
|
24
|
+
__exportStar(require("./SurveyComparedWith.js"), exports);
|
|
25
|
+
__exportStar(require("./SurveyComparison.js"), exports);
|
|
26
|
+
__exportStar(require("./SurveyDimensionChange.js"), exports);
|
|
21
27
|
__exportStar(require("./SurveyDimensionResult.js"), exports);
|
|
22
28
|
__exportStar(require("./SurveyInstrument.js"), exports);
|
|
23
29
|
__exportStar(require("./SurveyInstrumentDimension.js"), exports);
|
|
24
30
|
__exportStar(require("./SurveyInstrumentList.js"), exports);
|
|
31
|
+
__exportStar(require("./SurveyLeaderFeedback.js"), exports);
|
|
32
|
+
__exportStar(require("./SurveyLeaderFeedbackLevel.js"), exports);
|
|
33
|
+
__exportStar(require("./SurveyLeaderFeedbackList.js"), exports);
|
|
34
|
+
__exportStar(require("./SurveyLeaderFeedbackSurvey.js"), exports);
|
|
35
|
+
__exportStar(require("./SurveyLeaderLevel.js"), exports);
|
|
36
|
+
__exportStar(require("./SurveyLeaderLevelResult.js"), exports);
|
|
37
|
+
__exportStar(require("./SurveyLeaderResult.js"), exports);
|
|
38
|
+
__exportStar(require("./SurveyLeadershipSettings.js"), exports);
|
|
25
39
|
__exportStar(require("./SurveyPage.js"), exports);
|
|
26
40
|
__exportStar(require("./SurveyPerson.js"), exports);
|
|
27
41
|
__exportStar(require("./SurveyQuestion.js"), exports);
|
|
42
|
+
__exportStar(require("./SurveyQuestionChange.js"), exports);
|
|
43
|
+
__exportStar(require("./SurveyQuestionChangeBasis.js"), exports);
|
|
28
44
|
__exportStar(require("./SurveyQuestionInput.js"), exports);
|
|
29
45
|
__exportStar(require("./SurveyQuestionKind.js"), exports);
|
|
30
46
|
__exportStar(require("./SurveyQuestionResult.js"), exports);
|
|
31
47
|
__exportStar(require("./SurveyRecurrence.js"), exports);
|
|
48
|
+
__exportStar(require("./SurveyResearch.js"), exports);
|
|
49
|
+
__exportStar(require("./SurveyResearchCbi.js"), exports);
|
|
50
|
+
__exportStar(require("./SurveyResearchCbiScale.js"), exports);
|
|
51
|
+
__exportStar(require("./SurveyResearchFevs.js"), exports);
|
|
52
|
+
__exportStar(require("./SurveyResearchFevsIndex.js"), exports);
|
|
53
|
+
__exportStar(require("./SurveyResearchFevsItem.js"), exports);
|
|
54
|
+
__exportStar(require("./SurveyResearchFevsVerdict.js"), exports);
|
|
55
|
+
__exportStar(require("./SurveyResearchHse.js"), exports);
|
|
56
|
+
__exportStar(require("./SurveyResearchHseBand.js"), exports);
|
|
57
|
+
__exportStar(require("./SurveyResearchHseBenchmark.js"), exports);
|
|
58
|
+
__exportStar(require("./SurveyResearchHseScale.js"), exports);
|
|
59
|
+
__exportStar(require("./SurveyResearchMspb.js"), exports);
|
|
60
|
+
__exportStar(require("./SurveyResearchNone.js"), exports);
|
|
61
|
+
__exportStar(require("./SurveyResearchNoneReason.js"), exports);
|
|
32
62
|
__exportStar(require("./SurveyRespondent.js"), exports);
|
|
33
63
|
__exportStar(require("./SurveyResults.js"), exports);
|
|
34
64
|
__exportStar(require("./SurveyResultsAccess.js"), exports);
|
|
@@ -39,8 +69,10 @@ __exportStar(require("./SurveyScaleKey.js"), exports);
|
|
|
39
69
|
__exportStar(require("./SurveyStatus.js"), exports);
|
|
40
70
|
__exportStar(require("./SurveySummary.js"), exports);
|
|
41
71
|
__exportStar(require("./SurveyTeam.js"), exports);
|
|
72
|
+
__exportStar(require("./SurveyTeamChange.js"), exports);
|
|
42
73
|
__exportStar(require("./SurveyTeamResult.js"), exports);
|
|
43
74
|
__exportStar(require("./SurveyTemplate.js"), exports);
|
|
44
75
|
__exportStar(require("./SurveyTemplateList.js"), exports);
|
|
45
76
|
__exportStar(require("./SurveyTemplateRequest.js"), exports);
|
|
77
|
+
__exportStar(require("./UpdateLeadershipSettingsRequest.js"), exports);
|
|
46
78
|
__exportStar(require("./UpdateSurveyRequest.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.
|
|
1
|
+
export declare const SDK_VERSION = "0.5.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@taktoria/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "0.
|
|
10
|
-
"User-Agent": "@taktoria/sdk/0.
|
|
9
|
+
"X-Fern-SDK-Version": "0.5.0",
|
|
10
|
+
"User-Agent": "@taktoria/sdk/0.5.0",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
}, 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
|
|
@@ -1166,6 +1166,219 @@ export class GeistClient {
|
|
|
1166
1166
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/geist/surveys/{surveyId}/results/export");
|
|
1167
1167
|
});
|
|
1168
1168
|
}
|
|
1169
|
+
/**
|
|
1170
|
+
* The levels of leadership the workspace's surveys may ask about, and who its CEO is.
|
|
1171
|
+
*
|
|
1172
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1173
|
+
*
|
|
1174
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
1175
|
+
* @throws {@link errors.TaktoriaError}
|
|
1176
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
1177
|
+
*
|
|
1178
|
+
* @example
|
|
1179
|
+
* await client.geist.getLeadershipSettings()
|
|
1180
|
+
*/
|
|
1181
|
+
getLeadershipSettings(requestOptions) {
|
|
1182
|
+
return core.HttpResponsePromise.fromPromise(this.__getLeadershipSettings(requestOptions));
|
|
1183
|
+
}
|
|
1184
|
+
__getLeadershipSettings(requestOptions) {
|
|
1185
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1186
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1187
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1188
|
+
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1189
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1190
|
+
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"),
|
|
1191
|
+
method: "GET",
|
|
1192
|
+
headers: _headers,
|
|
1193
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
1194
|
+
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,
|
|
1195
|
+
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,
|
|
1196
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1197
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
1198
|
+
logging: this._options.logging,
|
|
1199
|
+
});
|
|
1200
|
+
if (_response.ok) {
|
|
1201
|
+
return {
|
|
1202
|
+
data: serializers.SurveyLeadershipSettings.parseOrThrow(_response.body, {
|
|
1203
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1204
|
+
allowUnrecognizedUnionMembers: true,
|
|
1205
|
+
allowUnrecognizedEnumValues: true,
|
|
1206
|
+
skipValidation: true,
|
|
1207
|
+
breadcrumbsPrefix: ["response"],
|
|
1208
|
+
}),
|
|
1209
|
+
rawResponse: _response.rawResponse,
|
|
1210
|
+
};
|
|
1211
|
+
}
|
|
1212
|
+
if (_response.error.reason === "status-code") {
|
|
1213
|
+
switch (_response.error.statusCode) {
|
|
1214
|
+
case 429:
|
|
1215
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1216
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1217
|
+
allowUnrecognizedUnionMembers: true,
|
|
1218
|
+
allowUnrecognizedEnumValues: true,
|
|
1219
|
+
skipValidation: true,
|
|
1220
|
+
breadcrumbsPrefix: ["response"],
|
|
1221
|
+
}), _response.rawResponse);
|
|
1222
|
+
default:
|
|
1223
|
+
throw new errors.TaktoriaError({
|
|
1224
|
+
statusCode: _response.error.statusCode,
|
|
1225
|
+
body: _response.error.body,
|
|
1226
|
+
rawResponse: _response.rawResponse,
|
|
1227
|
+
});
|
|
1228
|
+
}
|
|
1229
|
+
}
|
|
1230
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/geist/leadership");
|
|
1231
|
+
});
|
|
1232
|
+
}
|
|
1233
|
+
/**
|
|
1234
|
+
* Change which levels the workspace has, or who its CEO is. Only
|
|
1235
|
+
* Geist's admins, and keys.
|
|
1236
|
+
*
|
|
1237
|
+
* @param {Taktoria.UpdateLeadershipSettingsRequest} request
|
|
1238
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1239
|
+
*
|
|
1240
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
1241
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
1242
|
+
* @throws {@link errors.TaktoriaError}
|
|
1243
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
1244
|
+
*
|
|
1245
|
+
* @example
|
|
1246
|
+
* await client.geist.updateLeadershipSettings({})
|
|
1247
|
+
*/
|
|
1248
|
+
updateLeadershipSettings(request, requestOptions) {
|
|
1249
|
+
return core.HttpResponsePromise.fromPromise(this.__updateLeadershipSettings(request, requestOptions));
|
|
1250
|
+
}
|
|
1251
|
+
__updateLeadershipSettings(request, requestOptions) {
|
|
1252
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1253
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1254
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1255
|
+
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1256
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1257
|
+
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"),
|
|
1258
|
+
method: "PATCH",
|
|
1259
|
+
headers: _headers,
|
|
1260
|
+
contentType: "application/json",
|
|
1261
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
1262
|
+
requestType: "json",
|
|
1263
|
+
body: mergeAdditionalBodyParameters(serializers.UpdateLeadershipSettingsRequest.jsonOrThrow(request, {
|
|
1264
|
+
unrecognizedObjectKeys: "strip",
|
|
1265
|
+
omitUndefined: true,
|
|
1266
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
1267
|
+
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,
|
|
1268
|
+
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,
|
|
1269
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1270
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
1271
|
+
logging: this._options.logging,
|
|
1272
|
+
});
|
|
1273
|
+
if (_response.ok) {
|
|
1274
|
+
return {
|
|
1275
|
+
data: serializers.SurveyLeadershipSettings.parseOrThrow(_response.body, {
|
|
1276
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1277
|
+
allowUnrecognizedUnionMembers: true,
|
|
1278
|
+
allowUnrecognizedEnumValues: true,
|
|
1279
|
+
skipValidation: true,
|
|
1280
|
+
breadcrumbsPrefix: ["response"],
|
|
1281
|
+
}),
|
|
1282
|
+
rawResponse: _response.rawResponse,
|
|
1283
|
+
};
|
|
1284
|
+
}
|
|
1285
|
+
if (_response.error.reason === "status-code") {
|
|
1286
|
+
switch (_response.error.statusCode) {
|
|
1287
|
+
case 403:
|
|
1288
|
+
throw new Taktoria.ForbiddenError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1289
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1290
|
+
allowUnrecognizedUnionMembers: true,
|
|
1291
|
+
allowUnrecognizedEnumValues: true,
|
|
1292
|
+
skipValidation: true,
|
|
1293
|
+
breadcrumbsPrefix: ["response"],
|
|
1294
|
+
}), _response.rawResponse);
|
|
1295
|
+
case 429:
|
|
1296
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1297
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1298
|
+
allowUnrecognizedUnionMembers: true,
|
|
1299
|
+
allowUnrecognizedEnumValues: true,
|
|
1300
|
+
skipValidation: true,
|
|
1301
|
+
breadcrumbsPrefix: ["response"],
|
|
1302
|
+
}), _response.rawResponse);
|
|
1303
|
+
default:
|
|
1304
|
+
throw new errors.TaktoriaError({
|
|
1305
|
+
statusCode: _response.error.statusCode,
|
|
1306
|
+
body: _response.error.body,
|
|
1307
|
+
rawResponse: _response.rawResponse,
|
|
1308
|
+
});
|
|
1309
|
+
}
|
|
1310
|
+
}
|
|
1311
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "PATCH", "/geist/leadership");
|
|
1312
|
+
});
|
|
1313
|
+
}
|
|
1314
|
+
/**
|
|
1315
|
+
* What surveys' answers say about you as a leader: the closed surveys
|
|
1316
|
+
* that let each leader see their own, where something of yours shows,
|
|
1317
|
+
* most recent first. Only what those who ran them can see too. Empty
|
|
1318
|
+
* for a workspace's key. Has a rate limit of its own.
|
|
1319
|
+
*
|
|
1320
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1321
|
+
*
|
|
1322
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
1323
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
1324
|
+
* @throws {@link errors.TaktoriaError}
|
|
1325
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
1326
|
+
*
|
|
1327
|
+
* @example
|
|
1328
|
+
* await client.geist.listMyLeadershipFeedback()
|
|
1329
|
+
*/
|
|
1330
|
+
listMyLeadershipFeedback(requestOptions) {
|
|
1331
|
+
return core.HttpResponsePromise.fromPromise(this.__listMyLeadershipFeedback(requestOptions));
|
|
1332
|
+
}
|
|
1333
|
+
__listMyLeadershipFeedback(requestOptions) {
|
|
1334
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1335
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1336
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1337
|
+
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1338
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1339
|
+
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"),
|
|
1340
|
+
method: "GET",
|
|
1341
|
+
headers: _headers,
|
|
1342
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
1343
|
+
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,
|
|
1344
|
+
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,
|
|
1345
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1346
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
1347
|
+
logging: this._options.logging,
|
|
1348
|
+
});
|
|
1349
|
+
if (_response.ok) {
|
|
1350
|
+
return {
|
|
1351
|
+
data: serializers.SurveyLeaderFeedbackList.parseOrThrow(_response.body, {
|
|
1352
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1353
|
+
allowUnrecognizedUnionMembers: true,
|
|
1354
|
+
allowUnrecognizedEnumValues: true,
|
|
1355
|
+
skipValidation: true,
|
|
1356
|
+
breadcrumbsPrefix: ["response"],
|
|
1357
|
+
}),
|
|
1358
|
+
rawResponse: _response.rawResponse,
|
|
1359
|
+
};
|
|
1360
|
+
}
|
|
1361
|
+
if (_response.error.reason === "status-code") {
|
|
1362
|
+
switch (_response.error.statusCode) {
|
|
1363
|
+
case 429:
|
|
1364
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1365
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1366
|
+
allowUnrecognizedUnionMembers: true,
|
|
1367
|
+
allowUnrecognizedEnumValues: true,
|
|
1368
|
+
skipValidation: true,
|
|
1369
|
+
breadcrumbsPrefix: ["response"],
|
|
1370
|
+
}), _response.rawResponse);
|
|
1371
|
+
default:
|
|
1372
|
+
throw new errors.TaktoriaError({
|
|
1373
|
+
statusCode: _response.error.statusCode,
|
|
1374
|
+
body: _response.error.body,
|
|
1375
|
+
rawResponse: _response.rawResponse,
|
|
1376
|
+
});
|
|
1377
|
+
}
|
|
1378
|
+
}
|
|
1379
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/geist/leadership/feedback");
|
|
1380
|
+
});
|
|
1381
|
+
}
|
|
1169
1382
|
/**
|
|
1170
1383
|
* The built-in surveys: validated instruments free for commercial use
|
|
1171
1384
|
* (HSE Management Standards, Copenhagen Burnout Inventory, NIOSH
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as Taktoria from "../../../index.mjs";
|
|
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,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,13 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
/** How `meaningful` was decided. */
|
|
3
|
+
export const SurveyChangeRule = {
|
|
4
|
+
/**
|
|
5
|
+
* The Copenhagen Burnout Inventory's own rule, a change of 5 points or more, and Welch's t-test besides. */
|
|
6
|
+
Cbi: "CBI",
|
|
7
|
+
/**
|
|
8
|
+
* 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. */
|
|
9
|
+
Fevs: "FEVS",
|
|
10
|
+
/**
|
|
11
|
+
* Welch's t-test on each person's score, p < 0.05, with at least `minGroupSize` people on each side. */
|
|
12
|
+
Welch: "WELCH",
|
|
13
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Taktoria from "../../../index.mjs";
|
|
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.mjs";
|
|
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.mjs";
|
|
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,13 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
/**
|
|
3
|
+
* A level of leadership a question about each leader is asked about:
|
|
4
|
+
* the respondent's `SUPERVISOR`, `DIRECTOR`, `VP`, `CXO` (C-level
|
|
5
|
+
* executive) or `CEO`. A workspace turns off the levels it does not have.
|
|
6
|
+
*/
|
|
7
|
+
export const SurveyLeaderLevel = {
|
|
8
|
+
Supervisor: "SUPERVISOR",
|
|
9
|
+
Director: "DIRECTOR",
|
|
10
|
+
Vp: "VP",
|
|
11
|
+
Cxo: "CXO",
|
|
12
|
+
Ceo: "CEO",
|
|
13
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Taktoria from "../../../index.mjs";
|
|
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.mjs";
|
|
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
|
+
}
|