2026-05-08 18:08:57 +03:30
|
|
|
import { IEnumTranslate } from '@/shared/models/enum_translate.type';
|
|
|
|
|
|
2026-03-10 13:36:45 +03:30
|
|
|
export interface IPartnerRawResponse {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
code: string;
|
2026-05-08 18:08:57 +03:30
|
|
|
status: IEnumTranslate;
|
2026-04-16 22:19:46 +03:30
|
|
|
created_at: string;
|
2026-04-28 20:06:21 +03:30
|
|
|
logo_url: string;
|
2026-04-16 22:19:46 +03:30
|
|
|
licenses_status: {
|
|
|
|
|
total: number;
|
|
|
|
|
used: number;
|
|
|
|
|
expired: number;
|
|
|
|
|
};
|
2026-04-23 20:59:48 +03:30
|
|
|
account_quota_status: {
|
|
|
|
|
total: number;
|
|
|
|
|
used: number;
|
|
|
|
|
expired: number;
|
|
|
|
|
};
|
2026-04-24 23:01:44 +03:30
|
|
|
license_renew_status: {
|
|
|
|
|
total: number;
|
|
|
|
|
used: number;
|
|
|
|
|
expired: number;
|
|
|
|
|
};
|
2026-03-10 13:36:45 +03:30
|
|
|
}
|
|
|
|
|
export interface IPartnerResponse extends IPartnerRawResponse {}
|
|
|
|
|
|
|
|
|
|
export interface IPartnerRequest {
|
|
|
|
|
name: string;
|
|
|
|
|
code: string;
|
2026-03-14 16:26:22 +03:30
|
|
|
license_quota: number;
|
2026-03-10 13:36:45 +03:30
|
|
|
}
|