@dapex-tech/elite-online-services 0.0.17 → 0.0.20
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/createClient.d.ts +4 -0
- package/models/AddDriverCreditsByCardDto.d.ts +11 -0
- package/models/AddDriverCreditsByCardDto.js +2 -0
- package/models/AddDriverCreditsByCashDto.d.ts +6 -0
- package/models/AddDriverCreditsByCashDto.js +2 -0
- package/models/AddPaymentMethodDto.d.ts +29 -1
- package/models/AdminSearchCustomersResponseDto.d.ts +8 -0
- package/models/AdminSearchCustomersResponseDto.js +2 -0
- package/models/CardDataDto.d.ts +42 -0
- package/models/CardDataDto.js +2 -0
- package/models/ChargeTripByCardDto.d.ts +28 -0
- package/models/ChargeTripByCardResponseDto.d.ts +26 -0
- package/models/ChargeTripByCardResponseDto.js +2 -0
- package/models/ChargeTripByCashResponseDto.d.ts +6 -0
- package/models/ChargeTripByCashResponseDto.js +2 -0
- package/models/ChargeTripByVoucherDto.d.ts +14 -0
- package/models/ChargeTripByVoucherDto.js +2 -0
- package/models/CustomerLocationCreateDto.d.ts +19 -0
- package/models/CustomerLocationCreateDto.js +18 -0
- package/models/CustomerLocationDto.d.ts +19 -0
- package/models/CustomerLocationDto.js +18 -0
- package/models/CustomerLocationUpdateDto.d.ts +19 -0
- package/models/CustomerLocationUpdateDto.js +18 -0
- package/models/DriverCreateDto.d.ts +4 -0
- package/models/DriverCreditsResponseDto.d.ts +18 -0
- package/models/DriverCreditsResponseDto.js +2 -0
- package/models/DriverDto.d.ts +8 -0
- package/models/DriverLoginResponseDto.d.ts +8 -0
- package/models/DriverPaymentMethodResponseDto.d.ts +38 -0
- package/models/DriverPaymentMethodResponseDto.js +2 -0
- package/models/DriverUpdateDto.d.ts +4 -0
- package/models/InquireVoucherBalanceDto.d.ts +6 -0
- package/models/InquireVoucherBalanceDto.js +2 -0
- package/models/InquireVoucherBalanceResponseDto.d.ts +42 -0
- package/models/InquireVoucherBalanceResponseDto.js +2 -0
- package/models/PaymentMethodResponseDto.d.ts +38 -0
- package/models/PaymentMethodResponseDto.js +2 -0
- package/models/PurchaseDriverCreditsDto.d.ts +10 -0
- package/models/PurchaseDriverCreditsDto.js +2 -0
- package/models/SectionContentCreateDto.d.ts +27 -0
- package/models/SectionContentCreateDto.js +14 -0
- package/models/SectionContentDto.d.ts +35 -0
- package/models/SectionContentDto.js +14 -0
- package/models/SectionContentUpdateDto.d.ts +27 -0
- package/models/SectionContentUpdateDto.js +14 -0
- package/models/SeniorCenterDto.d.ts +30 -0
- package/models/SeniorCenterDto.js +2 -0
- package/models/TripDto.d.ts +76 -4
- package/models/TripDto.js +30 -0
- package/models/TripStatuses.d.ts +1 -0
- package/models/TripStatuses.js +1 -0
- package/models/TripUpdateDto.d.ts +10 -1
- package/models/TripUpdateDto.js +1 -0
- package/models/TripUpdateTripsStatusDto.d.ts +1 -0
- package/models/TripUpdateTripsStatusDto.js +1 -0
- package/models/VehicleCreateDto.d.ts +50 -0
- package/models/VehicleCreateDto.js +2 -0
- package/models/VehicleDto.d.ts +58 -0
- package/models/VehicleDto.js +2 -0
- package/models/VehicleUpdateDto.d.ts +50 -0
- package/models/VehicleUpdateDto.js +2 -0
- package/models/VoucherDriverCreateDto.d.ts +54 -0
- package/models/VoucherDriverCreateDto.js +2 -0
- package/models/index.d.ts +21 -1
- package/models/index.js +21 -1
- package/package.json +1 -1
- package/services/AdminDriversService.d.ts +3 -1
- package/services/AdminDriversService.js +4 -1
- package/services/AdminPaymentsService.d.ts +22 -0
- package/services/AdminPaymentsService.js +52 -0
- package/services/AdminSectionContentService.d.ts +46 -0
- package/services/AdminSectionContentService.js +89 -0
- package/services/AdminService.d.ts +12 -5
- package/services/AdminService.js +14 -3
- package/services/AdminVehicleService.d.ts +46 -0
- package/services/AdminVehicleService.js +89 -0
- package/services/CustomerPaymentsService.d.ts +11 -10
- package/services/CustomerPaymentsService.js +5 -5
- package/services/CustomerSectionContentsService.d.ts +30 -0
- package/services/CustomerSectionContentsService.js +60 -0
- package/services/DriverPaymentsService.d.ts +56 -0
- package/services/DriverPaymentsService.js +118 -0
- package/services/DriverTripsService.d.ts +10 -0
- package/services/DriverTripsService.js +18 -0
- package/services/PaymentsService.d.ts +19 -16
- package/services/PaymentsService.js +8 -8
- package/services/index.d.ts +4 -0
- package/services/index.js +4 -0
- package/types/realtime/driver-status.d.ts +2 -2
- package/models/SearchCustomerDto.d.ts +0 -41
- package/models/SearchCustomerDto.js +0 -11
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SectionContentCreateDto = void 0;
|
|
4
|
+
var SectionContentCreateDto;
|
|
5
|
+
(function (SectionContentCreateDto) {
|
|
6
|
+
/**
|
|
7
|
+
* Section content type
|
|
8
|
+
*/
|
|
9
|
+
let type;
|
|
10
|
+
(function (type) {
|
|
11
|
+
type["LEGAL"] = "legal";
|
|
12
|
+
type["HELP"] = "help";
|
|
13
|
+
})(type = SectionContentCreateDto.type || (SectionContentCreateDto.type = {}));
|
|
14
|
+
})(SectionContentCreateDto || (exports.SectionContentCreateDto = SectionContentCreateDto = {}));
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export type SectionContentDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Section content ID
|
|
4
|
+
*/
|
|
5
|
+
id: number;
|
|
6
|
+
/**
|
|
7
|
+
* Section content type
|
|
8
|
+
*/
|
|
9
|
+
type: SectionContentDto.type;
|
|
10
|
+
/**
|
|
11
|
+
* Section name
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
/**
|
|
15
|
+
* Section content body
|
|
16
|
+
*/
|
|
17
|
+
content: string;
|
|
18
|
+
/**
|
|
19
|
+
* Display position
|
|
20
|
+
*/
|
|
21
|
+
position: number;
|
|
22
|
+
/**
|
|
23
|
+
* Created at timestamp
|
|
24
|
+
*/
|
|
25
|
+
createdAt: string;
|
|
26
|
+
};
|
|
27
|
+
export declare namespace SectionContentDto {
|
|
28
|
+
/**
|
|
29
|
+
* Section content type
|
|
30
|
+
*/
|
|
31
|
+
enum type {
|
|
32
|
+
LEGAL = "legal",
|
|
33
|
+
HELP = "help"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SectionContentDto = void 0;
|
|
4
|
+
var SectionContentDto;
|
|
5
|
+
(function (SectionContentDto) {
|
|
6
|
+
/**
|
|
7
|
+
* Section content type
|
|
8
|
+
*/
|
|
9
|
+
let type;
|
|
10
|
+
(function (type) {
|
|
11
|
+
type["LEGAL"] = "legal";
|
|
12
|
+
type["HELP"] = "help";
|
|
13
|
+
})(type = SectionContentDto.type || (SectionContentDto.type = {}));
|
|
14
|
+
})(SectionContentDto || (exports.SectionContentDto = SectionContentDto = {}));
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export type SectionContentUpdateDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Section content type
|
|
4
|
+
*/
|
|
5
|
+
type?: SectionContentUpdateDto.type;
|
|
6
|
+
/**
|
|
7
|
+
* Section name
|
|
8
|
+
*/
|
|
9
|
+
name?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Section content body
|
|
12
|
+
*/
|
|
13
|
+
content?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Display position
|
|
16
|
+
*/
|
|
17
|
+
position?: number;
|
|
18
|
+
};
|
|
19
|
+
export declare namespace SectionContentUpdateDto {
|
|
20
|
+
/**
|
|
21
|
+
* Section content type
|
|
22
|
+
*/
|
|
23
|
+
enum type {
|
|
24
|
+
LEGAL = "legal",
|
|
25
|
+
HELP = "help"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SectionContentUpdateDto = void 0;
|
|
4
|
+
var SectionContentUpdateDto;
|
|
5
|
+
(function (SectionContentUpdateDto) {
|
|
6
|
+
/**
|
|
7
|
+
* Section content type
|
|
8
|
+
*/
|
|
9
|
+
let type;
|
|
10
|
+
(function (type) {
|
|
11
|
+
type["LEGAL"] = "legal";
|
|
12
|
+
type["HELP"] = "help";
|
|
13
|
+
})(type = SectionContentUpdateDto.type || (SectionContentUpdateDto.type = {}));
|
|
14
|
+
})(SectionContentUpdateDto || (exports.SectionContentUpdateDto = SectionContentUpdateDto = {}));
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export type SeniorCenterDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Senior center ID
|
|
4
|
+
*/
|
|
5
|
+
id: number;
|
|
6
|
+
/**
|
|
7
|
+
* Senior center code
|
|
8
|
+
*/
|
|
9
|
+
code: string;
|
|
10
|
+
/**
|
|
11
|
+
* Senior center name
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
/**
|
|
15
|
+
* Address
|
|
16
|
+
*/
|
|
17
|
+
address: string;
|
|
18
|
+
/**
|
|
19
|
+
* Phone
|
|
20
|
+
*/
|
|
21
|
+
phone: string;
|
|
22
|
+
/**
|
|
23
|
+
* Latitude
|
|
24
|
+
*/
|
|
25
|
+
latitude: string;
|
|
26
|
+
/**
|
|
27
|
+
* Longitude
|
|
28
|
+
*/
|
|
29
|
+
longitude: string;
|
|
30
|
+
};
|
package/models/TripDto.d.ts
CHANGED
|
@@ -15,13 +15,21 @@ export type TripDto = {
|
|
|
15
15
|
adminId?: Record<string, any> | null;
|
|
16
16
|
voucherId?: Record<string, any> | null;
|
|
17
17
|
manualCustomerId?: Record<string, any> | null;
|
|
18
|
+
/**
|
|
19
|
+
* Vehicle ID (admin assigned)
|
|
20
|
+
*/
|
|
21
|
+
vehicleId?: Record<string, any> | null;
|
|
22
|
+
/**
|
|
23
|
+
* Paired round-trip ID (if this trip is part of a round trip)
|
|
24
|
+
*/
|
|
25
|
+
roundTripId?: Record<string, any> | null;
|
|
18
26
|
status?: TripDto.status;
|
|
19
27
|
tripSource?: Record<string, any>;
|
|
20
28
|
driverAssignmentMode?: Record<string, any>;
|
|
21
29
|
/**
|
|
22
30
|
* Payment type (CASH or DEBIT_CREDIT_CARD)
|
|
23
31
|
*/
|
|
24
|
-
paymentType?: TripDto.paymentType
|
|
32
|
+
paymentType?: TripDto.paymentType;
|
|
25
33
|
/**
|
|
26
34
|
* Customer payment method ID for card payments
|
|
27
35
|
*/
|
|
@@ -29,7 +37,7 @@ export type TripDto = {
|
|
|
29
37
|
/**
|
|
30
38
|
* Origin location type
|
|
31
39
|
*/
|
|
32
|
-
originLocationType?:
|
|
40
|
+
originLocationType?: TripDto.originLocationType | null;
|
|
33
41
|
/**
|
|
34
42
|
* Origin latitude
|
|
35
43
|
*/
|
|
@@ -46,10 +54,22 @@ export type TripDto = {
|
|
|
46
54
|
* Origin name
|
|
47
55
|
*/
|
|
48
56
|
originName?: Record<string, any> | null;
|
|
57
|
+
/**
|
|
58
|
+
* Origin apartment (admin only)
|
|
59
|
+
*/
|
|
60
|
+
originApartment?: Record<string, any> | null;
|
|
61
|
+
/**
|
|
62
|
+
* Origin building (admin only)
|
|
63
|
+
*/
|
|
64
|
+
originBuilding?: Record<string, any> | null;
|
|
65
|
+
/**
|
|
66
|
+
* Origin access code (admin only)
|
|
67
|
+
*/
|
|
68
|
+
originAccessCode?: Record<string, any> | null;
|
|
49
69
|
/**
|
|
50
70
|
* Destination location type
|
|
51
71
|
*/
|
|
52
|
-
destinationLocationType?:
|
|
72
|
+
destinationLocationType?: TripDto.destinationLocationType | null;
|
|
53
73
|
/**
|
|
54
74
|
* Destination latitude
|
|
55
75
|
*/
|
|
@@ -66,6 +86,18 @@ export type TripDto = {
|
|
|
66
86
|
* Destination name
|
|
67
87
|
*/
|
|
68
88
|
destinationName?: Record<string, any> | null;
|
|
89
|
+
/**
|
|
90
|
+
* Senior center ID (admin only)
|
|
91
|
+
*/
|
|
92
|
+
seniorCenterId?: Record<string, any> | null;
|
|
93
|
+
/**
|
|
94
|
+
* Cab/driver notes (admin only)
|
|
95
|
+
*/
|
|
96
|
+
cabNotes?: Record<string, any> | null;
|
|
97
|
+
/**
|
|
98
|
+
* Customer notes, persisted to customer/voucher/manual customer (admin only)
|
|
99
|
+
*/
|
|
100
|
+
customerNotes?: Record<string, any> | null;
|
|
69
101
|
/**
|
|
70
102
|
* Trip duration (minutes)
|
|
71
103
|
*/
|
|
@@ -132,6 +164,14 @@ export type TripDto = {
|
|
|
132
164
|
totalCost?: Record<string, any> | null;
|
|
133
165
|
startedAt?: Record<string, any> | null;
|
|
134
166
|
completedAt?: Record<string, any> | null;
|
|
167
|
+
/**
|
|
168
|
+
* Scheduled pickup datetime (admin only)
|
|
169
|
+
*/
|
|
170
|
+
scheduledPickupDateTime?: Record<string, any> | null;
|
|
171
|
+
/**
|
|
172
|
+
* Scheduled pickup datetime for the return leg when creating a round trip (admin only)
|
|
173
|
+
*/
|
|
174
|
+
roundTripScheduleTime?: Record<string, any> | null;
|
|
135
175
|
total?: Record<string, any> | null;
|
|
136
176
|
/**
|
|
137
177
|
* Customer information
|
|
@@ -161,9 +201,14 @@ export type TripDto = {
|
|
|
161
201
|
* Manual customer information
|
|
162
202
|
*/
|
|
163
203
|
manualCustomer?: ManualCustomerDto | null;
|
|
204
|
+
/**
|
|
205
|
+
* Paired round trip (if this trip is part of a round trip). This nested object does not itself contain a roundTrip to avoid circular references.
|
|
206
|
+
*/
|
|
207
|
+
roundTrip?: TripDto | null;
|
|
164
208
|
};
|
|
165
209
|
export declare namespace TripDto {
|
|
166
210
|
enum status {
|
|
211
|
+
SCHEDULED = "SCHEDULED",
|
|
167
212
|
REQUESTED = "REQUESTED",
|
|
168
213
|
DRIVER_SEARCHING = "DRIVER_SEARCHING",
|
|
169
214
|
DRIVER_ASSIGNED = "DRIVER_ASSIGNED",
|
|
@@ -183,6 +228,33 @@ export declare namespace TripDto {
|
|
|
183
228
|
*/
|
|
184
229
|
enum paymentType {
|
|
185
230
|
CASH = "CASH",
|
|
186
|
-
DEBIT_CREDIT_CARD = "DEBIT_CREDIT_CARD"
|
|
231
|
+
DEBIT_CREDIT_CARD = "DEBIT_CREDIT_CARD",
|
|
232
|
+
VOUCHER = "VOUCHER"
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* Origin location type
|
|
236
|
+
*/
|
|
237
|
+
enum originLocationType {
|
|
238
|
+
HOME = "HOME",
|
|
239
|
+
APARTMENT = "APARTMENT",
|
|
240
|
+
OFFICE = "OFFICE",
|
|
241
|
+
HOSPITAL = "HOSPITAL",
|
|
242
|
+
MALL = "MALL",
|
|
243
|
+
HOTEL = "HOTEL",
|
|
244
|
+
BUSINESS = "BUSINESS",
|
|
245
|
+
OTHER = "OTHER"
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* Destination location type
|
|
249
|
+
*/
|
|
250
|
+
enum destinationLocationType {
|
|
251
|
+
HOME = "HOME",
|
|
252
|
+
APARTMENT = "APARTMENT",
|
|
253
|
+
OFFICE = "OFFICE",
|
|
254
|
+
HOSPITAL = "HOSPITAL",
|
|
255
|
+
MALL = "MALL",
|
|
256
|
+
HOTEL = "HOTEL",
|
|
257
|
+
BUSINESS = "BUSINESS",
|
|
258
|
+
OTHER = "OTHER"
|
|
187
259
|
}
|
|
188
260
|
}
|
package/models/TripDto.js
CHANGED
|
@@ -5,6 +5,7 @@ var TripDto;
|
|
|
5
5
|
(function (TripDto) {
|
|
6
6
|
let status;
|
|
7
7
|
(function (status) {
|
|
8
|
+
status["SCHEDULED"] = "SCHEDULED";
|
|
8
9
|
status["REQUESTED"] = "REQUESTED";
|
|
9
10
|
status["DRIVER_SEARCHING"] = "DRIVER_SEARCHING";
|
|
10
11
|
status["DRIVER_ASSIGNED"] = "DRIVER_ASSIGNED";
|
|
@@ -26,5 +27,34 @@ var TripDto;
|
|
|
26
27
|
(function (paymentType) {
|
|
27
28
|
paymentType["CASH"] = "CASH";
|
|
28
29
|
paymentType["DEBIT_CREDIT_CARD"] = "DEBIT_CREDIT_CARD";
|
|
30
|
+
paymentType["VOUCHER"] = "VOUCHER";
|
|
29
31
|
})(paymentType = TripDto.paymentType || (TripDto.paymentType = {}));
|
|
32
|
+
/**
|
|
33
|
+
* Origin location type
|
|
34
|
+
*/
|
|
35
|
+
let originLocationType;
|
|
36
|
+
(function (originLocationType) {
|
|
37
|
+
originLocationType["HOME"] = "HOME";
|
|
38
|
+
originLocationType["APARTMENT"] = "APARTMENT";
|
|
39
|
+
originLocationType["OFFICE"] = "OFFICE";
|
|
40
|
+
originLocationType["HOSPITAL"] = "HOSPITAL";
|
|
41
|
+
originLocationType["MALL"] = "MALL";
|
|
42
|
+
originLocationType["HOTEL"] = "HOTEL";
|
|
43
|
+
originLocationType["BUSINESS"] = "BUSINESS";
|
|
44
|
+
originLocationType["OTHER"] = "OTHER";
|
|
45
|
+
})(originLocationType = TripDto.originLocationType || (TripDto.originLocationType = {}));
|
|
46
|
+
/**
|
|
47
|
+
* Destination location type
|
|
48
|
+
*/
|
|
49
|
+
let destinationLocationType;
|
|
50
|
+
(function (destinationLocationType) {
|
|
51
|
+
destinationLocationType["HOME"] = "HOME";
|
|
52
|
+
destinationLocationType["APARTMENT"] = "APARTMENT";
|
|
53
|
+
destinationLocationType["OFFICE"] = "OFFICE";
|
|
54
|
+
destinationLocationType["HOSPITAL"] = "HOSPITAL";
|
|
55
|
+
destinationLocationType["MALL"] = "MALL";
|
|
56
|
+
destinationLocationType["HOTEL"] = "HOTEL";
|
|
57
|
+
destinationLocationType["BUSINESS"] = "BUSINESS";
|
|
58
|
+
destinationLocationType["OTHER"] = "OTHER";
|
|
59
|
+
})(destinationLocationType = TripDto.destinationLocationType || (TripDto.destinationLocationType = {}));
|
|
30
60
|
})(TripDto || (exports.TripDto = TripDto = {}));
|
package/models/TripStatuses.d.ts
CHANGED
package/models/TripStatuses.js
CHANGED
|
@@ -7,6 +7,7 @@ exports.TripStatuses = void 0;
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
var TripStatuses;
|
|
9
9
|
(function (TripStatuses) {
|
|
10
|
+
TripStatuses["SCHEDULED"] = "SCHEDULED";
|
|
10
11
|
TripStatuses["REQUESTED"] = "REQUESTED";
|
|
11
12
|
TripStatuses["DRIVER_SEARCHING"] = "DRIVER_SEARCHING";
|
|
12
13
|
TripStatuses["DRIVER_ASSIGNED"] = "DRIVER_ASSIGNED";
|
|
@@ -45,6 +45,14 @@ export type TripUpdateDto = {
|
|
|
45
45
|
* Destination longitude
|
|
46
46
|
*/
|
|
47
47
|
destinationLongitude?: Record<string, any> | null;
|
|
48
|
+
/**
|
|
49
|
+
* Scheduled pickup datetime (admin only)
|
|
50
|
+
*/
|
|
51
|
+
scheduledPickupDateTime?: Record<string, any> | null;
|
|
52
|
+
/**
|
|
53
|
+
* Vehicle ID (admin only)
|
|
54
|
+
*/
|
|
55
|
+
vehicleId?: Record<string, any> | null;
|
|
48
56
|
};
|
|
49
57
|
export declare namespace TripUpdateDto {
|
|
50
58
|
/**
|
|
@@ -52,6 +60,7 @@ export declare namespace TripUpdateDto {
|
|
|
52
60
|
*/
|
|
53
61
|
enum paymentType {
|
|
54
62
|
CASH = "CASH",
|
|
55
|
-
DEBIT_CREDIT_CARD = "DEBIT_CREDIT_CARD"
|
|
63
|
+
DEBIT_CREDIT_CARD = "DEBIT_CREDIT_CARD",
|
|
64
|
+
VOUCHER = "VOUCHER"
|
|
56
65
|
}
|
|
57
66
|
}
|
package/models/TripUpdateDto.js
CHANGED
|
@@ -10,5 +10,6 @@ var TripUpdateDto;
|
|
|
10
10
|
(function (paymentType) {
|
|
11
11
|
paymentType["CASH"] = "CASH";
|
|
12
12
|
paymentType["DEBIT_CREDIT_CARD"] = "DEBIT_CREDIT_CARD";
|
|
13
|
+
paymentType["VOUCHER"] = "VOUCHER";
|
|
13
14
|
})(paymentType = TripUpdateDto.paymentType || (TripUpdateDto.paymentType = {}));
|
|
14
15
|
})(TripUpdateDto || (exports.TripUpdateDto = TripUpdateDto = {}));
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export type VehicleCreateDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Cab number
|
|
4
|
+
*/
|
|
5
|
+
cab: number;
|
|
6
|
+
/**
|
|
7
|
+
* Vehicle brand
|
|
8
|
+
*/
|
|
9
|
+
brand: string;
|
|
10
|
+
/**
|
|
11
|
+
* Vehicle model
|
|
12
|
+
*/
|
|
13
|
+
model?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Insurance information
|
|
16
|
+
*/
|
|
17
|
+
insurance?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Emission test information
|
|
20
|
+
*/
|
|
21
|
+
emissionTest?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Vehicle registration information
|
|
24
|
+
*/
|
|
25
|
+
registration?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Vehicle title
|
|
28
|
+
*/
|
|
29
|
+
title?: string;
|
|
30
|
+
/**
|
|
31
|
+
* License plate
|
|
32
|
+
*/
|
|
33
|
+
plate?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Plate expiration date
|
|
36
|
+
*/
|
|
37
|
+
expirationPlate?: Record<string, any>;
|
|
38
|
+
/**
|
|
39
|
+
* Vehicle type
|
|
40
|
+
*/
|
|
41
|
+
type?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Vehicle color
|
|
44
|
+
*/
|
|
45
|
+
color?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Vehicle status
|
|
48
|
+
*/
|
|
49
|
+
status?: string;
|
|
50
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export type VehicleDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Vehicle ID
|
|
4
|
+
*/
|
|
5
|
+
id: number;
|
|
6
|
+
/**
|
|
7
|
+
* Cab number
|
|
8
|
+
*/
|
|
9
|
+
cab: number;
|
|
10
|
+
/**
|
|
11
|
+
* Vehicle brand
|
|
12
|
+
*/
|
|
13
|
+
brand: string;
|
|
14
|
+
/**
|
|
15
|
+
* Vehicle model
|
|
16
|
+
*/
|
|
17
|
+
model?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Insurance information
|
|
20
|
+
*/
|
|
21
|
+
insurance?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Emission test information
|
|
24
|
+
*/
|
|
25
|
+
emissionTest?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Vehicle registration information
|
|
28
|
+
*/
|
|
29
|
+
registration?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Vehicle title
|
|
32
|
+
*/
|
|
33
|
+
title?: string;
|
|
34
|
+
/**
|
|
35
|
+
* License plate
|
|
36
|
+
*/
|
|
37
|
+
plate?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Plate expiration date
|
|
40
|
+
*/
|
|
41
|
+
expirationPlate?: Record<string, any>;
|
|
42
|
+
/**
|
|
43
|
+
* Vehicle type
|
|
44
|
+
*/
|
|
45
|
+
type?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Vehicle color
|
|
48
|
+
*/
|
|
49
|
+
color?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Vehicle status
|
|
52
|
+
*/
|
|
53
|
+
status?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Created at timestamp
|
|
56
|
+
*/
|
|
57
|
+
createdAt: string;
|
|
58
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export type VehicleUpdateDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Cab number
|
|
4
|
+
*/
|
|
5
|
+
cab?: number;
|
|
6
|
+
/**
|
|
7
|
+
* Vehicle brand
|
|
8
|
+
*/
|
|
9
|
+
brand?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Vehicle model
|
|
12
|
+
*/
|
|
13
|
+
model?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Insurance information
|
|
16
|
+
*/
|
|
17
|
+
insurance?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Emission test information
|
|
20
|
+
*/
|
|
21
|
+
emissionTest?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Vehicle registration information
|
|
24
|
+
*/
|
|
25
|
+
registration?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Vehicle title
|
|
28
|
+
*/
|
|
29
|
+
title?: string;
|
|
30
|
+
/**
|
|
31
|
+
* License plate
|
|
32
|
+
*/
|
|
33
|
+
plate?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Plate expiration date
|
|
36
|
+
*/
|
|
37
|
+
expirationPlate?: Record<string, any>;
|
|
38
|
+
/**
|
|
39
|
+
* Vehicle type
|
|
40
|
+
*/
|
|
41
|
+
type?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Vehicle color
|
|
44
|
+
*/
|
|
45
|
+
color?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Vehicle status
|
|
48
|
+
*/
|
|
49
|
+
status?: string;
|
|
50
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export type VoucherDriverCreateDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Card number
|
|
4
|
+
*/
|
|
5
|
+
cardNumber: string;
|
|
6
|
+
/**
|
|
7
|
+
* Voucher status
|
|
8
|
+
*/
|
|
9
|
+
status: string;
|
|
10
|
+
/**
|
|
11
|
+
* Program name
|
|
12
|
+
*/
|
|
13
|
+
program: string;
|
|
14
|
+
/**
|
|
15
|
+
* Senior center
|
|
16
|
+
*/
|
|
17
|
+
seniorCenter: string;
|
|
18
|
+
/**
|
|
19
|
+
* First name
|
|
20
|
+
*/
|
|
21
|
+
firstName: string;
|
|
22
|
+
/**
|
|
23
|
+
* Last name
|
|
24
|
+
*/
|
|
25
|
+
lastName: string;
|
|
26
|
+
/**
|
|
27
|
+
* Middle name
|
|
28
|
+
*/
|
|
29
|
+
middleName?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Address
|
|
32
|
+
*/
|
|
33
|
+
address: string;
|
|
34
|
+
/**
|
|
35
|
+
* Apartment number
|
|
36
|
+
*/
|
|
37
|
+
apartmentNumber?: string;
|
|
38
|
+
/**
|
|
39
|
+
* City
|
|
40
|
+
*/
|
|
41
|
+
city: string;
|
|
42
|
+
/**
|
|
43
|
+
* State
|
|
44
|
+
*/
|
|
45
|
+
state: string;
|
|
46
|
+
/**
|
|
47
|
+
* Zip code
|
|
48
|
+
*/
|
|
49
|
+
zipCode: string;
|
|
50
|
+
/**
|
|
51
|
+
* Rider phone
|
|
52
|
+
*/
|
|
53
|
+
riderPhone: string;
|
|
54
|
+
};
|
package/models/index.d.ts
CHANGED
|
@@ -1,11 +1,18 @@
|
|
|
1
|
+
export * from './AddDriverCreditsByCardDto';
|
|
2
|
+
export * from './AddDriverCreditsByCashDto';
|
|
1
3
|
export * from './AddPaymentMethodDto';
|
|
2
4
|
export * from './AdminCreateDto';
|
|
3
5
|
export * from './AdminDto';
|
|
4
6
|
export * from './AdminLoginDto';
|
|
5
7
|
export * from './AdminLoginResponseDto';
|
|
8
|
+
export * from './AdminSearchCustomersResponseDto';
|
|
6
9
|
export * from './AdminUpdateDto';
|
|
10
|
+
export * from './CardDataDto';
|
|
7
11
|
export * from './ChargeTripByCardDto';
|
|
12
|
+
export * from './ChargeTripByCardResponseDto';
|
|
8
13
|
export * from './ChargeTripByCashDto';
|
|
14
|
+
export * from './ChargeTripByCashResponseDto';
|
|
15
|
+
export * from './ChargeTripByVoucherDto';
|
|
9
16
|
export * from './ChargeTripDto';
|
|
10
17
|
export * from './CustomerDto';
|
|
11
18
|
export * from './CustomerLocationCreateDto';
|
|
@@ -18,21 +25,30 @@ export * from './CustomerTripActions';
|
|
|
18
25
|
export * from './CustomerUpdatedDto';
|
|
19
26
|
export * from './CustomerVerifyAccountDto';
|
|
20
27
|
export * from './DriverCreateDto';
|
|
28
|
+
export * from './DriverCreditsResponseDto';
|
|
21
29
|
export * from './DriverDto';
|
|
22
30
|
export * from './DriverLoginDto';
|
|
23
31
|
export * from './DriverLoginResponseDto';
|
|
32
|
+
export * from './DriverPaymentMethodResponseDto';
|
|
24
33
|
export * from './DriverTripActions';
|
|
25
34
|
export * from './DriverUpdateDto';
|
|
26
35
|
export * from './GenerateResetCodeDto';
|
|
27
36
|
export * from './GenerateVerificationCodeDto';
|
|
37
|
+
export * from './InquireVoucherBalanceDto';
|
|
38
|
+
export * from './InquireVoucherBalanceResponseDto';
|
|
28
39
|
export * from './ManualCustomerCreateDto';
|
|
29
40
|
export * from './ManualCustomerDto';
|
|
30
41
|
export * from './ManualCustomerUpdateDto';
|
|
31
42
|
export * from './MessageResponseDto';
|
|
32
43
|
export * from './OrderDto';
|
|
33
44
|
export * from './PaymentDto';
|
|
45
|
+
export * from './PaymentMethodResponseDto';
|
|
46
|
+
export * from './PurchaseDriverCreditsDto';
|
|
34
47
|
export * from './ResetPasswordDto';
|
|
35
|
-
export * from './
|
|
48
|
+
export * from './SectionContentCreateDto';
|
|
49
|
+
export * from './SectionContentDto';
|
|
50
|
+
export * from './SectionContentUpdateDto';
|
|
51
|
+
export * from './SeniorCenterDto';
|
|
36
52
|
export * from './TokensDto';
|
|
37
53
|
export * from './TripAssignDriverDto';
|
|
38
54
|
export * from './TripDto';
|
|
@@ -43,6 +59,10 @@ export * from './TripUpdateDto';
|
|
|
43
59
|
export * from './TripUpdateTripsStatusDto';
|
|
44
60
|
export * from './UpdateFcmTokenDto';
|
|
45
61
|
export * from './ValidateResetCodeDto';
|
|
62
|
+
export * from './VehicleCreateDto';
|
|
63
|
+
export * from './VehicleDto';
|
|
64
|
+
export * from './VehicleUpdateDto';
|
|
46
65
|
export * from './VoucherCreateDto';
|
|
66
|
+
export * from './VoucherDriverCreateDto';
|
|
47
67
|
export * from './VoucherDto';
|
|
48
68
|
export * from './VoucherUpdateDto';
|