@alba-cars/common-modules 2.12.5 → 2.12.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -42
- package/dist/core/enums/Analytics.d.ts +24 -24
- package/dist/core/enums/HttpMethods.d.ts +12 -12
- package/dist/core/enums/HttpStatusCodes.d.ts +18 -18
- package/dist/core/enums/index.d.ts +3 -3
- package/dist/core/error-handling/AppError.d.ts +23 -23
- package/dist/core/error-handling/index.d.ts +1 -1
- package/dist/core/index.d.ts +5 -5
- package/dist/core/models/index.d.ts +3 -3
- package/dist/core/models/media/index.d.ts +1 -1
- package/dist/core/models/media/media_data.d.ts +5 -5
- package/dist/core/models/pagination/index.d.ts +1 -1
- package/dist/core/models/pagination/paginated_data.d.ts +23 -23
- package/dist/core/models/range.d.ts +4 -4
- package/dist/core/network/endpoint-config.d.ts +155 -155
- package/dist/core/network/fetch-api.d.ts +62 -62
- package/dist/core/network/index.d.ts +2 -2
- package/dist/core/utils/formatCurrency.d.ts +11 -11
- package/dist/core/utils/global-constants.d.ts +6 -6
- package/dist/core/utils/global-utils.d.ts +108 -108
- package/dist/core/utils/global_validators.d.ts +2 -2
- package/dist/core/utils/index.d.ts +4 -4
- package/dist/core/utils/query_flatten.d.ts +1 -1
- package/dist/features/auth/data/dto/AuthDTO.d.ts +32 -32
- package/dist/features/auth/data/dto/RoleDTO.d.ts +41 -41
- package/dist/features/auth/data/dto/UserDTO.d.ts +71 -71
- package/dist/features/auth/data/index.d.ts +3 -3
- package/dist/features/auth/index.d.ts +1 -1
- package/dist/features/bank-valuation-request/data/dto/BankValuationRequestDTO.d.ts +55 -55
- package/dist/features/bank-valuation-request/index.d.ts +1 -1
- package/dist/features/blog/data/dto/BlogDTO.d.ts +73 -73
- package/dist/features/blog/index.d.ts +1 -1
- package/dist/features/callback-request/data/dto/CallBackRequestDTO.d.ts +32 -32
- package/dist/features/callback-request/index.d.ts +1 -1
- package/dist/features/deposits/data/dto/DepositDTOs.d.ts +84 -84
- package/dist/features/deposits/data/index.d.ts +1 -1
- package/dist/features/deposits/index.d.ts +1 -1
- package/dist/features/faq/data/dtos/CreateFaqDTO.d.ts +15 -15
- package/dist/features/faq/data/dtos/FaqFetchDTO.d.ts +105 -105
- package/dist/features/faq/data/dtos/UpdateFaqDTO.d.ts +15 -15
- package/dist/features/faq/data/dtos/index.d.ts +3 -3
- package/dist/features/faq/data/enums/index.d.ts +6 -6
- package/dist/features/faq/data/index.d.ts +2 -2
- package/dist/features/faq/index.d.ts +1 -1
- package/dist/features/finance-eligibilty-request/data/dto/FinanceEligibilityRequestDTO.d.ts +144 -144
- package/dist/features/finance-eligibilty-request/data/index.d.ts +1 -1
- package/dist/features/finance-eligibilty-request/index.d.ts +1 -1
- package/dist/features/google-review/data/dto/google_review_dto.d.ts +103 -103
- package/dist/features/google-review/data/dto/index.d.ts +1 -1
- package/dist/features/google-review/data/enums/index.d.ts +4 -4
- package/dist/features/google-review/data/index.d.ts +2 -2
- package/dist/features/google-review/index.d.ts +1 -1
- package/dist/features/index.d.ts +18 -18
- package/dist/features/lead/data/dto/index.d.ts +4 -4
- package/dist/features/lead/data/dto/lead_documents_dto.d.ts +24 -24
- package/dist/features/lead/data/dto/lead_dto.d.ts +104 -104
- package/dist/features/lead/data/dto/lead_preference_history_dto.d.ts +84 -84
- package/dist/features/lead/data/dto/lead_prefernce_dto.d.ts +68 -68
- package/dist/features/lead/data/enum/index.d.ts +2 -2
- package/dist/features/lead/data/enum/lead_source_status_types.d.ts +15 -15
- package/dist/features/lead/data/enum/lead_status_type.d.ts +8 -8
- package/dist/features/lead/index.d.ts +2 -2
- package/dist/features/models/Bank.d.ts +9 -9
- package/dist/features/models/BankValuationRequest.d.ts +63 -63
- package/dist/features/models/BankValuationResult.d.ts +24 -24
- package/dist/features/models/Base.d.ts +12 -12
- package/dist/features/models/Color.d.ts +10 -10
- package/dist/features/models/Deposit.d.ts +18 -18
- package/dist/features/models/Lead.d.ts +25 -25
- package/dist/features/models/Payment.d.ts +46 -46
- package/dist/features/models/Roles.d.ts +7 -7
- package/dist/features/models/Ticket.d.ts +51 -51
- package/dist/features/models/User.d.ts +24 -24
- package/dist/features/models/UserFavoriteVehicle.d.ts +9 -9
- package/dist/features/models/Vehicle.d.ts +76 -76
- package/dist/features/models/VehicleBodyType.d.ts +8 -8
- package/dist/features/models/VehicleCategory.d.ts +6 -6
- package/dist/features/models/VehicleFeature.d.ts +10 -10
- package/dist/features/models/VehicleFeatureCategory.d.ts +7 -7
- package/dist/features/models/VehicleFinance.d.ts +24 -24
- package/dist/features/models/VehicleMake.d.ts +14 -14
- package/dist/features/models/VehicleMedia.d.ts +12 -12
- package/dist/features/models/VehicleMetaData.d.ts +11 -11
- package/dist/features/models/VehicleModel.d.ts +17 -17
- package/dist/features/models/VehicleOrder.d.ts +14 -14
- package/dist/features/models/_index.d.ts +14 -14
- package/dist/features/models/index.d.ts +21 -21
- package/dist/features/newsletter/data/dto/NewsletterDTO.d.ts +17 -17
- package/dist/features/newsletter/index.d.ts +1 -1
- package/dist/features/sales-team/data/dto/LanguageDTO.d.ts +20 -20
- package/dist/features/sales-team/data/dto/SalesAgentDTO.d.ts +191 -191
- package/dist/features/sales-team/data/index.d.ts +2 -2
- package/dist/features/sales-team/index.d.ts +1 -1
- package/dist/features/sell-car-request/data/dto/SellCarRequestDTO.d.ts +203 -203
- package/dist/features/sell-car-request/data/index.d.ts +1 -1
- package/dist/features/sell-car-request/index.d.ts +1 -1
- package/dist/features/showroom-visit/data/dto/ShowroomVisit.d.ts +69 -69
- package/dist/features/showroom-visit/data/enums/index.d.ts +11 -11
- package/dist/features/showroom-visit/data/index.d.ts +2 -2
- package/dist/features/showroom-visit/index.d.ts +1 -1
- package/dist/features/test-drive-request/api/GetTestDriveVehicles.d.ts +3 -3
- package/dist/features/test-drive-request/api/index.d.ts +1 -1
- package/dist/features/test-drive-request/data/dto/TestDriveRequestDTO.d.ts +51 -51
- package/dist/features/test-drive-request/data/enums/index.d.ts +24 -24
- package/dist/features/test-drive-request/data/index.d.ts +4 -4
- package/dist/features/test-drive-request/data/models/TestDriveRequest.d.ts +14 -14
- package/dist/features/test-drive-request/data/models/index.d.ts +2 -2
- package/dist/features/test-drive-request/data/utilities.d.ts +30 -30
- package/dist/features/test-drive-request/index.d.ts +2 -2
- package/dist/features/tickets/data/dto/TicketDto.d.ts +69 -69
- package/dist/features/tickets/data/enums/index.d.ts +18 -18
- package/dist/features/tickets/index.d.ts +2 -2
- package/dist/features/vehicle/data/dto/BaseDTO.d.ts +9 -9
- package/dist/features/vehicle/data/dto/ColorDTO.d.ts +10 -10
- package/dist/features/vehicle/data/dto/MediaDTO.d.ts +5 -5
- package/dist/features/vehicle/data/dto/PaymentDTO.d.ts +52 -52
- package/dist/features/vehicle/data/dto/SimilarVehicleDTO.d.ts +12 -12
- package/dist/features/vehicle/data/dto/VehicleCategoryDTO.d.ts +39 -39
- package/dist/features/vehicle/data/dto/VehicleDTO.d.ts +143 -143
- package/dist/features/vehicle/data/dto/VehicleFavoritesDTO.d.ts +14 -14
- package/dist/features/vehicle/data/dto/VehicleFeatureCategoriesDTO.d.ts +39 -39
- package/dist/features/vehicle/data/dto/VehicleFeatureDTO.d.ts +40 -40
- package/dist/features/vehicle/data/dto/VehicleFilterDTO.d.ts +257 -257
- package/dist/features/vehicle/data/dto/VehicleFinanceDTO.d.ts +63 -63
- package/dist/features/vehicle/data/dto/VehicleInspectionDTO.d.ts +147 -147
- package/dist/features/vehicle/data/dto/VehicleMakeDTO.d.ts +52 -52
- package/dist/features/vehicle/data/dto/VehicleMedia.d.ts +44 -44
- package/dist/features/vehicle/data/dto/VehicleModelDTO.d.ts +50 -50
- package/dist/features/vehicle/data/dto/VehicleOrderDTO.d.ts +34 -34
- package/dist/features/vehicle/data/dto/VehicleTypeDTO.d.ts +35 -35
- package/dist/features/vehicle/data/dto/VehicleWarrantyDTO.d.ts +9 -9
- package/dist/features/vehicle/data/dto/index.d.ts +20 -20
- package/dist/features/vehicle/data/enums/index.d.ts +40 -40
- package/dist/features/vehicle/data/index.d.ts +3 -3
- package/dist/features/vehicle/data/utilities.d.ts +185 -185
- package/dist/features/vehicle/index.d.ts +1 -1
- package/dist/features/vehicle-reservations/data/dto/VehicleReservationDTO.d.ts +106 -106
- package/dist/features/vehicle-reservations/data/dto/index.d.ts +1 -1
- package/dist/features/vehicle-reservations/data/enums/finance-type.d.ts +5 -5
- package/dist/features/vehicle-reservations/data/enums/index.d.ts +3 -3
- package/dist/features/vehicle-reservations/data/enums/reservation-type.d.ts +9 -9
- package/dist/features/vehicle-reservations/data/enums/vehicle-reservation-type.d.ts +4 -4
- package/dist/features/vehicle-reservations/index.d.ts +2 -2
- package/dist/global/dto/BaseGetDTO.d.ts +8 -8
- package/dist/global/dto/index.d.ts +1 -1
- package/dist/global/index.d.ts +2 -2
- package/dist/global/utilities.d.ts +53 -53
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1 -1
- package/dist/models.d.ts +1 -1
- package/package.json +62 -62
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { BaseModel } from "./Base";
|
|
2
|
-
import { Vehicle } from "./Vehicle";
|
|
3
|
-
export declare class VehicleMetaData extends BaseModel {
|
|
4
|
-
vehicleId: string;
|
|
5
|
-
metaTitle?: string;
|
|
6
|
-
metaDescription?: string;
|
|
7
|
-
metaKeywords?: string;
|
|
8
|
-
vehicleDescription: string;
|
|
9
|
-
vehicle: Vehicle;
|
|
10
|
-
others?: Record<string, string>[];
|
|
11
|
-
}
|
|
1
|
+
import { BaseModel } from "./Base";
|
|
2
|
+
import { Vehicle } from "./Vehicle";
|
|
3
|
+
export declare class VehicleMetaData extends BaseModel {
|
|
4
|
+
vehicleId: string;
|
|
5
|
+
metaTitle?: string;
|
|
6
|
+
metaDescription?: string;
|
|
7
|
+
metaKeywords?: string;
|
|
8
|
+
vehicleDescription: string;
|
|
9
|
+
vehicle: Vehicle;
|
|
10
|
+
others?: Record<string, string>[];
|
|
11
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { BaseModel } from "./Base";
|
|
2
|
-
import { Vehicle } from "./Vehicle";
|
|
3
|
-
import { VehicleBodyType } from "./VehicleBodyType";
|
|
4
|
-
import { VehicleMake } from "./VehicleMake";
|
|
5
|
-
export declare class VehicleModel extends BaseModel {
|
|
6
|
-
name: string;
|
|
7
|
-
make: VehicleMake;
|
|
8
|
-
year: number;
|
|
9
|
-
slug: string;
|
|
10
|
-
metaTitle?: string;
|
|
11
|
-
metaDescription?: string;
|
|
12
|
-
metaKeywords?: string;
|
|
13
|
-
vehicles?: Vehicle[];
|
|
14
|
-
image?: string;
|
|
15
|
-
description?: string;
|
|
16
|
-
bodyType: VehicleBodyType;
|
|
17
|
-
}
|
|
1
|
+
import { BaseModel } from "./Base";
|
|
2
|
+
import { Vehicle } from "./Vehicle";
|
|
3
|
+
import { VehicleBodyType } from "./VehicleBodyType";
|
|
4
|
+
import { VehicleMake } from "./VehicleMake";
|
|
5
|
+
export declare class VehicleModel extends BaseModel {
|
|
6
|
+
name: string;
|
|
7
|
+
make: VehicleMake;
|
|
8
|
+
year: number;
|
|
9
|
+
slug: string;
|
|
10
|
+
metaTitle?: string;
|
|
11
|
+
metaDescription?: string;
|
|
12
|
+
metaKeywords?: string;
|
|
13
|
+
vehicles?: Vehicle[];
|
|
14
|
+
image?: string;
|
|
15
|
+
description?: string;
|
|
16
|
+
bodyType: VehicleBodyType;
|
|
17
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { BaseModel } from "./Base";
|
|
2
|
-
import { Payment } from "./Payment";
|
|
3
|
-
import { Vehicle } from "./Vehicle";
|
|
4
|
-
export declare class VehicleOrder extends BaseModel {
|
|
5
|
-
userId: string;
|
|
6
|
-
vehicleId: string;
|
|
7
|
-
paymentId: string;
|
|
8
|
-
orderAmount: number;
|
|
9
|
-
reservationComment: string;
|
|
10
|
-
cancellationComment: string;
|
|
11
|
-
status: string;
|
|
12
|
-
vehicle: Vehicle;
|
|
13
|
-
payment: Payment;
|
|
14
|
-
}
|
|
1
|
+
import { BaseModel } from "./Base";
|
|
2
|
+
import { Payment } from "./Payment";
|
|
3
|
+
import { Vehicle } from "./Vehicle";
|
|
4
|
+
export declare class VehicleOrder extends BaseModel {
|
|
5
|
+
userId: string;
|
|
6
|
+
vehicleId: string;
|
|
7
|
+
paymentId: string;
|
|
8
|
+
orderAmount: number;
|
|
9
|
+
reservationComment: string;
|
|
10
|
+
cancellationComment: string;
|
|
11
|
+
status: string;
|
|
12
|
+
vehicle: Vehicle;
|
|
13
|
+
payment: Payment;
|
|
14
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export * from "./Base";
|
|
2
|
-
export * from "./Payment";
|
|
3
|
-
export * from "./User";
|
|
4
|
-
export * from "./Vehicle";
|
|
5
|
-
export * from "./VehicleBodyType";
|
|
6
|
-
export * from "./VehicleCategory";
|
|
7
|
-
export * from "./VehicleFeature";
|
|
8
|
-
export * from "./VehicleFeatureCategory";
|
|
9
|
-
export * from "./VehicleFinance";
|
|
10
|
-
export * from "./VehicleMake";
|
|
11
|
-
export * from "./VehicleMedia";
|
|
12
|
-
export * from "./VehicleMetaData";
|
|
13
|
-
export * from "./VehicleModel";
|
|
14
|
-
export * from "./VehicleOrder";
|
|
1
|
+
export * from "./Base";
|
|
2
|
+
export * from "./Payment";
|
|
3
|
+
export * from "./User";
|
|
4
|
+
export * from "./Vehicle";
|
|
5
|
+
export * from "./VehicleBodyType";
|
|
6
|
+
export * from "./VehicleCategory";
|
|
7
|
+
export * from "./VehicleFeature";
|
|
8
|
+
export * from "./VehicleFeatureCategory";
|
|
9
|
+
export * from "./VehicleFinance";
|
|
10
|
+
export * from "./VehicleMake";
|
|
11
|
+
export * from "./VehicleMedia";
|
|
12
|
+
export * from "./VehicleMetaData";
|
|
13
|
+
export * from "./VehicleModel";
|
|
14
|
+
export * from "./VehicleOrder";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { BaseModel } from "./Base";
|
|
2
|
-
import { Vehicle } from "./Vehicle";
|
|
3
|
-
import { VehicleOrder } from "./VehicleOrder";
|
|
4
|
-
import { VehicleFeature } from "./VehicleFeature";
|
|
5
|
-
import { VehicleFeatureCategory } from "./VehicleFeatureCategory";
|
|
6
|
-
import { VehicleBodyType } from "./VehicleBodyType";
|
|
7
|
-
import { Payment } from "./Payment";
|
|
8
|
-
import { User } from "./User";
|
|
9
|
-
import { VehicleFinance } from "./VehicleFinance";
|
|
10
|
-
import { VehicleMake } from "./VehicleMake";
|
|
11
|
-
import { VehicleModel } from "./VehicleModel";
|
|
12
|
-
import { VehicleMedia } from "./VehicleMedia";
|
|
13
|
-
import { VehicleMetaData } from "./VehicleMetaData";
|
|
14
|
-
import { Deposit } from "./Deposit";
|
|
15
|
-
import { Lead } from "./Lead";
|
|
16
|
-
import { Ticket, TicketDocument, TicketMessage } from "./Ticket";
|
|
17
|
-
import { BankValuationRequest, BankValuationRequestStatusType, BankValuationRequestStatus } from "./BankValuationRequest";
|
|
18
|
-
import { Color } from "./Color";
|
|
19
|
-
import { BankValuationResult } from "./BankValuationResult";
|
|
20
|
-
import { Bank } from "./Bank";
|
|
21
|
-
export { BaseModel, Vehicle, VehicleOrder, VehicleFeature, VehicleFeatureCategory, VehicleBodyType, Payment, User, VehicleFinance, VehicleMake, VehicleModel, VehicleMedia, VehicleMetaData, Deposit, Lead, Ticket, TicketDocument, TicketMessage, BankValuationRequest, Color, BankValuationResult, BankValuationRequestStatusType, BankValuationRequestStatus, Bank, };
|
|
1
|
+
import { BaseModel } from "./Base";
|
|
2
|
+
import { Vehicle } from "./Vehicle";
|
|
3
|
+
import { VehicleOrder } from "./VehicleOrder";
|
|
4
|
+
import { VehicleFeature } from "./VehicleFeature";
|
|
5
|
+
import { VehicleFeatureCategory } from "./VehicleFeatureCategory";
|
|
6
|
+
import { VehicleBodyType } from "./VehicleBodyType";
|
|
7
|
+
import { Payment } from "./Payment";
|
|
8
|
+
import { User } from "./User";
|
|
9
|
+
import { VehicleFinance } from "./VehicleFinance";
|
|
10
|
+
import { VehicleMake } from "./VehicleMake";
|
|
11
|
+
import { VehicleModel } from "./VehicleModel";
|
|
12
|
+
import { VehicleMedia } from "./VehicleMedia";
|
|
13
|
+
import { VehicleMetaData } from "./VehicleMetaData";
|
|
14
|
+
import { Deposit } from "./Deposit";
|
|
15
|
+
import { Lead } from "./Lead";
|
|
16
|
+
import { Ticket, TicketDocument, TicketMessage } from "./Ticket";
|
|
17
|
+
import { BankValuationRequest, BankValuationRequestStatusType, BankValuationRequestStatus } from "./BankValuationRequest";
|
|
18
|
+
import { Color } from "./Color";
|
|
19
|
+
import { BankValuationResult } from "./BankValuationResult";
|
|
20
|
+
import { Bank } from "./Bank";
|
|
21
|
+
export { BaseModel, Vehicle, VehicleOrder, VehicleFeature, VehicleFeatureCategory, VehicleBodyType, Payment, User, VehicleFinance, VehicleMake, VehicleModel, VehicleMedia, VehicleMetaData, Deposit, Lead, Ticket, TicketDocument, TicketMessage, BankValuationRequest, Color, BankValuationResult, BankValuationRequestStatusType, BankValuationRequestStatus, Bank, };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export declare class NewsletterCreateDTO {
|
|
2
|
-
fullName?: string;
|
|
3
|
-
phone?: string;
|
|
4
|
-
email: string;
|
|
5
|
-
subscribe: boolean;
|
|
6
|
-
validate(): string[];
|
|
7
|
-
static fromPlain(plain: Record<string, unknown>): NewsletterCreateDTO;
|
|
8
|
-
toPlain(): Record<string, unknown>;
|
|
9
|
-
}
|
|
10
|
-
export declare class NewsletterUpdateDTO {
|
|
11
|
-
fullName?: string;
|
|
12
|
-
phone?: string;
|
|
13
|
-
email?: string;
|
|
14
|
-
subscribe?: boolean;
|
|
15
|
-
validate(): string[];
|
|
16
|
-
static fromPlain(plain: Record<string, unknown>): NewsletterUpdateDTO;
|
|
17
|
-
}
|
|
1
|
+
export declare class NewsletterCreateDTO {
|
|
2
|
+
fullName?: string;
|
|
3
|
+
phone?: string;
|
|
4
|
+
email: string;
|
|
5
|
+
subscribe: boolean;
|
|
6
|
+
validate(): string[];
|
|
7
|
+
static fromPlain(plain: Record<string, unknown>): NewsletterCreateDTO;
|
|
8
|
+
toPlain(): Record<string, unknown>;
|
|
9
|
+
}
|
|
10
|
+
export declare class NewsletterUpdateDTO {
|
|
11
|
+
fullName?: string;
|
|
12
|
+
phone?: string;
|
|
13
|
+
email?: string;
|
|
14
|
+
subscribe?: boolean;
|
|
15
|
+
validate(): string[];
|
|
16
|
+
static fromPlain(plain: Record<string, unknown>): NewsletterUpdateDTO;
|
|
17
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./data/dto/NewsletterDTO";
|
|
1
|
+
export * from "./data/dto/NewsletterDTO";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export declare class LanguageDTO {
|
|
2
|
-
id: string;
|
|
3
|
-
code: string;
|
|
4
|
-
name: string;
|
|
5
|
-
static fromEntity(entity: any): LanguageDTO;
|
|
6
|
-
}
|
|
7
|
-
export declare class LanguageCreateDTO {
|
|
8
|
-
code: string;
|
|
9
|
-
name: string;
|
|
10
|
-
isActive?: boolean;
|
|
11
|
-
validate(): string[];
|
|
12
|
-
static fromPlain(plain: Record<string, unknown>): LanguageCreateDTO;
|
|
13
|
-
}
|
|
14
|
-
export declare class LanguageUpdateDTO {
|
|
15
|
-
code?: string;
|
|
16
|
-
name?: string;
|
|
17
|
-
isActive?: boolean;
|
|
18
|
-
validate(): string[];
|
|
19
|
-
static fromPlain(plain: Record<string, unknown>): LanguageUpdateDTO;
|
|
20
|
-
}
|
|
1
|
+
export declare class LanguageDTO {
|
|
2
|
+
id: string;
|
|
3
|
+
code: string;
|
|
4
|
+
name: string;
|
|
5
|
+
static fromEntity(entity: any): LanguageDTO;
|
|
6
|
+
}
|
|
7
|
+
export declare class LanguageCreateDTO {
|
|
8
|
+
code: string;
|
|
9
|
+
name: string;
|
|
10
|
+
isActive?: boolean;
|
|
11
|
+
validate(): string[];
|
|
12
|
+
static fromPlain(plain: Record<string, unknown>): LanguageCreateDTO;
|
|
13
|
+
}
|
|
14
|
+
export declare class LanguageUpdateDTO {
|
|
15
|
+
code?: string;
|
|
16
|
+
name?: string;
|
|
17
|
+
isActive?: boolean;
|
|
18
|
+
validate(): string[];
|
|
19
|
+
static fromPlain(plain: Record<string, unknown>): LanguageUpdateDTO;
|
|
20
|
+
}
|
|
@@ -1,191 +1,191 @@
|
|
|
1
|
-
import { UserCreateDTO, UserGetDTO, UserUpdateDTO } from "../../../auth";
|
|
2
|
-
export declare enum Designation {
|
|
3
|
-
SALES_MANAGER = "sales-manager",
|
|
4
|
-
SALES_EXECUTIVE = "sales-executive",
|
|
5
|
-
CO_FOUNDER = "co-founder",
|
|
6
|
-
CHIEF_SALES_OFFICER = "chief sales officer",
|
|
7
|
-
CHIEF_PURCHASING_OFFICER = "Chief Purchasing Officer",
|
|
8
|
-
PURCHASE_MANAGER = "Purchase Manager",
|
|
9
|
-
PURCHASER = "Purchaser",
|
|
10
|
-
FINANCE_MANAGER = "Finance Manager",
|
|
11
|
-
HEAD_OF_ACCOUNTS = "Head of Accounts",
|
|
12
|
-
CHIEF_MARKETING_OFFICER = "Chief Marketing Officer",
|
|
13
|
-
MARKETING_MANAGER = "Marketing Manager",
|
|
14
|
-
AFTERCARE_DIRECTOR = "Aftercare Director",
|
|
15
|
-
SALES_COORDINATOR = "sales-coordinator",
|
|
16
|
-
AFTERCARE = "aftercare",
|
|
17
|
-
DIRECTOR_OF_TECHNOLOGY = "Director of Technology",
|
|
18
|
-
PURCHASE_EXECUTIVE = "Purchase Executive",
|
|
19
|
-
RELATIONSHIP_MANAGER = "Relationship Manager",
|
|
20
|
-
SALES_CONTROLLER = "Sales Controller",
|
|
21
|
-
LOGISTICS_MANAGER = "Logistics Manager"
|
|
22
|
-
}
|
|
23
|
-
export declare enum TeamCategory {
|
|
24
|
-
SALES = "sales",
|
|
25
|
-
MANAGEMENT = "management",
|
|
26
|
-
PURCHASES = "purchases",
|
|
27
|
-
SALES_COORDINATOR = "sales-coordinator",
|
|
28
|
-
AFTERCARE = "aftercare"
|
|
29
|
-
}
|
|
30
|
-
export declare enum Languages {
|
|
31
|
-
ARABIC = "Arabic",
|
|
32
|
-
AFRIKAANS = "Afrikaans",
|
|
33
|
-
PERSIAN = "Persian",
|
|
34
|
-
TURKISH = "Turkish",
|
|
35
|
-
HEBREW = "Hebrew",
|
|
36
|
-
HINDI = "Hindi",
|
|
37
|
-
URDU = "Urdu",
|
|
38
|
-
BENGALI = "Bengali",
|
|
39
|
-
PUNJABI = "Punjabi",
|
|
40
|
-
MALAYALAM = "Malayalam",
|
|
41
|
-
TAMIL = "Tamil",
|
|
42
|
-
TELUGU = "Telugu",
|
|
43
|
-
SINHALESE = "Sinhalese",
|
|
44
|
-
MANDARIN = "Mandarin",
|
|
45
|
-
CANTONESE = "Cantonese",
|
|
46
|
-
KOREAN = "Korean",
|
|
47
|
-
JAPANESE = "Japanese",
|
|
48
|
-
VIETNAMESE = "Vietnamese",
|
|
49
|
-
THAI = "Thai",
|
|
50
|
-
TAGALOG = "Tagalog",
|
|
51
|
-
FILIPINO = "Filipino",
|
|
52
|
-
INDONESIAN = "Indonesian",
|
|
53
|
-
MALAY = "Malay",
|
|
54
|
-
ENGLISH = "English",
|
|
55
|
-
FRENCH = "French",
|
|
56
|
-
GERMAN = "German",
|
|
57
|
-
SPANISH = "Spanish",
|
|
58
|
-
ITALIAN = "Italian",
|
|
59
|
-
RUSSIAN = "Russian",
|
|
60
|
-
PORTUGUESE = "Portuguese",
|
|
61
|
-
SWAHILI = "Swahili",
|
|
62
|
-
AMHARIC = "Amharic",
|
|
63
|
-
SOMALI = "Somali",
|
|
64
|
-
ROMANIAN = "Romanian",
|
|
65
|
-
SWEDISH = "Swedish"
|
|
66
|
-
}
|
|
67
|
-
export declare class SalesAgentFilterDTO {
|
|
68
|
-
search?: string;
|
|
69
|
-
name?: string;
|
|
70
|
-
email?: string;
|
|
71
|
-
phone?: string;
|
|
72
|
-
status?: number;
|
|
73
|
-
teamCategory?: TeamCategory;
|
|
74
|
-
designation?: Designation;
|
|
75
|
-
sortOrder?: number;
|
|
76
|
-
languages?: Languages[];
|
|
77
|
-
isActive?: boolean;
|
|
78
|
-
createdAtStart?: Date;
|
|
79
|
-
createdAtEnd?: Date;
|
|
80
|
-
lastLoginStart?: Date;
|
|
81
|
-
lastLoginEnd?: Date;
|
|
82
|
-
nationality?: string;
|
|
83
|
-
previousWorkplace?: string;
|
|
84
|
-
validate(): string[];
|
|
85
|
-
static fromPlain(plain: Record<string, unknown>): SalesAgentFilterDTO;
|
|
86
|
-
toPlain(): Record<string, unknown>;
|
|
87
|
-
}
|
|
88
|
-
export declare class SalesAgentOptionsDTO {
|
|
89
|
-
page?: number;
|
|
90
|
-
limit?: number;
|
|
91
|
-
sortBy?: string;
|
|
92
|
-
sortOrder?: "ASC" | "DESC";
|
|
93
|
-
includeInactive?: boolean;
|
|
94
|
-
searchQuery?: string;
|
|
95
|
-
validate(): string[];
|
|
96
|
-
static fromPlain(plain: Record<string, unknown>): SalesAgentOptionsDTO;
|
|
97
|
-
toPlain(): Record<string, unknown>;
|
|
98
|
-
}
|
|
99
|
-
export declare class SalesAgentGetDTO {
|
|
100
|
-
id: string;
|
|
101
|
-
refId: number;
|
|
102
|
-
user: UserGetDTO;
|
|
103
|
-
name: string;
|
|
104
|
-
phone: string;
|
|
105
|
-
email: string;
|
|
106
|
-
photo?: string;
|
|
107
|
-
agentShortIntro?: string;
|
|
108
|
-
agentIntro?: string;
|
|
109
|
-
sortOrder?: number;
|
|
110
|
-
bioVideoUrl?: string;
|
|
111
|
-
status: number;
|
|
112
|
-
teamCategory: TeamCategory;
|
|
113
|
-
designation: Designation;
|
|
114
|
-
languages: Languages[];
|
|
115
|
-
filter?: SalesAgentFilterDTO;
|
|
116
|
-
options?: SalesAgentOptionsDTO;
|
|
117
|
-
nationality?: string;
|
|
118
|
-
previousWorkplace?: string;
|
|
119
|
-
static fromPlain(plain: Record<string, unknown>): SalesAgentGetDTO;
|
|
120
|
-
static toPlain(instance: SalesAgentGetDTO): Record<string, unknown>;
|
|
121
|
-
toPlain(): Record<string, unknown>;
|
|
122
|
-
}
|
|
123
|
-
export declare class SalesAgentResponseDTO {
|
|
124
|
-
id: string;
|
|
125
|
-
refId: number;
|
|
126
|
-
user: UserGetDTO;
|
|
127
|
-
name: string;
|
|
128
|
-
phone: string;
|
|
129
|
-
email: string;
|
|
130
|
-
photo?: string;
|
|
131
|
-
agentShortIntro?: string;
|
|
132
|
-
agentIntro?: string;
|
|
133
|
-
bioVideoUrl?: string;
|
|
134
|
-
status: number;
|
|
135
|
-
sortOrder?: number;
|
|
136
|
-
teamCategory: TeamCategory;
|
|
137
|
-
designation: Designation;
|
|
138
|
-
languages: Languages[];
|
|
139
|
-
isActive: boolean;
|
|
140
|
-
createdAt: Date;
|
|
141
|
-
updatedAt: Date;
|
|
142
|
-
lastLogin?: Date;
|
|
143
|
-
nationality?: string;
|
|
144
|
-
previousWorkplace?: string;
|
|
145
|
-
validate(): string[];
|
|
146
|
-
static fromPlain(plain: Record<string, unknown>): SalesAgentResponseDTO;
|
|
147
|
-
toPlain(): Record<string, unknown>;
|
|
148
|
-
}
|
|
149
|
-
export declare class SalesAgentCreateDTO {
|
|
150
|
-
name: string;
|
|
151
|
-
phone?: string;
|
|
152
|
-
email: string;
|
|
153
|
-
sortOrder?: number;
|
|
154
|
-
photo?: string;
|
|
155
|
-
agentShortIntro?: string;
|
|
156
|
-
agentIntro?: string;
|
|
157
|
-
bioVideoUrl?: string;
|
|
158
|
-
status?: number;
|
|
159
|
-
teamCategory: TeamCategory;
|
|
160
|
-
designation: Designation;
|
|
161
|
-
languages: Languages[];
|
|
162
|
-
nationality?: string;
|
|
163
|
-
previousWorkplace?: string;
|
|
164
|
-
validate(): string[];
|
|
165
|
-
toUserDTO(): UserCreateDTO;
|
|
166
|
-
toSalesAgentData(): Partial<any>;
|
|
167
|
-
static fromPlain(plain: Record<string, unknown>): SalesAgentCreateDTO;
|
|
168
|
-
toPlain(): Record<string, unknown>;
|
|
169
|
-
}
|
|
170
|
-
export declare class SalesAgentUpdateDTO {
|
|
171
|
-
name?: string;
|
|
172
|
-
phone?: string;
|
|
173
|
-
email?: string;
|
|
174
|
-
photo?: string;
|
|
175
|
-
agentShortIntro?: string;
|
|
176
|
-
sortOrder?: number;
|
|
177
|
-
agentIntro?: string;
|
|
178
|
-
bioVideoUrl?: string;
|
|
179
|
-
status?: number;
|
|
180
|
-
teamCategory?: TeamCategory;
|
|
181
|
-
designation?: Designation;
|
|
182
|
-
languages?: Languages[];
|
|
183
|
-
isActive?: boolean;
|
|
184
|
-
nationality?: string;
|
|
185
|
-
previousWorkplace?: string;
|
|
186
|
-
validate(): string[];
|
|
187
|
-
toUserDTO(): UserUpdateDTO;
|
|
188
|
-
toSalesAgentData(): Partial<any>;
|
|
189
|
-
static fromPlain(plain: Record<string, unknown>): SalesAgentUpdateDTO;
|
|
190
|
-
toPlain(): Record<string, unknown>;
|
|
191
|
-
}
|
|
1
|
+
import { UserCreateDTO, UserGetDTO, UserUpdateDTO } from "../../../auth";
|
|
2
|
+
export declare enum Designation {
|
|
3
|
+
SALES_MANAGER = "sales-manager",
|
|
4
|
+
SALES_EXECUTIVE = "sales-executive",
|
|
5
|
+
CO_FOUNDER = "co-founder",
|
|
6
|
+
CHIEF_SALES_OFFICER = "chief sales officer",
|
|
7
|
+
CHIEF_PURCHASING_OFFICER = "Chief Purchasing Officer",
|
|
8
|
+
PURCHASE_MANAGER = "Purchase Manager",
|
|
9
|
+
PURCHASER = "Purchaser",
|
|
10
|
+
FINANCE_MANAGER = "Finance Manager",
|
|
11
|
+
HEAD_OF_ACCOUNTS = "Head of Accounts",
|
|
12
|
+
CHIEF_MARKETING_OFFICER = "Chief Marketing Officer",
|
|
13
|
+
MARKETING_MANAGER = "Marketing Manager",
|
|
14
|
+
AFTERCARE_DIRECTOR = "Aftercare Director",
|
|
15
|
+
SALES_COORDINATOR = "sales-coordinator",
|
|
16
|
+
AFTERCARE = "aftercare",
|
|
17
|
+
DIRECTOR_OF_TECHNOLOGY = "Director of Technology",
|
|
18
|
+
PURCHASE_EXECUTIVE = "Purchase Executive",
|
|
19
|
+
RELATIONSHIP_MANAGER = "Relationship Manager",
|
|
20
|
+
SALES_CONTROLLER = "Sales Controller",
|
|
21
|
+
LOGISTICS_MANAGER = "Logistics Manager"
|
|
22
|
+
}
|
|
23
|
+
export declare enum TeamCategory {
|
|
24
|
+
SALES = "sales",
|
|
25
|
+
MANAGEMENT = "management",
|
|
26
|
+
PURCHASES = "purchases",
|
|
27
|
+
SALES_COORDINATOR = "sales-coordinator",
|
|
28
|
+
AFTERCARE = "aftercare"
|
|
29
|
+
}
|
|
30
|
+
export declare enum Languages {
|
|
31
|
+
ARABIC = "Arabic",
|
|
32
|
+
AFRIKAANS = "Afrikaans",
|
|
33
|
+
PERSIAN = "Persian",
|
|
34
|
+
TURKISH = "Turkish",
|
|
35
|
+
HEBREW = "Hebrew",
|
|
36
|
+
HINDI = "Hindi",
|
|
37
|
+
URDU = "Urdu",
|
|
38
|
+
BENGALI = "Bengali",
|
|
39
|
+
PUNJABI = "Punjabi",
|
|
40
|
+
MALAYALAM = "Malayalam",
|
|
41
|
+
TAMIL = "Tamil",
|
|
42
|
+
TELUGU = "Telugu",
|
|
43
|
+
SINHALESE = "Sinhalese",
|
|
44
|
+
MANDARIN = "Mandarin",
|
|
45
|
+
CANTONESE = "Cantonese",
|
|
46
|
+
KOREAN = "Korean",
|
|
47
|
+
JAPANESE = "Japanese",
|
|
48
|
+
VIETNAMESE = "Vietnamese",
|
|
49
|
+
THAI = "Thai",
|
|
50
|
+
TAGALOG = "Tagalog",
|
|
51
|
+
FILIPINO = "Filipino",
|
|
52
|
+
INDONESIAN = "Indonesian",
|
|
53
|
+
MALAY = "Malay",
|
|
54
|
+
ENGLISH = "English",
|
|
55
|
+
FRENCH = "French",
|
|
56
|
+
GERMAN = "German",
|
|
57
|
+
SPANISH = "Spanish",
|
|
58
|
+
ITALIAN = "Italian",
|
|
59
|
+
RUSSIAN = "Russian",
|
|
60
|
+
PORTUGUESE = "Portuguese",
|
|
61
|
+
SWAHILI = "Swahili",
|
|
62
|
+
AMHARIC = "Amharic",
|
|
63
|
+
SOMALI = "Somali",
|
|
64
|
+
ROMANIAN = "Romanian",
|
|
65
|
+
SWEDISH = "Swedish"
|
|
66
|
+
}
|
|
67
|
+
export declare class SalesAgentFilterDTO {
|
|
68
|
+
search?: string;
|
|
69
|
+
name?: string;
|
|
70
|
+
email?: string;
|
|
71
|
+
phone?: string;
|
|
72
|
+
status?: number;
|
|
73
|
+
teamCategory?: TeamCategory;
|
|
74
|
+
designation?: Designation;
|
|
75
|
+
sortOrder?: number;
|
|
76
|
+
languages?: Languages[];
|
|
77
|
+
isActive?: boolean;
|
|
78
|
+
createdAtStart?: Date;
|
|
79
|
+
createdAtEnd?: Date;
|
|
80
|
+
lastLoginStart?: Date;
|
|
81
|
+
lastLoginEnd?: Date;
|
|
82
|
+
nationality?: string;
|
|
83
|
+
previousWorkplace?: string;
|
|
84
|
+
validate(): string[];
|
|
85
|
+
static fromPlain(plain: Record<string, unknown>): SalesAgentFilterDTO;
|
|
86
|
+
toPlain(): Record<string, unknown>;
|
|
87
|
+
}
|
|
88
|
+
export declare class SalesAgentOptionsDTO {
|
|
89
|
+
page?: number;
|
|
90
|
+
limit?: number;
|
|
91
|
+
sortBy?: string;
|
|
92
|
+
sortOrder?: "ASC" | "DESC";
|
|
93
|
+
includeInactive?: boolean;
|
|
94
|
+
searchQuery?: string;
|
|
95
|
+
validate(): string[];
|
|
96
|
+
static fromPlain(plain: Record<string, unknown>): SalesAgentOptionsDTO;
|
|
97
|
+
toPlain(): Record<string, unknown>;
|
|
98
|
+
}
|
|
99
|
+
export declare class SalesAgentGetDTO {
|
|
100
|
+
id: string;
|
|
101
|
+
refId: number;
|
|
102
|
+
user: UserGetDTO;
|
|
103
|
+
name: string;
|
|
104
|
+
phone: string;
|
|
105
|
+
email: string;
|
|
106
|
+
photo?: string;
|
|
107
|
+
agentShortIntro?: string;
|
|
108
|
+
agentIntro?: string;
|
|
109
|
+
sortOrder?: number;
|
|
110
|
+
bioVideoUrl?: string;
|
|
111
|
+
status: number;
|
|
112
|
+
teamCategory: TeamCategory;
|
|
113
|
+
designation: Designation;
|
|
114
|
+
languages: Languages[];
|
|
115
|
+
filter?: SalesAgentFilterDTO;
|
|
116
|
+
options?: SalesAgentOptionsDTO;
|
|
117
|
+
nationality?: string;
|
|
118
|
+
previousWorkplace?: string;
|
|
119
|
+
static fromPlain(plain: Record<string, unknown>): SalesAgentGetDTO;
|
|
120
|
+
static toPlain(instance: SalesAgentGetDTO): Record<string, unknown>;
|
|
121
|
+
toPlain(): Record<string, unknown>;
|
|
122
|
+
}
|
|
123
|
+
export declare class SalesAgentResponseDTO {
|
|
124
|
+
id: string;
|
|
125
|
+
refId: number;
|
|
126
|
+
user: UserGetDTO;
|
|
127
|
+
name: string;
|
|
128
|
+
phone: string;
|
|
129
|
+
email: string;
|
|
130
|
+
photo?: string;
|
|
131
|
+
agentShortIntro?: string;
|
|
132
|
+
agentIntro?: string;
|
|
133
|
+
bioVideoUrl?: string;
|
|
134
|
+
status: number;
|
|
135
|
+
sortOrder?: number;
|
|
136
|
+
teamCategory: TeamCategory;
|
|
137
|
+
designation: Designation;
|
|
138
|
+
languages: Languages[];
|
|
139
|
+
isActive: boolean;
|
|
140
|
+
createdAt: Date;
|
|
141
|
+
updatedAt: Date;
|
|
142
|
+
lastLogin?: Date;
|
|
143
|
+
nationality?: string;
|
|
144
|
+
previousWorkplace?: string;
|
|
145
|
+
validate(): string[];
|
|
146
|
+
static fromPlain(plain: Record<string, unknown>): SalesAgentResponseDTO;
|
|
147
|
+
toPlain(): Record<string, unknown>;
|
|
148
|
+
}
|
|
149
|
+
export declare class SalesAgentCreateDTO {
|
|
150
|
+
name: string;
|
|
151
|
+
phone?: string;
|
|
152
|
+
email: string;
|
|
153
|
+
sortOrder?: number;
|
|
154
|
+
photo?: string;
|
|
155
|
+
agentShortIntro?: string;
|
|
156
|
+
agentIntro?: string;
|
|
157
|
+
bioVideoUrl?: string;
|
|
158
|
+
status?: number;
|
|
159
|
+
teamCategory: TeamCategory;
|
|
160
|
+
designation: Designation;
|
|
161
|
+
languages: Languages[];
|
|
162
|
+
nationality?: string;
|
|
163
|
+
previousWorkplace?: string;
|
|
164
|
+
validate(): string[];
|
|
165
|
+
toUserDTO(): UserCreateDTO;
|
|
166
|
+
toSalesAgentData(): Partial<any>;
|
|
167
|
+
static fromPlain(plain: Record<string, unknown>): SalesAgentCreateDTO;
|
|
168
|
+
toPlain(): Record<string, unknown>;
|
|
169
|
+
}
|
|
170
|
+
export declare class SalesAgentUpdateDTO {
|
|
171
|
+
name?: string;
|
|
172
|
+
phone?: string;
|
|
173
|
+
email?: string;
|
|
174
|
+
photo?: string;
|
|
175
|
+
agentShortIntro?: string;
|
|
176
|
+
sortOrder?: number;
|
|
177
|
+
agentIntro?: string;
|
|
178
|
+
bioVideoUrl?: string;
|
|
179
|
+
status?: number;
|
|
180
|
+
teamCategory?: TeamCategory;
|
|
181
|
+
designation?: Designation;
|
|
182
|
+
languages?: Languages[];
|
|
183
|
+
isActive?: boolean;
|
|
184
|
+
nationality?: string;
|
|
185
|
+
previousWorkplace?: string;
|
|
186
|
+
validate(): string[];
|
|
187
|
+
toUserDTO(): UserUpdateDTO;
|
|
188
|
+
toSalesAgentData(): Partial<any>;
|
|
189
|
+
static fromPlain(plain: Record<string, unknown>): SalesAgentUpdateDTO;
|
|
190
|
+
toPlain(): Record<string, unknown>;
|
|
191
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./dto/SalesAgentDTO";
|
|
2
|
-
export * from "./dto/LanguageDTO";
|
|
1
|
+
export * from "./dto/SalesAgentDTO";
|
|
2
|
+
export * from "./dto/LanguageDTO";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./data";
|
|
1
|
+
export * from "./data";
|