@sonatel-os/juf
Version:
The community SDK for Orange Money, SMS, Email & Sonatel APIs on the Orange Developer Platform.
102 lines (99 loc) • 3.07 kB
TypeScript
export { P as Payment, Q as QRCodeDecoder } from '../paymentService-DUUFXwSI.js';
import * as superstruct from 'superstruct';
import 'axios';
import '../auth/index.js';
import '../cache-Bxhh3lYR.js';
declare const CheckoutPaymentStructure: 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: superstruct.Struct<{
code: number;
sitename: string;
}, {
code: superstruct.Struct<number, null>;
sitename: superstruct.Struct<string, null>;
}>;
bill: superstruct.Struct<{
amount: number;
reference: string;
}, {
amount: superstruct.Struct<number, null>;
reference: superstruct.Struct<string, null>;
}>;
urls: superstruct.Struct<{
failed?: string | undefined;
cancel?: string | undefined;
success?: string | undefined;
callback?: string | undefined;
}, {
failed: superstruct.Struct<string | undefined, null>;
cancel: superstruct.Struct<string | undefined, null>;
success: superstruct.Struct<string | undefined, null>;
callback: superstruct.Struct<string | undefined, null>;
}>;
}>;
declare const QRCodePaymentStructure: 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;
} | undefined;
metadata?: any;
validity?: number | undefined;
}, {
merchant: superstruct.Struct<{
code: number;
sitename: string;
}, {
code: superstruct.Struct<number, null>;
sitename: superstruct.Struct<string, null>;
}>;
bill: superstruct.Struct<{
amount: number;
reference: string;
}, {
amount: superstruct.Struct<number, null>;
reference: superstruct.Struct<string, null>;
}>;
urls: superstruct.Struct<{
failed?: string | undefined;
cancel?: string | undefined;
success?: string | undefined;
callback?: string | undefined;
} | undefined, {
failed: superstruct.Struct<string | undefined, null>;
cancel: superstruct.Struct<string | undefined, null>;
success: superstruct.Struct<string | undefined, null>;
callback: superstruct.Struct<string | undefined, null>;
}>;
metadata: superstruct.Struct<any, null>;
validity: superstruct.Struct<number | undefined, null>;
}>;
declare const QRCodeDecodePaymentStructure: superstruct.Struct<{
id: string;
}, {
id: superstruct.Struct<string, null>;
}>;
export { CheckoutPaymentStructure, QRCodeDecodePaymentStructure, QRCodePaymentStructure };