chore: implenet the external invoice 2

This commit is contained in:
mahyargdz
2025-07-14 12:29:00 +03:30
parent 1794b36758
commit 9d46c4f20b
12 changed files with 409 additions and 21 deletions
@@ -0,0 +1,25 @@
export class InvoiceItemDto {
name: string;
count: number;
unitPrice: number;
discount: number;
}
export interface IDanakCorpQuotaPurchaseRequest {
businessId: string;
danakSubscriptionId: string;
quotaAmount: number;
items: InvoiceItemDto[];
description?: string;
}
export interface IDanakCorpQuotaPurchaseResponse {
success: boolean;
data?: {
invoice: {
id: string;
[key: string]: unknown;
};
};
error?: string;
}