@encatch/schema 1.2.0-beta.12 → 1.2.0-beta.13
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 +4 -0
- package/dist/esm/index.js.map +2 -2
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +2 -0
- package/dist/types/schemas/api/submit-feedback-schema.d.ts +6 -0
- package/dist/types/schemas/fields/answer-schema.d.ts +3 -0
- package/dist/types/schemas/fields/app-props-schema.d.ts +1 -0
- package/dist/types/schemas/fields/field-schema.d.ts +2 -0
- package/dist/types/schemas/fields/form-properties-schema.d.ts +1 -0
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -1533,6 +1533,9 @@ var paymentsUpiQuestionSchema = questionSchema.extend({
|
|
|
1533
1533
|
amount: paymentsUpiAmountConfigSchema.describe(
|
|
1534
1534
|
"How the requested INR amount is determined"
|
|
1535
1535
|
),
|
|
1536
|
+
sourceEmailQuestionId: z2.string().optional().describe(
|
|
1537
|
+
"Optional ID of the email question whose answer is used for form submission receipt emails"
|
|
1538
|
+
),
|
|
1536
1539
|
transactionNote: z2.string().max(80).optional().describe(
|
|
1537
1540
|
"Short note included in the UPI intent; the platform may append the Encatch reference"
|
|
1538
1541
|
),
|
|
@@ -1678,6 +1681,7 @@ var PaymentsUpiAnswerSchema = z3.object({
|
|
|
1678
1681
|
currency: z3.literal("INR").describe("Currency for UPI payments"),
|
|
1679
1682
|
payeeVpa: z3.string().describe("UPI VPA shown to the respondent"),
|
|
1680
1683
|
payeeName: z3.string().optional().describe("Payee display name shown to the respondent"),
|
|
1684
|
+
sourceEmail: z3.string().optional().describe("Email address resolved from the configured source email question"),
|
|
1681
1685
|
upiIntentUri: z3.string().optional().describe("Generated UPI intent URI shown to the respondent"),
|
|
1682
1686
|
selfReported: z3.literal(true).describe(
|
|
1683
1687
|
"Always true: Encatch records this answer but does not verify the payment"
|