* Build HitPay app * Deleted a lint comment * Add redirect for iframe * Fix type check error * Fixed issue of payment pending * Update hitpay package.json * fix: fix lint issue in KeyInput and update zod * fix: fix issue of parsing string to number * fix: add default hitpay API links * fix: resolve atoms build error --------- Co-authored-by: kutsaniuk <kutsaniuk@gmail.com>
18 lines
310 B
TypeScript
18 lines
310 B
TypeScript
import z from "zod";
|
|
|
|
export const hitpayCredentialKeysSchema = z.object({
|
|
prod: z
|
|
.object({
|
|
apiKey: z.string(),
|
|
saltKey: z.string(),
|
|
})
|
|
.optional(),
|
|
sandbox: z
|
|
.object({
|
|
apiKey: z.string(),
|
|
saltKey: z.string(),
|
|
})
|
|
.optional(),
|
|
isSandbox: z.boolean(),
|
|
});
|