@encatch/schema 1.1.0-beta.6 → 1.1.0-beta.8

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.
@@ -1,15 +1,15 @@
1
- export { questionTypeSchema, validationRuleTypeSchema, validationRuleSchema, visibilityConditionSchema, sectionSchema, questionStatusSchema, ratingDisplayStyleSchema, ratingRepresentationSizeSchema, multipleChoiceDisplayStyleSchema, multipleChoiceMultipleDisplayStyleSchema, yesNoDisplayStyleSchema, ratingMatrixDisplayStyleSchema, choiceOrderOptionSchema, questionSchema, ratingQuestionSchema, annotationQuestionSchema, questionOptionSchema, nestedOptionSchema, multipleChoiceSingleQuestionSchema, multipleChoiceMultipleQuestionSchema, npsQuestionSchema, shortAnswerQuestionSchema, longAnswerQuestionSchema, nestedDropdownQuestionSchema, combinedQuestionSchema, welcomeQuestionSchema, thankYouQuestionSchema, messagePanelQuestionSchema, exitFormQuestionSchema, yesNoQuestionSchema, ratingMatrixQuestionSchema, matrixSingleChoiceQuestionSchema, matrixMultipleChoiceQuestionSchema, ratingMatrixStatementSchema, ratingMatrixScalePointSchema, ratingMatrixScaleSchema, matrixRowSchema, matrixColumnSchema, QuestionTypes, ValidationRuleTypes, VisibilityConditionOperators, QuestionStatuses, RatingDisplayStyles, RatingRepresentationSizes, MultipleChoiceDisplayStyles, MultipleChoiceMultipleDisplayStyles, YesNoDisplayStyles, RatingMatrixDisplayStyles, ChoiceOrderOptions, type QuestionType, type ValidationRule, type VisibilityCondition, type QuestionStatus, type Question, type RatingDisplayStyle, type RatingRepresentationSize, type RatingQuestion, type AnnotationQuestion, type WelcomeQuestion, type ThankYouQuestion, type MessagePanelQuestion, type ExitFormQuestion, type YesNoDisplayStyle, type YesNoQuestion, type RatingMatrixStatement, type RatingMatrixScalePoint, type RatingMatrixScale, type RatingMatrixDisplayStyle, type RatingMatrixQuestion, type MatrixRow, type MatrixColumn, type MatrixSingleChoiceQuestion, type MatrixMultipleChoiceQuestion, type QuestionOption, type NestedOption, type MultipleChoiceDisplayStyle, type MultipleChoiceSingleQuestion, type MultipleChoiceMultipleDisplayStyle, type MultipleChoiceMultipleQuestion, type NpsQuestion, type ShortAnswerQuestion, type LongAnswerQuestion, type ChoiceOrderOption, type NestedDropdownQuestion, type Section, type CombinedQuestion, } from "./schemas/fields/field-schema";
1
+ export { questionTypeSchema, validationRuleTypeSchema, validationRuleSchema, visibilityConditionSchema, sectionSchema, questionStatusSchema, ratingDisplayStyleSchema, ratingRepresentationSizeSchema, multipleChoiceDisplayStyleSchema, multipleChoiceMultipleDisplayStyleSchema, yesNoDisplayStyleSchema, ratingMatrixDisplayStyleSchema, choiceOrderOptionSchema, questionSchema, ratingQuestionSchema, annotationQuestionSchema, questionOptionSchema, nestedOptionSchema, multipleChoiceSingleQuestionSchema, multipleChoiceMultipleQuestionSchema, npsQuestionSchema, shortAnswerQuestionSchema, longAnswerQuestionSchema, nestedDropdownQuestionSchema, combinedQuestionSchema, welcomeQuestionSchema, thankYouQuestionSchema, messagePanelQuestionSchema, exitFormQuestionSchema, yesNoQuestionSchema, consentQuestionSchema, ratingMatrixQuestionSchema, matrixSingleChoiceQuestionSchema, matrixMultipleChoiceQuestionSchema, ratingMatrixStatementSchema, ratingMatrixScalePointSchema, ratingMatrixScaleSchema, matrixRowSchema, matrixColumnSchema, QuestionTypes, ValidationRuleTypes, VisibilityConditionOperators, QuestionStatuses, RatingDisplayStyles, RatingRepresentationSizes, MultipleChoiceDisplayStyles, MultipleChoiceMultipleDisplayStyles, YesNoDisplayStyles, RatingMatrixDisplayStyles, ChoiceOrderOptions, type QuestionType, type ValidationRule, type VisibilityCondition, type QuestionStatus, type Question, type RatingDisplayStyle, type RatingRepresentationSize, type RatingQuestion, type AnnotationQuestion, type WelcomeQuestion, type ThankYouQuestion, type MessagePanelQuestion, type ExitFormQuestion, type YesNoDisplayStyle, type YesNoQuestion, type ConsentQuestion, type RatingMatrixStatement, type RatingMatrixScalePoint, type RatingMatrixScale, type RatingMatrixDisplayStyle, type RatingMatrixQuestion, type MatrixRow, type MatrixColumn, type MatrixSingleChoiceQuestion, type MatrixMultipleChoiceQuestion, type QuestionOption, type NestedOption, type MultipleChoiceDisplayStyle, type MultipleChoiceSingleQuestion, type MultipleChoiceMultipleDisplayStyle, type MultipleChoiceMultipleQuestion, type NpsQuestion, type ShortAnswerQuestion, type LongAnswerQuestion, type ChoiceOrderOption, type NestedDropdownQuestion, type Section, type CombinedQuestion, } from "./schemas/fields/field-schema";
2
2
  export { AnnotationMarkerSchema, AnnotationSchema, AnswerItemSchema, AnswerSchema, type AnnotationMarker, type Annotation, type AnswerItem, type Answer, } from "./schemas/fields/answer-schema";
3
3
  export { externalPublishingPropertiesSchema, publicationStatusSchema, feedbackConfigurationSchema, PublicationStatuses, type PublicationStatus, type FeedbackConfiguration, type ExternalPublishingProperties, } from "./schemas/fields/form-schema";
4
4
  export { otherConfigurationPropertiesSchema, appearancePropertiesSchema, formPropertiesSchema, type FormProperties, type OtherConfigurationProperties, type AppearanceProperties, } from "./schemas/fields/form-properties-schema";
5
5
  export { OtherFieldsSchema, LanguageFieldSchema, LanguagesSchema, OtherFieldsTranslationSchema, type OtherFields, type OtherFieldsTranslation, type LanguageField, type Languages, } from "./schemas/fields/other-screen-schema";
6
- export { positionSchema, themeModeSchema, shareableModeSchema, featureSettingsSchema, themeColorsSchema, themesSchema, themeConfigurationSchema, Positions, ThemeModes, ShareableModes, type Position, type FeatureSettings, type ThemeColors, type Themes, type ThemeMode, type ShareableMode, type ThemeConfiguration, } from "./schemas/fields/theme-schema";
6
+ export { positionSchema, themeModeSchema, shareableModeSchema, previousButtonModeSchema, featureSettingsSchema, themeColorsSchema, themesSchema, themeConfigurationSchema, Positions, ThemeModes, ShareableModes, PreviousButtonModes, type Position, type FeatureSettings, type ThemeColors, type Themes, type ThemeMode, type ShareableMode, type PreviousButtonMode, type ThemeConfiguration, } from "./schemas/fields/theme-schema";
7
7
  export { translationEntrySchema, ratingQuestionTranslationSchema, singleChoiceQuestionTranslationSchema, multipleChoiceQuestionTranslationSchema, npsQuestionTranslationSchema, shortAnswerQuestionTranslationSchema, longAnswerQuestionTranslationSchema, nestedSelectionQuestionTranslationSchema, annotationQuestionTranslationSchema, welcomeQuestionTranslationSchema, thankYouQuestionTranslationSchema, messagePanelQuestionTranslationSchema, yesNoQuestionTranslationSchema, ratingMatrixQuestionTranslationSchema, matrixSingleChoiceQuestionTranslationSchema, matrixMultipleChoiceQuestionTranslationSchema, questionTranslationSchema, sectionTranslationSchema, sectionTranslationsByLanguageSchema, questionCentricTranslationsSchema, translationsSchema, TranslationProvider, createTranslationProvider, type TranslationEntry, type RatingQuestionTranslation, type SingleChoiceQuestionTranslation, type MultipleChoiceQuestionTranslation, type NpsQuestionTranslation, type ShortAnswerQuestionTranslation, type LongAnswerQuestionTranslation, type NestedSelectionQuestionTranslation, type AnnotationQuestionTranslation, type WelcomeQuestionTranslation, type ThankYouQuestionTranslation, type MessagePanelQuestionTranslation, type YesNoQuestionTranslation, type RatingMatrixQuestionTranslation, type MatrixSingleChoiceQuestionTranslation, type MatrixMultipleChoiceQuestionTranslation, type QuestionTranslation, type SectionTranslation, type SectionTranslationsByLanguage, type QuestionCentricTranslations, type Translations, } from "./schemas/fields/translations-schema";
8
8
  export { customEventFieldOperatorSchema, customEventFieldSchema, conditionalIfMetadataSchema, queryOutputSchema, conditionalIfSchema, triggerActionSchema, conditionalWhenSchema, filterConditionSchema, categorySpecificFiltersSchema, whoSchema, audienceSegmentSchema, audienceTriggerPropertiesSchema, type CustomEventFieldOperator, type CustomEventField, type ConditionalIfMetadata, type QueryOutput, type ConditionalIf, type TriggerAction, type ConditionalWhen, type FilterCondition, type CategorySpecificFilters, type Who, type AudienceSegment, type AudienceTriggerProperties, } from "./schemas/fields/auto-trigger-schema";
9
9
  export { masterPropertiesSchema, type MasterProperties, } from "./schemas/fields/other-properties-schema";
10
10
  export { deviceThemeSchema, deviceInfoSchema, sessionInfoSchema, deviceSessionInfoSchema, userPropertiesSchema, userInfoSchema, DeviceThemes, type DeviceTheme, type DeviceInfo, type SessionInfo, type DeviceSessionInfo, type UserProperties, type UserInfo, } from "./schemas/api/other-schema";
11
11
  export { formConfigSchema, questionResponseSchema, responseSchema, matchedTriggerPropertiesSchema, baseSubmitFeedbackSchema, partialFeedbackSchema, submitFeedbackSchema, feedbackRequestSchema, type FormConfig, type QuestionResponse, type Response, type MatchedTriggerProperties, type BaseSubmitFeedback, type PartialFeedback, type SubmitFeedback, type FeedbackRequest, } from "./schemas/api/submit-feedback-schema";
12
- export { feedbackConfigurationItemSchema, fetchFormConfigSchema, fetchConfigurationListSchema, fetchFeedbackDetailsSchema, formConfigurationResponseSchema, questionnaireFieldsResponseSchema, fetchFeedbackDetailsResponseSchema, fetchConfigurationListResponseSchema, type FeedbackConfigurationItem, type FetchFormConfig, type FetchConfigurationListRequest, type FetchFeedbackDetailsRequest, type FormConfigurationResponse, type QuestionnaireFieldsResponse, type FetchFeedbackDetailsResponse, type FetchConfigurationListResponse, } from "./schemas/api/fetch-feedback-schema";
12
+ export { feedbackConfigurationItemSchema, fetchFormConfigSchema, fetchConfigurationListSchema, fetchFeedbackDetailsSchema, formConfigurationResponseSchema, questionnaireFieldsResponseSchema, fetchFeedbackDetailsResponseSchema, fetchConfigurationListResponseSchema, logicJumpRuleSchema, logicJumpRulesSchema, type FeedbackConfigurationItem, type FetchFormConfig, type FetchConfigurationListRequest, type FetchFeedbackDetailsRequest, type FormConfigurationResponse, type QuestionnaireFieldsResponse, type FetchFeedbackDetailsResponse, type FetchConfigurationListResponse, type LogicJumpRule, type LogicJumpRules, } from "./schemas/api/fetch-feedback-schema";
13
13
  export { RefineTextParams, RefineTextResponse, RefineTextData, refineTextDataSchema, refineTextParamsSchema, refineTextResponseSchema, } from "./schemas/api/refine-text-schema";
14
14
  export { objectToCamel, objectToSnake, toSnake, toCamel, toPascal, objectToPascal, } from './helpers/case-convert-helper';
15
15
  export type { ObjectToCamel, ObjectToSnake, ToSnake, ToCamel, ToPascal, ObjectToPascal, } from "./helpers/case-convert-helper";
@@ -86,6 +86,7 @@ export declare const feedbackConfigurationItemSchema: z.ZodObject<{
86
86
  customPosition: z.ZodBoolean;
87
87
  customIconPosition: z.ZodBoolean;
88
88
  customCss: z.ZodOptional<z.ZodNullable<z.ZodString>>;
89
+ enableShareableKeyboardNavigation: z.ZodDefault<z.ZodBoolean>;
89
90
  rtl: z.ZodBoolean;
90
91
  previousButton: z.ZodEnum<{
91
92
  never: "never";
@@ -170,9 +171,18 @@ export declare const formConfigurationResponseSchema: z.ZodObject<{
170
171
  formTitle: z.ZodString;
171
172
  formDescription: z.ZodString;
172
173
  }, z.core.$strip>;
174
+ export declare const logicJumpRuleSchema: z.ZodObject<{
175
+ jsonLogic: z.ZodRecord<z.ZodString, z.ZodUnknown>;
176
+ targetQuestionId: z.ZodString;
177
+ }, z.core.$strip>;
178
+ export declare const logicJumpRulesSchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
179
+ jsonLogic: z.ZodRecord<z.ZodString, z.ZodUnknown>;
180
+ targetQuestionId: z.ZodString;
181
+ }, z.core.$strip>>>;
173
182
  export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
174
183
  questions: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
175
184
  id: z.ZodString;
185
+ slug: z.ZodOptional<z.ZodString>;
176
186
  title: z.ZodString;
177
187
  description: z.ZodOptional<z.ZodString>;
178
188
  describe: z.ZodOptional<z.ZodString>;
@@ -243,6 +253,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
243
253
  color: z.ZodOptional<z.ZodString>;
244
254
  }, z.core.$strip>, z.ZodObject<{
245
255
  id: z.ZodString;
256
+ slug: z.ZodOptional<z.ZodString>;
246
257
  title: z.ZodString;
247
258
  description: z.ZodOptional<z.ZodString>;
248
259
  describe: z.ZodOptional<z.ZodString>;
@@ -297,6 +308,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
297
308
  noAnnotationText: z.ZodOptional<z.ZodString>;
298
309
  }, z.core.$strip>, z.ZodObject<{
299
310
  id: z.ZodString;
311
+ slug: z.ZodOptional<z.ZodString>;
300
312
  describe: z.ZodOptional<z.ZodString>;
301
313
  required: z.ZodDefault<z.ZodBoolean>;
302
314
  isHidden: z.ZodDefault<z.ZodBoolean>;
@@ -350,6 +362,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
350
362
  imageUrl: z.ZodOptional<z.ZodString>;
351
363
  }, z.core.$strip>, z.ZodObject<{
352
364
  id: z.ZodString;
365
+ slug: z.ZodOptional<z.ZodString>;
353
366
  describe: z.ZodOptional<z.ZodString>;
354
367
  required: z.ZodDefault<z.ZodBoolean>;
355
368
  isHidden: z.ZodDefault<z.ZodBoolean>;
@@ -403,6 +416,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
403
416
  imageUrl: z.ZodOptional<z.ZodString>;
404
417
  }, z.core.$strip>, z.ZodObject<{
405
418
  id: z.ZodString;
419
+ slug: z.ZodOptional<z.ZodString>;
406
420
  describe: z.ZodOptional<z.ZodString>;
407
421
  required: z.ZodDefault<z.ZodBoolean>;
408
422
  isHidden: z.ZodDefault<z.ZodBoolean>;
@@ -456,6 +470,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
456
470
  imageUrl: z.ZodOptional<z.ZodString>;
457
471
  }, z.core.$strip>, z.ZodObject<{
458
472
  id: z.ZodString;
473
+ slug: z.ZodOptional<z.ZodString>;
459
474
  title: z.ZodString;
460
475
  description: z.ZodOptional<z.ZodString>;
461
476
  describe: z.ZodOptional<z.ZodString>;
@@ -508,6 +523,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
508
523
  type: z.ZodLiteral<"exit_form">;
509
524
  }, z.core.$strip>, z.ZodObject<{
510
525
  id: z.ZodString;
526
+ slug: z.ZodOptional<z.ZodString>;
511
527
  title: z.ZodString;
512
528
  description: z.ZodOptional<z.ZodString>;
513
529
  describe: z.ZodOptional<z.ZodString>;
@@ -566,6 +582,60 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
566
582
  }>>;
567
583
  }, z.core.$strip>, z.ZodObject<{
568
584
  id: z.ZodString;
585
+ slug: z.ZodOptional<z.ZodString>;
586
+ title: z.ZodString;
587
+ description: z.ZodOptional<z.ZodString>;
588
+ describe: z.ZodOptional<z.ZodString>;
589
+ required: z.ZodDefault<z.ZodBoolean>;
590
+ isHidden: z.ZodDefault<z.ZodBoolean>;
591
+ errorMessage: z.ZodOptional<z.ZodString>;
592
+ validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
593
+ type: z.ZodEnum<{
594
+ custom: "custom";
595
+ pattern: "pattern";
596
+ required: "required";
597
+ min: "min";
598
+ max: "max";
599
+ minLength: "minLength";
600
+ maxLength: "maxLength";
601
+ email: "email";
602
+ url: "url";
603
+ }>;
604
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
605
+ message: z.ZodOptional<z.ZodString>;
606
+ describe: z.ZodOptional<z.ZodString>;
607
+ }, z.core.$strip>>>>;
608
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
609
+ field: z.ZodString;
610
+ operator: z.ZodEnum<{
611
+ equals: "equals";
612
+ not_equals: "not_equals";
613
+ contains: "contains";
614
+ not_contains: "not_contains";
615
+ greater_than: "greater_than";
616
+ less_than: "less_than";
617
+ is_empty: "is_empty";
618
+ is_not_empty: "is_not_empty";
619
+ }>;
620
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
621
+ describe: z.ZodOptional<z.ZodString>;
622
+ }, z.core.$strip>>>>;
623
+ sectionId: z.ZodOptional<z.ZodString>;
624
+ status: z.ZodEnum<{
625
+ D: "D";
626
+ P: "P";
627
+ A: "A";
628
+ S: "S";
629
+ }>;
630
+ textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
631
+ left: "left";
632
+ center: "center";
633
+ }>>>;
634
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
635
+ type: z.ZodLiteral<"consent">;
636
+ }, z.core.$strip>, z.ZodObject<{
637
+ id: z.ZodString;
638
+ slug: z.ZodOptional<z.ZodString>;
569
639
  title: z.ZodString;
570
640
  description: z.ZodOptional<z.ZodString>;
571
641
  describe: z.ZodOptional<z.ZodString>;
@@ -657,6 +727,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
657
727
  randomizeStatements: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
658
728
  }, z.core.$strip>, z.ZodObject<{
659
729
  id: z.ZodString;
730
+ slug: z.ZodOptional<z.ZodString>;
660
731
  title: z.ZodString;
661
732
  description: z.ZodOptional<z.ZodString>;
662
733
  describe: z.ZodOptional<z.ZodString>;
@@ -723,6 +794,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
723
794
  randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
724
795
  }, z.core.$strip>, z.ZodObject<{
725
796
  id: z.ZodString;
797
+ slug: z.ZodOptional<z.ZodString>;
726
798
  title: z.ZodString;
727
799
  description: z.ZodOptional<z.ZodString>;
728
800
  describe: z.ZodOptional<z.ZodString>;
@@ -791,6 +863,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
791
863
  randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
792
864
  }, z.core.$strip>, z.ZodObject<{
793
865
  id: z.ZodString;
866
+ slug: z.ZodOptional<z.ZodString>;
794
867
  title: z.ZodString;
795
868
  description: z.ZodOptional<z.ZodString>;
796
869
  describe: z.ZodOptional<z.ZodString>;
@@ -863,6 +936,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
863
936
  }, z.core.$strip>>;
864
937
  }, z.core.$strip>, z.ZodObject<{
865
938
  id: z.ZodString;
939
+ slug: z.ZodOptional<z.ZodString>;
866
940
  title: z.ZodString;
867
941
  description: z.ZodOptional<z.ZodString>;
868
942
  describe: z.ZodOptional<z.ZodString>;
@@ -936,6 +1010,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
936
1010
  }, z.core.$strip>>;
937
1011
  }, z.core.$strip>, z.ZodObject<{
938
1012
  id: z.ZodString;
1013
+ slug: z.ZodOptional<z.ZodString>;
939
1014
  title: z.ZodString;
940
1015
  description: z.ZodOptional<z.ZodString>;
941
1016
  describe: z.ZodOptional<z.ZodString>;
@@ -994,6 +1069,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
994
1069
  prepopulatedValue: z.ZodOptional<z.ZodNumber>;
995
1070
  }, z.core.$strip>, z.ZodObject<{
996
1071
  id: z.ZodString;
1072
+ slug: z.ZodOptional<z.ZodString>;
997
1073
  title: z.ZodString;
998
1074
  description: z.ZodOptional<z.ZodString>;
999
1075
  describe: z.ZodOptional<z.ZodString>;
@@ -1055,6 +1131,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
1055
1131
  minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
1056
1132
  }, z.core.$strip>, z.ZodObject<{
1057
1133
  id: z.ZodString;
1134
+ slug: z.ZodOptional<z.ZodString>;
1058
1135
  title: z.ZodString;
1059
1136
  description: z.ZodOptional<z.ZodString>;
1060
1137
  describe: z.ZodOptional<z.ZodString>;
@@ -1115,6 +1192,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
1115
1192
  minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
1116
1193
  }, z.core.$strip>, z.ZodObject<{
1117
1194
  id: z.ZodString;
1195
+ slug: z.ZodOptional<z.ZodString>;
1118
1196
  title: z.ZodString;
1119
1197
  description: z.ZodOptional<z.ZodString>;
1120
1198
  describe: z.ZodOptional<z.ZodString>;
@@ -1202,6 +1280,12 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
1202
1280
  value: z.ZodString;
1203
1281
  label: z.ZodString;
1204
1282
  }, z.core.$strip>>;
1283
+ isLogicJumpsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1284
+ logicJumpRules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
1285
+ jsonLogic: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1286
+ targetQuestionId: z.ZodString;
1287
+ }, z.core.$strip>>>>;
1288
+ contextVariables: z.ZodOptional<z.ZodArray<z.ZodString>>;
1205
1289
  }, z.core.$strip>;
1206
1290
  export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
1207
1291
  feedbackConfigurationId: z.ZodString;
@@ -1213,6 +1297,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
1213
1297
  questionnaireFields: z.ZodObject<{
1214
1298
  questions: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1215
1299
  id: z.ZodString;
1300
+ slug: z.ZodOptional<z.ZodString>;
1216
1301
  title: z.ZodString;
1217
1302
  description: z.ZodOptional<z.ZodString>;
1218
1303
  describe: z.ZodOptional<z.ZodString>;
@@ -1283,6 +1368,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
1283
1368
  color: z.ZodOptional<z.ZodString>;
1284
1369
  }, z.core.$strip>, z.ZodObject<{
1285
1370
  id: z.ZodString;
1371
+ slug: z.ZodOptional<z.ZodString>;
1286
1372
  title: z.ZodString;
1287
1373
  description: z.ZodOptional<z.ZodString>;
1288
1374
  describe: z.ZodOptional<z.ZodString>;
@@ -1337,6 +1423,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
1337
1423
  noAnnotationText: z.ZodOptional<z.ZodString>;
1338
1424
  }, z.core.$strip>, z.ZodObject<{
1339
1425
  id: z.ZodString;
1426
+ slug: z.ZodOptional<z.ZodString>;
1340
1427
  describe: z.ZodOptional<z.ZodString>;
1341
1428
  required: z.ZodDefault<z.ZodBoolean>;
1342
1429
  isHidden: z.ZodDefault<z.ZodBoolean>;
@@ -1390,6 +1477,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
1390
1477
  imageUrl: z.ZodOptional<z.ZodString>;
1391
1478
  }, z.core.$strip>, z.ZodObject<{
1392
1479
  id: z.ZodString;
1480
+ slug: z.ZodOptional<z.ZodString>;
1393
1481
  describe: z.ZodOptional<z.ZodString>;
1394
1482
  required: z.ZodDefault<z.ZodBoolean>;
1395
1483
  isHidden: z.ZodDefault<z.ZodBoolean>;
@@ -1443,6 +1531,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
1443
1531
  imageUrl: z.ZodOptional<z.ZodString>;
1444
1532
  }, z.core.$strip>, z.ZodObject<{
1445
1533
  id: z.ZodString;
1534
+ slug: z.ZodOptional<z.ZodString>;
1446
1535
  describe: z.ZodOptional<z.ZodString>;
1447
1536
  required: z.ZodDefault<z.ZodBoolean>;
1448
1537
  isHidden: z.ZodDefault<z.ZodBoolean>;
@@ -1496,6 +1585,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
1496
1585
  imageUrl: z.ZodOptional<z.ZodString>;
1497
1586
  }, z.core.$strip>, z.ZodObject<{
1498
1587
  id: z.ZodString;
1588
+ slug: z.ZodOptional<z.ZodString>;
1499
1589
  title: z.ZodString;
1500
1590
  description: z.ZodOptional<z.ZodString>;
1501
1591
  describe: z.ZodOptional<z.ZodString>;
@@ -1548,6 +1638,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
1548
1638
  type: z.ZodLiteral<"exit_form">;
1549
1639
  }, z.core.$strip>, z.ZodObject<{
1550
1640
  id: z.ZodString;
1641
+ slug: z.ZodOptional<z.ZodString>;
1551
1642
  title: z.ZodString;
1552
1643
  description: z.ZodOptional<z.ZodString>;
1553
1644
  describe: z.ZodOptional<z.ZodString>;
@@ -1606,6 +1697,60 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
1606
1697
  }>>;
1607
1698
  }, z.core.$strip>, z.ZodObject<{
1608
1699
  id: z.ZodString;
1700
+ slug: z.ZodOptional<z.ZodString>;
1701
+ title: z.ZodString;
1702
+ description: z.ZodOptional<z.ZodString>;
1703
+ describe: z.ZodOptional<z.ZodString>;
1704
+ required: z.ZodDefault<z.ZodBoolean>;
1705
+ isHidden: z.ZodDefault<z.ZodBoolean>;
1706
+ errorMessage: z.ZodOptional<z.ZodString>;
1707
+ validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1708
+ type: z.ZodEnum<{
1709
+ custom: "custom";
1710
+ pattern: "pattern";
1711
+ required: "required";
1712
+ min: "min";
1713
+ max: "max";
1714
+ minLength: "minLength";
1715
+ maxLength: "maxLength";
1716
+ email: "email";
1717
+ url: "url";
1718
+ }>;
1719
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1720
+ message: z.ZodOptional<z.ZodString>;
1721
+ describe: z.ZodOptional<z.ZodString>;
1722
+ }, z.core.$strip>>>>;
1723
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1724
+ field: z.ZodString;
1725
+ operator: z.ZodEnum<{
1726
+ equals: "equals";
1727
+ not_equals: "not_equals";
1728
+ contains: "contains";
1729
+ not_contains: "not_contains";
1730
+ greater_than: "greater_than";
1731
+ less_than: "less_than";
1732
+ is_empty: "is_empty";
1733
+ is_not_empty: "is_not_empty";
1734
+ }>;
1735
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1736
+ describe: z.ZodOptional<z.ZodString>;
1737
+ }, z.core.$strip>>>>;
1738
+ sectionId: z.ZodOptional<z.ZodString>;
1739
+ status: z.ZodEnum<{
1740
+ D: "D";
1741
+ P: "P";
1742
+ A: "A";
1743
+ S: "S";
1744
+ }>;
1745
+ textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1746
+ left: "left";
1747
+ center: "center";
1748
+ }>>>;
1749
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
1750
+ type: z.ZodLiteral<"consent">;
1751
+ }, z.core.$strip>, z.ZodObject<{
1752
+ id: z.ZodString;
1753
+ slug: z.ZodOptional<z.ZodString>;
1609
1754
  title: z.ZodString;
1610
1755
  description: z.ZodOptional<z.ZodString>;
1611
1756
  describe: z.ZodOptional<z.ZodString>;
@@ -1697,6 +1842,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
1697
1842
  randomizeStatements: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1698
1843
  }, z.core.$strip>, z.ZodObject<{
1699
1844
  id: z.ZodString;
1845
+ slug: z.ZodOptional<z.ZodString>;
1700
1846
  title: z.ZodString;
1701
1847
  description: z.ZodOptional<z.ZodString>;
1702
1848
  describe: z.ZodOptional<z.ZodString>;
@@ -1763,6 +1909,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
1763
1909
  randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1764
1910
  }, z.core.$strip>, z.ZodObject<{
1765
1911
  id: z.ZodString;
1912
+ slug: z.ZodOptional<z.ZodString>;
1766
1913
  title: z.ZodString;
1767
1914
  description: z.ZodOptional<z.ZodString>;
1768
1915
  describe: z.ZodOptional<z.ZodString>;
@@ -1831,6 +1978,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
1831
1978
  randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1832
1979
  }, z.core.$strip>, z.ZodObject<{
1833
1980
  id: z.ZodString;
1981
+ slug: z.ZodOptional<z.ZodString>;
1834
1982
  title: z.ZodString;
1835
1983
  description: z.ZodOptional<z.ZodString>;
1836
1984
  describe: z.ZodOptional<z.ZodString>;
@@ -1903,6 +2051,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
1903
2051
  }, z.core.$strip>>;
1904
2052
  }, z.core.$strip>, z.ZodObject<{
1905
2053
  id: z.ZodString;
2054
+ slug: z.ZodOptional<z.ZodString>;
1906
2055
  title: z.ZodString;
1907
2056
  description: z.ZodOptional<z.ZodString>;
1908
2057
  describe: z.ZodOptional<z.ZodString>;
@@ -1976,6 +2125,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
1976
2125
  }, z.core.$strip>>;
1977
2126
  }, z.core.$strip>, z.ZodObject<{
1978
2127
  id: z.ZodString;
2128
+ slug: z.ZodOptional<z.ZodString>;
1979
2129
  title: z.ZodString;
1980
2130
  description: z.ZodOptional<z.ZodString>;
1981
2131
  describe: z.ZodOptional<z.ZodString>;
@@ -2034,6 +2184,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
2034
2184
  prepopulatedValue: z.ZodOptional<z.ZodNumber>;
2035
2185
  }, z.core.$strip>, z.ZodObject<{
2036
2186
  id: z.ZodString;
2187
+ slug: z.ZodOptional<z.ZodString>;
2037
2188
  title: z.ZodString;
2038
2189
  description: z.ZodOptional<z.ZodString>;
2039
2190
  describe: z.ZodOptional<z.ZodString>;
@@ -2095,6 +2246,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
2095
2246
  minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
2096
2247
  }, z.core.$strip>, z.ZodObject<{
2097
2248
  id: z.ZodString;
2249
+ slug: z.ZodOptional<z.ZodString>;
2098
2250
  title: z.ZodString;
2099
2251
  description: z.ZodOptional<z.ZodString>;
2100
2252
  describe: z.ZodOptional<z.ZodString>;
@@ -2155,6 +2307,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
2155
2307
  minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
2156
2308
  }, z.core.$strip>, z.ZodObject<{
2157
2309
  id: z.ZodString;
2310
+ slug: z.ZodOptional<z.ZodString>;
2158
2311
  title: z.ZodString;
2159
2312
  description: z.ZodOptional<z.ZodString>;
2160
2313
  describe: z.ZodOptional<z.ZodString>;
@@ -2242,6 +2395,12 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
2242
2395
  value: z.ZodString;
2243
2396
  label: z.ZodString;
2244
2397
  }, z.core.$strip>>;
2398
+ isLogicJumpsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2399
+ logicJumpRules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
2400
+ jsonLogic: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2401
+ targetQuestionId: z.ZodString;
2402
+ }, z.core.$strip>>>>;
2403
+ contextVariables: z.ZodOptional<z.ZodArray<z.ZodString>>;
2245
2404
  }, z.core.$strip>;
2246
2405
  otherConfigurationProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
2247
2406
  isEnabled: z.ZodLiteral<false>;
@@ -2289,23 +2448,24 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
2289
2448
  }, z.core.$strip>;
2290
2449
  }, z.core.$strip>;
2291
2450
  featureSettings: z.ZodObject<{
2292
- darkOverlay: z.ZodBoolean;
2293
- closeButton: z.ZodBoolean;
2294
- progressBar: z.ZodBoolean;
2295
- showBranding: z.ZodBoolean;
2451
+ darkOverlay: z.ZodDefault<z.ZodBoolean>;
2452
+ closeButton: z.ZodDefault<z.ZodBoolean>;
2453
+ progressBar: z.ZodDefault<z.ZodBoolean>;
2454
+ showBranding: z.ZodDefault<z.ZodBoolean>;
2296
2455
  customPosition: z.ZodBoolean;
2297
2456
  customCss: z.ZodOptional<z.ZodString>;
2298
- shareableMode: z.ZodOptional<z.ZodEnum<{
2457
+ shareableMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
2299
2458
  light: "light";
2300
2459
  dark: "dark";
2301
2460
  system: "system";
2302
- }>>;
2303
- rtl: z.ZodBoolean;
2304
- previousButton: z.ZodEnum<{
2461
+ }>>>;
2462
+ enableShareableKeyboardNavigation: z.ZodDefault<z.ZodBoolean>;
2463
+ rtl: z.ZodDefault<z.ZodBoolean>;
2464
+ previousButton: z.ZodDefault<z.ZodEnum<{
2305
2465
  never: "never";
2306
2466
  always: "always";
2307
2467
  auto: "auto";
2308
- }>;
2468
+ }>>;
2309
2469
  }, z.core.$strip>;
2310
2470
  selectedPosition: z.ZodEnum<{
2311
2471
  "top-left": "top-left";
@@ -2426,6 +2586,7 @@ export declare const fetchConfigurationListResponseSchema: z.ZodObject<{
2426
2586
  customPosition: z.ZodBoolean;
2427
2587
  customIconPosition: z.ZodBoolean;
2428
2588
  customCss: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2589
+ enableShareableKeyboardNavigation: z.ZodDefault<z.ZodBoolean>;
2429
2590
  rtl: z.ZodBoolean;
2430
2591
  previousButton: z.ZodEnum<{
2431
2592
  never: "never";
@@ -2446,3 +2607,5 @@ export type FormConfigurationResponse = z.infer<typeof formConfigurationResponse
2446
2607
  export type QuestionnaireFieldsResponse = z.infer<typeof questionnaireFieldsResponseSchema>;
2447
2608
  export type FetchFeedbackDetailsResponse = z.infer<typeof fetchFeedbackDetailsResponseSchema>;
2448
2609
  export type FetchConfigurationListResponse = z.infer<typeof fetchConfigurationListResponseSchema>;
2610
+ export type LogicJumpRule = z.infer<typeof logicJumpRuleSchema>;
2611
+ export type LogicJumpRules = z.infer<typeof logicJumpRulesSchema>;
@@ -16,6 +16,7 @@ export declare const questionResponseSchema: z.ZodObject<{
16
16
  singleChoice: z.ZodOptional<z.ZodString>;
17
17
  rating: z.ZodOptional<z.ZodNumber>;
18
18
  yesNo: z.ZodOptional<z.ZodBoolean>;
19
+ consent: z.ZodOptional<z.ZodBoolean>;
19
20
  multipleChoiceMultiple: z.ZodOptional<z.ZodArray<z.ZodString>>;
20
21
  singleChoiceOther: z.ZodOptional<z.ZodString>;
21
22
  multipleChoiceOther: z.ZodOptional<z.ZodString>;
@@ -47,6 +48,7 @@ export declare const responseSchema: z.ZodObject<{
47
48
  singleChoice: z.ZodOptional<z.ZodString>;
48
49
  rating: z.ZodOptional<z.ZodNumber>;
49
50
  yesNo: z.ZodOptional<z.ZodBoolean>;
51
+ consent: z.ZodOptional<z.ZodBoolean>;
50
52
  multipleChoiceMultiple: z.ZodOptional<z.ZodArray<z.ZodString>>;
51
53
  singleChoiceOther: z.ZodOptional<z.ZodString>;
52
54
  multipleChoiceOther: z.ZodOptional<z.ZodString>;
@@ -169,6 +171,7 @@ export declare const partialFeedbackSchema: z.ZodObject<{
169
171
  singleChoice: z.ZodOptional<z.ZodString>;
170
172
  rating: z.ZodOptional<z.ZodNumber>;
171
173
  yesNo: z.ZodOptional<z.ZodBoolean>;
174
+ consent: z.ZodOptional<z.ZodBoolean>;
172
175
  multipleChoiceMultiple: z.ZodOptional<z.ZodArray<z.ZodString>>;
173
176
  singleChoiceOther: z.ZodOptional<z.ZodString>;
174
177
  multipleChoiceOther: z.ZodOptional<z.ZodString>;
@@ -244,6 +247,7 @@ export declare const submitFeedbackSchema: z.ZodObject<{
244
247
  singleChoice: z.ZodOptional<z.ZodString>;
245
248
  rating: z.ZodOptional<z.ZodNumber>;
246
249
  yesNo: z.ZodOptional<z.ZodBoolean>;
250
+ consent: z.ZodOptional<z.ZodBoolean>;
247
251
  multipleChoiceMultiple: z.ZodOptional<z.ZodArray<z.ZodString>>;
248
252
  singleChoiceOther: z.ZodOptional<z.ZodString>;
249
253
  multipleChoiceOther: z.ZodOptional<z.ZodString>;
@@ -319,6 +323,7 @@ export declare const feedbackRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
319
323
  singleChoice: z.ZodOptional<z.ZodString>;
320
324
  rating: z.ZodOptional<z.ZodNumber>;
321
325
  yesNo: z.ZodOptional<z.ZodBoolean>;
326
+ consent: z.ZodOptional<z.ZodBoolean>;
322
327
  multipleChoiceMultiple: z.ZodOptional<z.ZodArray<z.ZodString>>;
323
328
  singleChoiceOther: z.ZodOptional<z.ZodString>;
324
329
  multipleChoiceOther: z.ZodOptional<z.ZodString>;
@@ -393,6 +398,7 @@ export declare const feedbackRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
393
398
  singleChoice: z.ZodOptional<z.ZodString>;
394
399
  rating: z.ZodOptional<z.ZodNumber>;
395
400
  yesNo: z.ZodOptional<z.ZodBoolean>;
401
+ consent: z.ZodOptional<z.ZodBoolean>;
396
402
  multipleChoiceMultiple: z.ZodOptional<z.ZodArray<z.ZodString>>;
397
403
  singleChoiceOther: z.ZodOptional<z.ZodString>;
398
404
  multipleChoiceOther: z.ZodOptional<z.ZodString>;
@@ -21,6 +21,7 @@ export declare const AnswerItemSchema: z.ZodObject<{
21
21
  singleChoice: z.ZodOptional<z.ZodString>;
22
22
  rating: z.ZodOptional<z.ZodNumber>;
23
23
  yesNo: z.ZodOptional<z.ZodBoolean>;
24
+ consent: z.ZodOptional<z.ZodBoolean>;
24
25
  multipleChoiceMultiple: z.ZodOptional<z.ZodArray<z.ZodString>>;
25
26
  singleChoiceOther: z.ZodOptional<z.ZodString>;
26
27
  multipleChoiceOther: z.ZodOptional<z.ZodString>;
@@ -46,6 +47,7 @@ export declare const AnswerSchema: z.ZodObject<{
46
47
  singleChoice: z.ZodOptional<z.ZodString>;
47
48
  rating: z.ZodOptional<z.ZodNumber>;
48
49
  yesNo: z.ZodOptional<z.ZodBoolean>;
50
+ consent: z.ZodOptional<z.ZodBoolean>;
49
51
  multipleChoiceMultiple: z.ZodOptional<z.ZodArray<z.ZodString>>;
50
52
  singleChoiceOther: z.ZodOptional<z.ZodString>;
51
53
  multipleChoiceOther: z.ZodOptional<z.ZodString>;