@taktoria/sdk 0.3.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +3 -0
- package/dist/cjs/Client.js +41 -36
- package/dist/cjs/api/resources/geist/client/Client.d.ts +390 -0
- package/dist/cjs/api/resources/geist/client/Client.js +1780 -0
- package/dist/cjs/api/resources/geist/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/geist/client/index.js +17 -0
- package/dist/cjs/api/resources/geist/client/requests/DeleteSurveyRequest.d.ts +7 -0
- package/dist/cjs/api/resources/geist/client/requests/DeleteSurveyRequest.js +3 -0
- package/dist/cjs/api/resources/geist/client/requests/ListSurveyTemplatesRequest.d.ts +7 -0
- package/dist/cjs/api/resources/geist/client/requests/ListSurveyTemplatesRequest.js +3 -0
- package/dist/cjs/api/resources/geist/client/requests/ListSurveysRequest.d.ts +15 -0
- package/dist/cjs/api/resources/geist/client/requests/ListSurveysRequest.js +3 -0
- package/dist/cjs/api/resources/geist/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/geist/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/geist/exports.d.ts +2 -0
- package/dist/cjs/api/resources/geist/exports.js +21 -0
- package/dist/cjs/api/resources/geist/index.d.ts +2 -0
- package/dist/cjs/api/resources/geist/index.js +18 -0
- package/dist/cjs/api/resources/geist/types/CreateSurveyRequest.d.ts +11 -0
- package/dist/cjs/api/resources/geist/types/CreateSurveyRequest.js +3 -0
- package/dist/cjs/api/resources/geist/types/SetQuestionsRequest.d.ts +4 -0
- package/dist/cjs/api/resources/geist/types/SetQuestionsRequest.js +3 -0
- package/dist/cjs/api/resources/geist/types/Survey.d.ts +13 -0
- package/dist/cjs/api/resources/geist/types/Survey.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyAudience.d.ts +18 -0
- package/dist/cjs/api/resources/geist/types/SurveyAudience.js +21 -0
- package/dist/cjs/api/resources/geist/types/SurveyDimensionResult.d.ts +10 -0
- package/dist/cjs/api/resources/geist/types/SurveyDimensionResult.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyInstrument.d.ts +15 -0
- package/dist/cjs/api/resources/geist/types/SurveyInstrument.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyInstrumentDimension.d.ts +6 -0
- package/dist/cjs/api/resources/geist/types/SurveyInstrumentDimension.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyInstrumentList.d.ts +4 -0
- package/dist/cjs/api/resources/geist/types/SurveyInstrumentList.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyPage.d.ts +7 -0
- package/dist/cjs/api/resources/geist/types/SurveyPage.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyPerson.d.ts +6 -0
- package/dist/cjs/api/resources/geist/types/SurveyPerson.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyQuestion.d.ts +12 -0
- package/dist/cjs/api/resources/geist/types/SurveyQuestion.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyQuestionInput.d.ts +16 -0
- package/dist/cjs/api/resources/geist/types/SurveyQuestionInput.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyQuestionKind.d.ts +13 -0
- package/dist/cjs/api/resources/geist/types/SurveyQuestionKind.js +16 -0
- package/dist/cjs/api/resources/geist/types/SurveyQuestionResult.d.ts +19 -0
- package/dist/cjs/api/resources/geist/types/SurveyQuestionResult.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyRecurrence.d.ts +9 -0
- package/dist/cjs/api/resources/geist/types/SurveyRecurrence.js +12 -0
- package/dist/cjs/api/resources/geist/types/SurveyRespondent.d.ts +5 -0
- package/dist/cjs/api/resources/geist/types/SurveyRespondent.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyResults.d.ts +26 -0
- package/dist/cjs/api/resources/geist/types/SurveyResults.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyResultsAccess.d.ts +9 -0
- package/dist/cjs/api/resources/geist/types/SurveyResultsAccess.js +12 -0
- package/dist/cjs/api/resources/geist/types/SurveyResultsHiddenReason.d.ts +9 -0
- package/dist/cjs/api/resources/geist/types/SurveyResultsHiddenReason.js +12 -0
- package/dist/cjs/api/resources/geist/types/SurveyResultsSurvey.d.ts +14 -0
- package/dist/cjs/api/resources/geist/types/SurveyResultsSurvey.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyRoundResult.d.ts +9 -0
- package/dist/cjs/api/resources/geist/types/SurveyRoundResult.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyScaleKey.d.ts +23 -0
- package/dist/cjs/api/resources/geist/types/SurveyScaleKey.js +26 -0
- package/dist/cjs/api/resources/geist/types/SurveyStatus.d.ts +11 -0
- package/dist/cjs/api/resources/geist/types/SurveyStatus.js +14 -0
- package/dist/cjs/api/resources/geist/types/SurveySummary.d.ts +42 -0
- package/dist/cjs/api/resources/geist/types/SurveySummary.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyTeam.d.ts +4 -0
- package/dist/cjs/api/resources/geist/types/SurveyTeam.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyTeamResult.d.ts +11 -0
- package/dist/cjs/api/resources/geist/types/SurveyTeamResult.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyTemplate.d.ts +13 -0
- package/dist/cjs/api/resources/geist/types/SurveyTemplate.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyTemplateList.d.ts +4 -0
- package/dist/cjs/api/resources/geist/types/SurveyTemplateList.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyTemplateRequest.d.ts +8 -0
- package/dist/cjs/api/resources/geist/types/SurveyTemplateRequest.js +3 -0
- package/dist/cjs/api/resources/geist/types/UpdateSurveyRequest.d.ts +28 -0
- package/dist/cjs/api/resources/geist/types/UpdateSurveyRequest.js +3 -0
- package/dist/cjs/api/resources/geist/types/index.d.ts +30 -0
- package/dist/cjs/api/resources/geist/types/index.js +46 -0
- package/dist/cjs/api/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/index.js +4 -1
- package/dist/cjs/api/resources/platform/types/AppRoles.d.ts +2 -1
- package/dist/cjs/api/resources/platform/types/NotificationPreferences.d.ts +12 -0
- package/dist/cjs/api/resources/platform/types/UpdateNotificationPreferencesRequest.d.ts +3 -0
- package/dist/cjs/api/resources/search/types/SearchApp.d.ts +1 -0
- package/dist/cjs/api/resources/search/types/SearchApp.js +1 -0
- package/dist/cjs/api/resources/search/types/SearchGroupType.d.ts +2 -1
- package/dist/cjs/api/resources/search/types/SearchGroupType.js +2 -1
- package/dist/cjs/api/resources/search/types/SearchResult.d.ts +4 -1
- package/dist/cjs/api/resources/search/types/SearchSurvey.d.ts +11 -0
- package/dist/cjs/api/resources/search/types/SearchSurvey.js +3 -0
- package/dist/cjs/api/resources/search/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/search/types/index.js +1 -0
- package/dist/cjs/serialization/resources/geist/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/geist/index.js +17 -0
- package/dist/cjs/serialization/resources/geist/types/CreateSurveyRequest.d.ts +14 -0
- package/dist/cjs/serialization/resources/geist/types/CreateSurveyRequest.js +46 -0
- package/dist/cjs/serialization/resources/geist/types/SetQuestionsRequest.d.ts +10 -0
- package/dist/cjs/serialization/resources/geist/types/SetQuestionsRequest.js +42 -0
- package/dist/cjs/serialization/resources/geist/types/Survey.d.ts +18 -0
- package/dist/cjs/serialization/resources/geist/types/Survey.js +52 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyAudience.d.ts +7 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyAudience.js +39 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyDimensionResult.d.ts +13 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyDimensionResult.js +45 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyInstrument.d.ts +17 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyInstrument.js +49 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyInstrumentDimension.d.ts +11 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyInstrumentDimension.js +43 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyInstrumentList.d.ts +10 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyInstrumentList.js +42 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyPage.d.ts +13 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyPage.js +45 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyPerson.d.ts +12 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyPerson.js +44 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyQuestion.d.ts +18 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyQuestion.js +50 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyQuestionInput.d.ts +17 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyQuestionInput.js +49 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyQuestionKind.d.ts +7 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyQuestionKind.js +39 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyQuestionResult.d.ts +21 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyQuestionResult.js +53 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyRecurrence.d.ts +7 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyRecurrence.js +39 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyRespondent.d.ts +11 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyRespondent.js +43 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResults.d.ts +27 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResults.js +59 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResultsAccess.d.ts +7 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResultsAccess.js +39 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResultsHiddenReason.d.ts +7 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResultsHiddenReason.js +39 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResultsSurvey.d.ts +20 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResultsSurvey.js +52 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyRoundResult.d.ts +15 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyRoundResult.js +47 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyScaleKey.d.ts +7 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyScaleKey.js +54 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyStatus.d.ts +7 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyStatus.js +39 -0
- package/dist/cjs/serialization/resources/geist/types/SurveySummary.d.ts +39 -0
- package/dist/cjs/serialization/resources/geist/types/SurveySummary.js +71 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyTeam.d.ts +10 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyTeam.js +42 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyTeamResult.d.ts +15 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyTeamResult.js +47 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyTemplate.d.ts +19 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyTemplate.js +51 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyTemplateList.d.ts +10 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyTemplateList.js +42 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyTemplateRequest.d.ts +14 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyTemplateRequest.js +46 -0
- package/dist/cjs/serialization/resources/geist/types/UpdateSurveyRequest.d.ts +27 -0
- package/dist/cjs/serialization/resources/geist/types/UpdateSurveyRequest.js +59 -0
- package/dist/cjs/serialization/resources/geist/types/index.d.ts +30 -0
- package/dist/cjs/serialization/resources/geist/types/index.js +46 -0
- package/dist/cjs/serialization/resources/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/index.js +3 -1
- package/dist/cjs/serialization/resources/platform/types/AppRoles.d.ts +1 -0
- package/dist/cjs/serialization/resources/platform/types/AppRoles.js +1 -0
- package/dist/cjs/serialization/resources/platform/types/NotificationPreferences.d.ts +3 -0
- package/dist/cjs/serialization/resources/platform/types/NotificationPreferences.js +3 -0
- package/dist/cjs/serialization/resources/platform/types/UpdateNotificationPreferencesRequest.d.ts +3 -0
- package/dist/cjs/serialization/resources/platform/types/UpdateNotificationPreferencesRequest.js +3 -0
- package/dist/cjs/serialization/resources/search/types/SearchApp.d.ts +1 -1
- package/dist/cjs/serialization/resources/search/types/SearchApp.js +1 -1
- package/dist/cjs/serialization/resources/search/types/SearchGroupType.d.ts +1 -1
- package/dist/cjs/serialization/resources/search/types/SearchGroupType.js +1 -0
- package/dist/cjs/serialization/resources/search/types/SearchResult.d.ts +5 -1
- package/dist/cjs/serialization/resources/search/types/SearchResult.js +2 -0
- package/dist/cjs/serialization/resources/search/types/SearchSurvey.d.ts +14 -0
- package/dist/cjs/serialization/resources/search/types/SearchSurvey.js +46 -0
- package/dist/cjs/serialization/resources/search/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/search/types/index.js +1 -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/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +5 -0
- package/dist/esm/api/resources/geist/client/Client.d.mts +390 -0
- package/dist/esm/api/resources/geist/client/Client.mjs +1743 -0
- package/dist/esm/api/resources/geist/client/index.d.mts +1 -0
- package/dist/esm/api/resources/geist/client/index.mjs +1 -0
- package/dist/esm/api/resources/geist/client/requests/DeleteSurveyRequest.d.mts +7 -0
- package/dist/esm/api/resources/geist/client/requests/DeleteSurveyRequest.mjs +2 -0
- package/dist/esm/api/resources/geist/client/requests/ListSurveyTemplatesRequest.d.mts +7 -0
- package/dist/esm/api/resources/geist/client/requests/ListSurveyTemplatesRequest.mjs +2 -0
- package/dist/esm/api/resources/geist/client/requests/ListSurveysRequest.d.mts +15 -0
- package/dist/esm/api/resources/geist/client/requests/ListSurveysRequest.mjs +2 -0
- package/dist/esm/api/resources/geist/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/geist/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/geist/exports.d.mts +2 -0
- package/dist/esm/api/resources/geist/exports.mjs +3 -0
- package/dist/esm/api/resources/geist/index.d.mts +2 -0
- package/dist/esm/api/resources/geist/index.mjs +2 -0
- package/dist/esm/api/resources/geist/types/CreateSurveyRequest.d.mts +11 -0
- package/dist/esm/api/resources/geist/types/CreateSurveyRequest.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SetQuestionsRequest.d.mts +4 -0
- package/dist/esm/api/resources/geist/types/SetQuestionsRequest.mjs +2 -0
- package/dist/esm/api/resources/geist/types/Survey.d.mts +13 -0
- package/dist/esm/api/resources/geist/types/Survey.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyAudience.d.mts +18 -0
- package/dist/esm/api/resources/geist/types/SurveyAudience.mjs +18 -0
- package/dist/esm/api/resources/geist/types/SurveyDimensionResult.d.mts +10 -0
- package/dist/esm/api/resources/geist/types/SurveyDimensionResult.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyInstrument.d.mts +15 -0
- package/dist/esm/api/resources/geist/types/SurveyInstrument.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyInstrumentDimension.d.mts +6 -0
- package/dist/esm/api/resources/geist/types/SurveyInstrumentDimension.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyInstrumentList.d.mts +4 -0
- package/dist/esm/api/resources/geist/types/SurveyInstrumentList.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyPage.d.mts +7 -0
- package/dist/esm/api/resources/geist/types/SurveyPage.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyPerson.d.mts +6 -0
- package/dist/esm/api/resources/geist/types/SurveyPerson.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyQuestion.d.mts +12 -0
- package/dist/esm/api/resources/geist/types/SurveyQuestion.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyQuestionInput.d.mts +16 -0
- package/dist/esm/api/resources/geist/types/SurveyQuestionInput.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyQuestionKind.d.mts +13 -0
- package/dist/esm/api/resources/geist/types/SurveyQuestionKind.mjs +13 -0
- package/dist/esm/api/resources/geist/types/SurveyQuestionResult.d.mts +19 -0
- package/dist/esm/api/resources/geist/types/SurveyQuestionResult.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyRecurrence.d.mts +9 -0
- package/dist/esm/api/resources/geist/types/SurveyRecurrence.mjs +9 -0
- package/dist/esm/api/resources/geist/types/SurveyRespondent.d.mts +5 -0
- package/dist/esm/api/resources/geist/types/SurveyRespondent.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyResults.d.mts +26 -0
- package/dist/esm/api/resources/geist/types/SurveyResults.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyResultsAccess.d.mts +9 -0
- package/dist/esm/api/resources/geist/types/SurveyResultsAccess.mjs +9 -0
- package/dist/esm/api/resources/geist/types/SurveyResultsHiddenReason.d.mts +9 -0
- package/dist/esm/api/resources/geist/types/SurveyResultsHiddenReason.mjs +9 -0
- package/dist/esm/api/resources/geist/types/SurveyResultsSurvey.d.mts +14 -0
- package/dist/esm/api/resources/geist/types/SurveyResultsSurvey.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyRoundResult.d.mts +9 -0
- package/dist/esm/api/resources/geist/types/SurveyRoundResult.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyScaleKey.d.mts +23 -0
- package/dist/esm/api/resources/geist/types/SurveyScaleKey.mjs +23 -0
- package/dist/esm/api/resources/geist/types/SurveyStatus.d.mts +11 -0
- package/dist/esm/api/resources/geist/types/SurveyStatus.mjs +11 -0
- package/dist/esm/api/resources/geist/types/SurveySummary.d.mts +42 -0
- package/dist/esm/api/resources/geist/types/SurveySummary.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyTeam.d.mts +4 -0
- package/dist/esm/api/resources/geist/types/SurveyTeam.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyTeamResult.d.mts +11 -0
- package/dist/esm/api/resources/geist/types/SurveyTeamResult.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyTemplate.d.mts +13 -0
- package/dist/esm/api/resources/geist/types/SurveyTemplate.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyTemplateList.d.mts +4 -0
- package/dist/esm/api/resources/geist/types/SurveyTemplateList.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyTemplateRequest.d.mts +8 -0
- package/dist/esm/api/resources/geist/types/SurveyTemplateRequest.mjs +2 -0
- package/dist/esm/api/resources/geist/types/UpdateSurveyRequest.d.mts +28 -0
- package/dist/esm/api/resources/geist/types/UpdateSurveyRequest.mjs +2 -0
- package/dist/esm/api/resources/geist/types/index.d.mts +30 -0
- package/dist/esm/api/resources/geist/types/index.mjs +30 -0
- package/dist/esm/api/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/index.mjs +3 -0
- package/dist/esm/api/resources/platform/types/AppRoles.d.mts +2 -1
- package/dist/esm/api/resources/platform/types/NotificationPreferences.d.mts +12 -0
- package/dist/esm/api/resources/platform/types/UpdateNotificationPreferencesRequest.d.mts +3 -0
- package/dist/esm/api/resources/search/types/SearchApp.d.mts +1 -0
- package/dist/esm/api/resources/search/types/SearchApp.mjs +1 -0
- package/dist/esm/api/resources/search/types/SearchGroupType.d.mts +2 -1
- package/dist/esm/api/resources/search/types/SearchGroupType.mjs +2 -1
- package/dist/esm/api/resources/search/types/SearchResult.d.mts +4 -1
- package/dist/esm/api/resources/search/types/SearchSurvey.d.mts +11 -0
- package/dist/esm/api/resources/search/types/SearchSurvey.mjs +2 -0
- package/dist/esm/api/resources/search/types/index.d.mts +1 -0
- package/dist/esm/api/resources/search/types/index.mjs +1 -0
- package/dist/esm/serialization/resources/geist/index.d.mts +1 -0
- package/dist/esm/serialization/resources/geist/index.mjs +1 -0
- package/dist/esm/serialization/resources/geist/types/CreateSurveyRequest.d.mts +14 -0
- package/dist/esm/serialization/resources/geist/types/CreateSurveyRequest.mjs +10 -0
- package/dist/esm/serialization/resources/geist/types/SetQuestionsRequest.d.mts +10 -0
- package/dist/esm/serialization/resources/geist/types/SetQuestionsRequest.mjs +6 -0
- package/dist/esm/serialization/resources/geist/types/Survey.d.mts +18 -0
- package/dist/esm/serialization/resources/geist/types/Survey.mjs +16 -0
- package/dist/esm/serialization/resources/geist/types/SurveyAudience.d.mts +7 -0
- package/dist/esm/serialization/resources/geist/types/SurveyAudience.mjs +3 -0
- package/dist/esm/serialization/resources/geist/types/SurveyDimensionResult.d.mts +13 -0
- package/dist/esm/serialization/resources/geist/types/SurveyDimensionResult.mjs +9 -0
- package/dist/esm/serialization/resources/geist/types/SurveyInstrument.d.mts +17 -0
- package/dist/esm/serialization/resources/geist/types/SurveyInstrument.mjs +13 -0
- package/dist/esm/serialization/resources/geist/types/SurveyInstrumentDimension.d.mts +11 -0
- package/dist/esm/serialization/resources/geist/types/SurveyInstrumentDimension.mjs +7 -0
- package/dist/esm/serialization/resources/geist/types/SurveyInstrumentList.d.mts +10 -0
- package/dist/esm/serialization/resources/geist/types/SurveyInstrumentList.mjs +6 -0
- package/dist/esm/serialization/resources/geist/types/SurveyPage.d.mts +13 -0
- package/dist/esm/serialization/resources/geist/types/SurveyPage.mjs +9 -0
- package/dist/esm/serialization/resources/geist/types/SurveyPerson.d.mts +12 -0
- package/dist/esm/serialization/resources/geist/types/SurveyPerson.mjs +8 -0
- package/dist/esm/serialization/resources/geist/types/SurveyQuestion.d.mts +18 -0
- package/dist/esm/serialization/resources/geist/types/SurveyQuestion.mjs +14 -0
- package/dist/esm/serialization/resources/geist/types/SurveyQuestionInput.d.mts +17 -0
- package/dist/esm/serialization/resources/geist/types/SurveyQuestionInput.mjs +13 -0
- package/dist/esm/serialization/resources/geist/types/SurveyQuestionKind.d.mts +7 -0
- package/dist/esm/serialization/resources/geist/types/SurveyQuestionKind.mjs +3 -0
- package/dist/esm/serialization/resources/geist/types/SurveyQuestionResult.d.mts +21 -0
- package/dist/esm/serialization/resources/geist/types/SurveyQuestionResult.mjs +17 -0
- package/dist/esm/serialization/resources/geist/types/SurveyRecurrence.d.mts +7 -0
- package/dist/esm/serialization/resources/geist/types/SurveyRecurrence.mjs +3 -0
- package/dist/esm/serialization/resources/geist/types/SurveyRespondent.d.mts +11 -0
- package/dist/esm/serialization/resources/geist/types/SurveyRespondent.mjs +7 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResults.d.mts +27 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResults.mjs +23 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResultsAccess.d.mts +7 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResultsAccess.mjs +3 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResultsHiddenReason.d.mts +7 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResultsHiddenReason.mjs +3 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResultsSurvey.d.mts +20 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResultsSurvey.mjs +16 -0
- package/dist/esm/serialization/resources/geist/types/SurveyRoundResult.d.mts +15 -0
- package/dist/esm/serialization/resources/geist/types/SurveyRoundResult.mjs +11 -0
- package/dist/esm/serialization/resources/geist/types/SurveyScaleKey.d.mts +7 -0
- package/dist/esm/serialization/resources/geist/types/SurveyScaleKey.mjs +18 -0
- package/dist/esm/serialization/resources/geist/types/SurveyStatus.d.mts +7 -0
- package/dist/esm/serialization/resources/geist/types/SurveyStatus.mjs +3 -0
- package/dist/esm/serialization/resources/geist/types/SurveySummary.d.mts +39 -0
- package/dist/esm/serialization/resources/geist/types/SurveySummary.mjs +35 -0
- package/dist/esm/serialization/resources/geist/types/SurveyTeam.d.mts +10 -0
- package/dist/esm/serialization/resources/geist/types/SurveyTeam.mjs +6 -0
- package/dist/esm/serialization/resources/geist/types/SurveyTeamResult.d.mts +15 -0
- package/dist/esm/serialization/resources/geist/types/SurveyTeamResult.mjs +11 -0
- package/dist/esm/serialization/resources/geist/types/SurveyTemplate.d.mts +19 -0
- package/dist/esm/serialization/resources/geist/types/SurveyTemplate.mjs +15 -0
- package/dist/esm/serialization/resources/geist/types/SurveyTemplateList.d.mts +10 -0
- package/dist/esm/serialization/resources/geist/types/SurveyTemplateList.mjs +6 -0
- package/dist/esm/serialization/resources/geist/types/SurveyTemplateRequest.d.mts +14 -0
- package/dist/esm/serialization/resources/geist/types/SurveyTemplateRequest.mjs +10 -0
- package/dist/esm/serialization/resources/geist/types/UpdateSurveyRequest.d.mts +27 -0
- package/dist/esm/serialization/resources/geist/types/UpdateSurveyRequest.mjs +23 -0
- package/dist/esm/serialization/resources/geist/types/index.d.mts +30 -0
- package/dist/esm/serialization/resources/geist/types/index.mjs +30 -0
- package/dist/esm/serialization/resources/index.d.mts +2 -0
- package/dist/esm/serialization/resources/index.mjs +2 -0
- package/dist/esm/serialization/resources/platform/types/AppRoles.d.mts +1 -0
- package/dist/esm/serialization/resources/platform/types/AppRoles.mjs +1 -0
- package/dist/esm/serialization/resources/platform/types/NotificationPreferences.d.mts +3 -0
- package/dist/esm/serialization/resources/platform/types/NotificationPreferences.mjs +3 -0
- package/dist/esm/serialization/resources/platform/types/UpdateNotificationPreferencesRequest.d.mts +3 -0
- package/dist/esm/serialization/resources/platform/types/UpdateNotificationPreferencesRequest.mjs +3 -0
- package/dist/esm/serialization/resources/search/types/SearchApp.d.mts +1 -1
- package/dist/esm/serialization/resources/search/types/SearchApp.mjs +1 -1
- package/dist/esm/serialization/resources/search/types/SearchGroupType.d.mts +1 -1
- package/dist/esm/serialization/resources/search/types/SearchGroupType.mjs +1 -0
- package/dist/esm/serialization/resources/search/types/SearchResult.d.mts +5 -1
- package/dist/esm/serialization/resources/search/types/SearchResult.mjs +2 -0
- package/dist/esm/serialization/resources/search/types/SearchSurvey.d.mts +14 -0
- package/dist/esm/serialization/resources/search/types/SearchSurvey.mjs +10 -0
- package/dist/esm/serialization/resources/search/types/index.d.mts +1 -0
- package/dist/esm/serialization/resources/search/types/index.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +14 -1
- package/reference.md +1277 -0
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
export declare const SearchGroupType: core.serialization.Schema<serializers.SearchGroupType.Raw, Taktoria.SearchGroupType>;
|
|
5
5
|
export declare namespace SearchGroupType {
|
|
6
|
-
type Raw = "launches" | "steps" | "objectives" | "keyResults" | "teams" | "events" | "questions" | "links" | "memes" | "templates";
|
|
6
|
+
type Raw = "launches" | "steps" | "objectives" | "keyResults" | "teams" | "events" | "questions" | "links" | "memes" | "templates" | "surveys";
|
|
7
7
|
}
|
|
@@ -9,11 +9,12 @@ import { SearchMeme } from "./SearchMeme.js";
|
|
|
9
9
|
import { SearchObjective } from "./SearchObjective.js";
|
|
10
10
|
import { SearchQuestion } from "./SearchQuestion.js";
|
|
11
11
|
import { SearchStep } from "./SearchStep.js";
|
|
12
|
+
import { SearchSurvey } from "./SearchSurvey.js";
|
|
12
13
|
import { SearchTeam } from "./SearchTeam.js";
|
|
13
14
|
import { SearchTemplate } from "./SearchTemplate.js";
|
|
14
15
|
export declare const SearchResult: core.serialization.Schema<serializers.SearchResult.Raw, Taktoria.SearchResult>;
|
|
15
16
|
export declare namespace SearchResult {
|
|
16
|
-
type Raw = SearchResult.Launch | SearchResult.Step | SearchResult.Objective | SearchResult.KeyResult | SearchResult.Team | SearchResult.Event | SearchResult.Question | SearchResult.Link | SearchResult.Meme | SearchResult.Template;
|
|
17
|
+
type Raw = SearchResult.Launch | SearchResult.Step | SearchResult.Objective | SearchResult.KeyResult | SearchResult.Team | SearchResult.Event | SearchResult.Question | SearchResult.Link | SearchResult.Meme | SearchResult.Template | SearchResult.Survey;
|
|
17
18
|
interface Launch extends SearchLaunch.Raw {
|
|
18
19
|
type: "launch";
|
|
19
20
|
}
|
|
@@ -44,4 +45,7 @@ export declare namespace SearchResult {
|
|
|
44
45
|
interface Template extends SearchTemplate.Raw {
|
|
45
46
|
type: "template";
|
|
46
47
|
}
|
|
48
|
+
interface Survey extends SearchSurvey.Raw {
|
|
49
|
+
type: "survey";
|
|
50
|
+
}
|
|
47
51
|
}
|
|
@@ -44,6 +44,7 @@ const SearchMeme_js_1 = require("./SearchMeme.js");
|
|
|
44
44
|
const SearchObjective_js_1 = require("./SearchObjective.js");
|
|
45
45
|
const SearchQuestion_js_1 = require("./SearchQuestion.js");
|
|
46
46
|
const SearchStep_js_1 = require("./SearchStep.js");
|
|
47
|
+
const SearchSurvey_js_1 = require("./SearchSurvey.js");
|
|
47
48
|
const SearchTeam_js_1 = require("./SearchTeam.js");
|
|
48
49
|
const SearchTemplate_js_1 = require("./SearchTemplate.js");
|
|
49
50
|
exports.SearchResult = core.serialization
|
|
@@ -58,6 +59,7 @@ exports.SearchResult = core.serialization
|
|
|
58
59
|
link: SearchLink_js_1.SearchLink,
|
|
59
60
|
meme: SearchMeme_js_1.SearchMeme,
|
|
60
61
|
template: SearchTemplate_js_1.SearchTemplate,
|
|
62
|
+
survey: SearchSurvey_js_1.SearchSurvey,
|
|
61
63
|
})
|
|
62
64
|
.transform({
|
|
63
65
|
transform: (value) => value,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as Taktoria from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
import { SurveyStatus } from "../../geist/types/SurveyStatus.js";
|
|
5
|
+
export declare const SearchSurvey: core.serialization.ObjectSchema<serializers.SearchSurvey.Raw, Taktoria.SearchSurvey>;
|
|
6
|
+
export declare namespace SearchSurvey {
|
|
7
|
+
interface Raw {
|
|
8
|
+
id: string;
|
|
9
|
+
title: string;
|
|
10
|
+
status: SurveyStatus.Raw;
|
|
11
|
+
anonymous: boolean;
|
|
12
|
+
closesAt?: string | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.SearchSurvey = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
const SurveyStatus_js_1 = require("../../geist/types/SurveyStatus.js");
|
|
40
|
+
exports.SearchSurvey = core.serialization.object({
|
|
41
|
+
id: core.serialization.string(),
|
|
42
|
+
title: core.serialization.string(),
|
|
43
|
+
status: SurveyStatus_js_1.SurveyStatus,
|
|
44
|
+
anonymous: core.serialization.boolean(),
|
|
45
|
+
closesAt: core.serialization.date().optional(),
|
|
46
|
+
});
|
|
@@ -30,5 +30,6 @@ __exportStar(require("./SearchQuestion.js"), exports);
|
|
|
30
30
|
__exportStar(require("./SearchResponse.js"), exports);
|
|
31
31
|
__exportStar(require("./SearchResult.js"), exports);
|
|
32
32
|
__exportStar(require("./SearchStep.js"), exports);
|
|
33
|
+
__exportStar(require("./SearchSurvey.js"), exports);
|
|
33
34
|
__exportStar(require("./SearchTeam.js"), exports);
|
|
34
35
|
__exportStar(require("./SearchTemplate.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.4.1";
|
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.4.1",
|
|
10
|
+
"User-Agent": "@taktoria/sdk/0.4.1",
|
|
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);
|
package/dist/esm/Client.d.mts
CHANGED
|
@@ -4,6 +4,7 @@ import { AuditLogsClient } from "./api/resources/auditLogs/client/Client.mjs";
|
|
|
4
4
|
import { BillingClient } from "./api/resources/billing/client/Client.mjs";
|
|
5
5
|
import { DomainsClient } from "./api/resources/domains/client/Client.mjs";
|
|
6
6
|
import { DoryClient } from "./api/resources/dory/client/Client.mjs";
|
|
7
|
+
import { GeistClient } from "./api/resources/geist/client/Client.mjs";
|
|
7
8
|
import { GolinksClient } from "./api/resources/golinks/client/Client.mjs";
|
|
8
9
|
import { HolidaysClient } from "./api/resources/holidays/client/Client.mjs";
|
|
9
10
|
import { InsightsClient } from "./api/resources/insights/client/Client.mjs";
|
|
@@ -38,6 +39,7 @@ export declare class TaktoriaClient {
|
|
|
38
39
|
protected _billing: BillingClient | undefined;
|
|
39
40
|
protected _domains: DomainsClient | undefined;
|
|
40
41
|
protected _dory: DoryClient | undefined;
|
|
42
|
+
protected _geist: GeistClient | undefined;
|
|
41
43
|
protected _golinks: GolinksClient | undefined;
|
|
42
44
|
protected _holidays: HolidaysClient | undefined;
|
|
43
45
|
protected _insights: InsightsClient | undefined;
|
|
@@ -63,6 +65,7 @@ export declare class TaktoriaClient {
|
|
|
63
65
|
get billing(): BillingClient;
|
|
64
66
|
get domains(): DomainsClient;
|
|
65
67
|
get dory(): DoryClient;
|
|
68
|
+
get geist(): GeistClient;
|
|
66
69
|
get golinks(): GolinksClient;
|
|
67
70
|
get holidays(): HolidaysClient;
|
|
68
71
|
get insights(): InsightsClient;
|
package/dist/esm/Client.mjs
CHANGED
|
@@ -14,6 +14,7 @@ import { AuditLogsClient } from "./api/resources/auditLogs/client/Client.mjs";
|
|
|
14
14
|
import { BillingClient } from "./api/resources/billing/client/Client.mjs";
|
|
15
15
|
import { DomainsClient } from "./api/resources/domains/client/Client.mjs";
|
|
16
16
|
import { DoryClient } from "./api/resources/dory/client/Client.mjs";
|
|
17
|
+
import { GeistClient } from "./api/resources/geist/client/Client.mjs";
|
|
17
18
|
import { GolinksClient } from "./api/resources/golinks/client/Client.mjs";
|
|
18
19
|
import { HolidaysClient } from "./api/resources/holidays/client/Client.mjs";
|
|
19
20
|
import { InsightsClient } from "./api/resources/insights/client/Client.mjs";
|
|
@@ -62,6 +63,10 @@ export class TaktoriaClient {
|
|
|
62
63
|
var _a;
|
|
63
64
|
return ((_a = this._dory) !== null && _a !== void 0 ? _a : (this._dory = new DoryClient(this._options)));
|
|
64
65
|
}
|
|
66
|
+
get geist() {
|
|
67
|
+
var _a;
|
|
68
|
+
return ((_a = this._geist) !== null && _a !== void 0 ? _a : (this._geist = new GeistClient(this._options)));
|
|
69
|
+
}
|
|
65
70
|
get golinks() {
|
|
66
71
|
var _a;
|
|
67
72
|
return ((_a = this._golinks) !== null && _a !== void 0 ? _a : (this._golinks = new GolinksClient(this._options)));
|
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.mjs";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs";
|
|
3
|
+
import * as core from "../../../../core/index.mjs";
|
|
4
|
+
import * as Taktoria from "../../../index.mjs";
|
|
5
|
+
export declare namespace GeistClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class GeistClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<GeistClient.Options>;
|
|
12
|
+
constructor(options: GeistClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* The surveys the caller runs: signed in, those they made or are an
|
|
15
|
+
* owner of (every one, for Geist's admins); a key sees all. Archived
|
|
16
|
+
* ones only with `archived=true`. Paged with an opaque `cursor`.
|
|
17
|
+
* Answering a survey is not in the API: a key is not a person, and
|
|
18
|
+
* answering is a person's own act, in the app.
|
|
19
|
+
*
|
|
20
|
+
* @param {Taktoria.ListSurveysRequest} request
|
|
21
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
22
|
+
*
|
|
23
|
+
* @throws {@link Taktoria.SubscriptionRequiredError}
|
|
24
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
25
|
+
* @throws {@link Taktoria.ValidationError}
|
|
26
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
27
|
+
* @throws {@link errors.TaktoriaError}
|
|
28
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* await client.geist.listSurveys()
|
|
32
|
+
*/
|
|
33
|
+
listSurveys(request?: Taktoria.ListSurveysRequest, requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<Taktoria.SurveyPage>;
|
|
34
|
+
private __listSurveys;
|
|
35
|
+
/**
|
|
36
|
+
* A new draft, from a built-in instrument (`builtin`), a workspace
|
|
37
|
+
* template (`templateId`), the `questions` given, or none yet. Nobody
|
|
38
|
+
* is asked until it is published.
|
|
39
|
+
*
|
|
40
|
+
* @param {Taktoria.CreateSurveyRequest} request
|
|
41
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link Taktoria.SubscriptionRequiredError}
|
|
44
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
45
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
46
|
+
* @throws {@link Taktoria.ValidationError}
|
|
47
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
48
|
+
* @throws {@link errors.TaktoriaError}
|
|
49
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* await client.geist.createSurvey({
|
|
53
|
+
* title: "Burnout check",
|
|
54
|
+
* builtin: "burnout"
|
|
55
|
+
* })
|
|
56
|
+
*/
|
|
57
|
+
createSurvey(request: Taktoria.CreateSurveyRequest, requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<Taktoria.Survey>;
|
|
58
|
+
private __createSurvey;
|
|
59
|
+
/**
|
|
60
|
+
* @param {string} surveyId
|
|
61
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
64
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
65
|
+
* @throws {@link errors.TaktoriaError}
|
|
66
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* await client.geist.getSurvey("surveyId")
|
|
70
|
+
*/
|
|
71
|
+
getSurvey(surveyId: string, requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<Taktoria.Survey>;
|
|
72
|
+
private __getSurvey;
|
|
73
|
+
/**
|
|
74
|
+
* @param {string} surveyId
|
|
75
|
+
* @param {Taktoria.UpdateSurveyRequest} request
|
|
76
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
79
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
80
|
+
* @throws {@link Taktoria.ConflictError}
|
|
81
|
+
* @throws {@link Taktoria.ValidationError}
|
|
82
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
83
|
+
* @throws {@link errors.TaktoriaError}
|
|
84
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* await client.geist.updateSurvey("surveyId", {})
|
|
88
|
+
*/
|
|
89
|
+
updateSurvey(surveyId: string, request: Taktoria.UpdateSurveyRequest, requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<Taktoria.Survey>;
|
|
90
|
+
private __updateSurvey;
|
|
91
|
+
/**
|
|
92
|
+
* Archive it, or with `permanent=true` delete it with every answer. A
|
|
93
|
+
* survey that has opened is only Geist's admins' (or a key's) to delete.
|
|
94
|
+
*
|
|
95
|
+
* @param {string} surveyId
|
|
96
|
+
* @param {Taktoria.DeleteSurveyRequest} request
|
|
97
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
100
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
101
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
102
|
+
* @throws {@link errors.TaktoriaError}
|
|
103
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
104
|
+
*
|
|
105
|
+
* @example
|
|
106
|
+
* await client.geist.deleteSurvey("surveyId")
|
|
107
|
+
*/
|
|
108
|
+
deleteSurvey(surveyId: string, request?: Taktoria.DeleteSurveyRequest, requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
109
|
+
private __deleteSurvey;
|
|
110
|
+
/**
|
|
111
|
+
* Replace a draft's (or a scheduled survey's) questions, in order. `409` once it has opened.
|
|
112
|
+
*
|
|
113
|
+
* @param {string} surveyId
|
|
114
|
+
* @param {Taktoria.SetQuestionsRequest} request
|
|
115
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
118
|
+
* @throws {@link Taktoria.ConflictError}
|
|
119
|
+
* @throws {@link Taktoria.ValidationError}
|
|
120
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
121
|
+
* @throws {@link errors.TaktoriaError}
|
|
122
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
123
|
+
*
|
|
124
|
+
* @example
|
|
125
|
+
* await client.geist.setSurveyQuestions("surveyId", {
|
|
126
|
+
* questions: [{
|
|
127
|
+
* kind: "SCALE",
|
|
128
|
+
* prompt: "prompt"
|
|
129
|
+
* }, {
|
|
130
|
+
* kind: "SCALE",
|
|
131
|
+
* prompt: "prompt"
|
|
132
|
+
* }]
|
|
133
|
+
* })
|
|
134
|
+
*/
|
|
135
|
+
setSurveyQuestions(surveyId: string, request: Taktoria.SetQuestionsRequest, requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<Taktoria.Survey>;
|
|
136
|
+
private __setSurveyQuestions;
|
|
137
|
+
/**
|
|
138
|
+
* Send a draft: it opens now, everyone it goes to asked by email,
|
|
139
|
+
* Slack, Teams and in the app, or with an `opensAt` ahead it is
|
|
140
|
+
* scheduled. Opening happens a moment later, in the background.
|
|
141
|
+
*
|
|
142
|
+
* @param {string} surveyId
|
|
143
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
144
|
+
*
|
|
145
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
146
|
+
* @throws {@link Taktoria.ConflictError}
|
|
147
|
+
* @throws {@link Taktoria.ValidationError}
|
|
148
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
149
|
+
* @throws {@link errors.TaktoriaError}
|
|
150
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
151
|
+
*
|
|
152
|
+
* @example
|
|
153
|
+
* await client.geist.publishSurvey("surveyId")
|
|
154
|
+
*/
|
|
155
|
+
publishSurvey(surveyId: string, requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<Taktoria.Survey>;
|
|
156
|
+
private __publishSurvey;
|
|
157
|
+
/**
|
|
158
|
+
* Close an open survey now. Nobody else can answer.
|
|
159
|
+
*
|
|
160
|
+
* @param {string} surveyId
|
|
161
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
162
|
+
*
|
|
163
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
164
|
+
* @throws {@link Taktoria.ConflictError}
|
|
165
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
166
|
+
* @throws {@link errors.TaktoriaError}
|
|
167
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
168
|
+
*
|
|
169
|
+
* @example
|
|
170
|
+
* await client.geist.closeSurvey("surveyId")
|
|
171
|
+
*/
|
|
172
|
+
closeSurvey(surveyId: string, requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<Taktoria.Survey>;
|
|
173
|
+
private __closeSurvey;
|
|
174
|
+
/**
|
|
175
|
+
* A scheduled survey back to a draft, before it opens.
|
|
176
|
+
*
|
|
177
|
+
* @param {string} surveyId
|
|
178
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
179
|
+
*
|
|
180
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
181
|
+
* @throws {@link Taktoria.ConflictError}
|
|
182
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
183
|
+
* @throws {@link errors.TaktoriaError}
|
|
184
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
185
|
+
*
|
|
186
|
+
* @example
|
|
187
|
+
* await client.geist.unscheduleSurvey("surveyId")
|
|
188
|
+
*/
|
|
189
|
+
unscheduleSurvey(surveyId: string, requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<Taktoria.Survey>;
|
|
190
|
+
private __unscheduleSurvey;
|
|
191
|
+
/**
|
|
192
|
+
* A new draft with the same questions and settings.
|
|
193
|
+
*
|
|
194
|
+
* @param {string} surveyId
|
|
195
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
196
|
+
*
|
|
197
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
198
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
199
|
+
* @throws {@link errors.TaktoriaError}
|
|
200
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
201
|
+
*
|
|
202
|
+
* @example
|
|
203
|
+
* await client.geist.duplicateSurvey("surveyId")
|
|
204
|
+
*/
|
|
205
|
+
duplicateSurvey(surveyId: string, requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<Taktoria.Survey>;
|
|
206
|
+
private __duplicateSurvey;
|
|
207
|
+
/**
|
|
208
|
+
* Bring an archived survey back.
|
|
209
|
+
*
|
|
210
|
+
* @param {string} surveyId
|
|
211
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
212
|
+
*
|
|
213
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
214
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
215
|
+
* @throws {@link errors.TaktoriaError}
|
|
216
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
217
|
+
*
|
|
218
|
+
* @example
|
|
219
|
+
* await client.geist.restoreSurvey("surveyId")
|
|
220
|
+
*/
|
|
221
|
+
restoreSurvey(surveyId: string, requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<Taktoria.Survey>;
|
|
222
|
+
private __restoreSurvey;
|
|
223
|
+
/**
|
|
224
|
+
* A survey's results, as its results page shows them. Aggregates only;
|
|
225
|
+
* nothing but the counts below its `minGroupSize`, or while an anonymous
|
|
226
|
+
* survey is still open. For those who run it,
|
|
227
|
+
* and (signed in) for people a closed survey's results were shared with.
|
|
228
|
+
* Has a rate limit of its own.
|
|
229
|
+
*
|
|
230
|
+
* @param {string} surveyId
|
|
231
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
232
|
+
*
|
|
233
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
234
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
235
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
236
|
+
* @throws {@link errors.TaktoriaError}
|
|
237
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
238
|
+
*
|
|
239
|
+
* @example
|
|
240
|
+
* await client.geist.getSurveyResults("surveyId")
|
|
241
|
+
*/
|
|
242
|
+
getSurveyResults(surveyId: string, requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<Taktoria.SurveyResults>;
|
|
243
|
+
private __getSurveyResults;
|
|
244
|
+
/**
|
|
245
|
+
* The same results as CSV, in English: one row per answer of every
|
|
246
|
+
* question, with its count and share, then each dimension's score.
|
|
247
|
+
* Never a row per person. Has a rate limit of its own.
|
|
248
|
+
*
|
|
249
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
250
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
251
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
252
|
+
* @throws {@link errors.TaktoriaError}
|
|
253
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
254
|
+
*/
|
|
255
|
+
exportSurveyResults(surveyId: string, requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<core.BinaryResponse>;
|
|
256
|
+
private __exportSurveyResults;
|
|
257
|
+
/**
|
|
258
|
+
* The built-in surveys: validated instruments free for commercial use
|
|
259
|
+
* (HSE Management Standards, Copenhagen Burnout Inventory, NIOSH
|
|
260
|
+
* WellBQ's public-domain items, US federal workforce surveys) and
|
|
261
|
+
* Taktoria's own, marked `validated: false`, each with the credit its
|
|
262
|
+
* sources require.
|
|
263
|
+
*
|
|
264
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
265
|
+
*
|
|
266
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
267
|
+
* @throws {@link errors.TaktoriaError}
|
|
268
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
269
|
+
*
|
|
270
|
+
* @example
|
|
271
|
+
* await client.geist.listInstruments()
|
|
272
|
+
*/
|
|
273
|
+
listInstruments(requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<Taktoria.SurveyInstrumentList>;
|
|
274
|
+
private __listInstruments;
|
|
275
|
+
/**
|
|
276
|
+
* The workspace's own survey templates; archived ones too with `archived=true`.
|
|
277
|
+
*
|
|
278
|
+
* @param {Taktoria.ListSurveyTemplatesRequest} request
|
|
279
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
280
|
+
*
|
|
281
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
282
|
+
* @throws {@link errors.TaktoriaError}
|
|
283
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
284
|
+
*
|
|
285
|
+
* @example
|
|
286
|
+
* await client.geist.listSurveyTemplates()
|
|
287
|
+
*/
|
|
288
|
+
listSurveyTemplates(request?: Taktoria.ListSurveyTemplatesRequest, requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<Taktoria.SurveyTemplateList>;
|
|
289
|
+
private __listSurveyTemplates;
|
|
290
|
+
/**
|
|
291
|
+
* A template for everyone to start from. Geist's admins (and keys) only.
|
|
292
|
+
*
|
|
293
|
+
* @param {Taktoria.SurveyTemplateRequest} request
|
|
294
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
295
|
+
*
|
|
296
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
297
|
+
* @throws {@link Taktoria.ValidationError}
|
|
298
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
299
|
+
* @throws {@link errors.TaktoriaError}
|
|
300
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
301
|
+
*
|
|
302
|
+
* @example
|
|
303
|
+
* await client.geist.createSurveyTemplate({
|
|
304
|
+
* name: "name",
|
|
305
|
+
* questions: [{
|
|
306
|
+
* kind: "SCALE",
|
|
307
|
+
* prompt: "prompt"
|
|
308
|
+
* }, {
|
|
309
|
+
* kind: "SCALE",
|
|
310
|
+
* prompt: "prompt"
|
|
311
|
+
* }]
|
|
312
|
+
* })
|
|
313
|
+
*/
|
|
314
|
+
createSurveyTemplate(request: Taktoria.SurveyTemplateRequest, requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<Taktoria.SurveyTemplate>;
|
|
315
|
+
private __createSurveyTemplate;
|
|
316
|
+
/**
|
|
317
|
+
* @param {string} templateId
|
|
318
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
319
|
+
*
|
|
320
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
321
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
322
|
+
* @throws {@link errors.TaktoriaError}
|
|
323
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
324
|
+
*
|
|
325
|
+
* @example
|
|
326
|
+
* await client.geist.getSurveyTemplate("templateId")
|
|
327
|
+
*/
|
|
328
|
+
getSurveyTemplate(templateId: string, requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<Taktoria.SurveyTemplate>;
|
|
329
|
+
private __getSurveyTemplate;
|
|
330
|
+
/**
|
|
331
|
+
* Replace it whole. Surveys already made from it keep their questions.
|
|
332
|
+
*
|
|
333
|
+
* @param {string} templateId
|
|
334
|
+
* @param {Taktoria.SurveyTemplateRequest} request
|
|
335
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
336
|
+
*
|
|
337
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
338
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
339
|
+
* @throws {@link Taktoria.ValidationError}
|
|
340
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
341
|
+
* @throws {@link errors.TaktoriaError}
|
|
342
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
343
|
+
*
|
|
344
|
+
* @example
|
|
345
|
+
* await client.geist.updateSurveyTemplate("templateId", {
|
|
346
|
+
* name: "name",
|
|
347
|
+
* questions: [{
|
|
348
|
+
* kind: "SCALE",
|
|
349
|
+
* prompt: "prompt"
|
|
350
|
+
* }, {
|
|
351
|
+
* kind: "SCALE",
|
|
352
|
+
* prompt: "prompt"
|
|
353
|
+
* }]
|
|
354
|
+
* })
|
|
355
|
+
*/
|
|
356
|
+
updateSurveyTemplate(templateId: string, request: Taktoria.SurveyTemplateRequest, requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<Taktoria.SurveyTemplate>;
|
|
357
|
+
private __updateSurveyTemplate;
|
|
358
|
+
/**
|
|
359
|
+
* Archive it. `POST …/restore` brings it back.
|
|
360
|
+
*
|
|
361
|
+
* @param {string} templateId
|
|
362
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
363
|
+
*
|
|
364
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
365
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
366
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
367
|
+
* @throws {@link errors.TaktoriaError}
|
|
368
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
369
|
+
*
|
|
370
|
+
* @example
|
|
371
|
+
* await client.geist.archiveSurveyTemplate("templateId")
|
|
372
|
+
*/
|
|
373
|
+
archiveSurveyTemplate(templateId: string, requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
374
|
+
private __archiveSurveyTemplate;
|
|
375
|
+
/**
|
|
376
|
+
* @param {string} templateId
|
|
377
|
+
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
378
|
+
*
|
|
379
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
380
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
381
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
382
|
+
* @throws {@link errors.TaktoriaError}
|
|
383
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
384
|
+
*
|
|
385
|
+
* @example
|
|
386
|
+
* await client.geist.restoreSurveyTemplate("templateId")
|
|
387
|
+
*/
|
|
388
|
+
restoreSurveyTemplate(templateId: string, requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<Taktoria.SurveyTemplate>;
|
|
389
|
+
private __restoreSurveyTemplate;
|
|
390
|
+
}
|