a138034c06
- Updated categories component to improve loading state and category display. - Modified order section to handle payment submission with event payload. - Refactored payment form dialog to emit order response on successful payment. - Adjusted order response model to enforce required fields. - Improved root component layout and added success dialog for order submission. - Enhanced sale invoice card component to use new TSP API methods. - Updated API routes for sale invoices to reflect TSP changes. - Improved user interface for business activities and partners sections. - Added card shadow styling for better visual hierarchy. - Introduced new order submitted dialog component for post-order actions. - Cleaned up console logs and improved code readability across components.
33 lines
648 B
TypeScript
33 lines
648 B
TypeScript
import { IEnumTranslate } from '@/shared/models/enum_translate.type';
|
|
|
|
export interface IPartnerRawResponse {
|
|
id: string;
|
|
name: string;
|
|
code: string;
|
|
status: IEnumTranslate;
|
|
created_at: string;
|
|
logo_url: string;
|
|
licenses_status: {
|
|
total: number;
|
|
used: number;
|
|
expired: number;
|
|
};
|
|
account_quota_status: {
|
|
total: number;
|
|
used: number;
|
|
expired: number;
|
|
};
|
|
license_renew_status: {
|
|
total: number;
|
|
used: number;
|
|
expired: number;
|
|
};
|
|
}
|
|
export interface IPartnerResponse extends IPartnerRawResponse {}
|
|
|
|
export interface IPartnerRequest {
|
|
name: string;
|
|
code: string;
|
|
license_quota: number;
|
|
}
|