@encatch/schema 1.2.0-beta.2 → 1.2.0-beta.3
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/esm/index.js
CHANGED
|
@@ -1799,8 +1799,11 @@ var fetchFeedbackDetailsSchema = z13.object({
|
|
|
1799
1799
|
}).strict().describe("Request schema for fetching specific feedback form details");
|
|
1800
1800
|
var formConfigurationResponseSchema = z13.object({
|
|
1801
1801
|
formTitle: z13.string().describe("Title of the feedback form"),
|
|
1802
|
-
formDescription: z13.string().describe("Description of the feedback form")
|
|
1803
|
-
|
|
1802
|
+
formDescription: z13.string().describe("Description of the feedback form"),
|
|
1803
|
+
respondentsCount: z13.number().int().min(0).optional().describe(
|
|
1804
|
+
"Total number of respondents enriched by the server at fetch time; used alongside respondentsShowMinThreshold to decide whether to display the welcome badge"
|
|
1805
|
+
)
|
|
1806
|
+
}).describe("Form configuration response with title, description, and optional respondent count");
|
|
1804
1807
|
var logicJumpRuleSchema = z13.object({
|
|
1805
1808
|
jsonLogic: z13.record(z13.string(), z13.unknown()).describe("JSON Logic expression to evaluate"),
|
|
1806
1809
|
targetQuestionId: z13.string().describe("Question ID to navigate to when this rule matches")
|
|
@@ -1832,7 +1835,7 @@ var fetchFeedbackDetailsResponseSchema = z13.object({
|
|
|
1832
1835
|
feedbackConfigurationId: z13.string().uuid().describe("Unique identifier for the feedback configuration"),
|
|
1833
1836
|
feedbackIdentifier: z13.string().uuid().describe("Unique identifier for this specific feedback instance"),
|
|
1834
1837
|
formConfiguration: formConfigurationResponseSchema.describe(
|
|
1835
|
-
"Form configuration
|
|
1838
|
+
"Form configuration including title, description, and optional respondent count for the welcome badge"
|
|
1836
1839
|
),
|
|
1837
1840
|
questionnaireFields: questionnaireFieldsResponseSchema.describe(
|
|
1838
1841
|
"Questionnaire structure including questions, sections, translations, and languages"
|
|
@@ -1842,8 +1845,7 @@ var fetchFeedbackDetailsResponseSchema = z13.object({
|
|
|
1842
1845
|
),
|
|
1843
1846
|
appearanceProperties: appearancePropertiesSchema.describe(
|
|
1844
1847
|
"Appearance properties including theme configuration"
|
|
1845
|
-
)
|
|
1846
|
-
respondentsCount: z13.number().int().min(0).optional().describe("Total number of respondents enriched by the server at fetch time; used alongside respondentsShowMinThreshold to decide whether to display the badge")
|
|
1848
|
+
)
|
|
1847
1849
|
}).strict().describe(
|
|
1848
1850
|
"Complete response schema for fetchFeedbackDetails API using existing field schemas"
|
|
1849
1851
|
);
|