@wix/auto_sdk_online-programs_quizzes 1.0.29 → 1.0.30

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.
@@ -7,7 +7,9 @@ interface CreateQuizSignature {
7
7
  /**
8
8
  * Creates a detached quiz definition with at least one question.
9
9
  *
10
- * To use the quiz in an Online Program, pass the returned quiz ID as `step.quizOptions.id` when calling the Steps API's `CreateStep` or `BulkCreateSteps` method.
10
+ * To use the quiz in an Online Program, specify the returned quiz ID as `step.quizOptions.id` when calling the Steps API's [Create Step](https://dev.wix.com/docs/api-reference/business-management/online-programs/steps/create-step) or [Bulk Create Steps](https://dev.wix.com/docs/api-reference/business-management/online-programs/steps/bulk-create-steps) method.
11
+ *
12
+ * To create multiple quiz definitions in a single API call, call [Bulk Create Quizzes](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/bulk-create-quizzes).
11
13
  * @param - Quiz definition to create. Generate a stable unique GUID for every `quiz.fields.id` value.
12
14
  * @returns Created quiz definition. Assign its `id` to `step.quizOptions.id` to create an Online Programs quiz step.
13
15
  */
@@ -32,7 +34,9 @@ interface CloneQuizSignature {
32
34
  declare function bulkCreateQuizzes$1(httpClient: HttpClient): BulkCreateQuizzesSignature;
33
35
  interface BulkCreateQuizzesSignature {
34
36
  /**
35
- * Creates up to 30 detached quiz definitions in a single API call. Each definition must contain at least one question.
37
+ * Creates up to 30 detached quiz definitions in a single API call.
38
+ *
39
+ * Each definition must contain at least one question.
36
40
  *
37
41
  * Quiz IDs, revisions, and creation and update timestamps are assigned by the server. Client-supplied values for these read-only fields are ignored. Question IDs (`quizzes.fields.id`) must be supplied by the caller.
38
42
  *
@@ -40,7 +44,9 @@ interface BulkCreateQuizzesSignature {
40
44
  *
41
45
  * Individual item failures don't fail the bulk request. For each failed item, `results.itemMetadata.error` contains the original application error from the Wix Forms operation.
42
46
  *
43
- * To use the quizzes in an Online Program, pass the returned quiz IDs as `step.quizOptions.id` values when calling the Steps API's `CreateStep` or `BulkCreateSteps` method.
47
+ * To use the quizzes in an Online Program, specify the returned quiz IDs as `step.quizOptions.id` values when calling the Steps API's [Create Step](https://dev.wix.com/docs/api-reference/business-management/online-programs/steps/create-step) or [Bulk Create Steps](https://dev.wix.com/docs/api-reference/business-management/online-programs/steps/bulk-create-steps) method.
48
+ *
49
+ * To create a single quiz definition, call [Create Quiz](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/create-quiz).
44
50
  * @param - Quiz definitions to create.
45
51
  */
46
52
  (quizzes: NonNullablePaths<Quiz, `fields` | `fields.${number}._id` | `fields.${number}.multiChoice.options` | `fields.${number}.question` | `fields.${number}.singleChoice.options` | `fields.${number}.target`, 3>[], options?: BulkCreateQuizzesOptions): Promise<NonNullablePaths<BulkCreateQuizzesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 4> & {
@@ -69,6 +75,8 @@ interface DeleteQuizSignature {
69
75
  *
70
76
  * This operation doesn't check whether Online Programs steps reference the quiz. Coordinate deletion with the Steps API and remove known step references first. Otherwise, steps can retain dangling quiz references.
71
77
  *
78
+ * To delete multiple quiz definitions in a single API call, call [Bulk Delete Quizzes](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/bulk-delete-quizzes).
79
+ *
72
80
  * NOT-PRECEDENT: This caller-responsibility behavior is retained as a production v1 compatibility exception. New delete APIs should provide an authoritative server-side reference safeguard.
73
81
  * @param - ID of the quiz definition to permanently delete.
74
82
  */
@@ -85,6 +93,8 @@ interface BulkDeleteQuizzesSignature {
85
93
  *
86
94
  * This operation doesn't check whether Online Programs steps reference the quizzes. Coordinate deletion with the Steps API and remove known step references first. Otherwise, steps can retain dangling quiz references.
87
95
  *
96
+ * To delete a single quiz definition, call [Delete Quiz](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/delete-quiz).
97
+ *
88
98
  * NOT-PRECEDENT: This caller-responsibility behavior is retained as a production v1 compatibility exception. New bulk-delete APIs should provide an authoritative server-side reference safeguard.
89
99
  * @param - IDs of the quiz definitions to permanently delete. Coordinate deletion with the Steps API and remove known step references first.
90
100
  */
@@ -44,7 +44,7 @@ interface Quiz {
44
44
  }
45
45
  interface QuizSettings {
46
46
  /**
47
- * Minimum unweighted integer percentage required to pass, from `0` through `100`. The earned grade is calculated as `floor((correct answer count / submitted answer count) * 100)`; question `score` values don't weight it. Non-evaluable answers count as correct. If omitted, the submission has no earned or passing grade and its status is COMPLETED, even if an individual evaluated answer is incorrect.
47
+ * Minimum unweighted integer percentage required to pass. The earned grade is calculated as `floor((correct answer count / submitted answer count) * 100)`; question `score` values don't weight it. Non-evaluable answers count as correct. If omitted, the submission has no earned or passing grade and its status is COMPLETED, even if an individual evaluated answer is incorrect.
48
48
  * @max 100
49
49
  */
50
50
  passingGrade?: number | null;
@@ -197,13 +197,17 @@ interface MultiChoiceField {
197
197
  }
198
198
  interface FileUploadField {
199
199
  /**
200
- * Text displayed on the upload button. Default: `Upload`.
200
+ * Text displayed on the upload button.
201
+ *
202
+ * Default: `Upload`.
201
203
  * @minLength 1
202
204
  * @maxLength 100
203
205
  */
204
206
  buttonText?: string | null;
205
207
  /**
206
- * Maximum number of files a participant can upload for this question, from `1` through `10`. Default: `10`.
208
+ * Maximum number of files a participant can upload for this question.
209
+ *
210
+ * Default: `10`.
207
211
  * @min 1
208
212
  * @max 10
209
213
  */
@@ -565,7 +569,9 @@ type DeleteQuizApplicationErrors = {
565
569
  /**
566
570
  * Creates a detached quiz definition with at least one question.
567
571
  *
568
- * To use the quiz in an Online Program, pass the returned quiz ID as `step.quizOptions.id` when calling the Steps API's `CreateStep` or `BulkCreateSteps` method.
572
+ * To use the quiz in an Online Program, specify the returned quiz ID as `step.quizOptions.id` when calling the Steps API's [Create Step](https://dev.wix.com/docs/api-reference/business-management/online-programs/steps/create-step) or [Bulk Create Steps](https://dev.wix.com/docs/api-reference/business-management/online-programs/steps/bulk-create-steps) method.
573
+ *
574
+ * To create multiple quiz definitions in a single API call, call [Bulk Create Quizzes](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/bulk-create-quizzes).
569
575
  * @param quiz - Quiz definition to create. Generate a stable unique GUID for every `quiz.fields.id` value.
570
576
  * @public
571
577
  * @requiredField quiz
@@ -601,7 +607,9 @@ declare function cloneQuiz(quizId: string): Promise<NonNullablePaths<CloneQuizRe
601
607
  __applicationErrorsType?: CloneQuizApplicationErrors;
602
608
  }>;
603
609
  /**
604
- * Creates up to 30 detached quiz definitions in a single API call. Each definition must contain at least one question.
610
+ * Creates up to 30 detached quiz definitions in a single API call.
611
+ *
612
+ * Each definition must contain at least one question.
605
613
  *
606
614
  * Quiz IDs, revisions, and creation and update timestamps are assigned by the server. Client-supplied values for these read-only fields are ignored. Question IDs (`quizzes.fields.id`) must be supplied by the caller.
607
615
  *
@@ -609,7 +617,9 @@ declare function cloneQuiz(quizId: string): Promise<NonNullablePaths<CloneQuizRe
609
617
  *
610
618
  * Individual item failures don't fail the bulk request. For each failed item, `results.itemMetadata.error` contains the original application error from the Wix Forms operation.
611
619
  *
612
- * To use the quizzes in an Online Program, pass the returned quiz IDs as `step.quizOptions.id` values when calling the Steps API's `CreateStep` or `BulkCreateSteps` method.
620
+ * To use the quizzes in an Online Program, specify the returned quiz IDs as `step.quizOptions.id` values when calling the Steps API's [Create Step](https://dev.wix.com/docs/api-reference/business-management/online-programs/steps/create-step) or [Bulk Create Steps](https://dev.wix.com/docs/api-reference/business-management/online-programs/steps/bulk-create-steps) method.
621
+ *
622
+ * To create a single quiz definition, call [Create Quiz](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/create-quiz).
613
623
  * @param quizzes - Quiz definitions to create.
614
624
  * @public
615
625
  * @documentationMaturity preview
@@ -658,6 +668,8 @@ declare function getQuiz(quizId: string): Promise<NonNullablePaths<Quiz, `fields
658
668
  *
659
669
  * This operation doesn't check whether Online Programs steps reference the quiz. Coordinate deletion with the Steps API and remove known step references first. Otherwise, steps can retain dangling quiz references.
660
670
  *
671
+ * To delete multiple quiz definitions in a single API call, call [Bulk Delete Quizzes](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/bulk-delete-quizzes).
672
+ *
661
673
  * NOT-PRECEDENT: This caller-responsibility behavior is retained as a production v1 compatibility exception. New delete APIs should provide an authoritative server-side reference safeguard.
662
674
  * @param quizId - ID of the quiz definition to permanently delete.
663
675
  * @public
@@ -676,6 +688,8 @@ declare function deleteQuiz(quizId: string): Promise<NonNullablePaths<DeleteQuiz
676
688
  *
677
689
  * This operation doesn't check whether Online Programs steps reference the quizzes. Coordinate deletion with the Steps API and remove known step references first. Otherwise, steps can retain dangling quiz references.
678
690
  *
691
+ * To delete a single quiz definition, call [Delete Quiz](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/delete-quiz).
692
+ *
679
693
  * NOT-PRECEDENT: This caller-responsibility behavior is retained as a production v1 compatibility exception. New bulk-delete APIs should provide an authoritative server-side reference safeguard.
680
694
  * @param quizIds - IDs of the quiz definitions to permanently delete. Coordinate deletion with the Steps API and remove known step references first.
681
695
  * @public
@@ -45,7 +45,7 @@ interface Quiz {
45
45
  }
46
46
  interface QuizSettings {
47
47
  /**
48
- * Minimum unweighted integer percentage required to pass, from `0` through `100`. The earned grade is calculated as `floor((correct answer count / submitted answer count) * 100)`; question `score` values don't weight it. Non-evaluable answers count as correct. If omitted, the submission has no earned or passing grade and its status is COMPLETED, even if an individual evaluated answer is incorrect.
48
+ * Minimum unweighted integer percentage required to pass. The earned grade is calculated as `floor((correct answer count / submitted answer count) * 100)`; question `score` values don't weight it. Non-evaluable answers count as correct. If omitted, the submission has no earned or passing grade and its status is COMPLETED, even if an individual evaluated answer is incorrect.
49
49
  * @max 100
50
50
  */
51
51
  passingGrade?: number | null;
@@ -198,13 +198,17 @@ interface MultiChoiceField {
198
198
  }
199
199
  interface FileUploadField {
200
200
  /**
201
- * Text displayed on the upload button. Default: `Upload`.
201
+ * Text displayed on the upload button.
202
+ *
203
+ * Default: `Upload`.
202
204
  * @minLength 1
203
205
  * @maxLength 100
204
206
  */
205
207
  buttonText?: string | null;
206
208
  /**
207
- * Maximum number of files a participant can upload for this question, from `1` through `10`. Default: `10`.
209
+ * Maximum number of files a participant can upload for this question.
210
+ *
211
+ * Default: `10`.
208
212
  * @min 1
209
213
  * @max 10
210
214
  */
@@ -7,7 +7,9 @@ interface CreateQuizSignature {
7
7
  /**
8
8
  * Creates a detached quiz definition with at least one question.
9
9
  *
10
- * To use the quiz in an Online Program, pass the returned quiz ID as `step.quizOptions.id` when calling the Steps API's `CreateStep` or `BulkCreateSteps` method.
10
+ * To use the quiz in an Online Program, specify the returned quiz ID as `step.quizOptions.id` when calling the Steps API's [Create Step](https://dev.wix.com/docs/api-reference/business-management/online-programs/steps/create-step) or [Bulk Create Steps](https://dev.wix.com/docs/api-reference/business-management/online-programs/steps/bulk-create-steps) method.
11
+ *
12
+ * To create multiple quiz definitions in a single API call, call [Bulk Create Quizzes](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/bulk-create-quizzes).
11
13
  * @param - Quiz definition to create. Generate a stable unique GUID for every `quiz.fields.id` value.
12
14
  * @returns Created quiz definition. Assign its `id` to `step.quizOptions.id` to create an Online Programs quiz step.
13
15
  */
@@ -32,7 +34,9 @@ interface CloneQuizSignature {
32
34
  declare function bulkCreateQuizzes$1(httpClient: HttpClient): BulkCreateQuizzesSignature;
33
35
  interface BulkCreateQuizzesSignature {
34
36
  /**
35
- * Creates up to 30 detached quiz definitions in a single API call. Each definition must contain at least one question.
37
+ * Creates up to 30 detached quiz definitions in a single API call.
38
+ *
39
+ * Each definition must contain at least one question.
36
40
  *
37
41
  * Quiz IDs, revisions, and creation and update timestamps are assigned by the server. Client-supplied values for these read-only fields are ignored. Question IDs (`quizzes.fields.id`) must be supplied by the caller.
38
42
  *
@@ -40,7 +44,9 @@ interface BulkCreateQuizzesSignature {
40
44
  *
41
45
  * Individual item failures don't fail the bulk request. For each failed item, `results.itemMetadata.error` contains the original application error from the Wix Forms operation.
42
46
  *
43
- * To use the quizzes in an Online Program, pass the returned quiz IDs as `step.quizOptions.id` values when calling the Steps API's `CreateStep` or `BulkCreateSteps` method.
47
+ * To use the quizzes in an Online Program, specify the returned quiz IDs as `step.quizOptions.id` values when calling the Steps API's [Create Step](https://dev.wix.com/docs/api-reference/business-management/online-programs/steps/create-step) or [Bulk Create Steps](https://dev.wix.com/docs/api-reference/business-management/online-programs/steps/bulk-create-steps) method.
48
+ *
49
+ * To create a single quiz definition, call [Create Quiz](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/create-quiz).
44
50
  * @param - Quiz definitions to create.
45
51
  */
46
52
  (quizzes: NonNullablePaths<Quiz, `fields` | `fields.${number}._id` | `fields.${number}.multiChoice.options` | `fields.${number}.question` | `fields.${number}.singleChoice.options` | `fields.${number}.target`, 3>[], options?: BulkCreateQuizzesOptions): Promise<NonNullablePaths<BulkCreateQuizzesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 4> & {
@@ -69,6 +75,8 @@ interface DeleteQuizSignature {
69
75
  *
70
76
  * This operation doesn't check whether Online Programs steps reference the quiz. Coordinate deletion with the Steps API and remove known step references first. Otherwise, steps can retain dangling quiz references.
71
77
  *
78
+ * To delete multiple quiz definitions in a single API call, call [Bulk Delete Quizzes](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/bulk-delete-quizzes).
79
+ *
72
80
  * NOT-PRECEDENT: This caller-responsibility behavior is retained as a production v1 compatibility exception. New delete APIs should provide an authoritative server-side reference safeguard.
73
81
  * @param - ID of the quiz definition to permanently delete.
74
82
  */
@@ -85,6 +93,8 @@ interface BulkDeleteQuizzesSignature {
85
93
  *
86
94
  * This operation doesn't check whether Online Programs steps reference the quizzes. Coordinate deletion with the Steps API and remove known step references first. Otherwise, steps can retain dangling quiz references.
87
95
  *
96
+ * To delete a single quiz definition, call [Delete Quiz](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/delete-quiz).
97
+ *
88
98
  * NOT-PRECEDENT: This caller-responsibility behavior is retained as a production v1 compatibility exception. New bulk-delete APIs should provide an authoritative server-side reference safeguard.
89
99
  * @param - IDs of the quiz definitions to permanently delete. Coordinate deletion with the Steps API and remove known step references first.
90
100
  */
@@ -44,7 +44,7 @@ interface Quiz {
44
44
  }
45
45
  interface QuizSettings {
46
46
  /**
47
- * Minimum unweighted integer percentage required to pass, from `0` through `100`. The earned grade is calculated as `floor((correct answer count / submitted answer count) * 100)`; question `score` values don't weight it. Non-evaluable answers count as correct. If omitted, the submission has no earned or passing grade and its status is COMPLETED, even if an individual evaluated answer is incorrect.
47
+ * Minimum unweighted integer percentage required to pass. The earned grade is calculated as `floor((correct answer count / submitted answer count) * 100)`; question `score` values don't weight it. Non-evaluable answers count as correct. If omitted, the submission has no earned or passing grade and its status is COMPLETED, even if an individual evaluated answer is incorrect.
48
48
  * @max 100
49
49
  */
50
50
  passingGrade?: number | null;
@@ -197,13 +197,17 @@ interface MultiChoiceField {
197
197
  }
198
198
  interface FileUploadField {
199
199
  /**
200
- * Text displayed on the upload button. Default: `Upload`.
200
+ * Text displayed on the upload button.
201
+ *
202
+ * Default: `Upload`.
201
203
  * @minLength 1
202
204
  * @maxLength 100
203
205
  */
204
206
  buttonText?: string | null;
205
207
  /**
206
- * Maximum number of files a participant can upload for this question, from `1` through `10`. Default: `10`.
208
+ * Maximum number of files a participant can upload for this question.
209
+ *
210
+ * Default: `10`.
207
211
  * @min 1
208
212
  * @max 10
209
213
  */
@@ -565,7 +569,9 @@ type DeleteQuizApplicationErrors = {
565
569
  /**
566
570
  * Creates a detached quiz definition with at least one question.
567
571
  *
568
- * To use the quiz in an Online Program, pass the returned quiz ID as `step.quizOptions.id` when calling the Steps API's `CreateStep` or `BulkCreateSteps` method.
572
+ * To use the quiz in an Online Program, specify the returned quiz ID as `step.quizOptions.id` when calling the Steps API's [Create Step](https://dev.wix.com/docs/api-reference/business-management/online-programs/steps/create-step) or [Bulk Create Steps](https://dev.wix.com/docs/api-reference/business-management/online-programs/steps/bulk-create-steps) method.
573
+ *
574
+ * To create multiple quiz definitions in a single API call, call [Bulk Create Quizzes](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/bulk-create-quizzes).
569
575
  * @param quiz - Quiz definition to create. Generate a stable unique GUID for every `quiz.fields.id` value.
570
576
  * @public
571
577
  * @requiredField quiz
@@ -601,7 +607,9 @@ declare function cloneQuiz(quizId: string): Promise<NonNullablePaths<CloneQuizRe
601
607
  __applicationErrorsType?: CloneQuizApplicationErrors;
602
608
  }>;
603
609
  /**
604
- * Creates up to 30 detached quiz definitions in a single API call. Each definition must contain at least one question.
610
+ * Creates up to 30 detached quiz definitions in a single API call.
611
+ *
612
+ * Each definition must contain at least one question.
605
613
  *
606
614
  * Quiz IDs, revisions, and creation and update timestamps are assigned by the server. Client-supplied values for these read-only fields are ignored. Question IDs (`quizzes.fields.id`) must be supplied by the caller.
607
615
  *
@@ -609,7 +617,9 @@ declare function cloneQuiz(quizId: string): Promise<NonNullablePaths<CloneQuizRe
609
617
  *
610
618
  * Individual item failures don't fail the bulk request. For each failed item, `results.itemMetadata.error` contains the original application error from the Wix Forms operation.
611
619
  *
612
- * To use the quizzes in an Online Program, pass the returned quiz IDs as `step.quizOptions.id` values when calling the Steps API's `CreateStep` or `BulkCreateSteps` method.
620
+ * To use the quizzes in an Online Program, specify the returned quiz IDs as `step.quizOptions.id` values when calling the Steps API's [Create Step](https://dev.wix.com/docs/api-reference/business-management/online-programs/steps/create-step) or [Bulk Create Steps](https://dev.wix.com/docs/api-reference/business-management/online-programs/steps/bulk-create-steps) method.
621
+ *
622
+ * To create a single quiz definition, call [Create Quiz](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/create-quiz).
613
623
  * @param quizzes - Quiz definitions to create.
614
624
  * @public
615
625
  * @documentationMaturity preview
@@ -658,6 +668,8 @@ declare function getQuiz(quizId: string): Promise<NonNullablePaths<Quiz, `fields
658
668
  *
659
669
  * This operation doesn't check whether Online Programs steps reference the quiz. Coordinate deletion with the Steps API and remove known step references first. Otherwise, steps can retain dangling quiz references.
660
670
  *
671
+ * To delete multiple quiz definitions in a single API call, call [Bulk Delete Quizzes](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/bulk-delete-quizzes).
672
+ *
661
673
  * NOT-PRECEDENT: This caller-responsibility behavior is retained as a production v1 compatibility exception. New delete APIs should provide an authoritative server-side reference safeguard.
662
674
  * @param quizId - ID of the quiz definition to permanently delete.
663
675
  * @public
@@ -676,6 +688,8 @@ declare function deleteQuiz(quizId: string): Promise<NonNullablePaths<DeleteQuiz
676
688
  *
677
689
  * This operation doesn't check whether Online Programs steps reference the quizzes. Coordinate deletion with the Steps API and remove known step references first. Otherwise, steps can retain dangling quiz references.
678
690
  *
691
+ * To delete a single quiz definition, call [Delete Quiz](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/delete-quiz).
692
+ *
679
693
  * NOT-PRECEDENT: This caller-responsibility behavior is retained as a production v1 compatibility exception. New bulk-delete APIs should provide an authoritative server-side reference safeguard.
680
694
  * @param quizIds - IDs of the quiz definitions to permanently delete. Coordinate deletion with the Steps API and remove known step references first.
681
695
  * @public
@@ -45,7 +45,7 @@ interface Quiz {
45
45
  }
46
46
  interface QuizSettings {
47
47
  /**
48
- * Minimum unweighted integer percentage required to pass, from `0` through `100`. The earned grade is calculated as `floor((correct answer count / submitted answer count) * 100)`; question `score` values don't weight it. Non-evaluable answers count as correct. If omitted, the submission has no earned or passing grade and its status is COMPLETED, even if an individual evaluated answer is incorrect.
48
+ * Minimum unweighted integer percentage required to pass. The earned grade is calculated as `floor((correct answer count / submitted answer count) * 100)`; question `score` values don't weight it. Non-evaluable answers count as correct. If omitted, the submission has no earned or passing grade and its status is COMPLETED, even if an individual evaluated answer is incorrect.
49
49
  * @max 100
50
50
  */
51
51
  passingGrade?: number | null;
@@ -198,13 +198,17 @@ interface MultiChoiceField {
198
198
  }
199
199
  interface FileUploadField {
200
200
  /**
201
- * Text displayed on the upload button. Default: `Upload`.
201
+ * Text displayed on the upload button.
202
+ *
203
+ * Default: `Upload`.
202
204
  * @minLength 1
203
205
  * @maxLength 100
204
206
  */
205
207
  buttonText?: string | null;
206
208
  /**
207
- * Maximum number of files a participant can upload for this question, from `1` through `10`. Default: `10`.
209
+ * Maximum number of files a participant can upload for this question.
210
+ *
211
+ * Default: `10`.
208
212
  * @min 1
209
213
  * @max 10
210
214
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_online-programs_quizzes",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -50,5 +50,5 @@
50
50
  "fqdn": "wix.achievements.quizzes.v1.quiz"
51
51
  }
52
52
  },
53
- "falconPackageHash": "cac1955e6cbdce3aceecf2aec692d681902270ef88cda2d9bbe5cb7b"
53
+ "falconPackageHash": "6032021aec899920f31a423efb6d127cbc9a83814db2ff1a91900cc0"
54
54
  }