@constructor-io/constructorio-client-javascript 2.59.0 → 2.59.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/lib/modules/quizzes.js
CHANGED
|
@@ -133,7 +133,7 @@ var Quizzes = /*#__PURE__*/function () {
|
|
|
133
133
|
* @param {string} quizId - The identifier of the quiz
|
|
134
134
|
* @param {string} [parameters] - Additional parameters to refine result set
|
|
135
135
|
* @param {string} [parameters.section] - Product catalog section
|
|
136
|
-
* @param {array} [parameters.answers] - An array of answers in the format [[1,2],[1]]
|
|
136
|
+
* @param {array} [parameters.answers] - An array of answers in the format [[1,2], [1], ["true"], ["seen"], [""]]. Based on the question type, answers should either be an integer, "true"/"false", "seen" or an empty string ("") if skipped
|
|
137
137
|
* @param {string} [parameters.quizVersionId] - Version identifier for the quiz. Version ID will be returned with the first request and it should be passed with subsequent requests. More information can be found: https://docs.constructor.com/reference/configuration-quizzes
|
|
138
138
|
* @param {string} [parameters.quizSessionId] - Session identifier for the quiz. Session ID will be returned with the first request and it should be passed with subsequent requests. More information can be found: https://docs.constructor.com/reference/configuration-quizzes
|
|
139
139
|
* @param {object} [networkParameters] - Parameters relevant to the network request
|
|
@@ -183,7 +183,7 @@ var Quizzes = /*#__PURE__*/function () {
|
|
|
183
183
|
* @description Retrieve quiz recommendation and filter expression from Constructor.io API
|
|
184
184
|
* @param {string} quizId - The identifier of the quiz
|
|
185
185
|
* @param {string} parameters - Additional parameters to refine result set
|
|
186
|
-
* @param {array} parameters.answers - An array of answers in the format [[1,2],[1]]
|
|
186
|
+
* @param {array} parameters.answers - An array of answers in the format [[1,2], [1], ["true"], ["seen"], [""]]. Based on the question type, answers should either be an integer, "true"/"false", "seen" or an empty string ("") if skipped
|
|
187
187
|
* @param {string} [parameters.section] - Product catalog section
|
|
188
188
|
* @param {string} [parameters.quizVersionId] - Version identifier for the quiz. Version ID will be returned with the first request and it should be passed with subsequent requests. More information can be found: https://docs.constructor.com/reference/configuration-quizzes
|
|
189
189
|
* @param {string} [parameters.quizSessionId] - Session identifier for the quiz. Session ID will be returned with the first request and it should be passed with subsequent requests. More information can be found: https://docs.constructor.com/reference/configuration-quizzes
|
package/lib/version.js
CHANGED