All notable changes to laravel-surveyhero
will be documented in this file.
Fixed collector retrieval in webhook controller
added public function deleteSurveyResponse($surveyId, $responseId) to SurveyResponseImportService::class to delete survey responses
Add data export functionality to spreadsheet
Fix typo in webhook command Add webhook handler controller for response completed webhook
Added command to generate webhooks for your surveys
surveyhero:add-webooks {--survey=all : The Surveyhero survey ID} {--eventType= : Webhooks event type (https://developer.surveyhero.com/api/#webhooks-event-types)} {--url= : The URL the webhook should call}
- Add collectors to mapping command
- Fix mapping command formatting when mapping multiple surveys
Support for answer_mapping to subquestions of choice_table type.
- add convertedValue() convenience function that returns the converted value without specifying the type.
- Fix bug with calculation of last imported timestamp of survey, which cause not all responses to be imported
Fix import refresh bugs & response updates
- support for collector IDs
- fix & improve command output of response import cmd
- add response import info DTO to cleanup error output of response import cmd
- casting survey_last_imported var to Carbon
- customisable data models & tables
- survey question mapper command output improvements
- survey question mapper command bug fixes
- survey import command bug fixes
- data model nullable on survey_language
- choice table question mapper bug fixes
- removal of old question responses in case the response is incomplete and new data exists.
- bug fixes in Q & A import
Renaming survey->survey_last_updated to survey_last_imported
Fix PHPstan errors
- Avoid re-importing unupdated responses
- Improved data model to normalise the field column on questions
- Refactor Q&A import
- Added support for more question types in Q&A import, question mapper and response creator
- Update docs
Added survey_questions and survey_answers tables and mapping commands
First version with data model and Surveyhero import