@dapex-tech/elite-online-services 0.0.20 → 0.0.22
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 +1 -0
- package/createClient.js +1 -1
- package/models/AdminDto.d.ts +2 -1
- package/models/AdminLoginResponseDto.d.ts +2 -1
- package/models/CustomerDto.d.ts +5 -0
- package/models/CustomerLocationCreateDto.d.ts +2 -16
- package/models/CustomerLocationCreateDto.js +0 -18
- package/models/CustomerLocationDto.d.ts +2 -16
- package/models/CustomerLocationDto.js +0 -18
- package/models/CustomerLocationUpdateDto.d.ts +2 -16
- package/models/CustomerLocationUpdateDto.js +0 -18
- package/models/CustomerLoginResponseDto.d.ts +5 -0
- package/models/DriverAssignmentModes.d.ts +4 -0
- package/models/DriverAssignmentModes.js +12 -0
- package/models/DriverDto.d.ts +2 -1
- package/models/DriverLoginResponseDto.d.ts +2 -1
- package/models/EstimateTripCostDto.d.ts +18 -0
- package/models/EstimateTripCostDto.js +2 -0
- package/models/JobSummaryDto.d.ts +42 -0
- package/models/JobSummaryDto.js +2 -0
- package/models/JobsListResponseDto.d.ts +7 -0
- package/models/JobsListResponseDto.js +2 -0
- package/models/LocationTypes.d.ts +13 -0
- package/models/LocationTypes.js +21 -0
- package/models/PaymentTypes.d.ts +8 -0
- package/models/PaymentTypes.js +16 -0
- package/models/QueueJobCountsDto.d.ts +26 -0
- package/models/QueueJobCountsDto.js +2 -0
- package/models/QueueSummaryDto.d.ts +11 -0
- package/models/QueueSummaryDto.js +2 -0
- package/models/Role.d.ts +8 -0
- package/models/Role.js +16 -0
- package/models/SectionContentCreateDto.d.ts +2 -10
- package/models/SectionContentCreateDto.js +0 -12
- package/models/SectionContentDto.d.ts +2 -10
- package/models/SectionContentDto.js +0 -12
- package/models/SectionContentUpdateDto.d.ts +2 -10
- package/models/SectionContentUpdateDto.js +0 -12
- package/models/SectionContentsTypes.d.ts +8 -0
- package/models/SectionContentsTypes.js +16 -0
- package/models/SystemSettingResponseDto.d.ts +18 -0
- package/models/SystemSettingResponseDto.js +2 -0
- package/models/TripDto.d.ts +14 -57
- package/models/TripDto.js +0 -58
- package/models/TripSources.d.ts +5 -0
- package/models/TripSources.js +13 -0
- package/models/TripUpdateDriverAssignmentModeDto.d.ts +2 -1
- package/models/TripUpdateDto.d.ts +2 -11
- package/models/TripUpdateDto.js +0 -13
- package/models/TripUpdateTripsStatusDto.d.ts +2 -22
- package/models/TripUpdateTripsStatusDto.js +0 -24
- package/models/TwilioTokenResponse.d.ts +10 -0
- package/models/TwilioTokenResponse.js +2 -0
- package/models/UpdateSystemSettingDto.d.ts +10 -0
- package/models/UpdateSystemSettingDto.js +2 -0
- package/models/VehicleCreateDto.d.ts +2 -1
- package/models/VehicleDto.d.ts +4 -2
- package/models/VehicleStatus.d.ts +7 -0
- package/models/VehicleStatus.js +15 -0
- package/models/VehicleTypes.d.ts +8 -0
- package/models/VehicleTypes.js +16 -0
- package/models/VehicleUpdateDto.d.ts +2 -1
- package/models/index.d.ts +16 -0
- package/models/index.js +16 -0
- package/package.json +1 -1
- package/services/AdminDriversService.d.ts +7 -0
- package/services/AdminDriversService.js +12 -0
- package/services/AdminQueuesService.d.ts +30 -0
- package/services/AdminQueuesService.js +62 -0
- package/services/AdminSectionContentService.d.ts +2 -1
- package/services/AdminService.d.ts +7 -0
- package/services/AdminService.js +11 -0
- package/services/AdminSettingsService.d.ts +20 -3
- package/services/AdminSettingsService.js +41 -2
- package/services/AdminTripsService.d.ts +10 -1
- package/services/AdminTripsService.js +17 -1
- package/services/CustomerSectionContentsService.d.ts +13 -0
- package/services/CustomerSectionContentsService.js +26 -0
- package/services/CustomerTripsService.d.ts +8 -0
- package/services/CustomerTripsService.js +14 -0
- package/services/CustomersService.d.ts +7 -0
- package/services/CustomersService.js +11 -0
- package/services/DriverTripsService.d.ts +8 -0
- package/services/DriverTripsService.js +14 -0
- package/services/DriversService.d.ts +14 -0
- package/services/DriversService.js +22 -0
- package/services/HealthService.d.ts +0 -10
- package/services/HealthService.js +0 -13
- package/services/index.d.ts +1 -0
- package/services/index.js +1 -0
- package/socketService.d.ts +2 -0
- package/socketService.js +11 -0
- package/types/realtime/active-trip.d.ts +3 -1
- package/types/realtime/driver-status.d.ts +2 -0
- package/types/realtime/driver-status.js +7 -0
- package/socketService.bak.d.ts +0 -54
- package/socketService.bak.js +0 -99
package/createClient.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare function createClient(baseUrl?: string): {
|
|
|
7
7
|
AdminCustomerService: typeof services.AdminCustomerService;
|
|
8
8
|
AdminDriversService: typeof services.AdminDriversService;
|
|
9
9
|
AdminPaymentsService: typeof services.AdminPaymentsService;
|
|
10
|
+
AdminQueuesService: typeof services.AdminQueuesService;
|
|
10
11
|
AdminSectionContentService: typeof services.AdminSectionContentService;
|
|
11
12
|
AdminService: typeof services.AdminService;
|
|
12
13
|
AdminSettingsService: typeof services.AdminSettingsService;
|
package/createClient.js
CHANGED
|
@@ -42,6 +42,6 @@ const services = __importStar(require("./services"));
|
|
|
42
42
|
function createClient(baseUrl) {
|
|
43
43
|
OpenAPI_1.OpenAPI.BASE = baseUrl || process.env.API_URL || 'http://localhost:3000';
|
|
44
44
|
return {
|
|
45
|
-
...services,
|
|
45
|
+
...services,
|
|
46
46
|
};
|
|
47
47
|
}
|
package/models/AdminDto.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Role } from './Role';
|
|
1
2
|
export type AdminLoginResponseDto = {
|
|
2
3
|
/**
|
|
3
4
|
* Admin ID
|
|
@@ -26,7 +27,7 @@ export type AdminLoginResponseDto = {
|
|
|
26
27
|
/**
|
|
27
28
|
* Admin Role
|
|
28
29
|
*/
|
|
29
|
-
role?:
|
|
30
|
+
role?: Role;
|
|
30
31
|
/**
|
|
31
32
|
* Access Token
|
|
32
33
|
*/
|
package/models/CustomerDto.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Role } from './Role';
|
|
1
2
|
export type CustomerDto = {
|
|
2
3
|
/**
|
|
3
4
|
* User ID
|
|
@@ -23,6 +24,10 @@ export type CustomerDto = {
|
|
|
23
24
|
* Customer Phone Number
|
|
24
25
|
*/
|
|
25
26
|
phone: string;
|
|
27
|
+
/**
|
|
28
|
+
* Customer Role
|
|
29
|
+
*/
|
|
30
|
+
role: Role;
|
|
26
31
|
/**
|
|
27
32
|
* Customer Verified Status
|
|
28
33
|
*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { LocationTypes } from './LocationTypes';
|
|
1
2
|
export type CustomerLocationCreateDto = {
|
|
2
3
|
/**
|
|
3
4
|
* Location alias (e.g., "Home", "Work")
|
|
@@ -14,7 +15,7 @@ export type CustomerLocationCreateDto = {
|
|
|
14
15
|
/**
|
|
15
16
|
* Location type (e.g. HOME, OFFICE)
|
|
16
17
|
*/
|
|
17
|
-
locationType?:
|
|
18
|
+
locationType?: LocationTypes;
|
|
18
19
|
/**
|
|
19
20
|
* Latitude
|
|
20
21
|
*/
|
|
@@ -28,18 +29,3 @@ export type CustomerLocationCreateDto = {
|
|
|
28
29
|
*/
|
|
29
30
|
address?: string;
|
|
30
31
|
};
|
|
31
|
-
export declare namespace CustomerLocationCreateDto {
|
|
32
|
-
/**
|
|
33
|
-
* Location type (e.g. HOME, OFFICE)
|
|
34
|
-
*/
|
|
35
|
-
enum locationType {
|
|
36
|
-
HOME = "HOME",
|
|
37
|
-
APARTMENT = "APARTMENT",
|
|
38
|
-
OFFICE = "OFFICE",
|
|
39
|
-
HOSPITAL = "HOSPITAL",
|
|
40
|
-
MALL = "MALL",
|
|
41
|
-
HOTEL = "HOTEL",
|
|
42
|
-
BUSINESS = "BUSINESS",
|
|
43
|
-
OTHER = "OTHER"
|
|
44
|
-
}
|
|
45
|
-
}
|
|
@@ -1,20 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CustomerLocationCreateDto = void 0;
|
|
4
|
-
var CustomerLocationCreateDto;
|
|
5
|
-
(function (CustomerLocationCreateDto) {
|
|
6
|
-
/**
|
|
7
|
-
* Location type (e.g. HOME, OFFICE)
|
|
8
|
-
*/
|
|
9
|
-
let locationType;
|
|
10
|
-
(function (locationType) {
|
|
11
|
-
locationType["HOME"] = "HOME";
|
|
12
|
-
locationType["APARTMENT"] = "APARTMENT";
|
|
13
|
-
locationType["OFFICE"] = "OFFICE";
|
|
14
|
-
locationType["HOSPITAL"] = "HOSPITAL";
|
|
15
|
-
locationType["MALL"] = "MALL";
|
|
16
|
-
locationType["HOTEL"] = "HOTEL";
|
|
17
|
-
locationType["BUSINESS"] = "BUSINESS";
|
|
18
|
-
locationType["OTHER"] = "OTHER";
|
|
19
|
-
})(locationType = CustomerLocationCreateDto.locationType || (CustomerLocationCreateDto.locationType = {}));
|
|
20
|
-
})(CustomerLocationCreateDto || (exports.CustomerLocationCreateDto = CustomerLocationCreateDto = {}));
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { LocationTypes } from './LocationTypes';
|
|
1
2
|
export type CustomerLocationDto = {
|
|
2
3
|
/**
|
|
3
4
|
* Location ID
|
|
@@ -22,7 +23,7 @@ export type CustomerLocationDto = {
|
|
|
22
23
|
/**
|
|
23
24
|
* Location type (e.g. HOME, OFFICE)
|
|
24
25
|
*/
|
|
25
|
-
locationType?:
|
|
26
|
+
locationType?: LocationTypes | null;
|
|
26
27
|
/**
|
|
27
28
|
* Latitude
|
|
28
29
|
*/
|
|
@@ -36,18 +37,3 @@ export type CustomerLocationDto = {
|
|
|
36
37
|
*/
|
|
37
38
|
address?: Record<string, any> | null;
|
|
38
39
|
};
|
|
39
|
-
export declare namespace CustomerLocationDto {
|
|
40
|
-
/**
|
|
41
|
-
* Location type (e.g. HOME, OFFICE)
|
|
42
|
-
*/
|
|
43
|
-
enum locationType {
|
|
44
|
-
HOME = "HOME",
|
|
45
|
-
APARTMENT = "APARTMENT",
|
|
46
|
-
OFFICE = "OFFICE",
|
|
47
|
-
HOSPITAL = "HOSPITAL",
|
|
48
|
-
MALL = "MALL",
|
|
49
|
-
HOTEL = "HOTEL",
|
|
50
|
-
BUSINESS = "BUSINESS",
|
|
51
|
-
OTHER = "OTHER"
|
|
52
|
-
}
|
|
53
|
-
}
|
|
@@ -1,20 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CustomerLocationDto = void 0;
|
|
4
|
-
var CustomerLocationDto;
|
|
5
|
-
(function (CustomerLocationDto) {
|
|
6
|
-
/**
|
|
7
|
-
* Location type (e.g. HOME, OFFICE)
|
|
8
|
-
*/
|
|
9
|
-
let locationType;
|
|
10
|
-
(function (locationType) {
|
|
11
|
-
locationType["HOME"] = "HOME";
|
|
12
|
-
locationType["APARTMENT"] = "APARTMENT";
|
|
13
|
-
locationType["OFFICE"] = "OFFICE";
|
|
14
|
-
locationType["HOSPITAL"] = "HOSPITAL";
|
|
15
|
-
locationType["MALL"] = "MALL";
|
|
16
|
-
locationType["HOTEL"] = "HOTEL";
|
|
17
|
-
locationType["BUSINESS"] = "BUSINESS";
|
|
18
|
-
locationType["OTHER"] = "OTHER";
|
|
19
|
-
})(locationType = CustomerLocationDto.locationType || (CustomerLocationDto.locationType = {}));
|
|
20
|
-
})(CustomerLocationDto || (exports.CustomerLocationDto = CustomerLocationDto = {}));
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { LocationTypes } from './LocationTypes';
|
|
1
2
|
export type CustomerLocationUpdateDto = {
|
|
2
3
|
/**
|
|
3
4
|
* Location alias (e.g., "Home", "Work")
|
|
@@ -14,7 +15,7 @@ export type CustomerLocationUpdateDto = {
|
|
|
14
15
|
/**
|
|
15
16
|
* Location type (e.g. HOME, OFFICE)
|
|
16
17
|
*/
|
|
17
|
-
locationType?:
|
|
18
|
+
locationType?: LocationTypes;
|
|
18
19
|
/**
|
|
19
20
|
* Latitude
|
|
20
21
|
*/
|
|
@@ -28,18 +29,3 @@ export type CustomerLocationUpdateDto = {
|
|
|
28
29
|
*/
|
|
29
30
|
address?: string;
|
|
30
31
|
};
|
|
31
|
-
export declare namespace CustomerLocationUpdateDto {
|
|
32
|
-
/**
|
|
33
|
-
* Location type (e.g. HOME, OFFICE)
|
|
34
|
-
*/
|
|
35
|
-
enum locationType {
|
|
36
|
-
HOME = "HOME",
|
|
37
|
-
APARTMENT = "APARTMENT",
|
|
38
|
-
OFFICE = "OFFICE",
|
|
39
|
-
HOSPITAL = "HOSPITAL",
|
|
40
|
-
MALL = "MALL",
|
|
41
|
-
HOTEL = "HOTEL",
|
|
42
|
-
BUSINESS = "BUSINESS",
|
|
43
|
-
OTHER = "OTHER"
|
|
44
|
-
}
|
|
45
|
-
}
|
|
@@ -1,20 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CustomerLocationUpdateDto = void 0;
|
|
4
|
-
var CustomerLocationUpdateDto;
|
|
5
|
-
(function (CustomerLocationUpdateDto) {
|
|
6
|
-
/**
|
|
7
|
-
* Location type (e.g. HOME, OFFICE)
|
|
8
|
-
*/
|
|
9
|
-
let locationType;
|
|
10
|
-
(function (locationType) {
|
|
11
|
-
locationType["HOME"] = "HOME";
|
|
12
|
-
locationType["APARTMENT"] = "APARTMENT";
|
|
13
|
-
locationType["OFFICE"] = "OFFICE";
|
|
14
|
-
locationType["HOSPITAL"] = "HOSPITAL";
|
|
15
|
-
locationType["MALL"] = "MALL";
|
|
16
|
-
locationType["HOTEL"] = "HOTEL";
|
|
17
|
-
locationType["BUSINESS"] = "BUSINESS";
|
|
18
|
-
locationType["OTHER"] = "OTHER";
|
|
19
|
-
})(locationType = CustomerLocationUpdateDto.locationType || (CustomerLocationUpdateDto.locationType = {}));
|
|
20
|
-
})(CustomerLocationUpdateDto || (exports.CustomerLocationUpdateDto = CustomerLocationUpdateDto = {}));
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Role } from './Role';
|
|
1
2
|
export type CustomerLoginResponseDto = {
|
|
2
3
|
/**
|
|
3
4
|
* User ID
|
|
@@ -23,6 +24,10 @@ export type CustomerLoginResponseDto = {
|
|
|
23
24
|
* Customer Phone Number
|
|
24
25
|
*/
|
|
25
26
|
phone: string;
|
|
27
|
+
/**
|
|
28
|
+
* Customer Role
|
|
29
|
+
*/
|
|
30
|
+
role: Role;
|
|
26
31
|
/**
|
|
27
32
|
* Customer Verified Status
|
|
28
33
|
*/
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DriverAssignmentModes = void 0;
|
|
4
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
5
|
+
/* istanbul ignore file */
|
|
6
|
+
/* tslint:disable */
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
var DriverAssignmentModes;
|
|
9
|
+
(function (DriverAssignmentModes) {
|
|
10
|
+
DriverAssignmentModes["AUTO"] = "AUTO";
|
|
11
|
+
DriverAssignmentModes["MANUAL"] = "MANUAL";
|
|
12
|
+
})(DriverAssignmentModes || (exports.DriverAssignmentModes = DriverAssignmentModes = {}));
|
package/models/DriverDto.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Role } from './Role';
|
|
1
2
|
export type DriverLoginResponseDto = {
|
|
2
3
|
/**
|
|
3
4
|
* Admin ID
|
|
@@ -46,7 +47,7 @@ export type DriverLoginResponseDto = {
|
|
|
46
47
|
/**
|
|
47
48
|
* Driver Role
|
|
48
49
|
*/
|
|
49
|
-
role?:
|
|
50
|
+
role?: Role;
|
|
50
51
|
/**
|
|
51
52
|
* Driver credits balance
|
|
52
53
|
*/
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type EstimateTripCostDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Origin latitude
|
|
4
|
+
*/
|
|
5
|
+
originLatitude: number;
|
|
6
|
+
/**
|
|
7
|
+
* Origin longitude
|
|
8
|
+
*/
|
|
9
|
+
originLongitude: number;
|
|
10
|
+
/**
|
|
11
|
+
* Destination latitude
|
|
12
|
+
*/
|
|
13
|
+
destinationLatitude: number;
|
|
14
|
+
/**
|
|
15
|
+
* Destination longitude
|
|
16
|
+
*/
|
|
17
|
+
destinationLongitude: number;
|
|
18
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export type JobSummaryDto = {
|
|
2
|
+
/**
|
|
3
|
+
* BullMQ job ID
|
|
4
|
+
*/
|
|
5
|
+
id: string;
|
|
6
|
+
/**
|
|
7
|
+
* Job name / job type
|
|
8
|
+
*/
|
|
9
|
+
name: string;
|
|
10
|
+
/**
|
|
11
|
+
* Job payload data
|
|
12
|
+
*/
|
|
13
|
+
data: Record<string, any>;
|
|
14
|
+
/**
|
|
15
|
+
* Current job state
|
|
16
|
+
*/
|
|
17
|
+
state: string;
|
|
18
|
+
/**
|
|
19
|
+
* Job progress (number or object)
|
|
20
|
+
*/
|
|
21
|
+
progress: Record<string, any>;
|
|
22
|
+
/**
|
|
23
|
+
* Unix timestamp when job was created
|
|
24
|
+
*/
|
|
25
|
+
timestamp: number;
|
|
26
|
+
/**
|
|
27
|
+
* Unix timestamp when job started processing
|
|
28
|
+
*/
|
|
29
|
+
processedOn?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Unix timestamp when job finished
|
|
32
|
+
*/
|
|
33
|
+
finishedOn?: number;
|
|
34
|
+
/**
|
|
35
|
+
* Error message if job failed
|
|
36
|
+
*/
|
|
37
|
+
failedReason?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Number of processing attempts made
|
|
40
|
+
*/
|
|
41
|
+
attemptsMade: number;
|
|
42
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LocationTypes = void 0;
|
|
4
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
5
|
+
/* istanbul ignore file */
|
|
6
|
+
/* tslint:disable */
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
/**
|
|
9
|
+
* Origin location type
|
|
10
|
+
*/
|
|
11
|
+
var LocationTypes;
|
|
12
|
+
(function (LocationTypes) {
|
|
13
|
+
LocationTypes["HOME"] = "HOME";
|
|
14
|
+
LocationTypes["APARTMENT"] = "APARTMENT";
|
|
15
|
+
LocationTypes["OFFICE"] = "OFFICE";
|
|
16
|
+
LocationTypes["HOSPITAL"] = "HOSPITAL";
|
|
17
|
+
LocationTypes["MALL"] = "MALL";
|
|
18
|
+
LocationTypes["HOTEL"] = "HOTEL";
|
|
19
|
+
LocationTypes["BUSINESS"] = "BUSINESS";
|
|
20
|
+
LocationTypes["OTHER"] = "OTHER";
|
|
21
|
+
})(LocationTypes || (exports.LocationTypes = LocationTypes = {}));
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PaymentTypes = void 0;
|
|
4
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
5
|
+
/* istanbul ignore file */
|
|
6
|
+
/* tslint:disable */
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
/**
|
|
9
|
+
* Payment type (CASH or DEBIT_CREDIT_CARD)
|
|
10
|
+
*/
|
|
11
|
+
var PaymentTypes;
|
|
12
|
+
(function (PaymentTypes) {
|
|
13
|
+
PaymentTypes["CASH"] = "CASH";
|
|
14
|
+
PaymentTypes["DEBIT_CREDIT_CARD"] = "DEBIT_CREDIT_CARD";
|
|
15
|
+
PaymentTypes["VOUCHER"] = "VOUCHER";
|
|
16
|
+
})(PaymentTypes || (exports.PaymentTypes = PaymentTypes = {}));
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export type QueueJobCountsDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Number of jobs waiting to be processed
|
|
4
|
+
*/
|
|
5
|
+
waiting: number;
|
|
6
|
+
/**
|
|
7
|
+
* Number of jobs currently being processed
|
|
8
|
+
*/
|
|
9
|
+
active: number;
|
|
10
|
+
/**
|
|
11
|
+
* Number of completed jobs
|
|
12
|
+
*/
|
|
13
|
+
completed: number;
|
|
14
|
+
/**
|
|
15
|
+
* Number of failed jobs
|
|
16
|
+
*/
|
|
17
|
+
failed: number;
|
|
18
|
+
/**
|
|
19
|
+
* Number of delayed jobs
|
|
20
|
+
*/
|
|
21
|
+
delayed: number;
|
|
22
|
+
/**
|
|
23
|
+
* Number of paused jobs
|
|
24
|
+
*/
|
|
25
|
+
paused: number;
|
|
26
|
+
};
|
package/models/Role.d.ts
ADDED
package/models/Role.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Role = void 0;
|
|
4
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
5
|
+
/* istanbul ignore file */
|
|
6
|
+
/* tslint:disable */
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
/**
|
|
9
|
+
* Admin Role
|
|
10
|
+
*/
|
|
11
|
+
var Role;
|
|
12
|
+
(function (Role) {
|
|
13
|
+
Role["ADMIN"] = "ADMIN";
|
|
14
|
+
Role["CUSTOMER"] = "CUSTOMER";
|
|
15
|
+
Role["DRIVER"] = "DRIVER";
|
|
16
|
+
})(Role || (exports.Role = Role = {}));
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import type { SectionContentsTypes } from './SectionContentsTypes';
|
|
1
2
|
export type SectionContentCreateDto = {
|
|
2
3
|
/**
|
|
3
4
|
* Section content type
|
|
4
5
|
*/
|
|
5
|
-
type:
|
|
6
|
+
type: SectionContentsTypes;
|
|
6
7
|
/**
|
|
7
8
|
* Section name
|
|
8
9
|
*/
|
|
@@ -16,12 +17,3 @@ export type SectionContentCreateDto = {
|
|
|
16
17
|
*/
|
|
17
18
|
position?: number;
|
|
18
19
|
};
|
|
19
|
-
export declare namespace SectionContentCreateDto {
|
|
20
|
-
/**
|
|
21
|
-
* Section content type
|
|
22
|
-
*/
|
|
23
|
-
enum type {
|
|
24
|
-
LEGAL = "legal",
|
|
25
|
-
HELP = "help"
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,14 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
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 = {}));
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { SectionContentsTypes } from './SectionContentsTypes';
|
|
1
2
|
export type SectionContentDto = {
|
|
2
3
|
/**
|
|
3
4
|
* Section content ID
|
|
@@ -6,7 +7,7 @@ export type SectionContentDto = {
|
|
|
6
7
|
/**
|
|
7
8
|
* Section content type
|
|
8
9
|
*/
|
|
9
|
-
type:
|
|
10
|
+
type: SectionContentsTypes;
|
|
10
11
|
/**
|
|
11
12
|
* Section name
|
|
12
13
|
*/
|
|
@@ -24,12 +25,3 @@ export type SectionContentDto = {
|
|
|
24
25
|
*/
|
|
25
26
|
createdAt: string;
|
|
26
27
|
};
|
|
27
|
-
export declare namespace SectionContentDto {
|
|
28
|
-
/**
|
|
29
|
-
* Section content type
|
|
30
|
-
*/
|
|
31
|
-
enum type {
|
|
32
|
-
LEGAL = "legal",
|
|
33
|
-
HELP = "help"
|
|
34
|
-
}
|
|
35
|
-
}
|
|
@@ -1,14 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
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 = {}));
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import type { SectionContentsTypes } from './SectionContentsTypes';
|
|
1
2
|
export type SectionContentUpdateDto = {
|
|
2
3
|
/**
|
|
3
4
|
* Section content type
|
|
4
5
|
*/
|
|
5
|
-
type?:
|
|
6
|
+
type?: SectionContentsTypes;
|
|
6
7
|
/**
|
|
7
8
|
* Section name
|
|
8
9
|
*/
|
|
@@ -16,12 +17,3 @@ export type SectionContentUpdateDto = {
|
|
|
16
17
|
*/
|
|
17
18
|
position?: number;
|
|
18
19
|
};
|
|
19
|
-
export declare namespace SectionContentUpdateDto {
|
|
20
|
-
/**
|
|
21
|
-
* Section content type
|
|
22
|
-
*/
|
|
23
|
-
enum type {
|
|
24
|
-
LEGAL = "legal",
|
|
25
|
-
HELP = "help"
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,14 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
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,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SectionContentsTypes = void 0;
|
|
4
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
5
|
+
/* istanbul ignore file */
|
|
6
|
+
/* tslint:disable */
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
/**
|
|
9
|
+
* Section content type
|
|
10
|
+
*/
|
|
11
|
+
var SectionContentsTypes;
|
|
12
|
+
(function (SectionContentsTypes) {
|
|
13
|
+
SectionContentsTypes["LEGAL"] = "legal";
|
|
14
|
+
SectionContentsTypes["HELP"] = "help";
|
|
15
|
+
SectionContentsTypes["FAQ"] = "faq";
|
|
16
|
+
})(SectionContentsTypes || (exports.SectionContentsTypes = SectionContentsTypes = {}));
|