feat: implement billing, usage tracking, and administrative geocoding features in API with infrastructure updates
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
export declare enum PaymentStatus {
|
||||
PENDING = "PENDING",
|
||||
SUCCESS = "SUCCESS",
|
||||
FAILED = "FAILED",
|
||||
REFUNDED = "REFUNDED"
|
||||
}
|
||||
export declare enum PaymentProvider {
|
||||
PAYMOB = "PAYMOB",
|
||||
BINANCE = "BINANCE",
|
||||
MANUAL = "MANUAL"
|
||||
}
|
||||
export declare class Transaction {
|
||||
id: string;
|
||||
tenantId: string;
|
||||
subscriptionId: string;
|
||||
amount: number;
|
||||
currency: string;
|
||||
provider: PaymentProvider;
|
||||
externalTransactionId: string;
|
||||
status: PaymentStatus;
|
||||
metadata: Record<string, any>;
|
||||
createdAt: Date;
|
||||
}
|
||||
Reference in New Issue
Block a user