Files
adminpanel/src/services/index.ts

62 lines
1.4 KiB
TypeScript
Raw Normal View History

// API Client
export { default as api } from './api';
export type { ApiResponse, ApiErrorResponse } from './api';
export { getErrorMessage, getFieldErrors } from './api';
// Auth Service
export { authService } from './auth.service';
export type {
LoginRequest,
AuthUser,
AuthResponse,
MessageResponse,
} from './auth.service';
// Users Service
export { usersService } from './users.service';
export type {
User,
UsersListResponse,
UserFilters,
VerificationStatus,
VerificationDocument,
AgentProfileDetails,
} from './users.service';
2026-01-24 03:33:48 +05:30
// Agent Types Service
export { agentTypesService } from './agent-types.service';
export type {
AgentType,
CreateAgentTypeDto,
UpdateAgentTypeDto,
} from './agent-types.service';
// Profile Sections Service
export { profileSectionsService } from './profile-sections.service';
export type {
ProfileSection,
AgentTypeSection,
CreateSectionDto,
UpdateSectionDto,
AssignSectionDto,
UpdateAssignmentDto,
2026-01-24 15:33:11 +05:30
SectionOrderItem,
AgentTypeSectionsResponse,
2026-01-24 03:33:48 +05:30
} from './profile-sections.service';
// Profile Fields Service
export { profileFieldsService, FIELD_TYPES } from './profile-fields.service';
export type {
ProfileField,
FieldType,
FieldOption,
RangeConfig,
FieldValidation,
FieldUiConfig,
CreateFieldDto,
UpdateFieldDto,
} from './profile-fields.service';
// Upload Service
export { uploadService } from './upload.service';