refactor user accounts structure

This commit is contained in:
2026-03-16 00:35:34 +03:30
parent 20be653499
commit 3c9f6eed1d
286 changed files with 2812 additions and 1133 deletions
@@ -0,0 +1,13 @@
import { TAccountType } from '@/core/constants/accountTypes.const';
export interface IPartnerAccountRawResponse {
username: string;
id: string;
}
export interface IPartnerAccountResponse extends IPartnerAccountRawResponse {}
export interface IPartnerAccountRequest {
username: string;
password?: string;
type: TAccountType;
}
@@ -0,0 +1,2 @@
export * from './accounts_io';
export * from './io';
@@ -0,0 +1,14 @@
export interface IPartnerRawResponse {
id: string;
name: string;
code: string;
remained_license: number;
license_quota: number;
}
export interface IPartnerResponse extends IPartnerRawResponse {}
export interface IPartnerRequest {
name: string;
code: string;
license_quota: number;
}