@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,103 +1,103 @@
|
|
|
1
|
-
import { ReviewPlatform } from '../enums';
|
|
2
|
-
export declare class ReviewDTO {
|
|
3
|
-
id: string;
|
|
4
|
-
username: string;
|
|
5
|
-
photo?: string;
|
|
6
|
-
platform: ReviewPlatform;
|
|
7
|
-
comment: string;
|
|
8
|
-
minRating: number;
|
|
9
|
-
showPublic: boolean;
|
|
10
|
-
placeId?: string;
|
|
11
|
-
createdAt: Date;
|
|
12
|
-
updatedAt?: Date;
|
|
13
|
-
authorUrl?: string;
|
|
14
|
-
profilePhotoUrl?: string;
|
|
15
|
-
}
|
|
16
|
-
export declare class GoogleReviewDTO {
|
|
17
|
-
authorName: string;
|
|
18
|
-
authorUrl?: string;
|
|
19
|
-
profilePhotoUrl?: string;
|
|
20
|
-
rating: number;
|
|
21
|
-
text: string;
|
|
22
|
-
time: number;
|
|
23
|
-
relativeTimeDescription?: string;
|
|
24
|
-
placeId: string;
|
|
25
|
-
}
|
|
26
|
-
export declare class FetchGoogleReviewsDTO {
|
|
27
|
-
placeId: string;
|
|
28
|
-
fetch: boolean;
|
|
29
|
-
}
|
|
30
|
-
export declare class SaveGoogleReviewDTO {
|
|
31
|
-
username: string;
|
|
32
|
-
rating: number;
|
|
33
|
-
comment: string;
|
|
34
|
-
date: Date;
|
|
35
|
-
showPublic?: boolean;
|
|
36
|
-
}
|
|
37
|
-
export declare class GoogleReviewResponseDTO {
|
|
38
|
-
success: boolean;
|
|
39
|
-
message: string;
|
|
40
|
-
data: GoogleReviewDTO[];
|
|
41
|
-
}
|
|
42
|
-
export declare class ReviewGetDTO {
|
|
43
|
-
id: string;
|
|
44
|
-
placeId?: string;
|
|
45
|
-
platform?: ReviewPlatform;
|
|
46
|
-
comment?: string;
|
|
47
|
-
username?: string;
|
|
48
|
-
photo?: string;
|
|
49
|
-
showPublic?: boolean;
|
|
50
|
-
minRating?: number;
|
|
51
|
-
maxRating?: number;
|
|
52
|
-
skip?: number;
|
|
53
|
-
take?: number;
|
|
54
|
-
filters?: ReviewFilter;
|
|
55
|
-
options?: ReviewOptions;
|
|
56
|
-
validate(): string[];
|
|
57
|
-
static fromPlain(plain: Record<string, unknown>): ReviewGetDTO;
|
|
58
|
-
static toPlain(entity: any): Record<string, unknown>;
|
|
59
|
-
}
|
|
60
|
-
export declare class ReviewFilter {
|
|
61
|
-
id?: string;
|
|
62
|
-
placeId?: string;
|
|
63
|
-
platform?: ReviewPlatform;
|
|
64
|
-
comment?: string;
|
|
65
|
-
username?: string;
|
|
66
|
-
showPublic?: boolean;
|
|
67
|
-
search?: string;
|
|
68
|
-
minRating?: number;
|
|
69
|
-
maxRating?: number;
|
|
70
|
-
}
|
|
71
|
-
export declare class ReviewOptions {
|
|
72
|
-
skip?: number;
|
|
73
|
-
take?: number;
|
|
74
|
-
orderBy?: string;
|
|
75
|
-
orderDirection?: 'ASC' | 'DESC';
|
|
76
|
-
page?: number;
|
|
77
|
-
limit?: number;
|
|
78
|
-
}
|
|
79
|
-
export declare class UpdateReviewDTO {
|
|
80
|
-
id: string;
|
|
81
|
-
username?: string;
|
|
82
|
-
photo?: string;
|
|
83
|
-
platform?: ReviewPlatform;
|
|
84
|
-
comment?: string;
|
|
85
|
-
rating?: number;
|
|
86
|
-
showPublic?: boolean;
|
|
87
|
-
placeId?: string;
|
|
88
|
-
updatedAt?: Date;
|
|
89
|
-
}
|
|
90
|
-
export declare class CreateReviewDTO {
|
|
91
|
-
username?: string;
|
|
92
|
-
photo?: string;
|
|
93
|
-
platform?: ReviewPlatform;
|
|
94
|
-
comment?: string;
|
|
95
|
-
rating?: number;
|
|
96
|
-
showPublic?: boolean;
|
|
97
|
-
placeId?: string;
|
|
98
|
-
date?: Date;
|
|
99
|
-
}
|
|
100
|
-
export declare class UpdateReviewShowPublicDTO {
|
|
101
|
-
id: string;
|
|
102
|
-
showPublic: boolean;
|
|
103
|
-
}
|
|
1
|
+
import { ReviewPlatform } from '../enums';
|
|
2
|
+
export declare class ReviewDTO {
|
|
3
|
+
id: string;
|
|
4
|
+
username: string;
|
|
5
|
+
photo?: string;
|
|
6
|
+
platform: ReviewPlatform;
|
|
7
|
+
comment: string;
|
|
8
|
+
minRating: number;
|
|
9
|
+
showPublic: boolean;
|
|
10
|
+
placeId?: string;
|
|
11
|
+
createdAt: Date;
|
|
12
|
+
updatedAt?: Date;
|
|
13
|
+
authorUrl?: string;
|
|
14
|
+
profilePhotoUrl?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare class GoogleReviewDTO {
|
|
17
|
+
authorName: string;
|
|
18
|
+
authorUrl?: string;
|
|
19
|
+
profilePhotoUrl?: string;
|
|
20
|
+
rating: number;
|
|
21
|
+
text: string;
|
|
22
|
+
time: number;
|
|
23
|
+
relativeTimeDescription?: string;
|
|
24
|
+
placeId: string;
|
|
25
|
+
}
|
|
26
|
+
export declare class FetchGoogleReviewsDTO {
|
|
27
|
+
placeId: string;
|
|
28
|
+
fetch: boolean;
|
|
29
|
+
}
|
|
30
|
+
export declare class SaveGoogleReviewDTO {
|
|
31
|
+
username: string;
|
|
32
|
+
rating: number;
|
|
33
|
+
comment: string;
|
|
34
|
+
date: Date;
|
|
35
|
+
showPublic?: boolean;
|
|
36
|
+
}
|
|
37
|
+
export declare class GoogleReviewResponseDTO {
|
|
38
|
+
success: boolean;
|
|
39
|
+
message: string;
|
|
40
|
+
data: GoogleReviewDTO[];
|
|
41
|
+
}
|
|
42
|
+
export declare class ReviewGetDTO {
|
|
43
|
+
id: string;
|
|
44
|
+
placeId?: string;
|
|
45
|
+
platform?: ReviewPlatform;
|
|
46
|
+
comment?: string;
|
|
47
|
+
username?: string;
|
|
48
|
+
photo?: string;
|
|
49
|
+
showPublic?: boolean;
|
|
50
|
+
minRating?: number;
|
|
51
|
+
maxRating?: number;
|
|
52
|
+
skip?: number;
|
|
53
|
+
take?: number;
|
|
54
|
+
filters?: ReviewFilter;
|
|
55
|
+
options?: ReviewOptions;
|
|
56
|
+
validate(): string[];
|
|
57
|
+
static fromPlain(plain: Record<string, unknown>): ReviewGetDTO;
|
|
58
|
+
static toPlain(entity: any): Record<string, unknown>;
|
|
59
|
+
}
|
|
60
|
+
export declare class ReviewFilter {
|
|
61
|
+
id?: string;
|
|
62
|
+
placeId?: string;
|
|
63
|
+
platform?: ReviewPlatform;
|
|
64
|
+
comment?: string;
|
|
65
|
+
username?: string;
|
|
66
|
+
showPublic?: boolean;
|
|
67
|
+
search?: string;
|
|
68
|
+
minRating?: number;
|
|
69
|
+
maxRating?: number;
|
|
70
|
+
}
|
|
71
|
+
export declare class ReviewOptions {
|
|
72
|
+
skip?: number;
|
|
73
|
+
take?: number;
|
|
74
|
+
orderBy?: string;
|
|
75
|
+
orderDirection?: 'ASC' | 'DESC';
|
|
76
|
+
page?: number;
|
|
77
|
+
limit?: number;
|
|
78
|
+
}
|
|
79
|
+
export declare class UpdateReviewDTO {
|
|
80
|
+
id: string;
|
|
81
|
+
username?: string;
|
|
82
|
+
photo?: string;
|
|
83
|
+
platform?: ReviewPlatform;
|
|
84
|
+
comment?: string;
|
|
85
|
+
rating?: number;
|
|
86
|
+
showPublic?: boolean;
|
|
87
|
+
placeId?: string;
|
|
88
|
+
updatedAt?: Date;
|
|
89
|
+
}
|
|
90
|
+
export declare class CreateReviewDTO {
|
|
91
|
+
username?: string;
|
|
92
|
+
photo?: string;
|
|
93
|
+
platform?: ReviewPlatform;
|
|
94
|
+
comment?: string;
|
|
95
|
+
rating?: number;
|
|
96
|
+
showPublic?: boolean;
|
|
97
|
+
placeId?: string;
|
|
98
|
+
date?: Date;
|
|
99
|
+
}
|
|
100
|
+
export declare class UpdateReviewShowPublicDTO {
|
|
101
|
+
id: string;
|
|
102
|
+
showPublic: boolean;
|
|
103
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./google_review_dto";
|
|
1
|
+
export * from "./google_review_dto";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum ReviewPlatform {
|
|
2
|
-
GOOGLE = "Google",
|
|
3
|
-
DUBAI_REVIEW = "DubaiReview"
|
|
4
|
-
}
|
|
1
|
+
export declare enum ReviewPlatform {
|
|
2
|
+
GOOGLE = "Google",
|
|
3
|
+
DUBAI_REVIEW = "DubaiReview"
|
|
4
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './dto';
|
|
2
|
-
export * from "./enums/index";
|
|
1
|
+
export * from './dto';
|
|
2
|
+
export * from "./enums/index";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './data';
|
|
1
|
+
export * from './data';
|
package/dist/features/index.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export * from "./blog";
|
|
2
|
-
export * from "./newsletter";
|
|
3
|
-
export * from "./sales-team";
|
|
4
|
-
export * from "./showroom-visit";
|
|
5
|
-
export * from "./test-drive-request";
|
|
6
|
-
export * from "./vehicle";
|
|
7
|
-
export * from "./sell-car-request";
|
|
8
|
-
export * from "./finance-eligibilty-request";
|
|
9
|
-
export * from "./vehicle-reservations";
|
|
10
|
-
export * from "./auth";
|
|
11
|
-
export * from "./google-review";
|
|
12
|
-
export * from "./deposits";
|
|
13
|
-
export * from "./lead";
|
|
14
|
-
export * from "./faq/";
|
|
15
|
-
export * from "./tickets";
|
|
16
|
-
export * from "./models";
|
|
17
|
-
export * from "./callback-request";
|
|
18
|
-
export * from "./bank-valuation-request";
|
|
1
|
+
export * from "./blog";
|
|
2
|
+
export * from "./newsletter";
|
|
3
|
+
export * from "./sales-team";
|
|
4
|
+
export * from "./showroom-visit";
|
|
5
|
+
export * from "./test-drive-request";
|
|
6
|
+
export * from "./vehicle";
|
|
7
|
+
export * from "./sell-car-request";
|
|
8
|
+
export * from "./finance-eligibilty-request";
|
|
9
|
+
export * from "./vehicle-reservations";
|
|
10
|
+
export * from "./auth";
|
|
11
|
+
export * from "./google-review";
|
|
12
|
+
export * from "./deposits";
|
|
13
|
+
export * from "./lead";
|
|
14
|
+
export * from "./faq/";
|
|
15
|
+
export * from "./tickets";
|
|
16
|
+
export * from "./models";
|
|
17
|
+
export * from "./callback-request";
|
|
18
|
+
export * from "./bank-valuation-request";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./lead_dto";
|
|
2
|
-
export * from "./lead_preference_history_dto";
|
|
3
|
-
export * from "./lead_prefernce_dto";
|
|
4
|
-
export * from "./lead_documents_dto";
|
|
1
|
+
export * from "./lead_dto";
|
|
2
|
+
export * from "./lead_preference_history_dto";
|
|
3
|
+
export * from "./lead_prefernce_dto";
|
|
4
|
+
export * from "./lead_documents_dto";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export declare class CreateUserDocumentDto {
|
|
2
|
-
url: string;
|
|
3
|
-
fileName?: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
fileType: 'image' | 'pdf' | 'unknown';
|
|
6
|
-
ownerId: string;
|
|
7
|
-
}
|
|
8
|
-
export declare class UserDocumentResponseDto {
|
|
9
|
-
id: string;
|
|
10
|
-
url: string;
|
|
11
|
-
fileName?: string;
|
|
12
|
-
description?: string;
|
|
13
|
-
fileType: 'image' | 'pdf' | 'unknown';
|
|
14
|
-
ownerId: string;
|
|
15
|
-
createdAt: Date;
|
|
16
|
-
updatedAt: Date;
|
|
17
|
-
constructor(partial: Partial<UserDocumentResponseDto>);
|
|
18
|
-
}
|
|
19
|
-
export declare class UpdateUserDocumentDto {
|
|
20
|
-
url?: string;
|
|
21
|
-
fileName?: string;
|
|
22
|
-
description?: string;
|
|
23
|
-
fileType?: 'image' | 'pdf' | 'unknown';
|
|
24
|
-
}
|
|
1
|
+
export declare class CreateUserDocumentDto {
|
|
2
|
+
url: string;
|
|
3
|
+
fileName?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
fileType: 'image' | 'pdf' | 'unknown';
|
|
6
|
+
ownerId: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class UserDocumentResponseDto {
|
|
9
|
+
id: string;
|
|
10
|
+
url: string;
|
|
11
|
+
fileName?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
fileType: 'image' | 'pdf' | 'unknown';
|
|
14
|
+
ownerId: string;
|
|
15
|
+
createdAt: Date;
|
|
16
|
+
updatedAt: Date;
|
|
17
|
+
constructor(partial: Partial<UserDocumentResponseDto>);
|
|
18
|
+
}
|
|
19
|
+
export declare class UpdateUserDocumentDto {
|
|
20
|
+
url?: string;
|
|
21
|
+
fileName?: string;
|
|
22
|
+
description?: string;
|
|
23
|
+
fileType?: 'image' | 'pdf' | 'unknown';
|
|
24
|
+
}
|
|
@@ -1,104 +1,104 @@
|
|
|
1
|
-
import { LeadStatus } from "../enum/lead_status_type";
|
|
2
|
-
import { LeadSource } from "../enum/lead_source_status_types";
|
|
3
|
-
import { LeadPreferencesDTO } from "./lead_prefernce_dto";
|
|
4
|
-
import { LeadPreferencesCreateDTO } from "./lead_prefernce_dto";
|
|
5
|
-
import { TypedFilter, TypedOptions } from "../../../../global/utilities";
|
|
6
|
-
import { BaseGetDTO } from "../../../../global";
|
|
7
|
-
import { Deposit } from "../../../models/Deposit";
|
|
8
|
-
export declare class LeadDTO {
|
|
9
|
-
id: string;
|
|
10
|
-
firstName: string;
|
|
11
|
-
lastName: string;
|
|
12
|
-
email?: string;
|
|
13
|
-
phone: string;
|
|
14
|
-
alternatePhone?: string;
|
|
15
|
-
address?: string;
|
|
16
|
-
city?: string;
|
|
17
|
-
state?: string;
|
|
18
|
-
zipCode?: string;
|
|
19
|
-
status: LeadStatus;
|
|
20
|
-
notes?: string;
|
|
21
|
-
leadSource: LeadSource;
|
|
22
|
-
isTestDriveScheduled: boolean;
|
|
23
|
-
testDriveDate?: Date;
|
|
24
|
-
isActive: boolean;
|
|
25
|
-
lastContactedAt?: Date;
|
|
26
|
-
preference?: LeadPreferencesDTO;
|
|
27
|
-
deposits?: Deposit[];
|
|
28
|
-
validate(): string[];
|
|
29
|
-
static fromPlain(plain: Record<string, unknown>): LeadDTO;
|
|
30
|
-
toPlain(): Record<string, unknown>;
|
|
31
|
-
}
|
|
32
|
-
export declare class LeadUpdateDTO {
|
|
33
|
-
firstName?: string;
|
|
34
|
-
lastName?: string;
|
|
35
|
-
email?: string;
|
|
36
|
-
phone?: string;
|
|
37
|
-
alternatePhone?: string;
|
|
38
|
-
address?: string;
|
|
39
|
-
city?: string;
|
|
40
|
-
state?: string;
|
|
41
|
-
zipCode?: string;
|
|
42
|
-
status?: LeadStatus;
|
|
43
|
-
notes?: string;
|
|
44
|
-
leadSource?: LeadSource;
|
|
45
|
-
isTestDriveScheduled?: boolean;
|
|
46
|
-
testDriveDate?: Date;
|
|
47
|
-
isActive?: boolean;
|
|
48
|
-
preference?: LeadPreferencesDTO;
|
|
49
|
-
validate(): string[];
|
|
50
|
-
static fromPlain(plain: Record<string, unknown>): LeadUpdateDTO;
|
|
51
|
-
toPlain(): Record<string, unknown>;
|
|
52
|
-
}
|
|
53
|
-
export declare class LeadCreateDTO {
|
|
54
|
-
firstName: string;
|
|
55
|
-
lastName: string;
|
|
56
|
-
email?: string;
|
|
57
|
-
phone: string;
|
|
58
|
-
alternatePhone?: string;
|
|
59
|
-
address?: string;
|
|
60
|
-
city?: string;
|
|
61
|
-
state?: string;
|
|
62
|
-
country?: string;
|
|
63
|
-
zipCode?: string;
|
|
64
|
-
company?: string;
|
|
65
|
-
jobTitle?: string;
|
|
66
|
-
notes?: string;
|
|
67
|
-
source?: string;
|
|
68
|
-
status?: string;
|
|
69
|
-
assignedTo?: string;
|
|
70
|
-
leadType?: string;
|
|
71
|
-
leadStage?: string;
|
|
72
|
-
rating?: number;
|
|
73
|
-
isQualified?: boolean;
|
|
74
|
-
lastContactDate?: Date;
|
|
75
|
-
lastContactType?: string;
|
|
76
|
-
totalInteractions?: number;
|
|
77
|
-
preference?: LeadPreferencesCreateDTO;
|
|
78
|
-
validate(): string[];
|
|
79
|
-
static fromPlain(plain: Record<string, unknown>): LeadCreateDTO;
|
|
80
|
-
toPlain(): Record<string, unknown>;
|
|
81
|
-
}
|
|
82
|
-
export declare class LeadFilter extends TypedFilter {
|
|
83
|
-
id?: string | string[];
|
|
84
|
-
firstName?: string | string[];
|
|
85
|
-
lastName?: string | string[];
|
|
86
|
-
email?: string | string[];
|
|
87
|
-
phone?: string | string[];
|
|
88
|
-
status?: LeadStatus | LeadStatus[];
|
|
89
|
-
leadSource?: LeadSource | LeadSource[];
|
|
90
|
-
isTestDriveScheduled?: boolean;
|
|
91
|
-
isActive?: boolean;
|
|
92
|
-
search?: string;
|
|
93
|
-
lastContactedAt?: Date;
|
|
94
|
-
fromDate?: Date;
|
|
95
|
-
toDate?: Date;
|
|
96
|
-
}
|
|
97
|
-
export declare class LeadOptions extends TypedOptions<LeadDTO> {
|
|
98
|
-
}
|
|
99
|
-
export declare class LeadGetDTO extends BaseGetDTO<LeadDTO, LeadFilter> {
|
|
100
|
-
filters?: LeadFilter;
|
|
101
|
-
options?: LeadOptions;
|
|
102
|
-
static fromPlain<T extends BaseGetDTO<LeadDTO, LeadFilter>>(this: new () => T, plain: Record<string, unknown>): T;
|
|
103
|
-
toPlain(): Record<string, unknown>;
|
|
104
|
-
}
|
|
1
|
+
import { LeadStatus } from "../enum/lead_status_type";
|
|
2
|
+
import { LeadSource } from "../enum/lead_source_status_types";
|
|
3
|
+
import { LeadPreferencesDTO } from "./lead_prefernce_dto";
|
|
4
|
+
import { LeadPreferencesCreateDTO } from "./lead_prefernce_dto";
|
|
5
|
+
import { TypedFilter, TypedOptions } from "../../../../global/utilities";
|
|
6
|
+
import { BaseGetDTO } from "../../../../global";
|
|
7
|
+
import { Deposit } from "../../../models/Deposit";
|
|
8
|
+
export declare class LeadDTO {
|
|
9
|
+
id: string;
|
|
10
|
+
firstName: string;
|
|
11
|
+
lastName: string;
|
|
12
|
+
email?: string;
|
|
13
|
+
phone: string;
|
|
14
|
+
alternatePhone?: string;
|
|
15
|
+
address?: string;
|
|
16
|
+
city?: string;
|
|
17
|
+
state?: string;
|
|
18
|
+
zipCode?: string;
|
|
19
|
+
status: LeadStatus;
|
|
20
|
+
notes?: string;
|
|
21
|
+
leadSource: LeadSource;
|
|
22
|
+
isTestDriveScheduled: boolean;
|
|
23
|
+
testDriveDate?: Date;
|
|
24
|
+
isActive: boolean;
|
|
25
|
+
lastContactedAt?: Date;
|
|
26
|
+
preference?: LeadPreferencesDTO;
|
|
27
|
+
deposits?: Deposit[];
|
|
28
|
+
validate(): string[];
|
|
29
|
+
static fromPlain(plain: Record<string, unknown>): LeadDTO;
|
|
30
|
+
toPlain(): Record<string, unknown>;
|
|
31
|
+
}
|
|
32
|
+
export declare class LeadUpdateDTO {
|
|
33
|
+
firstName?: string;
|
|
34
|
+
lastName?: string;
|
|
35
|
+
email?: string;
|
|
36
|
+
phone?: string;
|
|
37
|
+
alternatePhone?: string;
|
|
38
|
+
address?: string;
|
|
39
|
+
city?: string;
|
|
40
|
+
state?: string;
|
|
41
|
+
zipCode?: string;
|
|
42
|
+
status?: LeadStatus;
|
|
43
|
+
notes?: string;
|
|
44
|
+
leadSource?: LeadSource;
|
|
45
|
+
isTestDriveScheduled?: boolean;
|
|
46
|
+
testDriveDate?: Date;
|
|
47
|
+
isActive?: boolean;
|
|
48
|
+
preference?: LeadPreferencesDTO;
|
|
49
|
+
validate(): string[];
|
|
50
|
+
static fromPlain(plain: Record<string, unknown>): LeadUpdateDTO;
|
|
51
|
+
toPlain(): Record<string, unknown>;
|
|
52
|
+
}
|
|
53
|
+
export declare class LeadCreateDTO {
|
|
54
|
+
firstName: string;
|
|
55
|
+
lastName: string;
|
|
56
|
+
email?: string;
|
|
57
|
+
phone: string;
|
|
58
|
+
alternatePhone?: string;
|
|
59
|
+
address?: string;
|
|
60
|
+
city?: string;
|
|
61
|
+
state?: string;
|
|
62
|
+
country?: string;
|
|
63
|
+
zipCode?: string;
|
|
64
|
+
company?: string;
|
|
65
|
+
jobTitle?: string;
|
|
66
|
+
notes?: string;
|
|
67
|
+
source?: string;
|
|
68
|
+
status?: string;
|
|
69
|
+
assignedTo?: string;
|
|
70
|
+
leadType?: string;
|
|
71
|
+
leadStage?: string;
|
|
72
|
+
rating?: number;
|
|
73
|
+
isQualified?: boolean;
|
|
74
|
+
lastContactDate?: Date;
|
|
75
|
+
lastContactType?: string;
|
|
76
|
+
totalInteractions?: number;
|
|
77
|
+
preference?: LeadPreferencesCreateDTO;
|
|
78
|
+
validate(): string[];
|
|
79
|
+
static fromPlain(plain: Record<string, unknown>): LeadCreateDTO;
|
|
80
|
+
toPlain(): Record<string, unknown>;
|
|
81
|
+
}
|
|
82
|
+
export declare class LeadFilter extends TypedFilter {
|
|
83
|
+
id?: string | string[];
|
|
84
|
+
firstName?: string | string[];
|
|
85
|
+
lastName?: string | string[];
|
|
86
|
+
email?: string | string[];
|
|
87
|
+
phone?: string | string[];
|
|
88
|
+
status?: LeadStatus | LeadStatus[];
|
|
89
|
+
leadSource?: LeadSource | LeadSource[];
|
|
90
|
+
isTestDriveScheduled?: boolean;
|
|
91
|
+
isActive?: boolean;
|
|
92
|
+
search?: string;
|
|
93
|
+
lastContactedAt?: Date;
|
|
94
|
+
fromDate?: Date;
|
|
95
|
+
toDate?: Date;
|
|
96
|
+
}
|
|
97
|
+
export declare class LeadOptions extends TypedOptions<LeadDTO> {
|
|
98
|
+
}
|
|
99
|
+
export declare class LeadGetDTO extends BaseGetDTO<LeadDTO, LeadFilter> {
|
|
100
|
+
filters?: LeadFilter;
|
|
101
|
+
options?: LeadOptions;
|
|
102
|
+
static fromPlain<T extends BaseGetDTO<LeadDTO, LeadFilter>>(this: new () => T, plain: Record<string, unknown>): T;
|
|
103
|
+
toPlain(): Record<string, unknown>;
|
|
104
|
+
}
|