add tenant and user endpoints, services, models and guards
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
import { DataTableRecord } from '../../../shared/components/data-table/data-table.types';
|
||||
|
||||
|
||||
export interface TenantCurrencyDto {
|
||||
id: string;
|
||||
tenantId: string;
|
||||
tenantName: string;
|
||||
currencyId: string;
|
||||
currencyName: string;
|
||||
isBaseCurrency: boolean;
|
||||
isReporting: boolean;
|
||||
isActive: boolean;
|
||||
createdOn?: string;
|
||||
modifiedOn?: string | null;
|
||||
}
|
||||
|
||||
export interface TenantCurrencyLookupDto {
|
||||
id: string;
|
||||
tenantId: string;
|
||||
currencyId: string;
|
||||
isBaseCurrency: boolean;
|
||||
isReporting: boolean;
|
||||
}
|
||||
|
||||
export interface CreateTenantCurrencyRequest {
|
||||
tenantId: string;
|
||||
currencyId: string;
|
||||
isBaseCurrency: boolean;
|
||||
isReporting: boolean;
|
||||
}
|
||||
|
||||
export interface UpdateTenantCurrencyRequest {
|
||||
isBaseCurrency: boolean;
|
||||
isReporting: boolean;
|
||||
isActive: boolean;
|
||||
}
|
||||
|
||||
|
||||
export interface TenantCurrencyTableRow extends DataTableRecord {
|
||||
readonly id: string;
|
||||
readonly tenantId: string;
|
||||
readonly tenantName: string;
|
||||
readonly currencyId: string;
|
||||
readonly currencyName: string;
|
||||
readonly isBaseCurrency: boolean;
|
||||
readonly isReporting: boolean;
|
||||
readonly isActive: boolean;
|
||||
readonly serialNumber: number;
|
||||
readonly createdOn?: string;
|
||||
readonly modifiedOn?: string | null;
|
||||
}
|
||||
|
||||
export type TenantCurrencyModalMode = 'create' | 'edit';
|
||||
Reference in New Issue
Block a user