chore: implenet the external invoice 2
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user