@encatch/schema 1.2.0-beta.9 → 1.2.0

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, 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 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";
@@ -2477,6 +2477,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
2477
2477
  autofillNameFieldId: z.ZodOptional<z.ZodString>;
2478
2478
  autofillEmailFieldId: z.ZodOptional<z.ZodString>;
2479
2479
  placeholder: z.ZodOptional<z.ZodString>;
2480
+ scheduleMeetingLabel: z.ZodOptional<z.ZodString>;
2480
2481
  }, z.core.$strip>, z.ZodObject<{
2481
2482
  id: z.ZodString;
2482
2483
  slug: z.ZodOptional<z.ZodString>;
@@ -2544,6 +2545,101 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
2544
2545
  maxQaPairs: z.ZodOptional<z.ZodNumber>;
2545
2546
  placeholder: z.ZodOptional<z.ZodString>;
2546
2547
  askButtonLabel: z.ZodOptional<z.ZodString>;
2548
+ emptyStateHint: z.ZodOptional<z.ZodString>;
2549
+ pairsRemainingTemplate: z.ZodOptional<z.ZodString>;
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
+ sourceEmailQuestionId: z.ZodOptional<z.ZodString>;
2636
+ transactionNote: z.ZodOptional<z.ZodString>;
2637
+ transactionReferencePrefix: z.ZodOptional<z.ZodString>;
2638
+ qrLabel: z.ZodOptional<z.ZodString>;
2639
+ openUpiAppLabel: z.ZodOptional<z.ZodString>;
2640
+ copyUpiIdLabel: z.ZodOptional<z.ZodString>;
2641
+ transactionIdLabel: z.ZodOptional<z.ZodString>;
2642
+ transactionIdPlaceholder: z.ZodOptional<z.ZodString>;
2547
2643
  }, z.core.$strip>], "type">>;
2548
2644
  sections: z.ZodArray<z.ZodObject<{
2549
2645
  id: z.ZodString;
@@ -4878,6 +4974,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
4878
4974
  autofillNameFieldId: z.ZodOptional<z.ZodString>;
4879
4975
  autofillEmailFieldId: z.ZodOptional<z.ZodString>;
4880
4976
  placeholder: z.ZodOptional<z.ZodString>;
4977
+ scheduleMeetingLabel: z.ZodOptional<z.ZodString>;
4881
4978
  }, z.core.$strip>, z.ZodObject<{
4882
4979
  id: z.ZodString;
4883
4980
  slug: z.ZodOptional<z.ZodString>;
@@ -4945,6 +5042,101 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
4945
5042
  maxQaPairs: z.ZodOptional<z.ZodNumber>;
4946
5043
  placeholder: z.ZodOptional<z.ZodString>;
4947
5044
  askButtonLabel: z.ZodOptional<z.ZodString>;
5045
+ emptyStateHint: z.ZodOptional<z.ZodString>;
5046
+ pairsRemainingTemplate: z.ZodOptional<z.ZodString>;
5047
+ pairsLimitReachedTemplate: z.ZodOptional<z.ZodString>;
5048
+ }, z.core.$strip>, z.ZodObject<{
5049
+ id: z.ZodString;
5050
+ slug: z.ZodOptional<z.ZodString>;
5051
+ title: z.ZodString;
5052
+ description: z.ZodOptional<z.ZodString>;
5053
+ describe: z.ZodOptional<z.ZodString>;
5054
+ required: z.ZodDefault<z.ZodBoolean>;
5055
+ isHidden: z.ZodDefault<z.ZodBoolean>;
5056
+ errorMessage: z.ZodOptional<z.ZodString>;
5057
+ validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
5058
+ type: z.ZodEnum<{
5059
+ custom: "custom";
5060
+ pattern: "pattern";
5061
+ email: "email";
5062
+ required: "required";
5063
+ min: "min";
5064
+ max: "max";
5065
+ minLength: "minLength";
5066
+ maxLength: "maxLength";
5067
+ url: "url";
5068
+ }>;
5069
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5070
+ message: z.ZodOptional<z.ZodString>;
5071
+ describe: z.ZodOptional<z.ZodString>;
5072
+ }, z.core.$strip>>>>;
5073
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
5074
+ field: z.ZodString;
5075
+ operator: z.ZodEnum<{
5076
+ equals: "equals";
5077
+ not_equals: "not_equals";
5078
+ contains: "contains";
5079
+ not_contains: "not_contains";
5080
+ greater_than: "greater_than";
5081
+ less_than: "less_than";
5082
+ is_empty: "is_empty";
5083
+ is_not_empty: "is_not_empty";
5084
+ }>;
5085
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
5086
+ describe: z.ZodOptional<z.ZodString>;
5087
+ }, z.core.$strip>>>>;
5088
+ sectionId: z.ZodOptional<z.ZodString>;
5089
+ status: z.ZodEnum<{
5090
+ D: "D";
5091
+ P: "P";
5092
+ A: "A";
5093
+ S: "S";
5094
+ }>;
5095
+ textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
5096
+ left: "left";
5097
+ center: "center";
5098
+ justify: "justify";
5099
+ }>>>;
5100
+ nextButtonLabel: z.ZodDefault<z.ZodString>;
5101
+ showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
5102
+ questionMediaUrl: z.ZodOptional<z.ZodString>;
5103
+ questionMediaType: z.ZodOptional<z.ZodEnum<{
5104
+ image: "image";
5105
+ video: "video";
5106
+ youtube: "youtube";
5107
+ vimeo: "vimeo";
5108
+ }>>;
5109
+ type: z.ZodLiteral<"payments_upi">;
5110
+ payeeVpa: z.ZodString;
5111
+ payeeName: z.ZodOptional<z.ZodString>;
5112
+ amount: z.ZodDiscriminatedUnion<[z.ZodObject<{
5113
+ mode: z.ZodLiteral<"fixed">;
5114
+ amount: z.ZodNumber;
5115
+ }, z.core.$strip>, z.ZodObject<{
5116
+ mode: z.ZodLiteral<"range">;
5117
+ minAmount: z.ZodNumber;
5118
+ maxAmount: z.ZodNumber;
5119
+ defaultAmount: z.ZodOptional<z.ZodNumber>;
5120
+ }, z.core.$strip>, z.ZodObject<{
5121
+ mode: z.ZodLiteral<"question_mappings">;
5122
+ sources: z.ZodArray<z.ZodObject<{
5123
+ sourceQuestionId: z.ZodString;
5124
+ mappings: z.ZodArray<z.ZodObject<{
5125
+ answerValue: z.ZodString;
5126
+ amount: z.ZodNumber;
5127
+ label: z.ZodOptional<z.ZodString>;
5128
+ }, z.core.$strip>>;
5129
+ }, z.core.$strip>>;
5130
+ fallbackAmount: z.ZodOptional<z.ZodNumber>;
5131
+ }, z.core.$strip>], "mode">;
5132
+ sourceEmailQuestionId: z.ZodOptional<z.ZodString>;
5133
+ transactionNote: z.ZodOptional<z.ZodString>;
5134
+ transactionReferencePrefix: z.ZodOptional<z.ZodString>;
5135
+ qrLabel: z.ZodOptional<z.ZodString>;
5136
+ openUpiAppLabel: z.ZodOptional<z.ZodString>;
5137
+ copyUpiIdLabel: z.ZodOptional<z.ZodString>;
5138
+ transactionIdLabel: z.ZodOptional<z.ZodString>;
5139
+ transactionIdPlaceholder: z.ZodOptional<z.ZodString>;
4948
5140
  }, z.core.$strip>], "type">>;
4949
5141
  sections: z.ZodArray<z.ZodObject<{
4950
5142
  id: z.ZodString;
@@ -5059,6 +5251,56 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
5059
5251
  }>>;
5060
5252
  maxDialogHeightPercentInApp: z.ZodOptional<z.ZodNumber>;
5061
5253
  faviconUrl: z.ZodOptional<z.ZodString>;
5254
+ logo: z.ZodOptional<z.ZodObject<{
5255
+ href: z.ZodObject<{
5256
+ light: z.ZodString;
5257
+ dark: z.ZodOptional<z.ZodString>;
5258
+ }, z.core.$strip>;
5259
+ placement: z.ZodDefault<z.ZodEnum<{
5260
+ "top-left": "top-left";
5261
+ "top-center": "top-center";
5262
+ "top-right": "top-right";
5263
+ }>>;
5264
+ size: z.ZodDefault<z.ZodEnum<{
5265
+ small: "small";
5266
+ medium: "medium";
5267
+ large: "large";
5268
+ }>>;
5269
+ linkUrl: z.ZodOptional<z.ZodString>;
5270
+ altText: z.ZodOptional<z.ZodString>;
5271
+ surfaces: z.ZodOptional<z.ZodObject<{
5272
+ link: z.ZodOptional<z.ZodObject<{
5273
+ mobile: z.ZodOptional<z.ZodObject<{
5274
+ size: z.ZodOptional<z.ZodEnum<{
5275
+ small: "small";
5276
+ medium: "medium";
5277
+ large: "large";
5278
+ }>>;
5279
+ placement: z.ZodOptional<z.ZodEnum<{
5280
+ "top-left": "top-left";
5281
+ "top-center": "top-center";
5282
+ "top-right": "top-right";
5283
+ }>>;
5284
+ hidden: z.ZodOptional<z.ZodBoolean>;
5285
+ disableLink: z.ZodOptional<z.ZodBoolean>;
5286
+ }, z.core.$strip>>;
5287
+ others: z.ZodOptional<z.ZodObject<{
5288
+ size: z.ZodOptional<z.ZodEnum<{
5289
+ small: "small";
5290
+ medium: "medium";
5291
+ large: "large";
5292
+ }>>;
5293
+ placement: z.ZodOptional<z.ZodEnum<{
5294
+ "top-left": "top-left";
5295
+ "top-center": "top-center";
5296
+ "top-right": "top-right";
5297
+ }>>;
5298
+ hidden: z.ZodOptional<z.ZodBoolean>;
5299
+ disableLink: z.ZodOptional<z.ZodBoolean>;
5300
+ }, z.core.$strip>>;
5301
+ }, z.core.$strip>>;
5302
+ }, z.core.$strip>>;
5303
+ }, z.core.$strip>>;
5062
5304
  }, z.core.$strip>;
5063
5305
  selectedPosition: z.ZodEnum<{
5064
5306
  "top-left": "top-left";
@@ -96,6 +96,17 @@ 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.ZodString;
103
+ currency: z.ZodLiteral<"INR">;
104
+ payeeVpa: z.ZodString;
105
+ payeeName: z.ZodOptional<z.ZodString>;
106
+ sourceEmail: z.ZodOptional<z.ZodString>;
107
+ upiIntentUri: z.ZodOptional<z.ZodString>;
108
+ selfReported: z.ZodLiteral<true>;
109
+ }, z.core.$strip>>;
99
110
  }, z.core.$strip>;
100
111
  type: z.ZodString;
101
112
  error: z.ZodOptional<z.ZodString>;
@@ -194,6 +205,17 @@ export declare const responseSchema: z.ZodObject<{
194
205
  question: z.ZodString;
195
206
  answer: z.ZodString;
196
207
  }, z.core.$strip>>>;
208
+ paymentsUpi: z.ZodOptional<z.ZodObject<{
209
+ transactionId: z.ZodString;
210
+ encatchPaymentReference: z.ZodString;
211
+ amount: z.ZodString;
212
+ currency: z.ZodLiteral<"INR">;
213
+ payeeVpa: z.ZodString;
214
+ payeeName: z.ZodOptional<z.ZodString>;
215
+ sourceEmail: z.ZodOptional<z.ZodString>;
216
+ upiIntentUri: z.ZodOptional<z.ZodString>;
217
+ selfReported: z.ZodLiteral<true>;
218
+ }, z.core.$strip>>;
197
219
  }, z.core.$strip>;
198
220
  type: z.ZodString;
199
221
  error: z.ZodOptional<z.ZodString>;
@@ -383,6 +405,17 @@ export declare const partialFeedbackSchema: z.ZodObject<{
383
405
  question: z.ZodString;
384
406
  answer: z.ZodString;
385
407
  }, z.core.$strip>>>;
408
+ paymentsUpi: z.ZodOptional<z.ZodObject<{
409
+ transactionId: z.ZodString;
410
+ encatchPaymentReference: z.ZodString;
411
+ amount: z.ZodString;
412
+ currency: z.ZodLiteral<"INR">;
413
+ payeeVpa: z.ZodString;
414
+ payeeName: z.ZodOptional<z.ZodString>;
415
+ sourceEmail: z.ZodOptional<z.ZodString>;
416
+ upiIntentUri: z.ZodOptional<z.ZodString>;
417
+ selfReported: z.ZodLiteral<true>;
418
+ }, z.core.$strip>>;
386
419
  }, z.core.$strip>;
387
420
  type: z.ZodString;
388
421
  error: z.ZodOptional<z.ZodString>;
@@ -525,6 +558,17 @@ export declare const submitFeedbackSchema: z.ZodObject<{
525
558
  question: z.ZodString;
526
559
  answer: z.ZodString;
527
560
  }, z.core.$strip>>>;
561
+ paymentsUpi: z.ZodOptional<z.ZodObject<{
562
+ transactionId: z.ZodString;
563
+ encatchPaymentReference: z.ZodString;
564
+ amount: z.ZodString;
565
+ currency: z.ZodLiteral<"INR">;
566
+ payeeVpa: z.ZodString;
567
+ payeeName: z.ZodOptional<z.ZodString>;
568
+ sourceEmail: z.ZodOptional<z.ZodString>;
569
+ upiIntentUri: z.ZodOptional<z.ZodString>;
570
+ selfReported: z.ZodLiteral<true>;
571
+ }, z.core.$strip>>;
528
572
  }, z.core.$strip>;
529
573
  type: z.ZodString;
530
574
  error: z.ZodOptional<z.ZodString>;
@@ -667,6 +711,17 @@ export declare const feedbackRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
667
711
  question: z.ZodString;
668
712
  answer: z.ZodString;
669
713
  }, z.core.$strip>>>;
714
+ paymentsUpi: z.ZodOptional<z.ZodObject<{
715
+ transactionId: z.ZodString;
716
+ encatchPaymentReference: z.ZodString;
717
+ amount: z.ZodString;
718
+ currency: z.ZodLiteral<"INR">;
719
+ payeeVpa: z.ZodString;
720
+ payeeName: z.ZodOptional<z.ZodString>;
721
+ sourceEmail: z.ZodOptional<z.ZodString>;
722
+ upiIntentUri: z.ZodOptional<z.ZodString>;
723
+ selfReported: z.ZodLiteral<true>;
724
+ }, z.core.$strip>>;
670
725
  }, z.core.$strip>;
671
726
  type: z.ZodString;
672
727
  error: z.ZodOptional<z.ZodString>;
@@ -808,6 +863,17 @@ export declare const feedbackRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
808
863
  question: z.ZodString;
809
864
  answer: z.ZodString;
810
865
  }, z.core.$strip>>>;
866
+ paymentsUpi: z.ZodOptional<z.ZodObject<{
867
+ transactionId: z.ZodString;
868
+ encatchPaymentReference: z.ZodString;
869
+ amount: z.ZodString;
870
+ currency: z.ZodLiteral<"INR">;
871
+ payeeVpa: z.ZodString;
872
+ payeeName: z.ZodOptional<z.ZodString>;
873
+ sourceEmail: z.ZodOptional<z.ZodString>;
874
+ upiIntentUri: z.ZodOptional<z.ZodString>;
875
+ selfReported: z.ZodLiteral<true>;
876
+ }, z.core.$strip>>;
811
877
  }, z.core.$strip>;
812
878
  type: z.ZodString;
813
879
  error: z.ZodOptional<z.ZodString>;
@@ -77,6 +77,17 @@ 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.ZodString;
84
+ currency: z.ZodLiteral<"INR">;
85
+ payeeVpa: z.ZodString;
86
+ payeeName: z.ZodOptional<z.ZodString>;
87
+ sourceEmail: z.ZodOptional<z.ZodString>;
88
+ upiIntentUri: z.ZodOptional<z.ZodString>;
89
+ selfReported: z.ZodLiteral<true>;
90
+ }, z.core.$strip>;
80
91
  export declare const AnswerItemSchema: z.ZodObject<{
81
92
  nps: z.ZodOptional<z.ZodNumber>;
82
93
  nestedSelection: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -165,6 +176,17 @@ export declare const AnswerItemSchema: z.ZodObject<{
165
176
  question: z.ZodString;
166
177
  answer: z.ZodString;
167
178
  }, z.core.$strip>>>;
179
+ paymentsUpi: z.ZodOptional<z.ZodObject<{
180
+ transactionId: z.ZodString;
181
+ encatchPaymentReference: z.ZodString;
182
+ amount: z.ZodString;
183
+ currency: z.ZodLiteral<"INR">;
184
+ payeeVpa: z.ZodString;
185
+ payeeName: z.ZodOptional<z.ZodString>;
186
+ sourceEmail: z.ZodOptional<z.ZodString>;
187
+ upiIntentUri: z.ZodOptional<z.ZodString>;
188
+ selfReported: z.ZodLiteral<true>;
189
+ }, z.core.$strip>>;
168
190
  }, z.core.$strip>;
169
191
  export declare const AnswerSchema: z.ZodObject<{
170
192
  nps: z.ZodOptional<z.ZodNumber>;
@@ -254,6 +276,17 @@ export declare const AnswerSchema: z.ZodObject<{
254
276
  question: z.ZodString;
255
277
  answer: z.ZodString;
256
278
  }, z.core.$strip>>>;
279
+ paymentsUpi: z.ZodOptional<z.ZodObject<{
280
+ transactionId: z.ZodString;
281
+ encatchPaymentReference: z.ZodString;
282
+ amount: z.ZodString;
283
+ currency: z.ZodLiteral<"INR">;
284
+ payeeVpa: z.ZodString;
285
+ payeeName: z.ZodOptional<z.ZodString>;
286
+ sourceEmail: z.ZodOptional<z.ZodString>;
287
+ upiIntentUri: z.ZodOptional<z.ZodString>;
288
+ selfReported: z.ZodLiteral<true>;
289
+ }, z.core.$strip>>;
257
290
  }, z.core.$strip>;
258
291
  export type AnnotationMarker = z.infer<typeof AnnotationMarkerSchema>;
259
292
  export type Annotation = z.infer<typeof AnnotationSchema>;
@@ -266,5 +299,6 @@ export type VideoAudioAnswer = z.infer<typeof VideoAudioAnswerSchema>;
266
299
  export type SchedulerAnswer = z.infer<typeof SchedulerAnswerSchema>;
267
300
  export type QnaWithAiPair = z.infer<typeof QnaWithAiPairSchema>;
268
301
  export type QnaWithAiAnswer = z.infer<typeof QnaWithAiAnswerSchema>;
302
+ export type PaymentsUpiAnswer = z.infer<typeof PaymentsUpiAnswerSchema>;
269
303
  export type AnswerItem = z.infer<typeof AnswerItemSchema>;
270
304
  export type Answer = z.infer<typeof AnswerSchema>;