@encatch/schema 1.2.0-beta.10 → 1.2.0-beta.11
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 +602 -169
- package/dist/esm/index.js.map +2 -2
- package/dist/types/index.d.ts +4 -4
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +178 -0
- package/dist/types/schemas/api/submit-feedback-schema.d.ts +60 -0
- package/dist/types/schemas/fields/answer-schema.d.ts +31 -0
- package/dist/types/schemas/fields/app-props-schema.d.ts +100 -0
- package/dist/types/schemas/fields/field-schema.d.ts +203 -1
- package/dist/types/schemas/fields/form-properties-schema.d.ts +100 -0
- package/dist/types/schemas/fields/translations-schema.d.ts +57 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -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
|
|
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,95 @@ 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_mapping">;
|
|
2625
|
+
sourceQuestionId: z.ZodString;
|
|
2626
|
+
mappings: z.ZodArray<z.ZodObject<{
|
|
2627
|
+
answerValue: z.ZodString;
|
|
2628
|
+
amount: z.ZodNumber;
|
|
2629
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2630
|
+
}, z.core.$strip>>;
|
|
2631
|
+
fallbackAmount: z.ZodOptional<z.ZodNumber>;
|
|
2632
|
+
}, z.core.$strip>], "mode">;
|
|
2633
|
+
transactionNote: z.ZodOptional<z.ZodString>;
|
|
2634
|
+
transactionReferencePrefix: z.ZodOptional<z.ZodString>;
|
|
2635
|
+
qrLabel: z.ZodOptional<z.ZodString>;
|
|
2636
|
+
openUpiAppLabel: z.ZodOptional<z.ZodString>;
|
|
2637
|
+
copyUpiIdLabel: z.ZodOptional<z.ZodString>;
|
|
2638
|
+
transactionIdLabel: z.ZodOptional<z.ZodString>;
|
|
2639
|
+
transactionIdPlaceholder: z.ZodOptional<z.ZodString>;
|
|
2551
2640
|
}, z.core.$strip>], "type">>;
|
|
2552
2641
|
sections: z.ZodArray<z.ZodObject<{
|
|
2553
2642
|
id: z.ZodString;
|
|
@@ -4953,6 +5042,95 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
4953
5042
|
emptyStateHint: z.ZodOptional<z.ZodString>;
|
|
4954
5043
|
pairsRemainingTemplate: z.ZodOptional<z.ZodString>;
|
|
4955
5044
|
pairsLimitReachedTemplate: z.ZodOptional<z.ZodString>;
|
|
5045
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5046
|
+
id: z.ZodString;
|
|
5047
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
5048
|
+
title: z.ZodString;
|
|
5049
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5050
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
5051
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
5052
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
5053
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
5054
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5055
|
+
type: z.ZodEnum<{
|
|
5056
|
+
custom: "custom";
|
|
5057
|
+
pattern: "pattern";
|
|
5058
|
+
email: "email";
|
|
5059
|
+
required: "required";
|
|
5060
|
+
min: "min";
|
|
5061
|
+
max: "max";
|
|
5062
|
+
minLength: "minLength";
|
|
5063
|
+
maxLength: "maxLength";
|
|
5064
|
+
url: "url";
|
|
5065
|
+
}>;
|
|
5066
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
5067
|
+
message: z.ZodOptional<z.ZodString>;
|
|
5068
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
5069
|
+
}, z.core.$strip>>>>;
|
|
5070
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5071
|
+
field: z.ZodString;
|
|
5072
|
+
operator: z.ZodEnum<{
|
|
5073
|
+
equals: "equals";
|
|
5074
|
+
not_equals: "not_equals";
|
|
5075
|
+
contains: "contains";
|
|
5076
|
+
not_contains: "not_contains";
|
|
5077
|
+
greater_than: "greater_than";
|
|
5078
|
+
less_than: "less_than";
|
|
5079
|
+
is_empty: "is_empty";
|
|
5080
|
+
is_not_empty: "is_not_empty";
|
|
5081
|
+
}>;
|
|
5082
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
5083
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
5084
|
+
}, z.core.$strip>>>>;
|
|
5085
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
5086
|
+
status: z.ZodEnum<{
|
|
5087
|
+
D: "D";
|
|
5088
|
+
P: "P";
|
|
5089
|
+
A: "A";
|
|
5090
|
+
S: "S";
|
|
5091
|
+
}>;
|
|
5092
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
5093
|
+
left: "left";
|
|
5094
|
+
center: "center";
|
|
5095
|
+
justify: "justify";
|
|
5096
|
+
}>>>;
|
|
5097
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
5098
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
5099
|
+
questionMediaUrl: z.ZodOptional<z.ZodString>;
|
|
5100
|
+
questionMediaType: z.ZodOptional<z.ZodEnum<{
|
|
5101
|
+
image: "image";
|
|
5102
|
+
video: "video";
|
|
5103
|
+
youtube: "youtube";
|
|
5104
|
+
vimeo: "vimeo";
|
|
5105
|
+
}>>;
|
|
5106
|
+
type: z.ZodLiteral<"payments_upi">;
|
|
5107
|
+
payeeVpa: z.ZodString;
|
|
5108
|
+
payeeName: z.ZodOptional<z.ZodString>;
|
|
5109
|
+
amount: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5110
|
+
mode: z.ZodLiteral<"fixed">;
|
|
5111
|
+
amount: z.ZodNumber;
|
|
5112
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5113
|
+
mode: z.ZodLiteral<"range">;
|
|
5114
|
+
minAmount: z.ZodNumber;
|
|
5115
|
+
maxAmount: z.ZodNumber;
|
|
5116
|
+
defaultAmount: z.ZodOptional<z.ZodNumber>;
|
|
5117
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5118
|
+
mode: z.ZodLiteral<"question_mapping">;
|
|
5119
|
+
sourceQuestionId: z.ZodString;
|
|
5120
|
+
mappings: z.ZodArray<z.ZodObject<{
|
|
5121
|
+
answerValue: z.ZodString;
|
|
5122
|
+
amount: z.ZodNumber;
|
|
5123
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5124
|
+
}, z.core.$strip>>;
|
|
5125
|
+
fallbackAmount: z.ZodOptional<z.ZodNumber>;
|
|
5126
|
+
}, z.core.$strip>], "mode">;
|
|
5127
|
+
transactionNote: z.ZodOptional<z.ZodString>;
|
|
5128
|
+
transactionReferencePrefix: z.ZodOptional<z.ZodString>;
|
|
5129
|
+
qrLabel: z.ZodOptional<z.ZodString>;
|
|
5130
|
+
openUpiAppLabel: z.ZodOptional<z.ZodString>;
|
|
5131
|
+
copyUpiIdLabel: z.ZodOptional<z.ZodString>;
|
|
5132
|
+
transactionIdLabel: z.ZodOptional<z.ZodString>;
|
|
5133
|
+
transactionIdPlaceholder: z.ZodOptional<z.ZodString>;
|
|
4956
5134
|
}, z.core.$strip>], "type">>;
|
|
4957
5135
|
sections: z.ZodArray<z.ZodObject<{
|
|
4958
5136
|
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,95 @@ 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_mapping">;
|
|
2468
|
+
sourceQuestionId: z.ZodString;
|
|
2469
|
+
mappings: z.ZodArray<z.ZodObject<{
|
|
2470
|
+
answerValue: z.ZodString;
|
|
2471
|
+
amount: z.ZodNumber;
|
|
2472
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2473
|
+
}, z.core.$strip>>;
|
|
2474
|
+
fallbackAmount: z.ZodOptional<z.ZodNumber>;
|
|
2475
|
+
}, z.core.$strip>], "mode">;
|
|
2476
|
+
transactionNote: z.ZodOptional<z.ZodString>;
|
|
2477
|
+
transactionReferencePrefix: z.ZodOptional<z.ZodString>;
|
|
2478
|
+
qrLabel: z.ZodOptional<z.ZodString>;
|
|
2479
|
+
openUpiAppLabel: z.ZodOptional<z.ZodString>;
|
|
2480
|
+
copyUpiIdLabel: z.ZodOptional<z.ZodString>;
|
|
2481
|
+
transactionIdLabel: z.ZodOptional<z.ZodString>;
|
|
2482
|
+
transactionIdPlaceholder: z.ZodOptional<z.ZodString>;
|
|
2394
2483
|
}, z.core.$strip>], "type">>;
|
|
2395
2484
|
questionLanguages: z.ZodArray<z.ZodObject<{
|
|
2396
2485
|
value: z.ZodString;
|
|
@@ -2553,6 +2642,17 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
2553
2642
|
emptyStateHint: z.ZodOptional<z.ZodString>;
|
|
2554
2643
|
pairsRemainingTemplate: z.ZodOptional<z.ZodString>;
|
|
2555
2644
|
pairsLimitReachedTemplate: z.ZodOptional<z.ZodString>;
|
|
2645
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2646
|
+
title: z.ZodString;
|
|
2647
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2648
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2649
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2650
|
+
type: z.ZodLiteral<"payments_upi">;
|
|
2651
|
+
qrLabel: z.ZodOptional<z.ZodString>;
|
|
2652
|
+
openUpiAppLabel: z.ZodOptional<z.ZodString>;
|
|
2653
|
+
copyUpiIdLabel: z.ZodOptional<z.ZodString>;
|
|
2654
|
+
transactionIdLabel: z.ZodOptional<z.ZodString>;
|
|
2655
|
+
transactionIdPlaceholder: z.ZodOptional<z.ZodString>;
|
|
2556
2656
|
}, z.core.$strip>, z.ZodObject<{
|
|
2557
2657
|
title: z.ZodString;
|
|
2558
2658
|
description: z.ZodOptional<z.ZodString>;
|