@encatch/schema 1.1.0-beta.5 → 1.1.0-beta.7
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 +57 -31
- package/dist/esm/index.js.map +3 -3
- package/dist/types/index.d.ts +3 -3
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +172 -25
- package/dist/types/schemas/api/submit-feedback-schema.d.ts +6 -0
- package/dist/types/schemas/fields/answer-schema.d.ts +2 -0
- package/dist/types/schemas/fields/app-props-schema.d.ts +79 -25
- package/dist/types/schemas/fields/field-schema.d.ts +145 -7
- package/dist/types/schemas/fields/form-properties-schema.d.ts +89 -44
- package/dist/types/schemas/fields/other-screen-schema.d.ts +0 -5
- package/dist/types/schemas/fields/theme-schema.d.ts +20 -18
- package/dist/types/schemas/fields/translations-schema.d.ts +0 -15
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -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>;
|
|
@@ -347,10 +359,10 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
347
359
|
type: z.ZodLiteral<"welcome">;
|
|
348
360
|
title: z.ZodString;
|
|
349
361
|
description: z.ZodOptional<z.ZodString>;
|
|
350
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
351
362
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
352
363
|
}, z.core.$strip>, z.ZodObject<{
|
|
353
364
|
id: z.ZodString;
|
|
365
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
354
366
|
describe: z.ZodOptional<z.ZodString>;
|
|
355
367
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
356
368
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -401,10 +413,10 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
401
413
|
type: z.ZodLiteral<"thank_you">;
|
|
402
414
|
title: z.ZodString;
|
|
403
415
|
description: z.ZodOptional<z.ZodString>;
|
|
404
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
405
416
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
406
417
|
}, z.core.$strip>, z.ZodObject<{
|
|
407
418
|
id: z.ZodString;
|
|
419
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
408
420
|
describe: z.ZodOptional<z.ZodString>;
|
|
409
421
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
410
422
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -455,10 +467,10 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
455
467
|
type: z.ZodLiteral<"message_panel">;
|
|
456
468
|
title: z.ZodString;
|
|
457
469
|
description: z.ZodOptional<z.ZodString>;
|
|
458
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
459
470
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
460
471
|
}, z.core.$strip>, z.ZodObject<{
|
|
461
472
|
id: z.ZodString;
|
|
473
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
462
474
|
title: z.ZodString;
|
|
463
475
|
description: z.ZodOptional<z.ZodString>;
|
|
464
476
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -511,6 +523,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
511
523
|
type: z.ZodLiteral<"exit_form">;
|
|
512
524
|
}, z.core.$strip>, z.ZodObject<{
|
|
513
525
|
id: z.ZodString;
|
|
526
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
514
527
|
title: z.ZodString;
|
|
515
528
|
description: z.ZodOptional<z.ZodString>;
|
|
516
529
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -569,6 +582,60 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
569
582
|
}>>;
|
|
570
583
|
}, z.core.$strip>, z.ZodObject<{
|
|
571
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>;
|
|
572
639
|
title: z.ZodString;
|
|
573
640
|
description: z.ZodOptional<z.ZodString>;
|
|
574
641
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -660,6 +727,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
660
727
|
randomizeStatements: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
661
728
|
}, z.core.$strip>, z.ZodObject<{
|
|
662
729
|
id: z.ZodString;
|
|
730
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
663
731
|
title: z.ZodString;
|
|
664
732
|
description: z.ZodOptional<z.ZodString>;
|
|
665
733
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -726,6 +794,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
726
794
|
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
727
795
|
}, z.core.$strip>, z.ZodObject<{
|
|
728
796
|
id: z.ZodString;
|
|
797
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
729
798
|
title: z.ZodString;
|
|
730
799
|
description: z.ZodOptional<z.ZodString>;
|
|
731
800
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -794,6 +863,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
794
863
|
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
795
864
|
}, z.core.$strip>, z.ZodObject<{
|
|
796
865
|
id: z.ZodString;
|
|
866
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
797
867
|
title: z.ZodString;
|
|
798
868
|
description: z.ZodOptional<z.ZodString>;
|
|
799
869
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -866,6 +936,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
866
936
|
}, z.core.$strip>>;
|
|
867
937
|
}, z.core.$strip>, z.ZodObject<{
|
|
868
938
|
id: z.ZodString;
|
|
939
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
869
940
|
title: z.ZodString;
|
|
870
941
|
description: z.ZodOptional<z.ZodString>;
|
|
871
942
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -939,6 +1010,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
939
1010
|
}, z.core.$strip>>;
|
|
940
1011
|
}, z.core.$strip>, z.ZodObject<{
|
|
941
1012
|
id: z.ZodString;
|
|
1013
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
942
1014
|
title: z.ZodString;
|
|
943
1015
|
description: z.ZodOptional<z.ZodString>;
|
|
944
1016
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -997,6 +1069,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
997
1069
|
prepopulatedValue: z.ZodOptional<z.ZodNumber>;
|
|
998
1070
|
}, z.core.$strip>, z.ZodObject<{
|
|
999
1071
|
id: z.ZodString;
|
|
1072
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1000
1073
|
title: z.ZodString;
|
|
1001
1074
|
description: z.ZodOptional<z.ZodString>;
|
|
1002
1075
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1058,6 +1131,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1058
1131
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
1059
1132
|
}, z.core.$strip>, z.ZodObject<{
|
|
1060
1133
|
id: z.ZodString;
|
|
1134
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1061
1135
|
title: z.ZodString;
|
|
1062
1136
|
description: z.ZodOptional<z.ZodString>;
|
|
1063
1137
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1118,6 +1192,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1118
1192
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
1119
1193
|
}, z.core.$strip>, z.ZodObject<{
|
|
1120
1194
|
id: z.ZodString;
|
|
1195
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1121
1196
|
title: z.ZodString;
|
|
1122
1197
|
description: z.ZodOptional<z.ZodString>;
|
|
1123
1198
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1205,6 +1280,12 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1205
1280
|
value: z.ZodString;
|
|
1206
1281
|
label: z.ZodString;
|
|
1207
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>>;
|
|
1208
1289
|
}, z.core.$strip>;
|
|
1209
1290
|
export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
1210
1291
|
feedbackConfigurationId: z.ZodString;
|
|
@@ -1216,6 +1297,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1216
1297
|
questionnaireFields: z.ZodObject<{
|
|
1217
1298
|
questions: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1218
1299
|
id: z.ZodString;
|
|
1300
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1219
1301
|
title: z.ZodString;
|
|
1220
1302
|
description: z.ZodOptional<z.ZodString>;
|
|
1221
1303
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1286,6 +1368,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1286
1368
|
color: z.ZodOptional<z.ZodString>;
|
|
1287
1369
|
}, z.core.$strip>, z.ZodObject<{
|
|
1288
1370
|
id: z.ZodString;
|
|
1371
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1289
1372
|
title: z.ZodString;
|
|
1290
1373
|
description: z.ZodOptional<z.ZodString>;
|
|
1291
1374
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1340,6 +1423,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1340
1423
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
1341
1424
|
}, z.core.$strip>, z.ZodObject<{
|
|
1342
1425
|
id: z.ZodString;
|
|
1426
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1343
1427
|
describe: z.ZodOptional<z.ZodString>;
|
|
1344
1428
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1345
1429
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1390,10 +1474,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1390
1474
|
type: z.ZodLiteral<"welcome">;
|
|
1391
1475
|
title: z.ZodString;
|
|
1392
1476
|
description: z.ZodOptional<z.ZodString>;
|
|
1393
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1394
1477
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1395
1478
|
}, z.core.$strip>, z.ZodObject<{
|
|
1396
1479
|
id: z.ZodString;
|
|
1480
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1397
1481
|
describe: z.ZodOptional<z.ZodString>;
|
|
1398
1482
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1399
1483
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1444,10 +1528,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1444
1528
|
type: z.ZodLiteral<"thank_you">;
|
|
1445
1529
|
title: z.ZodString;
|
|
1446
1530
|
description: z.ZodOptional<z.ZodString>;
|
|
1447
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1448
1531
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1449
1532
|
}, z.core.$strip>, z.ZodObject<{
|
|
1450
1533
|
id: z.ZodString;
|
|
1534
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1451
1535
|
describe: z.ZodOptional<z.ZodString>;
|
|
1452
1536
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1453
1537
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1498,10 +1582,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1498
1582
|
type: z.ZodLiteral<"message_panel">;
|
|
1499
1583
|
title: z.ZodString;
|
|
1500
1584
|
description: z.ZodOptional<z.ZodString>;
|
|
1501
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1502
1585
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1503
1586
|
}, z.core.$strip>, z.ZodObject<{
|
|
1504
1587
|
id: z.ZodString;
|
|
1588
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1505
1589
|
title: z.ZodString;
|
|
1506
1590
|
description: z.ZodOptional<z.ZodString>;
|
|
1507
1591
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1554,6 +1638,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1554
1638
|
type: z.ZodLiteral<"exit_form">;
|
|
1555
1639
|
}, z.core.$strip>, z.ZodObject<{
|
|
1556
1640
|
id: z.ZodString;
|
|
1641
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1557
1642
|
title: z.ZodString;
|
|
1558
1643
|
description: z.ZodOptional<z.ZodString>;
|
|
1559
1644
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1612,6 +1697,60 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1612
1697
|
}>>;
|
|
1613
1698
|
}, z.core.$strip>, z.ZodObject<{
|
|
1614
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>;
|
|
1615
1754
|
title: z.ZodString;
|
|
1616
1755
|
description: z.ZodOptional<z.ZodString>;
|
|
1617
1756
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1703,6 +1842,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1703
1842
|
randomizeStatements: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1704
1843
|
}, z.core.$strip>, z.ZodObject<{
|
|
1705
1844
|
id: z.ZodString;
|
|
1845
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1706
1846
|
title: z.ZodString;
|
|
1707
1847
|
description: z.ZodOptional<z.ZodString>;
|
|
1708
1848
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1769,6 +1909,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1769
1909
|
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1770
1910
|
}, z.core.$strip>, z.ZodObject<{
|
|
1771
1911
|
id: z.ZodString;
|
|
1912
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1772
1913
|
title: z.ZodString;
|
|
1773
1914
|
description: z.ZodOptional<z.ZodString>;
|
|
1774
1915
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1837,6 +1978,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1837
1978
|
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1838
1979
|
}, z.core.$strip>, z.ZodObject<{
|
|
1839
1980
|
id: z.ZodString;
|
|
1981
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1840
1982
|
title: z.ZodString;
|
|
1841
1983
|
description: z.ZodOptional<z.ZodString>;
|
|
1842
1984
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1909,6 +2051,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1909
2051
|
}, z.core.$strip>>;
|
|
1910
2052
|
}, z.core.$strip>, z.ZodObject<{
|
|
1911
2053
|
id: z.ZodString;
|
|
2054
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1912
2055
|
title: z.ZodString;
|
|
1913
2056
|
description: z.ZodOptional<z.ZodString>;
|
|
1914
2057
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1982,6 +2125,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1982
2125
|
}, z.core.$strip>>;
|
|
1983
2126
|
}, z.core.$strip>, z.ZodObject<{
|
|
1984
2127
|
id: z.ZodString;
|
|
2128
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1985
2129
|
title: z.ZodString;
|
|
1986
2130
|
description: z.ZodOptional<z.ZodString>;
|
|
1987
2131
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -2040,6 +2184,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2040
2184
|
prepopulatedValue: z.ZodOptional<z.ZodNumber>;
|
|
2041
2185
|
}, z.core.$strip>, z.ZodObject<{
|
|
2042
2186
|
id: z.ZodString;
|
|
2187
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2043
2188
|
title: z.ZodString;
|
|
2044
2189
|
description: z.ZodOptional<z.ZodString>;
|
|
2045
2190
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -2101,6 +2246,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2101
2246
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
2102
2247
|
}, z.core.$strip>, z.ZodObject<{
|
|
2103
2248
|
id: z.ZodString;
|
|
2249
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2104
2250
|
title: z.ZodString;
|
|
2105
2251
|
description: z.ZodOptional<z.ZodString>;
|
|
2106
2252
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -2161,6 +2307,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2161
2307
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
2162
2308
|
}, z.core.$strip>, z.ZodObject<{
|
|
2163
2309
|
id: z.ZodString;
|
|
2310
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2164
2311
|
title: z.ZodString;
|
|
2165
2312
|
description: z.ZodOptional<z.ZodString>;
|
|
2166
2313
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -2248,17 +2395,19 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2248
2395
|
value: z.ZodString;
|
|
2249
2396
|
label: z.ZodString;
|
|
2250
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>>;
|
|
2251
2404
|
}, z.core.$strip>;
|
|
2252
2405
|
otherConfigurationProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2253
2406
|
isEnabled: z.ZodLiteral<false>;
|
|
2254
2407
|
otherFields: z.ZodObject<{
|
|
2255
|
-
pagination: z.ZodBoolean;
|
|
2256
2408
|
questionNumber: z.ZodBoolean;
|
|
2257
|
-
pageTitle: z.ZodBoolean;
|
|
2258
|
-
blockerFeedback: z.ZodBoolean;
|
|
2259
2409
|
submitButtonLabel: z.ZodString;
|
|
2260
2410
|
previousButtonLabel: z.ZodString;
|
|
2261
|
-
nextButtonLabel: z.ZodString;
|
|
2262
2411
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
2263
2412
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
2264
2413
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -2266,7 +2415,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2266
2415
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2267
2416
|
submitButtonLabel: z.ZodString;
|
|
2268
2417
|
previousButtonLabel: z.ZodString;
|
|
2269
|
-
nextButtonLabel: z.ZodString;
|
|
2270
2418
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
2271
2419
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
2272
2420
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -2274,13 +2422,9 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2274
2422
|
}, z.core.$strip>, z.ZodObject<{
|
|
2275
2423
|
isEnabled: z.ZodLiteral<true>;
|
|
2276
2424
|
otherFields: z.ZodObject<{
|
|
2277
|
-
pagination: z.ZodBoolean;
|
|
2278
2425
|
questionNumber: z.ZodBoolean;
|
|
2279
|
-
pageTitle: z.ZodBoolean;
|
|
2280
|
-
blockerFeedback: z.ZodBoolean;
|
|
2281
2426
|
submitButtonLabel: z.ZodString;
|
|
2282
2427
|
previousButtonLabel: z.ZodString;
|
|
2283
|
-
nextButtonLabel: z.ZodString;
|
|
2284
2428
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
2285
2429
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
2286
2430
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -2288,7 +2432,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2288
2432
|
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2289
2433
|
submitButtonLabel: z.ZodString;
|
|
2290
2434
|
previousButtonLabel: z.ZodString;
|
|
2291
|
-
nextButtonLabel: z.ZodString;
|
|
2292
2435
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
2293
2436
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
2294
2437
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -2305,23 +2448,24 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2305
2448
|
}, z.core.$strip>;
|
|
2306
2449
|
}, z.core.$strip>;
|
|
2307
2450
|
featureSettings: z.ZodObject<{
|
|
2308
|
-
darkOverlay: z.ZodBoolean
|
|
2309
|
-
closeButton: z.ZodBoolean
|
|
2310
|
-
progressBar: z.ZodBoolean
|
|
2311
|
-
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>;
|
|
2312
2455
|
customPosition: z.ZodBoolean;
|
|
2313
2456
|
customCss: z.ZodOptional<z.ZodString>;
|
|
2314
|
-
shareableMode: z.ZodOptional<z.ZodEnum<{
|
|
2457
|
+
shareableMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2315
2458
|
light: "light";
|
|
2316
2459
|
dark: "dark";
|
|
2317
2460
|
system: "system";
|
|
2318
|
-
}
|
|
2319
|
-
|
|
2320
|
-
|
|
2461
|
+
}>>>;
|
|
2462
|
+
enableShareableKeyboardNavigation: z.ZodDefault<z.ZodBoolean>;
|
|
2463
|
+
rtl: z.ZodDefault<z.ZodBoolean>;
|
|
2464
|
+
previousButton: z.ZodDefault<z.ZodEnum<{
|
|
2321
2465
|
never: "never";
|
|
2322
2466
|
always: "always";
|
|
2323
2467
|
auto: "auto";
|
|
2324
|
-
}
|
|
2468
|
+
}>>;
|
|
2325
2469
|
}, z.core.$strip>;
|
|
2326
2470
|
selectedPosition: z.ZodEnum<{
|
|
2327
2471
|
"top-left": "top-left";
|
|
@@ -2442,6 +2586,7 @@ export declare const fetchConfigurationListResponseSchema: z.ZodObject<{
|
|
|
2442
2586
|
customPosition: z.ZodBoolean;
|
|
2443
2587
|
customIconPosition: z.ZodBoolean;
|
|
2444
2588
|
customCss: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2589
|
+
enableShareableKeyboardNavigation: z.ZodDefault<z.ZodBoolean>;
|
|
2445
2590
|
rtl: z.ZodBoolean;
|
|
2446
2591
|
previousButton: z.ZodEnum<{
|
|
2447
2592
|
never: "never";
|
|
@@ -2462,3 +2607,5 @@ export type FormConfigurationResponse = z.infer<typeof formConfigurationResponse
|
|
|
2462
2607
|
export type QuestionnaireFieldsResponse = z.infer<typeof questionnaireFieldsResponseSchema>;
|
|
2463
2608
|
export type FetchFeedbackDetailsResponse = z.infer<typeof fetchFeedbackDetailsResponseSchema>;
|
|
2464
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>;
|