@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
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@taktoria/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "0.
|
|
47
|
-
"User-Agent": "@taktoria/sdk/0.
|
|
46
|
+
"X-Fern-SDK-Version": "0.4.1",
|
|
47
|
+
"User-Agent": "@taktoria/sdk/0.4.1",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
package/dist/cjs/Client.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { AuditLogsClient } from "./api/resources/auditLogs/client/Client.js";
|
|
|
4
4
|
import { BillingClient } from "./api/resources/billing/client/Client.js";
|
|
5
5
|
import { DomainsClient } from "./api/resources/domains/client/Client.js";
|
|
6
6
|
import { DoryClient } from "./api/resources/dory/client/Client.js";
|
|
7
|
+
import { GeistClient } from "./api/resources/geist/client/Client.js";
|
|
7
8
|
import { GolinksClient } from "./api/resources/golinks/client/Client.js";
|
|
8
9
|
import { HolidaysClient } from "./api/resources/holidays/client/Client.js";
|
|
9
10
|
import { InsightsClient } from "./api/resources/insights/client/Client.js";
|
|
@@ -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/cjs/Client.js
CHANGED
|
@@ -50,24 +50,25 @@ const Client_js_3 = require("./api/resources/auditLogs/client/Client.js");
|
|
|
50
50
|
const Client_js_4 = require("./api/resources/billing/client/Client.js");
|
|
51
51
|
const Client_js_5 = require("./api/resources/domains/client/Client.js");
|
|
52
52
|
const Client_js_6 = require("./api/resources/dory/client/Client.js");
|
|
53
|
-
const Client_js_7 = require("./api/resources/
|
|
54
|
-
const Client_js_8 = require("./api/resources/
|
|
55
|
-
const Client_js_9 = require("./api/resources/
|
|
56
|
-
const Client_js_10 = require("./api/resources/
|
|
57
|
-
const Client_js_11 = require("./api/resources/
|
|
58
|
-
const Client_js_12 = require("./api/resources/
|
|
59
|
-
const Client_js_13 = require("./api/resources/
|
|
60
|
-
const Client_js_14 = require("./api/resources/
|
|
61
|
-
const Client_js_15 = require("./api/resources/
|
|
62
|
-
const Client_js_16 = require("./api/resources/
|
|
63
|
-
const Client_js_17 = require("./api/resources/
|
|
64
|
-
const Client_js_18 = require("./api/resources/
|
|
65
|
-
const Client_js_19 = require("./api/resources/
|
|
66
|
-
const Client_js_20 = require("./api/resources/
|
|
67
|
-
const Client_js_21 = require("./api/resources/
|
|
68
|
-
const Client_js_22 = require("./api/resources/
|
|
69
|
-
const Client_js_23 = require("./api/resources/
|
|
70
|
-
const Client_js_24 = require("./api/resources/
|
|
53
|
+
const Client_js_7 = require("./api/resources/geist/client/Client.js");
|
|
54
|
+
const Client_js_8 = require("./api/resources/golinks/client/Client.js");
|
|
55
|
+
const Client_js_9 = require("./api/resources/holidays/client/Client.js");
|
|
56
|
+
const Client_js_10 = require("./api/resources/insights/client/Client.js");
|
|
57
|
+
const Client_js_11 = require("./api/resources/launchAnalytics/client/Client.js");
|
|
58
|
+
const Client_js_12 = require("./api/resources/launches/client/Client.js");
|
|
59
|
+
const Client_js_13 = require("./api/resources/launchOverview/client/Client.js");
|
|
60
|
+
const Client_js_14 = require("./api/resources/links/client/Client.js");
|
|
61
|
+
const Client_js_15 = require("./api/resources/mcpConnections/client/Client.js");
|
|
62
|
+
const Client_js_16 = require("./api/resources/memegen/client/Client.js");
|
|
63
|
+
const Client_js_17 = require("./api/resources/okr/client/Client.js");
|
|
64
|
+
const Client_js_18 = require("./api/resources/organization/client/Client.js");
|
|
65
|
+
const Client_js_19 = require("./api/resources/partnerDomains/client/Client.js");
|
|
66
|
+
const Client_js_20 = require("./api/resources/platform/client/Client.js");
|
|
67
|
+
const Client_js_21 = require("./api/resources/posts/client/Client.js");
|
|
68
|
+
const Client_js_22 = require("./api/resources/process/client/Client.js");
|
|
69
|
+
const Client_js_23 = require("./api/resources/search/client/Client.js");
|
|
70
|
+
const Client_js_24 = require("./api/resources/slackConnections/client/Client.js");
|
|
71
|
+
const Client_js_25 = require("./api/resources/steps/client/Client.js");
|
|
71
72
|
const BaseClient_js_1 = require("./BaseClient.js");
|
|
72
73
|
const core = __importStar(require("./core/index.js"));
|
|
73
74
|
class TaktoriaClient {
|
|
@@ -98,77 +99,81 @@ class TaktoriaClient {
|
|
|
98
99
|
var _a;
|
|
99
100
|
return ((_a = this._dory) !== null && _a !== void 0 ? _a : (this._dory = new Client_js_6.DoryClient(this._options)));
|
|
100
101
|
}
|
|
102
|
+
get geist() {
|
|
103
|
+
var _a;
|
|
104
|
+
return ((_a = this._geist) !== null && _a !== void 0 ? _a : (this._geist = new Client_js_7.GeistClient(this._options)));
|
|
105
|
+
}
|
|
101
106
|
get golinks() {
|
|
102
107
|
var _a;
|
|
103
|
-
return ((_a = this._golinks) !== null && _a !== void 0 ? _a : (this._golinks = new
|
|
108
|
+
return ((_a = this._golinks) !== null && _a !== void 0 ? _a : (this._golinks = new Client_js_8.GolinksClient(this._options)));
|
|
104
109
|
}
|
|
105
110
|
get holidays() {
|
|
106
111
|
var _a;
|
|
107
|
-
return ((_a = this._holidays) !== null && _a !== void 0 ? _a : (this._holidays = new
|
|
112
|
+
return ((_a = this._holidays) !== null && _a !== void 0 ? _a : (this._holidays = new Client_js_9.HolidaysClient(this._options)));
|
|
108
113
|
}
|
|
109
114
|
get insights() {
|
|
110
115
|
var _a;
|
|
111
|
-
return ((_a = this._insights) !== null && _a !== void 0 ? _a : (this._insights = new
|
|
116
|
+
return ((_a = this._insights) !== null && _a !== void 0 ? _a : (this._insights = new Client_js_10.InsightsClient(this._options)));
|
|
112
117
|
}
|
|
113
118
|
get launchAnalytics() {
|
|
114
119
|
var _a;
|
|
115
|
-
return ((_a = this._launchAnalytics) !== null && _a !== void 0 ? _a : (this._launchAnalytics = new
|
|
120
|
+
return ((_a = this._launchAnalytics) !== null && _a !== void 0 ? _a : (this._launchAnalytics = new Client_js_11.LaunchAnalyticsClient(this._options)));
|
|
116
121
|
}
|
|
117
122
|
get launchOverview() {
|
|
118
123
|
var _a;
|
|
119
|
-
return ((_a = this._launchOverview) !== null && _a !== void 0 ? _a : (this._launchOverview = new
|
|
124
|
+
return ((_a = this._launchOverview) !== null && _a !== void 0 ? _a : (this._launchOverview = new Client_js_13.LaunchOverviewClient(this._options)));
|
|
120
125
|
}
|
|
121
126
|
get launches() {
|
|
122
127
|
var _a;
|
|
123
|
-
return ((_a = this._launches) !== null && _a !== void 0 ? _a : (this._launches = new
|
|
128
|
+
return ((_a = this._launches) !== null && _a !== void 0 ? _a : (this._launches = new Client_js_12.LaunchesClient(this._options)));
|
|
124
129
|
}
|
|
125
130
|
get links() {
|
|
126
131
|
var _a;
|
|
127
|
-
return ((_a = this._links) !== null && _a !== void 0 ? _a : (this._links = new
|
|
132
|
+
return ((_a = this._links) !== null && _a !== void 0 ? _a : (this._links = new Client_js_14.LinksClient(this._options)));
|
|
128
133
|
}
|
|
129
134
|
get mcpConnections() {
|
|
130
135
|
var _a;
|
|
131
|
-
return ((_a = this._mcpConnections) !== null && _a !== void 0 ? _a : (this._mcpConnections = new
|
|
136
|
+
return ((_a = this._mcpConnections) !== null && _a !== void 0 ? _a : (this._mcpConnections = new Client_js_15.McpConnectionsClient(this._options)));
|
|
132
137
|
}
|
|
133
138
|
get memegen() {
|
|
134
139
|
var _a;
|
|
135
|
-
return ((_a = this._memegen) !== null && _a !== void 0 ? _a : (this._memegen = new
|
|
140
|
+
return ((_a = this._memegen) !== null && _a !== void 0 ? _a : (this._memegen = new Client_js_16.MemegenClient(this._options)));
|
|
136
141
|
}
|
|
137
142
|
get okr() {
|
|
138
143
|
var _a;
|
|
139
|
-
return ((_a = this._okr) !== null && _a !== void 0 ? _a : (this._okr = new
|
|
144
|
+
return ((_a = this._okr) !== null && _a !== void 0 ? _a : (this._okr = new Client_js_17.OkrClient(this._options)));
|
|
140
145
|
}
|
|
141
146
|
get organization() {
|
|
142
147
|
var _a;
|
|
143
|
-
return ((_a = this._organization) !== null && _a !== void 0 ? _a : (this._organization = new
|
|
148
|
+
return ((_a = this._organization) !== null && _a !== void 0 ? _a : (this._organization = new Client_js_18.OrganizationClient(this._options)));
|
|
144
149
|
}
|
|
145
150
|
get partnerDomains() {
|
|
146
151
|
var _a;
|
|
147
|
-
return ((_a = this._partnerDomains) !== null && _a !== void 0 ? _a : (this._partnerDomains = new
|
|
152
|
+
return ((_a = this._partnerDomains) !== null && _a !== void 0 ? _a : (this._partnerDomains = new Client_js_19.PartnerDomainsClient(this._options)));
|
|
148
153
|
}
|
|
149
154
|
get platform() {
|
|
150
155
|
var _a;
|
|
151
|
-
return ((_a = this._platform) !== null && _a !== void 0 ? _a : (this._platform = new
|
|
156
|
+
return ((_a = this._platform) !== null && _a !== void 0 ? _a : (this._platform = new Client_js_20.PlatformClient(this._options)));
|
|
152
157
|
}
|
|
153
158
|
get posts() {
|
|
154
159
|
var _a;
|
|
155
|
-
return ((_a = this._posts) !== null && _a !== void 0 ? _a : (this._posts = new
|
|
160
|
+
return ((_a = this._posts) !== null && _a !== void 0 ? _a : (this._posts = new Client_js_21.PostsClient(this._options)));
|
|
156
161
|
}
|
|
157
162
|
get process() {
|
|
158
163
|
var _a;
|
|
159
|
-
return ((_a = this._process) !== null && _a !== void 0 ? _a : (this._process = new
|
|
164
|
+
return ((_a = this._process) !== null && _a !== void 0 ? _a : (this._process = new Client_js_22.ProcessClient(this._options)));
|
|
160
165
|
}
|
|
161
166
|
get search() {
|
|
162
167
|
var _a;
|
|
163
|
-
return ((_a = this._search) !== null && _a !== void 0 ? _a : (this._search = new
|
|
168
|
+
return ((_a = this._search) !== null && _a !== void 0 ? _a : (this._search = new Client_js_23.SearchClient(this._options)));
|
|
164
169
|
}
|
|
165
170
|
get slackConnections() {
|
|
166
171
|
var _a;
|
|
167
|
-
return ((_a = this._slackConnections) !== null && _a !== void 0 ? _a : (this._slackConnections = new
|
|
172
|
+
return ((_a = this._slackConnections) !== null && _a !== void 0 ? _a : (this._slackConnections = new Client_js_24.SlackConnectionsClient(this._options)));
|
|
168
173
|
}
|
|
169
174
|
get steps() {
|
|
170
175
|
var _a;
|
|
171
|
-
return ((_a = this._steps) !== null && _a !== void 0 ? _a : (this._steps = new
|
|
176
|
+
return ((_a = this._steps) !== null && _a !== void 0 ? _a : (this._steps = new Client_js_25.StepsClient(this._options)));
|
|
172
177
|
}
|
|
173
178
|
/**
|
|
174
179
|
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
|
|
3
|
+
import * as core from "../../../../core/index.js";
|
|
4
|
+
import * as Taktoria from "../../../index.js";
|
|
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
|
+
}
|