@paybyrd/ai-agent-toolkit
Version:
Toolkit for building AI agents with various models
191 lines (190 loc) • 6.82 kB
TypeScript
import { z } from 'zod';
export declare const createPaymentLinkParameters: z.ZodObject<{
isoAmount: z.ZodNumber;
currency: z.ZodString;
orderRef: z.ZodDefault<z.ZodString>;
shopper: z.ZodOptional<z.ZodObject<{
firstName: z.ZodOptional<z.ZodString>;
lastName: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
firstName?: string | undefined;
lastName?: string | undefined;
}, {
firstName?: string | undefined;
lastName?: string | undefined;
}>>;
orderOptions: z.ZodOptional<z.ZodObject<{
notifyBy: z.ZodOptional<z.ZodObject<{
email: z.ZodOptional<z.ZodObject<{
address: z.ZodString;
}, "strip", z.ZodTypeAny, {
address: string;
}, {
address: string;
}>>;
sms: z.ZodOptional<z.ZodObject<{
phoneCountryCode: z.ZodNumber;
phoneNumber: z.ZodString;
}, "strip", z.ZodTypeAny, {
phoneCountryCode: number;
phoneNumber: string;
}, {
phoneCountryCode: number;
phoneNumber: string;
}>>;
whatsapp: z.ZodOptional<z.ZodObject<{
phoneCountryCode: z.ZodNumber;
phoneNumber: z.ZodString;
}, "strip", z.ZodTypeAny, {
phoneCountryCode: number;
phoneNumber: string;
}, {
phoneCountryCode: number;
phoneNumber: string;
}>>;
}, "strip", z.ZodTypeAny, {
email?: {
address: string;
} | undefined;
sms?: {
phoneCountryCode: number;
phoneNumber: string;
} | undefined;
whatsapp?: {
phoneCountryCode: number;
phoneNumber: string;
} | undefined;
}, {
email?: {
address: string;
} | undefined;
sms?: {
phoneCountryCode: number;
phoneNumber: string;
} | undefined;
whatsapp?: {
phoneCountryCode: number;
phoneNumber: string;
} | undefined;
}>>;
redirectUrl: z.ZodOptional<z.ZodString>;
culture: z.ZodOptional<z.ZodString>;
expiresIn: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
notifyBy?: {
email?: {
address: string;
} | undefined;
sms?: {
phoneCountryCode: number;
phoneNumber: string;
} | undefined;
whatsapp?: {
phoneCountryCode: number;
phoneNumber: string;
} | undefined;
} | undefined;
redirectUrl?: string | undefined;
culture?: string | undefined;
expiresIn?: string | undefined;
}, {
notifyBy?: {
email?: {
address: string;
} | undefined;
sms?: {
phoneCountryCode: number;
phoneNumber: string;
} | undefined;
whatsapp?: {
phoneCountryCode: number;
phoneNumber: string;
} | undefined;
} | undefined;
redirectUrl?: string | undefined;
culture?: string | undefined;
expiresIn?: string | undefined;
}>>;
paymentOptions: z.ZodOptional<z.ZodObject<{
allowedPaymentMethods: z.ZodOptional<z.ZodArray<z.ZodEnum<["CARD", "MBWAY", "SIBS_MULTIBANCO", "IDEAL", "PAYPAL", "MULTICAIXA_REF", "SEPA", "FLOA1XD", "FLOA3X", "FLOA4X", "REVOLUTPAY", "KLARNA", "PIX", "PICKUP", "MULTICAIXAEXPRESS"]>, "many">>;
}, "strip", z.ZodTypeAny, {
allowedPaymentMethods?: ("CARD" | "MBWAY" | "SIBS_MULTIBANCO" | "IDEAL" | "PAYPAL" | "MULTICAIXA_REF" | "SEPA" | "FLOA1XD" | "FLOA3X" | "FLOA4X" | "REVOLUTPAY" | "KLARNA" | "PIX" | "PICKUP" | "MULTICAIXAEXPRESS")[] | undefined;
}, {
allowedPaymentMethods?: ("CARD" | "MBWAY" | "SIBS_MULTIBANCO" | "IDEAL" | "PAYPAL" | "MULTICAIXA_REF" | "SEPA" | "FLOA1XD" | "FLOA3X" | "FLOA4X" | "REVOLUTPAY" | "KLARNA" | "PIX" | "PICKUP" | "MULTICAIXAEXPRESS")[] | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
isoAmount: number;
currency: string;
orderRef: string;
shopper?: {
firstName?: string | undefined;
lastName?: string | undefined;
} | undefined;
orderOptions?: {
notifyBy?: {
email?: {
address: string;
} | undefined;
sms?: {
phoneCountryCode: number;
phoneNumber: string;
} | undefined;
whatsapp?: {
phoneCountryCode: number;
phoneNumber: string;
} | undefined;
} | undefined;
redirectUrl?: string | undefined;
culture?: string | undefined;
expiresIn?: string | undefined;
} | undefined;
paymentOptions?: {
allowedPaymentMethods?: ("CARD" | "MBWAY" | "SIBS_MULTIBANCO" | "IDEAL" | "PAYPAL" | "MULTICAIXA_REF" | "SEPA" | "FLOA1XD" | "FLOA3X" | "FLOA4X" | "REVOLUTPAY" | "KLARNA" | "PIX" | "PICKUP" | "MULTICAIXAEXPRESS")[] | undefined;
} | undefined;
}, {
isoAmount: number;
currency: string;
orderRef?: string | undefined;
shopper?: {
firstName?: string | undefined;
lastName?: string | undefined;
} | undefined;
orderOptions?: {
notifyBy?: {
email?: {
address: string;
} | undefined;
sms?: {
phoneCountryCode: number;
phoneNumber: string;
} | undefined;
whatsapp?: {
phoneCountryCode: number;
phoneNumber: string;
} | undefined;
} | undefined;
redirectUrl?: string | undefined;
culture?: string | undefined;
expiresIn?: string | undefined;
} | undefined;
paymentOptions?: {
allowedPaymentMethods?: ("CARD" | "MBWAY" | "SIBS_MULTIBANCO" | "IDEAL" | "PAYPAL" | "MULTICAIXA_REF" | "SEPA" | "FLOA1XD" | "FLOA3X" | "FLOA4X" | "REVOLUTPAY" | "KLARNA" | "PIX" | "PICKUP" | "MULTICAIXAEXPRESS")[] | undefined;
} | undefined;
}>;
export declare const createRefundParameters: z.ZodObject<{
transactionId: z.ZodString;
isoAmount: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
isoAmount: number;
transactionId: string;
}, {
isoAmount: number;
transactionId: string;
}>;
export declare const retrieveOrderParameters: z.ZodObject<{
orderId: z.ZodString;
}, "strip", z.ZodTypeAny, {
orderId: string;
}, {
orderId: string;
}>;