26 lines
464 B
TypeScript
26 lines
464 B
TypeScript
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;
|
|
}
|