Files
psp_panel/src/app/domains/superAdmin/modules/partners/models/io.d.ts
T
ahasani a816c05777 feat: add refresh functionality to various components
- Implemented refresh event emission in multiple list components across partner and superAdmin modules.
- Updated consumers and customers list components to handle refresh actions.
- Enhanced dashboard component to fetch partner info on initialization.
- Introduced new API method in PartnerService to retrieve current partner data.
- Modified PartnerStore to utilize the new API method for fetching partner information.
- Updated UI elements to reflect changes in partner and license management, including new fields for license renewals.
- Added a new POS display component for better presentation of POS terminal information.
- Updated layout service and top bar to reflect new titles and improve user experience.
- Refactored existing components to ensure consistency and maintainability.
2026-04-24 23:01:44 +03:30

30 lines
549 B
TypeScript

export interface IPartnerRawResponse {
id: string;
name: string;
code: string;
status: string;
created_at: 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;
}