UNPKG

@sonatel-os/juf

Version:

It's an helpful Javascript Utility Framework to ease application development in SONATEL context.

94 lines (93 loc) 3.06 kB
export const CheckoutPaymentStructure: import("superstruct").Struct<{ merchant: { code: number; sitename: string; }; bill: { amount: number; reference: string; }; urls: { failed?: string | undefined; cancel?: string | undefined; success?: string | undefined; callback?: string | undefined; }; }, { merchant: import("superstruct").Struct<{ code: number; sitename: string; }, { code: import("superstruct").Struct<number, null>; sitename: import("superstruct").Struct<string, null>; }>; bill: import("superstruct").Struct<{ amount: number; reference: string; }, { amount: import("superstruct").Struct<number, null>; reference: import("superstruct").Struct<string, null>; }>; urls: import("superstruct").Struct<{ failed?: string | undefined; cancel?: string | undefined; success?: string | undefined; callback?: string | undefined; }, { failed: import("superstruct").Struct<string | undefined, null>; cancel: import("superstruct").Struct<string | undefined, null>; success: import("superstruct").Struct<string | undefined, null>; callback: import("superstruct").Struct<string | undefined, null>; }>; }>; export const QRCodePaymentStructure: import("superstruct").Struct<{ merchant: { code: number; sitename: string; }; bill: { amount: number; reference: string; }; metadata?: any; validity?: number | undefined; urls?: { failed?: string | undefined; cancel?: string | undefined; success?: string | undefined; callback?: string | undefined; } | undefined; }, { merchant: import("superstruct").Struct<{ code: number; sitename: string; }, { code: import("superstruct").Struct<number, null>; sitename: import("superstruct").Struct<string, null>; }>; bill: import("superstruct").Struct<{ amount: number; reference: string; }, { amount: import("superstruct").Struct<number, null>; reference: import("superstruct").Struct<string, null>; }>; urls: import("superstruct").Struct<{ failed?: string | undefined; cancel?: string | undefined; success?: string | undefined; callback?: string | undefined; } | undefined, { failed: import("superstruct").Struct<string | undefined, null>; cancel: import("superstruct").Struct<string | undefined, null>; success: import("superstruct").Struct<string | undefined, null>; callback: import("superstruct").Struct<string | undefined, null>; }>; metadata: import("superstruct").Struct<any, null>; validity: import("superstruct").Struct<number | undefined, null>; }>; export const QRCodeDecodePaymentStructure: import("superstruct").Struct<{ id: string; }, { id: import("superstruct").Struct<string, null>; }>;