@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.
Files changed (312) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/geist/client/Client.d.ts +49 -0
  3. package/dist/cjs/api/resources/geist/client/Client.js +213 -0
  4. package/dist/cjs/api/resources/geist/types/SurveyChange.d.ts +15 -0
  5. package/dist/cjs/api/resources/geist/types/SurveyChange.js +3 -0
  6. package/dist/cjs/api/resources/geist/types/SurveyChangeDirection.d.ts +7 -0
  7. package/dist/cjs/api/resources/geist/types/SurveyChangeDirection.js +10 -0
  8. package/dist/cjs/api/resources/geist/types/SurveyChangeRule.d.ts +13 -0
  9. package/dist/cjs/api/resources/geist/types/SurveyChangeRule.js +16 -0
  10. package/dist/cjs/api/resources/geist/types/SurveyComparedWith.d.ts +6 -0
  11. package/dist/cjs/api/resources/geist/types/SurveyComparedWith.js +3 -0
  12. package/dist/cjs/api/resources/geist/types/SurveyComparison.d.ts +9 -0
  13. package/dist/cjs/api/resources/geist/types/SurveyComparison.js +3 -0
  14. package/dist/cjs/api/resources/geist/types/SurveyDimensionChange.d.ts +4 -0
  15. package/dist/cjs/api/resources/geist/types/SurveyDimensionChange.js +3 -0
  16. package/dist/cjs/api/resources/geist/types/SurveyLeaderFeedback.d.ts +8 -0
  17. package/dist/cjs/api/resources/geist/types/SurveyLeaderFeedback.js +3 -0
  18. package/dist/cjs/api/resources/geist/types/SurveyLeaderFeedbackLevel.d.ts +12 -0
  19. package/dist/cjs/api/resources/geist/types/SurveyLeaderFeedbackLevel.js +3 -0
  20. package/dist/cjs/api/resources/geist/types/SurveyLeaderFeedbackList.d.ts +4 -0
  21. package/dist/cjs/api/resources/geist/types/SurveyLeaderFeedbackList.js +3 -0
  22. package/dist/cjs/api/resources/geist/types/SurveyLeaderFeedbackSurvey.d.ts +6 -0
  23. package/dist/cjs/api/resources/geist/types/SurveyLeaderFeedbackSurvey.js +3 -0
  24. package/dist/cjs/api/resources/geist/types/SurveyLeaderLevel.d.ts +13 -0
  25. package/dist/cjs/api/resources/geist/types/SurveyLeaderLevel.js +16 -0
  26. package/dist/cjs/api/resources/geist/types/SurveyLeaderLevelResult.d.ts +11 -0
  27. package/dist/cjs/api/resources/geist/types/SurveyLeaderLevelResult.js +3 -0
  28. package/dist/cjs/api/resources/geist/types/SurveyLeaderResult.d.ts +15 -0
  29. package/dist/cjs/api/resources/geist/types/SurveyLeaderResult.js +3 -0
  30. package/dist/cjs/api/resources/geist/types/SurveyLeadershipSettings.d.ts +7 -0
  31. package/dist/cjs/api/resources/geist/types/SurveyLeadershipSettings.js +3 -0
  32. package/dist/cjs/api/resources/geist/types/SurveyQuestion.d.ts +1 -0
  33. package/dist/cjs/api/resources/geist/types/SurveyQuestionChange.d.ts +8 -0
  34. package/dist/cjs/api/resources/geist/types/SurveyQuestionChange.js +3 -0
  35. package/dist/cjs/api/resources/geist/types/SurveyQuestionChangeBasis.d.ts +12 -0
  36. package/dist/cjs/api/resources/geist/types/SurveyQuestionChangeBasis.js +15 -0
  37. package/dist/cjs/api/resources/geist/types/SurveyQuestionInput.d.ts +7 -0
  38. package/dist/cjs/api/resources/geist/types/SurveyResearch.d.ts +25 -0
  39. package/dist/cjs/api/resources/geist/types/SurveyResearch.js +3 -0
  40. package/dist/cjs/api/resources/geist/types/SurveyResearchCbi.d.ts +10 -0
  41. package/dist/cjs/api/resources/geist/types/SurveyResearchCbi.js +3 -0
  42. package/dist/cjs/api/resources/geist/types/SurveyResearchCbiScale.d.ts +10 -0
  43. package/dist/cjs/api/resources/geist/types/SurveyResearchCbiScale.js +3 -0
  44. package/dist/cjs/api/resources/geist/types/SurveyResearchFevs.d.ts +10 -0
  45. package/dist/cjs/api/resources/geist/types/SurveyResearchFevs.js +3 -0
  46. package/dist/cjs/api/resources/geist/types/SurveyResearchFevsIndex.d.ts +10 -0
  47. package/dist/cjs/api/resources/geist/types/SurveyResearchFevsIndex.js +3 -0
  48. package/dist/cjs/api/resources/geist/types/SurveyResearchFevsItem.d.ts +8 -0
  49. package/dist/cjs/api/resources/geist/types/SurveyResearchFevsItem.js +3 -0
  50. package/dist/cjs/api/resources/geist/types/SurveyResearchFevsVerdict.d.ts +12 -0
  51. package/dist/cjs/api/resources/geist/types/SurveyResearchFevsVerdict.js +15 -0
  52. package/dist/cjs/api/resources/geist/types/SurveyResearchHse.d.ts +12 -0
  53. package/dist/cjs/api/resources/geist/types/SurveyResearchHse.js +3 -0
  54. package/dist/cjs/api/resources/geist/types/SurveyResearchHseBand.d.ts +15 -0
  55. package/dist/cjs/api/resources/geist/types/SurveyResearchHseBand.js +18 -0
  56. package/dist/cjs/api/resources/geist/types/SurveyResearchHseBenchmark.d.ts +8 -0
  57. package/dist/cjs/api/resources/geist/types/SurveyResearchHseBenchmark.js +3 -0
  58. package/dist/cjs/api/resources/geist/types/SurveyResearchHseScale.d.ts +8 -0
  59. package/dist/cjs/api/resources/geist/types/SurveyResearchHseScale.js +3 -0
  60. package/dist/cjs/api/resources/geist/types/SurveyResearchMspb.d.ts +12 -0
  61. package/dist/cjs/api/resources/geist/types/SurveyResearchMspb.js +3 -0
  62. package/dist/cjs/api/resources/geist/types/SurveyResearchNone.d.ts +7 -0
  63. package/dist/cjs/api/resources/geist/types/SurveyResearchNone.js +3 -0
  64. package/dist/cjs/api/resources/geist/types/SurveyResearchNoneReason.d.ts +9 -0
  65. package/dist/cjs/api/resources/geist/types/SurveyResearchNoneReason.js +12 -0
  66. package/dist/cjs/api/resources/geist/types/SurveyResults.d.ts +17 -1
  67. package/dist/cjs/api/resources/geist/types/SurveyRoundResult.d.ts +1 -0
  68. package/dist/cjs/api/resources/geist/types/SurveySummary.d.ts +4 -0
  69. package/dist/cjs/api/resources/geist/types/SurveyTeamChange.d.ts +8 -0
  70. package/dist/cjs/api/resources/geist/types/SurveyTeamChange.js +3 -0
  71. package/dist/cjs/api/resources/geist/types/UpdateLeadershipSettingsRequest.d.ts +6 -0
  72. package/dist/cjs/api/resources/geist/types/UpdateLeadershipSettingsRequest.js +3 -0
  73. package/dist/cjs/api/resources/geist/types/UpdateSurveyRequest.d.ts +4 -0
  74. package/dist/cjs/api/resources/geist/types/index.d.ts +32 -0
  75. package/dist/cjs/api/resources/geist/types/index.js +32 -0
  76. package/dist/cjs/serialization/resources/geist/types/SurveyChange.d.ts +16 -0
  77. package/dist/cjs/serialization/resources/geist/types/SurveyChange.js +48 -0
  78. package/dist/cjs/serialization/resources/geist/types/SurveyChangeDirection.d.ts +7 -0
  79. package/dist/cjs/serialization/resources/geist/types/SurveyChangeDirection.js +39 -0
  80. package/dist/cjs/serialization/resources/geist/types/SurveyChangeRule.d.ts +7 -0
  81. package/dist/cjs/serialization/resources/geist/types/SurveyChangeRule.js +39 -0
  82. package/dist/cjs/serialization/resources/geist/types/SurveyComparedWith.d.ts +12 -0
  83. package/dist/cjs/serialization/resources/geist/types/SurveyComparedWith.js +44 -0
  84. package/dist/cjs/serialization/resources/geist/types/SurveyComparison.d.ts +18 -0
  85. package/dist/cjs/serialization/resources/geist/types/SurveyComparison.js +50 -0
  86. package/dist/cjs/serialization/resources/geist/types/SurveyDimensionChange.d.ts +10 -0
  87. package/dist/cjs/serialization/resources/geist/types/SurveyDimensionChange.js +44 -0
  88. package/dist/cjs/serialization/resources/geist/types/SurveyLeaderFeedback.d.ts +12 -0
  89. package/dist/cjs/serialization/resources/geist/types/SurveyLeaderFeedback.js +44 -0
  90. package/dist/cjs/serialization/resources/geist/types/SurveyLeaderFeedbackLevel.d.ts +15 -0
  91. package/dist/cjs/serialization/resources/geist/types/SurveyLeaderFeedbackLevel.js +47 -0
  92. package/dist/cjs/serialization/resources/geist/types/SurveyLeaderFeedbackList.d.ts +10 -0
  93. package/dist/cjs/serialization/resources/geist/types/SurveyLeaderFeedbackList.js +42 -0
  94. package/dist/cjs/serialization/resources/geist/types/SurveyLeaderFeedbackSurvey.d.ts +12 -0
  95. package/dist/cjs/serialization/resources/geist/types/SurveyLeaderFeedbackSurvey.js +44 -0
  96. package/dist/cjs/serialization/resources/geist/types/SurveyLeaderLevel.d.ts +7 -0
  97. package/dist/cjs/serialization/resources/geist/types/SurveyLeaderLevel.js +39 -0
  98. package/dist/cjs/serialization/resources/geist/types/SurveyLeaderLevelResult.d.ts +17 -0
  99. package/dist/cjs/serialization/resources/geist/types/SurveyLeaderLevelResult.js +49 -0
  100. package/dist/cjs/serialization/resources/geist/types/SurveyLeaderResult.d.ts +14 -0
  101. package/dist/cjs/serialization/resources/geist/types/SurveyLeaderResult.js +46 -0
  102. package/dist/cjs/serialization/resources/geist/types/SurveyLeadershipSettings.d.ts +12 -0
  103. package/dist/cjs/serialization/resources/geist/types/SurveyLeadershipSettings.js +44 -0
  104. package/dist/cjs/serialization/resources/geist/types/SurveyQuestion.d.ts +1 -0
  105. package/dist/cjs/serialization/resources/geist/types/SurveyQuestion.js +1 -0
  106. package/dist/cjs/serialization/resources/geist/types/SurveyQuestionChange.d.ts +12 -0
  107. package/dist/cjs/serialization/resources/geist/types/SurveyQuestionChange.js +46 -0
  108. package/dist/cjs/serialization/resources/geist/types/SurveyQuestionChangeBasis.d.ts +7 -0
  109. package/dist/cjs/serialization/resources/geist/types/SurveyQuestionChangeBasis.js +39 -0
  110. package/dist/cjs/serialization/resources/geist/types/SurveyQuestionInput.d.ts +1 -0
  111. package/dist/cjs/serialization/resources/geist/types/SurveyQuestionInput.js +1 -0
  112. package/dist/cjs/serialization/resources/geist/types/SurveyResearch.d.ts +27 -0
  113. package/dist/cjs/serialization/resources/geist/types/SurveyResearch.js +55 -0
  114. package/dist/cjs/serialization/resources/geist/types/SurveyResearchCbi.d.ts +10 -0
  115. package/dist/cjs/serialization/resources/geist/types/SurveyResearchCbi.js +42 -0
  116. package/dist/cjs/serialization/resources/geist/types/SurveyResearchCbiScale.d.ts +13 -0
  117. package/dist/cjs/serialization/resources/geist/types/SurveyResearchCbiScale.js +45 -0
  118. package/dist/cjs/serialization/resources/geist/types/SurveyResearchFevs.d.ts +12 -0
  119. package/dist/cjs/serialization/resources/geist/types/SurveyResearchFevs.js +44 -0
  120. package/dist/cjs/serialization/resources/geist/types/SurveyResearchFevsIndex.d.ts +12 -0
  121. package/dist/cjs/serialization/resources/geist/types/SurveyResearchFevsIndex.js +44 -0
  122. package/dist/cjs/serialization/resources/geist/types/SurveyResearchFevsItem.d.ts +14 -0
  123. package/dist/cjs/serialization/resources/geist/types/SurveyResearchFevsItem.js +46 -0
  124. package/dist/cjs/serialization/resources/geist/types/SurveyResearchFevsVerdict.d.ts +7 -0
  125. package/dist/cjs/serialization/resources/geist/types/SurveyResearchFevsVerdict.js +39 -0
  126. package/dist/cjs/serialization/resources/geist/types/SurveyResearchHse.d.ts +11 -0
  127. package/dist/cjs/serialization/resources/geist/types/SurveyResearchHse.js +43 -0
  128. package/dist/cjs/serialization/resources/geist/types/SurveyResearchHseBand.d.ts +7 -0
  129. package/dist/cjs/serialization/resources/geist/types/SurveyResearchHseBand.js +39 -0
  130. package/dist/cjs/serialization/resources/geist/types/SurveyResearchHseBenchmark.d.ts +11 -0
  131. package/dist/cjs/serialization/resources/geist/types/SurveyResearchHseBenchmark.js +43 -0
  132. package/dist/cjs/serialization/resources/geist/types/SurveyResearchHseScale.d.ts +14 -0
  133. package/dist/cjs/serialization/resources/geist/types/SurveyResearchHseScale.js +46 -0
  134. package/dist/cjs/serialization/resources/geist/types/SurveyResearchMspb.d.ts +12 -0
  135. package/dist/cjs/serialization/resources/geist/types/SurveyResearchMspb.js +44 -0
  136. package/dist/cjs/serialization/resources/geist/types/SurveyResearchNone.d.ts +10 -0
  137. package/dist/cjs/serialization/resources/geist/types/SurveyResearchNone.js +42 -0
  138. package/dist/cjs/serialization/resources/geist/types/SurveyResearchNoneReason.d.ts +7 -0
  139. package/dist/cjs/serialization/resources/geist/types/SurveyResearchNoneReason.js +39 -0
  140. package/dist/cjs/serialization/resources/geist/types/SurveyResults.d.ts +6 -0
  141. package/dist/cjs/serialization/resources/geist/types/SurveyResults.js +6 -0
  142. package/dist/cjs/serialization/resources/geist/types/SurveyRoundResult.d.ts +1 -0
  143. package/dist/cjs/serialization/resources/geist/types/SurveyRoundResult.js +1 -0
  144. package/dist/cjs/serialization/resources/geist/types/SurveySummary.d.ts +3 -0
  145. package/dist/cjs/serialization/resources/geist/types/SurveySummary.js +3 -0
  146. package/dist/cjs/serialization/resources/geist/types/SurveyTeamChange.d.ts +11 -0
  147. package/dist/cjs/serialization/resources/geist/types/SurveyTeamChange.js +45 -0
  148. package/dist/cjs/serialization/resources/geist/types/UpdateLeadershipSettingsRequest.d.ts +11 -0
  149. package/dist/cjs/serialization/resources/geist/types/UpdateLeadershipSettingsRequest.js +43 -0
  150. package/dist/cjs/serialization/resources/geist/types/UpdateSurveyRequest.d.ts +3 -0
  151. package/dist/cjs/serialization/resources/geist/types/UpdateSurveyRequest.js +3 -0
  152. package/dist/cjs/serialization/resources/geist/types/index.d.ts +32 -0
  153. package/dist/cjs/serialization/resources/geist/types/index.js +32 -0
  154. package/dist/cjs/version.d.ts +1 -1
  155. package/dist/cjs/version.js +1 -1
  156. package/dist/esm/BaseClient.mjs +2 -2
  157. package/dist/esm/api/resources/geist/client/Client.d.mts +49 -0
  158. package/dist/esm/api/resources/geist/client/Client.mjs +213 -0
  159. package/dist/esm/api/resources/geist/types/SurveyChange.d.mts +15 -0
  160. package/dist/esm/api/resources/geist/types/SurveyChange.mjs +2 -0
  161. package/dist/esm/api/resources/geist/types/SurveyChangeDirection.d.mts +7 -0
  162. package/dist/esm/api/resources/geist/types/SurveyChangeDirection.mjs +7 -0
  163. package/dist/esm/api/resources/geist/types/SurveyChangeRule.d.mts +13 -0
  164. package/dist/esm/api/resources/geist/types/SurveyChangeRule.mjs +13 -0
  165. package/dist/esm/api/resources/geist/types/SurveyComparedWith.d.mts +6 -0
  166. package/dist/esm/api/resources/geist/types/SurveyComparedWith.mjs +2 -0
  167. package/dist/esm/api/resources/geist/types/SurveyComparison.d.mts +9 -0
  168. package/dist/esm/api/resources/geist/types/SurveyComparison.mjs +2 -0
  169. package/dist/esm/api/resources/geist/types/SurveyDimensionChange.d.mts +4 -0
  170. package/dist/esm/api/resources/geist/types/SurveyDimensionChange.mjs +2 -0
  171. package/dist/esm/api/resources/geist/types/SurveyLeaderFeedback.d.mts +8 -0
  172. package/dist/esm/api/resources/geist/types/SurveyLeaderFeedback.mjs +2 -0
  173. package/dist/esm/api/resources/geist/types/SurveyLeaderFeedbackLevel.d.mts +12 -0
  174. package/dist/esm/api/resources/geist/types/SurveyLeaderFeedbackLevel.mjs +2 -0
  175. package/dist/esm/api/resources/geist/types/SurveyLeaderFeedbackList.d.mts +4 -0
  176. package/dist/esm/api/resources/geist/types/SurveyLeaderFeedbackList.mjs +2 -0
  177. package/dist/esm/api/resources/geist/types/SurveyLeaderFeedbackSurvey.d.mts +6 -0
  178. package/dist/esm/api/resources/geist/types/SurveyLeaderFeedbackSurvey.mjs +2 -0
  179. package/dist/esm/api/resources/geist/types/SurveyLeaderLevel.d.mts +13 -0
  180. package/dist/esm/api/resources/geist/types/SurveyLeaderLevel.mjs +13 -0
  181. package/dist/esm/api/resources/geist/types/SurveyLeaderLevelResult.d.mts +11 -0
  182. package/dist/esm/api/resources/geist/types/SurveyLeaderLevelResult.mjs +2 -0
  183. package/dist/esm/api/resources/geist/types/SurveyLeaderResult.d.mts +15 -0
  184. package/dist/esm/api/resources/geist/types/SurveyLeaderResult.mjs +2 -0
  185. package/dist/esm/api/resources/geist/types/SurveyLeadershipSettings.d.mts +7 -0
  186. package/dist/esm/api/resources/geist/types/SurveyLeadershipSettings.mjs +2 -0
  187. package/dist/esm/api/resources/geist/types/SurveyQuestion.d.mts +1 -0
  188. package/dist/esm/api/resources/geist/types/SurveyQuestionChange.d.mts +8 -0
  189. package/dist/esm/api/resources/geist/types/SurveyQuestionChange.mjs +2 -0
  190. package/dist/esm/api/resources/geist/types/SurveyQuestionChangeBasis.d.mts +12 -0
  191. package/dist/esm/api/resources/geist/types/SurveyQuestionChangeBasis.mjs +12 -0
  192. package/dist/esm/api/resources/geist/types/SurveyQuestionInput.d.mts +7 -0
  193. package/dist/esm/api/resources/geist/types/SurveyResearch.d.mts +25 -0
  194. package/dist/esm/api/resources/geist/types/SurveyResearch.mjs +2 -0
  195. package/dist/esm/api/resources/geist/types/SurveyResearchCbi.d.mts +10 -0
  196. package/dist/esm/api/resources/geist/types/SurveyResearchCbi.mjs +2 -0
  197. package/dist/esm/api/resources/geist/types/SurveyResearchCbiScale.d.mts +10 -0
  198. package/dist/esm/api/resources/geist/types/SurveyResearchCbiScale.mjs +2 -0
  199. package/dist/esm/api/resources/geist/types/SurveyResearchFevs.d.mts +10 -0
  200. package/dist/esm/api/resources/geist/types/SurveyResearchFevs.mjs +2 -0
  201. package/dist/esm/api/resources/geist/types/SurveyResearchFevsIndex.d.mts +10 -0
  202. package/dist/esm/api/resources/geist/types/SurveyResearchFevsIndex.mjs +2 -0
  203. package/dist/esm/api/resources/geist/types/SurveyResearchFevsItem.d.mts +8 -0
  204. package/dist/esm/api/resources/geist/types/SurveyResearchFevsItem.mjs +2 -0
  205. package/dist/esm/api/resources/geist/types/SurveyResearchFevsVerdict.d.mts +12 -0
  206. package/dist/esm/api/resources/geist/types/SurveyResearchFevsVerdict.mjs +12 -0
  207. package/dist/esm/api/resources/geist/types/SurveyResearchHse.d.mts +12 -0
  208. package/dist/esm/api/resources/geist/types/SurveyResearchHse.mjs +2 -0
  209. package/dist/esm/api/resources/geist/types/SurveyResearchHseBand.d.mts +15 -0
  210. package/dist/esm/api/resources/geist/types/SurveyResearchHseBand.mjs +15 -0
  211. package/dist/esm/api/resources/geist/types/SurveyResearchHseBenchmark.d.mts +8 -0
  212. package/dist/esm/api/resources/geist/types/SurveyResearchHseBenchmark.mjs +2 -0
  213. package/dist/esm/api/resources/geist/types/SurveyResearchHseScale.d.mts +8 -0
  214. package/dist/esm/api/resources/geist/types/SurveyResearchHseScale.mjs +2 -0
  215. package/dist/esm/api/resources/geist/types/SurveyResearchMspb.d.mts +12 -0
  216. package/dist/esm/api/resources/geist/types/SurveyResearchMspb.mjs +2 -0
  217. package/dist/esm/api/resources/geist/types/SurveyResearchNone.d.mts +7 -0
  218. package/dist/esm/api/resources/geist/types/SurveyResearchNone.mjs +2 -0
  219. package/dist/esm/api/resources/geist/types/SurveyResearchNoneReason.d.mts +9 -0
  220. package/dist/esm/api/resources/geist/types/SurveyResearchNoneReason.mjs +9 -0
  221. package/dist/esm/api/resources/geist/types/SurveyResults.d.mts +17 -1
  222. package/dist/esm/api/resources/geist/types/SurveyRoundResult.d.mts +1 -0
  223. package/dist/esm/api/resources/geist/types/SurveySummary.d.mts +4 -0
  224. package/dist/esm/api/resources/geist/types/SurveyTeamChange.d.mts +8 -0
  225. package/dist/esm/api/resources/geist/types/SurveyTeamChange.mjs +2 -0
  226. package/dist/esm/api/resources/geist/types/UpdateLeadershipSettingsRequest.d.mts +6 -0
  227. package/dist/esm/api/resources/geist/types/UpdateLeadershipSettingsRequest.mjs +2 -0
  228. package/dist/esm/api/resources/geist/types/UpdateSurveyRequest.d.mts +4 -0
  229. package/dist/esm/api/resources/geist/types/index.d.mts +32 -0
  230. package/dist/esm/api/resources/geist/types/index.mjs +32 -0
  231. package/dist/esm/serialization/resources/geist/types/SurveyChange.d.mts +16 -0
  232. package/dist/esm/serialization/resources/geist/types/SurveyChange.mjs +12 -0
  233. package/dist/esm/serialization/resources/geist/types/SurveyChangeDirection.d.mts +7 -0
  234. package/dist/esm/serialization/resources/geist/types/SurveyChangeDirection.mjs +3 -0
  235. package/dist/esm/serialization/resources/geist/types/SurveyChangeRule.d.mts +7 -0
  236. package/dist/esm/serialization/resources/geist/types/SurveyChangeRule.mjs +3 -0
  237. package/dist/esm/serialization/resources/geist/types/SurveyComparedWith.d.mts +12 -0
  238. package/dist/esm/serialization/resources/geist/types/SurveyComparedWith.mjs +8 -0
  239. package/dist/esm/serialization/resources/geist/types/SurveyComparison.d.mts +18 -0
  240. package/dist/esm/serialization/resources/geist/types/SurveyComparison.mjs +14 -0
  241. package/dist/esm/serialization/resources/geist/types/SurveyDimensionChange.d.mts +10 -0
  242. package/dist/esm/serialization/resources/geist/types/SurveyDimensionChange.mjs +8 -0
  243. package/dist/esm/serialization/resources/geist/types/SurveyLeaderFeedback.d.mts +12 -0
  244. package/dist/esm/serialization/resources/geist/types/SurveyLeaderFeedback.mjs +8 -0
  245. package/dist/esm/serialization/resources/geist/types/SurveyLeaderFeedbackLevel.d.mts +15 -0
  246. package/dist/esm/serialization/resources/geist/types/SurveyLeaderFeedbackLevel.mjs +11 -0
  247. package/dist/esm/serialization/resources/geist/types/SurveyLeaderFeedbackList.d.mts +10 -0
  248. package/dist/esm/serialization/resources/geist/types/SurveyLeaderFeedbackList.mjs +6 -0
  249. package/dist/esm/serialization/resources/geist/types/SurveyLeaderFeedbackSurvey.d.mts +12 -0
  250. package/dist/esm/serialization/resources/geist/types/SurveyLeaderFeedbackSurvey.mjs +8 -0
  251. package/dist/esm/serialization/resources/geist/types/SurveyLeaderLevel.d.mts +7 -0
  252. package/dist/esm/serialization/resources/geist/types/SurveyLeaderLevel.mjs +3 -0
  253. package/dist/esm/serialization/resources/geist/types/SurveyLeaderLevelResult.d.mts +17 -0
  254. package/dist/esm/serialization/resources/geist/types/SurveyLeaderLevelResult.mjs +13 -0
  255. package/dist/esm/serialization/resources/geist/types/SurveyLeaderResult.d.mts +14 -0
  256. package/dist/esm/serialization/resources/geist/types/SurveyLeaderResult.mjs +10 -0
  257. package/dist/esm/serialization/resources/geist/types/SurveyLeadershipSettings.d.mts +12 -0
  258. package/dist/esm/serialization/resources/geist/types/SurveyLeadershipSettings.mjs +8 -0
  259. package/dist/esm/serialization/resources/geist/types/SurveyQuestion.d.mts +1 -0
  260. package/dist/esm/serialization/resources/geist/types/SurveyQuestion.mjs +1 -0
  261. package/dist/esm/serialization/resources/geist/types/SurveyQuestionChange.d.mts +12 -0
  262. package/dist/esm/serialization/resources/geist/types/SurveyQuestionChange.mjs +10 -0
  263. package/dist/esm/serialization/resources/geist/types/SurveyQuestionChangeBasis.d.mts +7 -0
  264. package/dist/esm/serialization/resources/geist/types/SurveyQuestionChangeBasis.mjs +3 -0
  265. package/dist/esm/serialization/resources/geist/types/SurveyQuestionInput.d.mts +1 -0
  266. package/dist/esm/serialization/resources/geist/types/SurveyQuestionInput.mjs +1 -0
  267. package/dist/esm/serialization/resources/geist/types/SurveyResearch.d.mts +27 -0
  268. package/dist/esm/serialization/resources/geist/types/SurveyResearch.mjs +19 -0
  269. package/dist/esm/serialization/resources/geist/types/SurveyResearchCbi.d.mts +10 -0
  270. package/dist/esm/serialization/resources/geist/types/SurveyResearchCbi.mjs +6 -0
  271. package/dist/esm/serialization/resources/geist/types/SurveyResearchCbiScale.d.mts +13 -0
  272. package/dist/esm/serialization/resources/geist/types/SurveyResearchCbiScale.mjs +9 -0
  273. package/dist/esm/serialization/resources/geist/types/SurveyResearchFevs.d.mts +12 -0
  274. package/dist/esm/serialization/resources/geist/types/SurveyResearchFevs.mjs +8 -0
  275. package/dist/esm/serialization/resources/geist/types/SurveyResearchFevsIndex.d.mts +12 -0
  276. package/dist/esm/serialization/resources/geist/types/SurveyResearchFevsIndex.mjs +8 -0
  277. package/dist/esm/serialization/resources/geist/types/SurveyResearchFevsItem.d.mts +14 -0
  278. package/dist/esm/serialization/resources/geist/types/SurveyResearchFevsItem.mjs +10 -0
  279. package/dist/esm/serialization/resources/geist/types/SurveyResearchFevsVerdict.d.mts +7 -0
  280. package/dist/esm/serialization/resources/geist/types/SurveyResearchFevsVerdict.mjs +3 -0
  281. package/dist/esm/serialization/resources/geist/types/SurveyResearchHse.d.mts +11 -0
  282. package/dist/esm/serialization/resources/geist/types/SurveyResearchHse.mjs +7 -0
  283. package/dist/esm/serialization/resources/geist/types/SurveyResearchHseBand.d.mts +7 -0
  284. package/dist/esm/serialization/resources/geist/types/SurveyResearchHseBand.mjs +3 -0
  285. package/dist/esm/serialization/resources/geist/types/SurveyResearchHseBenchmark.d.mts +11 -0
  286. package/dist/esm/serialization/resources/geist/types/SurveyResearchHseBenchmark.mjs +7 -0
  287. package/dist/esm/serialization/resources/geist/types/SurveyResearchHseScale.d.mts +14 -0
  288. package/dist/esm/serialization/resources/geist/types/SurveyResearchHseScale.mjs +10 -0
  289. package/dist/esm/serialization/resources/geist/types/SurveyResearchMspb.d.mts +12 -0
  290. package/dist/esm/serialization/resources/geist/types/SurveyResearchMspb.mjs +8 -0
  291. package/dist/esm/serialization/resources/geist/types/SurveyResearchNone.d.mts +10 -0
  292. package/dist/esm/serialization/resources/geist/types/SurveyResearchNone.mjs +6 -0
  293. package/dist/esm/serialization/resources/geist/types/SurveyResearchNoneReason.d.mts +7 -0
  294. package/dist/esm/serialization/resources/geist/types/SurveyResearchNoneReason.mjs +3 -0
  295. package/dist/esm/serialization/resources/geist/types/SurveyResults.d.mts +6 -0
  296. package/dist/esm/serialization/resources/geist/types/SurveyResults.mjs +6 -0
  297. package/dist/esm/serialization/resources/geist/types/SurveyRoundResult.d.mts +1 -0
  298. package/dist/esm/serialization/resources/geist/types/SurveyRoundResult.mjs +1 -0
  299. package/dist/esm/serialization/resources/geist/types/SurveySummary.d.mts +3 -0
  300. package/dist/esm/serialization/resources/geist/types/SurveySummary.mjs +3 -0
  301. package/dist/esm/serialization/resources/geist/types/SurveyTeamChange.d.mts +11 -0
  302. package/dist/esm/serialization/resources/geist/types/SurveyTeamChange.mjs +9 -0
  303. package/dist/esm/serialization/resources/geist/types/UpdateLeadershipSettingsRequest.d.mts +11 -0
  304. package/dist/esm/serialization/resources/geist/types/UpdateLeadershipSettingsRequest.mjs +7 -0
  305. package/dist/esm/serialization/resources/geist/types/UpdateSurveyRequest.d.mts +3 -0
  306. package/dist/esm/serialization/resources/geist/types/UpdateSurveyRequest.mjs +3 -0
  307. package/dist/esm/serialization/resources/geist/types/index.d.mts +32 -0
  308. package/dist/esm/serialization/resources/geist/types/index.mjs +32 -0
  309. package/dist/esm/version.d.mts +1 -1
  310. package/dist/esm/version.mjs +1 -1
  311. package/package.json +1 -1
  312. package/reference.md +177 -0
@@ -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.4.1",
47
- "User-Agent": "@taktoria/sdk/0.4.1",
46
+ "X-Fern-SDK-Version": "0.5.0",
47
+ "User-Agent": "@taktoria/sdk/0.5.0",
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,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,6 @@
1
+ export interface SurveyComparedWith {
2
+ id: string;
3
+ title: string;
4
+ openedAt?: Date;
5
+ closedAt?: Date;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import type * as Taktoria from "../../../index.js";
2
+ export interface SurveyDimensionChange extends Taktoria.SurveyChange {
3
+ dimension: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import type * as Taktoria from "../../../index.js";
2
+ export interface SurveyLeaderFeedbackList {
3
+ data: Taktoria.SurveyLeaderFeedback[];
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export interface SurveyLeaderFeedbackSurvey {
2
+ id: string;
3
+ title: string;
4
+ closedAt?: Date;
5
+ minGroupSize: number;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -9,4 +9,5 @@ export interface SurveyQuestion {
9
9
  required: boolean;
10
10
  dimension?: string;
11
11
  reverse: boolean;
12
+ aboutLeader: boolean;
12
13
  }
@@ -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,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
+ }