feat: add new form field components for company details and consumer management
- Implemented CompanyNameComponent, DescriptionComponent, DeviceIdComponent, EconomicCodeComponent, EmailComponent, FirstNameComponent, FiscalCodeComponent, GuildIdComponent, LastNameComponent, LegalNameComponent, LicenseStartsAtComponent, MobileComponent, MobileNumberComponent, ModelComponent, NameComponent, NationalCodeComponent, NationalIdComponent, PartnerTokenComponent, PosTypeComponent, PostalCodeComponent, ProviderIdComponent, QuantityComponent, RegistrationCodeComponent, RegistrationNumberComponent, SerialNumberComponent, SetOffComponent, SkuComponent, TerminalComponent, UnitPriceComponent, UsernameComponent. - Added field control configurations for new fields in the form. - Updated routing and branding configurations for TIS tenant. - Created consumer type models for handling individual and legal consumer data.
This commit is contained in:
@@ -1,13 +1,23 @@
|
||||
import { TAccountType } from '@/core/constants/accountTypes.const';
|
||||
|
||||
export interface IPartnerAccountRawResponse {
|
||||
username: string;
|
||||
id: string;
|
||||
role: string;
|
||||
created_at: string;
|
||||
account: AccountInfo;
|
||||
}
|
||||
export interface IPartnerAccountResponse extends IPartnerAccountRawResponse {}
|
||||
|
||||
export interface IPartnerAccountRequest {
|
||||
username: string;
|
||||
password?: string;
|
||||
type: TAccountType;
|
||||
role?: string;
|
||||
status?: string;
|
||||
// Keep type optional for current form compatibility.
|
||||
type?: TAccountType;
|
||||
}
|
||||
|
||||
interface AccountInfo {
|
||||
username: string;
|
||||
status: string;
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ export interface IAdminPartnerChargeAccountRawResponse {
|
||||
tracking_code: string;
|
||||
activation_expires_at: string;
|
||||
charged_license_count: number;
|
||||
activated_license_count: number;
|
||||
activation_count: number;
|
||||
remained_license_count: number;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ export interface IPartnerChargeLicenseTransactionRawResponse {
|
||||
tracking_code: string;
|
||||
activation_expires_at: string;
|
||||
charged_license_count: number;
|
||||
activated_license_count: number;
|
||||
activation_count: number;
|
||||
remained_license_count: number;
|
||||
}
|
||||
export interface IPartnerChargeLicenseTransactionResponse extends IPartnerChargeLicenseTransactionRawResponse {}
|
||||
|
||||
Reference in New Issue
Block a user