@encatch/schema 1.2.0-beta.10 → 1.2.0-beta.12

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,18 +1,18 @@
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, dateQuestionSchema, dateFormatSchema, dateSeparatorSchema, csatQuestionSchema, csatScaleSchema, csatDisplayStyleSchema, opinionScaleQuestionSchema, rankingQuestionSchema, rankingDisplayStyleSchema, pictureChoiceQuestionSchema, signatureModeSchema, signatureQuestionSchema, fileUploadQuestionSchema, emailQuestionSchema, numberQuestionSchema, websiteQuestionSchema, phoneNumberQuestionSchema, addressSubFieldConfigSchema, addressQuestionSchema, videoAudioModeSchema, videoAudioQuestionSchema, schedulerProviderSchema, schedulerQuestionSchema, qnaWithAiQuestionSchema, combinedQuestionSchema, welcomeQuestionSchema, thankYouQuestionSchema, messagePanelQuestionSchema, exitFormQuestionSchema, yesNoQuestionSchema, consentQuestionSchema, ratingMatrixQuestionSchema, matrixSingleChoiceQuestionSchema, matrixMultipleChoiceQuestionSchema, ratingMatrixStatementSchema, ratingMatrixScalePointSchema, ratingMatrixScaleSchema, matrixRowSchema, matrixColumnSchema, DateFormats, DateSeparators, CsatScales, CsatDisplayStyles, RankingDisplayStyles, SignatureModes, VideoAudioModes, SchedulerProviders, 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 DateFormat, type DateSeparator, type DateQuestion, type CsatScale, type CsatDisplayStyle, type CsatQuestion, type OpinionScaleQuestion, type RankingDisplayStyle, type RankingQuestion, type PictureChoiceQuestion, type SignatureMode, type SignatureQuestion, type FileUploadQuestion, type EmailQuestion, type NumberQuestion, type WebsiteQuestion, type PhoneNumberQuestion, type AddressSubFieldConfig, type AddressQuestion, type VideoAudioMode, type VideoAudioQuestion, type SchedulerProvider, type SchedulerQuestion, type QnaWithAiQuestion, type Section, type CombinedQuestion, } from "./schemas/fields/field-schema";
2
- export { AnnotationMarkerSchema, AnnotationSchema, SignatureAnswerSchema, FileUploadAnswerItemSchema, FileUploadAnswerSchema, PhoneNumberAnswerSchema, AddressAnswerSchema, VideoAudioAnswerSchema, SchedulerAnswerSchema, QnaWithAiPairSchema, QnaWithAiAnswerSchema, AnswerItemSchema, AnswerSchema, type AnnotationMarker, type Annotation, type SignatureAnswer, type FileUploadAnswerItem, type FileUploadAnswer, type PhoneNumberAnswer, type AddressAnswer, type VideoAudioAnswer, type SchedulerAnswer, type QnaWithAiPair, type QnaWithAiAnswer, type AnswerItem, type Answer, } from "./schemas/fields/answer-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, dateQuestionSchema, dateFormatSchema, dateSeparatorSchema, csatQuestionSchema, csatScaleSchema, csatDisplayStyleSchema, opinionScaleQuestionSchema, rankingQuestionSchema, rankingDisplayStyleSchema, pictureChoiceQuestionSchema, signatureModeSchema, signatureQuestionSchema, fileUploadQuestionSchema, emailQuestionSchema, numberQuestionSchema, websiteQuestionSchema, phoneNumberQuestionSchema, addressSubFieldConfigSchema, addressQuestionSchema, videoAudioModeSchema, videoAudioQuestionSchema, schedulerProviderSchema, schedulerQuestionSchema, qnaWithAiQuestionSchema, paymentsUpiAmountConfigSchema, paymentsUpiQuestionSchema, combinedQuestionSchema, welcomeQuestionSchema, thankYouQuestionSchema, messagePanelQuestionSchema, exitFormQuestionSchema, yesNoQuestionSchema, consentQuestionSchema, ratingMatrixQuestionSchema, matrixSingleChoiceQuestionSchema, matrixMultipleChoiceQuestionSchema, ratingMatrixStatementSchema, ratingMatrixScalePointSchema, ratingMatrixScaleSchema, matrixRowSchema, matrixColumnSchema, DateFormats, DateSeparators, CsatScales, CsatDisplayStyles, RankingDisplayStyles, SignatureModes, VideoAudioModes, SchedulerProviders, 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 DateFormat, type DateSeparator, type DateQuestion, type CsatScale, type CsatDisplayStyle, type CsatQuestion, type OpinionScaleQuestion, type RankingDisplayStyle, type RankingQuestion, type PictureChoiceQuestion, type SignatureMode, type SignatureQuestion, type FileUploadQuestion, type EmailQuestion, type NumberQuestion, type WebsiteQuestion, type PhoneNumberQuestion, type AddressSubFieldConfig, type AddressQuestion, type VideoAudioMode, type VideoAudioQuestion, type SchedulerProvider, type SchedulerQuestion, type QnaWithAiQuestion, type PaymentsUpiAmountConfig, type PaymentsUpiQuestion, type Section, type CombinedQuestion, } from "./schemas/fields/field-schema";
2
+ export { AnnotationMarkerSchema, AnnotationSchema, SignatureAnswerSchema, FileUploadAnswerItemSchema, FileUploadAnswerSchema, PhoneNumberAnswerSchema, AddressAnswerSchema, VideoAudioAnswerSchema, SchedulerAnswerSchema, QnaWithAiPairSchema, QnaWithAiAnswerSchema, PaymentsUpiAnswerSchema, AnswerItemSchema, AnswerSchema, type AnnotationMarker, type Annotation, type SignatureAnswer, type FileUploadAnswerItem, type FileUploadAnswer, type PhoneNumberAnswer, type AddressAnswer, type VideoAudioAnswer, type SchedulerAnswer, type QnaWithAiPair, type QnaWithAiAnswer, type PaymentsUpiAnswer, 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
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 { focalPointSchema, imageAttachmentSchema, videoAttachmentSchema, colorAttachmentSchema, gradientAttachmentSchema, layoutAttachmentSchema, stackLayoutSchema, floatLayoutSchema, splitLayoutSchema, wallpaperLayoutSchema, sectionLayoutVariantSchema, layoutSurfaceSchema, sectionLayoutSchema, LayoutAttachmentTypes, LayoutTypes, type FocalPoint, type ImageAttachment, type VideoAttachment, type ColorAttachment, type GradientAttachment, type LayoutAttachment, type StackLayout, type FloatLayout, type SplitLayout, type WallpaperLayout, type SectionLayoutVariant, type LayoutSurface, type SectionLayout, } from "./schemas/fields/layout-schema";
8
- export { translationEntrySchema, ratingQuestionTranslationSchema, singleChoiceQuestionTranslationSchema, multipleChoiceQuestionTranslationSchema, npsQuestionTranslationSchema, shortAnswerQuestionTranslationSchema, longAnswerQuestionTranslationSchema, videoAudioQuestionTranslationSchema, dateQuestionTranslationSchema, signatureQuestionTranslationSchema, schedulerQuestionTranslationSchema, qnaWithAiQuestionTranslationSchema, nestedSelectionQuestionTranslationSchema, annotationQuestionTranslationSchema, welcomeQuestionTranslationSchema, thankYouQuestionTranslationSchema, messagePanelQuestionTranslationSchema, yesNoQuestionTranslationSchema, consentQuestionTranslationSchema, 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 VideoAudioQuestionTranslation, type DateQuestionTranslation, type SignatureQuestionTranslation, type SchedulerQuestionTranslation, type QnaWithAiQuestionTranslation, type NestedSelectionQuestionTranslation, type AnnotationQuestionTranslation, type WelcomeQuestionTranslation, type ThankYouQuestionTranslation, type MessagePanelQuestionTranslation, type YesNoQuestionTranslation, type ConsentQuestionTranslation, type RatingMatrixQuestionTranslation, type MatrixSingleChoiceQuestionTranslation, type MatrixMultipleChoiceQuestionTranslation, type QuestionTranslation, type SectionTranslation, type SectionTranslationsByLanguage, type QuestionCentricTranslations, type Translations, } from "./schemas/fields/translations-schema";
8
+ export { translationEntrySchema, ratingQuestionTranslationSchema, singleChoiceQuestionTranslationSchema, multipleChoiceQuestionTranslationSchema, npsQuestionTranslationSchema, shortAnswerQuestionTranslationSchema, longAnswerQuestionTranslationSchema, videoAudioQuestionTranslationSchema, dateQuestionTranslationSchema, signatureQuestionTranslationSchema, schedulerQuestionTranslationSchema, qnaWithAiQuestionTranslationSchema, paymentsUpiQuestionTranslationSchema, nestedSelectionQuestionTranslationSchema, annotationQuestionTranslationSchema, welcomeQuestionTranslationSchema, thankYouQuestionTranslationSchema, messagePanelQuestionTranslationSchema, yesNoQuestionTranslationSchema, consentQuestionTranslationSchema, 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 VideoAudioQuestionTranslation, type DateQuestionTranslation, type SignatureQuestionTranslation, type SchedulerQuestionTranslation, type QnaWithAiQuestionTranslation, type PaymentsUpiQuestionTranslation, type NestedSelectionQuestionTranslation, type AnnotationQuestionTranslation, type WelcomeQuestionTranslation, type ThankYouQuestionTranslation, type MessagePanelQuestionTranslation, type YesNoQuestionTranslation, type ConsentQuestionTranslation, type RatingMatrixQuestionTranslation, type MatrixSingleChoiceQuestionTranslation, type MatrixMultipleChoiceQuestionTranslation, type QuestionTranslation, type SectionTranslation, type SectionTranslationsByLanguage, type QuestionCentricTranslations, type Translations, } from "./schemas/fields/translations-schema";
9
9
  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";
10
10
  export { masterPropertiesSchema, type MasterProperties, } from "./schemas/fields/other-properties-schema";
11
11
  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";
12
12
  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";
13
13
  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";
14
14
  export { RefineTextParams, RefineTextResponse, RefineTextData, refineTextDataSchema, refineTextParamsSchema, refineTextResponseSchema, } from "./schemas/api/refine-text-schema";
15
- export { objectToCamel, objectToSnake, toSnake, toCamel, toPascal, objectToPascal, } from './helpers/case-convert-helper';
15
+ export { objectToCamel, objectToSnake, toSnake, toCamel, toPascal, objectToPascal, } from "./helpers/case-convert-helper";
16
16
  export type { ObjectToCamel, ObjectToSnake, ToSnake, ToCamel, ToPascal, ObjectToPascal, } from "./helpers/case-convert-helper";
17
17
  export { currentModeSchema, appPropsSchema, CurrentModes, type CurrentMode, type AppProps, } from "./schemas/fields/app-props-schema";
18
18
  export { z } from "zod";
@@ -2548,6 +2548,97 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
2548
2548
  emptyStateHint: z.ZodOptional<z.ZodString>;
2549
2549
  pairsRemainingTemplate: z.ZodOptional<z.ZodString>;
2550
2550
  pairsLimitReachedTemplate: z.ZodOptional<z.ZodString>;
2551
+ }, z.core.$strip>, z.ZodObject<{
2552
+ id: z.ZodString;
2553
+ slug: z.ZodOptional<z.ZodString>;
2554
+ title: z.ZodString;
2555
+ description: z.ZodOptional<z.ZodString>;
2556
+ describe: z.ZodOptional<z.ZodString>;
2557
+ required: z.ZodDefault<z.ZodBoolean>;
2558
+ isHidden: z.ZodDefault<z.ZodBoolean>;
2559
+ errorMessage: z.ZodOptional<z.ZodString>;
2560
+ validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2561
+ type: z.ZodEnum<{
2562
+ custom: "custom";
2563
+ pattern: "pattern";
2564
+ email: "email";
2565
+ required: "required";
2566
+ min: "min";
2567
+ max: "max";
2568
+ minLength: "minLength";
2569
+ maxLength: "maxLength";
2570
+ url: "url";
2571
+ }>;
2572
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2573
+ message: z.ZodOptional<z.ZodString>;
2574
+ describe: z.ZodOptional<z.ZodString>;
2575
+ }, z.core.$strip>>>>;
2576
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2577
+ field: z.ZodString;
2578
+ operator: z.ZodEnum<{
2579
+ equals: "equals";
2580
+ not_equals: "not_equals";
2581
+ contains: "contains";
2582
+ not_contains: "not_contains";
2583
+ greater_than: "greater_than";
2584
+ less_than: "less_than";
2585
+ is_empty: "is_empty";
2586
+ is_not_empty: "is_not_empty";
2587
+ }>;
2588
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2589
+ describe: z.ZodOptional<z.ZodString>;
2590
+ }, z.core.$strip>>>>;
2591
+ sectionId: z.ZodOptional<z.ZodString>;
2592
+ status: z.ZodEnum<{
2593
+ D: "D";
2594
+ P: "P";
2595
+ A: "A";
2596
+ S: "S";
2597
+ }>;
2598
+ textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
2599
+ left: "left";
2600
+ center: "center";
2601
+ justify: "justify";
2602
+ }>>>;
2603
+ nextButtonLabel: z.ZodDefault<z.ZodString>;
2604
+ showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
2605
+ questionMediaUrl: z.ZodOptional<z.ZodString>;
2606
+ questionMediaType: z.ZodOptional<z.ZodEnum<{
2607
+ image: "image";
2608
+ video: "video";
2609
+ youtube: "youtube";
2610
+ vimeo: "vimeo";
2611
+ }>>;
2612
+ type: z.ZodLiteral<"payments_upi">;
2613
+ payeeVpa: z.ZodString;
2614
+ payeeName: z.ZodOptional<z.ZodString>;
2615
+ amount: z.ZodDiscriminatedUnion<[z.ZodObject<{
2616
+ mode: z.ZodLiteral<"fixed">;
2617
+ amount: z.ZodNumber;
2618
+ }, z.core.$strip>, z.ZodObject<{
2619
+ mode: z.ZodLiteral<"range">;
2620
+ minAmount: z.ZodNumber;
2621
+ maxAmount: z.ZodNumber;
2622
+ defaultAmount: z.ZodOptional<z.ZodNumber>;
2623
+ }, z.core.$strip>, z.ZodObject<{
2624
+ mode: z.ZodLiteral<"question_mappings">;
2625
+ sources: z.ZodArray<z.ZodObject<{
2626
+ sourceQuestionId: z.ZodString;
2627
+ mappings: z.ZodArray<z.ZodObject<{
2628
+ answerValue: z.ZodString;
2629
+ amount: z.ZodNumber;
2630
+ label: z.ZodOptional<z.ZodString>;
2631
+ }, z.core.$strip>>;
2632
+ }, z.core.$strip>>;
2633
+ fallbackAmount: z.ZodOptional<z.ZodNumber>;
2634
+ }, z.core.$strip>], "mode">;
2635
+ transactionNote: z.ZodOptional<z.ZodString>;
2636
+ transactionReferencePrefix: z.ZodOptional<z.ZodString>;
2637
+ qrLabel: z.ZodOptional<z.ZodString>;
2638
+ openUpiAppLabel: z.ZodOptional<z.ZodString>;
2639
+ copyUpiIdLabel: z.ZodOptional<z.ZodString>;
2640
+ transactionIdLabel: z.ZodOptional<z.ZodString>;
2641
+ transactionIdPlaceholder: z.ZodOptional<z.ZodString>;
2551
2642
  }, z.core.$strip>], "type">>;
2552
2643
  sections: z.ZodArray<z.ZodObject<{
2553
2644
  id: z.ZodString;
@@ -4953,6 +5044,97 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
4953
5044
  emptyStateHint: z.ZodOptional<z.ZodString>;
4954
5045
  pairsRemainingTemplate: z.ZodOptional<z.ZodString>;
4955
5046
  pairsLimitReachedTemplate: z.ZodOptional<z.ZodString>;
5047
+ }, z.core.$strip>, z.ZodObject<{
5048
+ id: z.ZodString;
5049
+ slug: z.ZodOptional<z.ZodString>;
5050
+ title: z.ZodString;
5051
+ description: z.ZodOptional<z.ZodString>;
5052
+ describe: z.ZodOptional<z.ZodString>;
5053
+ required: z.ZodDefault<z.ZodBoolean>;
5054
+ isHidden: z.ZodDefault<z.ZodBoolean>;
5055
+ errorMessage: z.ZodOptional<z.ZodString>;
5056
+ validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
5057
+ type: z.ZodEnum<{
5058
+ custom: "custom";
5059
+ pattern: "pattern";
5060
+ email: "email";
5061
+ required: "required";
5062
+ min: "min";
5063
+ max: "max";
5064
+ minLength: "minLength";
5065
+ maxLength: "maxLength";
5066
+ url: "url";
5067
+ }>;
5068
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5069
+ message: z.ZodOptional<z.ZodString>;
5070
+ describe: z.ZodOptional<z.ZodString>;
5071
+ }, z.core.$strip>>>>;
5072
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
5073
+ field: z.ZodString;
5074
+ operator: z.ZodEnum<{
5075
+ equals: "equals";
5076
+ not_equals: "not_equals";
5077
+ contains: "contains";
5078
+ not_contains: "not_contains";
5079
+ greater_than: "greater_than";
5080
+ less_than: "less_than";
5081
+ is_empty: "is_empty";
5082
+ is_not_empty: "is_not_empty";
5083
+ }>;
5084
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5085
+ describe: z.ZodOptional<z.ZodString>;
5086
+ }, z.core.$strip>>>>;
5087
+ sectionId: z.ZodOptional<z.ZodString>;
5088
+ status: z.ZodEnum<{
5089
+ D: "D";
5090
+ P: "P";
5091
+ A: "A";
5092
+ S: "S";
5093
+ }>;
5094
+ textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
5095
+ left: "left";
5096
+ center: "center";
5097
+ justify: "justify";
5098
+ }>>>;
5099
+ nextButtonLabel: z.ZodDefault<z.ZodString>;
5100
+ showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
5101
+ questionMediaUrl: z.ZodOptional<z.ZodString>;
5102
+ questionMediaType: z.ZodOptional<z.ZodEnum<{
5103
+ image: "image";
5104
+ video: "video";
5105
+ youtube: "youtube";
5106
+ vimeo: "vimeo";
5107
+ }>>;
5108
+ type: z.ZodLiteral<"payments_upi">;
5109
+ payeeVpa: z.ZodString;
5110
+ payeeName: z.ZodOptional<z.ZodString>;
5111
+ amount: z.ZodDiscriminatedUnion<[z.ZodObject<{
5112
+ mode: z.ZodLiteral<"fixed">;
5113
+ amount: z.ZodNumber;
5114
+ }, z.core.$strip>, z.ZodObject<{
5115
+ mode: z.ZodLiteral<"range">;
5116
+ minAmount: z.ZodNumber;
5117
+ maxAmount: z.ZodNumber;
5118
+ defaultAmount: z.ZodOptional<z.ZodNumber>;
5119
+ }, z.core.$strip>, z.ZodObject<{
5120
+ mode: z.ZodLiteral<"question_mappings">;
5121
+ sources: z.ZodArray<z.ZodObject<{
5122
+ sourceQuestionId: z.ZodString;
5123
+ mappings: z.ZodArray<z.ZodObject<{
5124
+ answerValue: z.ZodString;
5125
+ amount: z.ZodNumber;
5126
+ label: z.ZodOptional<z.ZodString>;
5127
+ }, z.core.$strip>>;
5128
+ }, z.core.$strip>>;
5129
+ fallbackAmount: z.ZodOptional<z.ZodNumber>;
5130
+ }, z.core.$strip>], "mode">;
5131
+ transactionNote: z.ZodOptional<z.ZodString>;
5132
+ transactionReferencePrefix: z.ZodOptional<z.ZodString>;
5133
+ qrLabel: z.ZodOptional<z.ZodString>;
5134
+ openUpiAppLabel: z.ZodOptional<z.ZodString>;
5135
+ copyUpiIdLabel: z.ZodOptional<z.ZodString>;
5136
+ transactionIdLabel: z.ZodOptional<z.ZodString>;
5137
+ transactionIdPlaceholder: z.ZodOptional<z.ZodString>;
4956
5138
  }, z.core.$strip>], "type">>;
4957
5139
  sections: z.ZodArray<z.ZodObject<{
4958
5140
  id: z.ZodString;
@@ -96,6 +96,16 @@ export declare const questionResponseSchema: z.ZodObject<{
96
96
  question: z.ZodString;
97
97
  answer: z.ZodString;
98
98
  }, z.core.$strip>>>;
99
+ paymentsUpi: z.ZodOptional<z.ZodObject<{
100
+ transactionId: z.ZodString;
101
+ encatchPaymentReference: z.ZodString;
102
+ amount: z.ZodNumber;
103
+ currency: z.ZodLiteral<"INR">;
104
+ payeeVpa: z.ZodString;
105
+ payeeName: z.ZodOptional<z.ZodString>;
106
+ upiIntentUri: z.ZodOptional<z.ZodString>;
107
+ selfReported: z.ZodLiteral<true>;
108
+ }, z.core.$strip>>;
99
109
  }, z.core.$strip>;
100
110
  type: z.ZodString;
101
111
  error: z.ZodOptional<z.ZodString>;
@@ -194,6 +204,16 @@ export declare const responseSchema: z.ZodObject<{
194
204
  question: z.ZodString;
195
205
  answer: z.ZodString;
196
206
  }, z.core.$strip>>>;
207
+ paymentsUpi: z.ZodOptional<z.ZodObject<{
208
+ transactionId: z.ZodString;
209
+ encatchPaymentReference: z.ZodString;
210
+ amount: z.ZodNumber;
211
+ currency: z.ZodLiteral<"INR">;
212
+ payeeVpa: z.ZodString;
213
+ payeeName: z.ZodOptional<z.ZodString>;
214
+ upiIntentUri: z.ZodOptional<z.ZodString>;
215
+ selfReported: z.ZodLiteral<true>;
216
+ }, z.core.$strip>>;
197
217
  }, z.core.$strip>;
198
218
  type: z.ZodString;
199
219
  error: z.ZodOptional<z.ZodString>;
@@ -383,6 +403,16 @@ export declare const partialFeedbackSchema: z.ZodObject<{
383
403
  question: z.ZodString;
384
404
  answer: z.ZodString;
385
405
  }, z.core.$strip>>>;
406
+ paymentsUpi: z.ZodOptional<z.ZodObject<{
407
+ transactionId: z.ZodString;
408
+ encatchPaymentReference: z.ZodString;
409
+ amount: z.ZodNumber;
410
+ currency: z.ZodLiteral<"INR">;
411
+ payeeVpa: z.ZodString;
412
+ payeeName: z.ZodOptional<z.ZodString>;
413
+ upiIntentUri: z.ZodOptional<z.ZodString>;
414
+ selfReported: z.ZodLiteral<true>;
415
+ }, z.core.$strip>>;
386
416
  }, z.core.$strip>;
387
417
  type: z.ZodString;
388
418
  error: z.ZodOptional<z.ZodString>;
@@ -525,6 +555,16 @@ export declare const submitFeedbackSchema: z.ZodObject<{
525
555
  question: z.ZodString;
526
556
  answer: z.ZodString;
527
557
  }, z.core.$strip>>>;
558
+ paymentsUpi: z.ZodOptional<z.ZodObject<{
559
+ transactionId: z.ZodString;
560
+ encatchPaymentReference: z.ZodString;
561
+ amount: z.ZodNumber;
562
+ currency: z.ZodLiteral<"INR">;
563
+ payeeVpa: z.ZodString;
564
+ payeeName: z.ZodOptional<z.ZodString>;
565
+ upiIntentUri: z.ZodOptional<z.ZodString>;
566
+ selfReported: z.ZodLiteral<true>;
567
+ }, z.core.$strip>>;
528
568
  }, z.core.$strip>;
529
569
  type: z.ZodString;
530
570
  error: z.ZodOptional<z.ZodString>;
@@ -667,6 +707,16 @@ export declare const feedbackRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
667
707
  question: z.ZodString;
668
708
  answer: z.ZodString;
669
709
  }, z.core.$strip>>>;
710
+ paymentsUpi: z.ZodOptional<z.ZodObject<{
711
+ transactionId: z.ZodString;
712
+ encatchPaymentReference: z.ZodString;
713
+ amount: z.ZodNumber;
714
+ currency: z.ZodLiteral<"INR">;
715
+ payeeVpa: z.ZodString;
716
+ payeeName: z.ZodOptional<z.ZodString>;
717
+ upiIntentUri: z.ZodOptional<z.ZodString>;
718
+ selfReported: z.ZodLiteral<true>;
719
+ }, z.core.$strip>>;
670
720
  }, z.core.$strip>;
671
721
  type: z.ZodString;
672
722
  error: z.ZodOptional<z.ZodString>;
@@ -808,6 +858,16 @@ export declare const feedbackRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
808
858
  question: z.ZodString;
809
859
  answer: z.ZodString;
810
860
  }, z.core.$strip>>>;
861
+ paymentsUpi: z.ZodOptional<z.ZodObject<{
862
+ transactionId: z.ZodString;
863
+ encatchPaymentReference: z.ZodString;
864
+ amount: z.ZodNumber;
865
+ currency: z.ZodLiteral<"INR">;
866
+ payeeVpa: z.ZodString;
867
+ payeeName: z.ZodOptional<z.ZodString>;
868
+ upiIntentUri: z.ZodOptional<z.ZodString>;
869
+ selfReported: z.ZodLiteral<true>;
870
+ }, z.core.$strip>>;
811
871
  }, z.core.$strip>;
812
872
  type: z.ZodString;
813
873
  error: z.ZodOptional<z.ZodString>;
@@ -77,6 +77,16 @@ export declare const SchedulerAnswerSchema: z.ZodDiscriminatedUnion<[z.ZodObject
77
77
  eventId: z.ZodOptional<z.ZodString>;
78
78
  bookedAt: z.ZodString;
79
79
  }, z.core.$strip>], "provider">;
80
+ export declare const PaymentsUpiAnswerSchema: z.ZodObject<{
81
+ transactionId: z.ZodString;
82
+ encatchPaymentReference: z.ZodString;
83
+ amount: z.ZodNumber;
84
+ currency: z.ZodLiteral<"INR">;
85
+ payeeVpa: z.ZodString;
86
+ payeeName: z.ZodOptional<z.ZodString>;
87
+ upiIntentUri: z.ZodOptional<z.ZodString>;
88
+ selfReported: z.ZodLiteral<true>;
89
+ }, z.core.$strip>;
80
90
  export declare const AnswerItemSchema: z.ZodObject<{
81
91
  nps: z.ZodOptional<z.ZodNumber>;
82
92
  nestedSelection: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -165,6 +175,16 @@ export declare const AnswerItemSchema: z.ZodObject<{
165
175
  question: z.ZodString;
166
176
  answer: z.ZodString;
167
177
  }, z.core.$strip>>>;
178
+ paymentsUpi: z.ZodOptional<z.ZodObject<{
179
+ transactionId: z.ZodString;
180
+ encatchPaymentReference: z.ZodString;
181
+ amount: z.ZodNumber;
182
+ currency: z.ZodLiteral<"INR">;
183
+ payeeVpa: z.ZodString;
184
+ payeeName: z.ZodOptional<z.ZodString>;
185
+ upiIntentUri: z.ZodOptional<z.ZodString>;
186
+ selfReported: z.ZodLiteral<true>;
187
+ }, z.core.$strip>>;
168
188
  }, z.core.$strip>;
169
189
  export declare const AnswerSchema: z.ZodObject<{
170
190
  nps: z.ZodOptional<z.ZodNumber>;
@@ -254,6 +274,16 @@ export declare const AnswerSchema: z.ZodObject<{
254
274
  question: z.ZodString;
255
275
  answer: z.ZodString;
256
276
  }, z.core.$strip>>>;
277
+ paymentsUpi: z.ZodOptional<z.ZodObject<{
278
+ transactionId: z.ZodString;
279
+ encatchPaymentReference: z.ZodString;
280
+ amount: z.ZodNumber;
281
+ currency: z.ZodLiteral<"INR">;
282
+ payeeVpa: z.ZodString;
283
+ payeeName: z.ZodOptional<z.ZodString>;
284
+ upiIntentUri: z.ZodOptional<z.ZodString>;
285
+ selfReported: z.ZodLiteral<true>;
286
+ }, z.core.$strip>>;
257
287
  }, z.core.$strip>;
258
288
  export type AnnotationMarker = z.infer<typeof AnnotationMarkerSchema>;
259
289
  export type Annotation = z.infer<typeof AnnotationSchema>;
@@ -266,5 +296,6 @@ export type VideoAudioAnswer = z.infer<typeof VideoAudioAnswerSchema>;
266
296
  export type SchedulerAnswer = z.infer<typeof SchedulerAnswerSchema>;
267
297
  export type QnaWithAiPair = z.infer<typeof QnaWithAiPairSchema>;
268
298
  export type QnaWithAiAnswer = z.infer<typeof QnaWithAiAnswerSchema>;
299
+ export type PaymentsUpiAnswer = z.infer<typeof PaymentsUpiAnswerSchema>;
269
300
  export type AnswerItem = z.infer<typeof AnswerItemSchema>;
270
301
  export type Answer = z.infer<typeof AnswerSchema>;
@@ -2391,6 +2391,97 @@ export declare const appPropsSchema: z.ZodObject<{
2391
2391
  emptyStateHint: z.ZodOptional<z.ZodString>;
2392
2392
  pairsRemainingTemplate: z.ZodOptional<z.ZodString>;
2393
2393
  pairsLimitReachedTemplate: z.ZodOptional<z.ZodString>;
2394
+ }, z.core.$strip>, z.ZodObject<{
2395
+ id: z.ZodString;
2396
+ slug: z.ZodOptional<z.ZodString>;
2397
+ title: z.ZodString;
2398
+ description: z.ZodOptional<z.ZodString>;
2399
+ describe: z.ZodOptional<z.ZodString>;
2400
+ required: z.ZodDefault<z.ZodBoolean>;
2401
+ isHidden: z.ZodDefault<z.ZodBoolean>;
2402
+ errorMessage: z.ZodOptional<z.ZodString>;
2403
+ validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2404
+ type: z.ZodEnum<{
2405
+ custom: "custom";
2406
+ pattern: "pattern";
2407
+ email: "email";
2408
+ required: "required";
2409
+ min: "min";
2410
+ max: "max";
2411
+ minLength: "minLength";
2412
+ maxLength: "maxLength";
2413
+ url: "url";
2414
+ }>;
2415
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2416
+ message: z.ZodOptional<z.ZodString>;
2417
+ describe: z.ZodOptional<z.ZodString>;
2418
+ }, z.core.$strip>>>>;
2419
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2420
+ field: z.ZodString;
2421
+ operator: z.ZodEnum<{
2422
+ equals: "equals";
2423
+ not_equals: "not_equals";
2424
+ contains: "contains";
2425
+ not_contains: "not_contains";
2426
+ greater_than: "greater_than";
2427
+ less_than: "less_than";
2428
+ is_empty: "is_empty";
2429
+ is_not_empty: "is_not_empty";
2430
+ }>;
2431
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2432
+ describe: z.ZodOptional<z.ZodString>;
2433
+ }, z.core.$strip>>>>;
2434
+ sectionId: z.ZodOptional<z.ZodString>;
2435
+ status: z.ZodEnum<{
2436
+ D: "D";
2437
+ P: "P";
2438
+ A: "A";
2439
+ S: "S";
2440
+ }>;
2441
+ textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
2442
+ left: "left";
2443
+ center: "center";
2444
+ justify: "justify";
2445
+ }>>>;
2446
+ nextButtonLabel: z.ZodDefault<z.ZodString>;
2447
+ showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
2448
+ questionMediaUrl: z.ZodOptional<z.ZodString>;
2449
+ questionMediaType: z.ZodOptional<z.ZodEnum<{
2450
+ image: "image";
2451
+ video: "video";
2452
+ youtube: "youtube";
2453
+ vimeo: "vimeo";
2454
+ }>>;
2455
+ type: z.ZodLiteral<"payments_upi">;
2456
+ payeeVpa: z.ZodString;
2457
+ payeeName: z.ZodOptional<z.ZodString>;
2458
+ amount: z.ZodDiscriminatedUnion<[z.ZodObject<{
2459
+ mode: z.ZodLiteral<"fixed">;
2460
+ amount: z.ZodNumber;
2461
+ }, z.core.$strip>, z.ZodObject<{
2462
+ mode: z.ZodLiteral<"range">;
2463
+ minAmount: z.ZodNumber;
2464
+ maxAmount: z.ZodNumber;
2465
+ defaultAmount: z.ZodOptional<z.ZodNumber>;
2466
+ }, z.core.$strip>, z.ZodObject<{
2467
+ mode: z.ZodLiteral<"question_mappings">;
2468
+ sources: z.ZodArray<z.ZodObject<{
2469
+ sourceQuestionId: z.ZodString;
2470
+ mappings: z.ZodArray<z.ZodObject<{
2471
+ answerValue: z.ZodString;
2472
+ amount: z.ZodNumber;
2473
+ label: z.ZodOptional<z.ZodString>;
2474
+ }, z.core.$strip>>;
2475
+ }, z.core.$strip>>;
2476
+ fallbackAmount: z.ZodOptional<z.ZodNumber>;
2477
+ }, z.core.$strip>], "mode">;
2478
+ transactionNote: z.ZodOptional<z.ZodString>;
2479
+ transactionReferencePrefix: z.ZodOptional<z.ZodString>;
2480
+ qrLabel: z.ZodOptional<z.ZodString>;
2481
+ openUpiAppLabel: z.ZodOptional<z.ZodString>;
2482
+ copyUpiIdLabel: z.ZodOptional<z.ZodString>;
2483
+ transactionIdLabel: z.ZodOptional<z.ZodString>;
2484
+ transactionIdPlaceholder: z.ZodOptional<z.ZodString>;
2394
2485
  }, z.core.$strip>], "type">>;
2395
2486
  questionLanguages: z.ZodArray<z.ZodObject<{
2396
2487
  value: z.ZodString;
@@ -2553,6 +2644,17 @@ export declare const appPropsSchema: z.ZodObject<{
2553
2644
  emptyStateHint: z.ZodOptional<z.ZodString>;
2554
2645
  pairsRemainingTemplate: z.ZodOptional<z.ZodString>;
2555
2646
  pairsLimitReachedTemplate: z.ZodOptional<z.ZodString>;
2647
+ }, z.core.$strip>, z.ZodObject<{
2648
+ title: z.ZodString;
2649
+ description: z.ZodOptional<z.ZodString>;
2650
+ errorMessage: z.ZodOptional<z.ZodString>;
2651
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
2652
+ type: z.ZodLiteral<"payments_upi">;
2653
+ qrLabel: z.ZodOptional<z.ZodString>;
2654
+ openUpiAppLabel: z.ZodOptional<z.ZodString>;
2655
+ copyUpiIdLabel: z.ZodOptional<z.ZodString>;
2656
+ transactionIdLabel: z.ZodOptional<z.ZodString>;
2657
+ transactionIdPlaceholder: z.ZodOptional<z.ZodString>;
2556
2658
  }, z.core.$strip>, z.ZodObject<{
2557
2659
  title: z.ZodString;
2558
2660
  description: z.ZodOptional<z.ZodString>;