@dapex-tech/elite-online-services 0.0.17 → 0.0.18

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.
Files changed (81) hide show
  1. package/createClient.d.ts +3 -0
  2. package/models/AddDriverCreditsByCardDto.d.ts +11 -0
  3. package/models/AddDriverCreditsByCardDto.js +2 -0
  4. package/models/AddDriverCreditsByCashDto.d.ts +6 -0
  5. package/models/AddDriverCreditsByCashDto.js +2 -0
  6. package/models/AddPaymentMethodDto.d.ts +29 -1
  7. package/models/AdminSearchCustomersResponseDto.d.ts +8 -0
  8. package/models/AdminSearchCustomersResponseDto.js +2 -0
  9. package/models/CardDataDto.d.ts +42 -0
  10. package/models/CardDataDto.js +2 -0
  11. package/models/ChargeTripByCardDto.d.ts +28 -0
  12. package/models/ChargeTripByCardResponseDto.d.ts +26 -0
  13. package/models/ChargeTripByCardResponseDto.js +2 -0
  14. package/models/ChargeTripByCashResponseDto.d.ts +6 -0
  15. package/models/ChargeTripByCashResponseDto.js +2 -0
  16. package/models/ChargeTripByVoucherDto.d.ts +14 -0
  17. package/models/ChargeTripByVoucherDto.js +2 -0
  18. package/models/CustomerLocationCreateDto.d.ts +19 -0
  19. package/models/CustomerLocationCreateDto.js +18 -0
  20. package/models/CustomerLocationDto.d.ts +19 -0
  21. package/models/CustomerLocationDto.js +18 -0
  22. package/models/CustomerLocationUpdateDto.d.ts +19 -0
  23. package/models/CustomerLocationUpdateDto.js +18 -0
  24. package/models/DriverCreditsResponseDto.d.ts +18 -0
  25. package/models/DriverCreditsResponseDto.js +2 -0
  26. package/models/DriverDto.d.ts +4 -0
  27. package/models/DriverLoginResponseDto.d.ts +4 -0
  28. package/models/DriverPaymentMethodResponseDto.d.ts +38 -0
  29. package/models/DriverPaymentMethodResponseDto.js +2 -0
  30. package/models/InquireVoucherBalanceDto.d.ts +6 -0
  31. package/models/InquireVoucherBalanceDto.js +2 -0
  32. package/models/InquireVoucherBalanceResponseDto.d.ts +42 -0
  33. package/models/InquireVoucherBalanceResponseDto.js +2 -0
  34. package/models/PaymentMethodResponseDto.d.ts +38 -0
  35. package/models/PaymentMethodResponseDto.js +2 -0
  36. package/models/PurchaseDriverCreditsDto.d.ts +10 -0
  37. package/models/PurchaseDriverCreditsDto.js +2 -0
  38. package/models/SectionContentCreateDto.d.ts +27 -0
  39. package/models/SectionContentCreateDto.js +14 -0
  40. package/models/SectionContentDto.d.ts +35 -0
  41. package/models/SectionContentDto.js +14 -0
  42. package/models/SectionContentUpdateDto.d.ts +27 -0
  43. package/models/SectionContentUpdateDto.js +14 -0
  44. package/models/SeniorCenterDto.d.ts +30 -0
  45. package/models/SeniorCenterDto.js +2 -0
  46. package/models/TripDto.d.ts +60 -4
  47. package/models/TripDto.js +30 -0
  48. package/models/TripStatuses.d.ts +1 -0
  49. package/models/TripStatuses.js +1 -0
  50. package/models/TripUpdateDto.d.ts +6 -1
  51. package/models/TripUpdateDto.js +1 -0
  52. package/models/TripUpdateTripsStatusDto.d.ts +1 -0
  53. package/models/TripUpdateTripsStatusDto.js +1 -0
  54. package/models/VoucherDriverCreateDto.d.ts +54 -0
  55. package/models/VoucherDriverCreateDto.js +2 -0
  56. package/models/index.d.ts +18 -1
  57. package/models/index.js +18 -1
  58. package/package.json +1 -1
  59. package/services/AdminDriversService.d.ts +3 -1
  60. package/services/AdminDriversService.js +4 -1
  61. package/services/AdminPaymentsService.d.ts +22 -0
  62. package/services/AdminPaymentsService.js +52 -0
  63. package/services/AdminSectionContentService.d.ts +46 -0
  64. package/services/AdminSectionContentService.js +89 -0
  65. package/services/AdminService.d.ts +12 -5
  66. package/services/AdminService.js +14 -3
  67. package/services/CustomerPaymentsService.d.ts +11 -10
  68. package/services/CustomerPaymentsService.js +5 -5
  69. package/services/CustomerSectionContentsService.d.ts +17 -0
  70. package/services/CustomerSectionContentsService.js +34 -0
  71. package/services/DriverPaymentsService.d.ts +56 -0
  72. package/services/DriverPaymentsService.js +118 -0
  73. package/services/DriverTripsService.d.ts +10 -0
  74. package/services/DriverTripsService.js +18 -0
  75. package/services/PaymentsService.d.ts +19 -16
  76. package/services/PaymentsService.js +8 -8
  77. package/services/index.d.ts +3 -0
  78. package/services/index.js +3 -0
  79. package/types/realtime/driver-status.d.ts +2 -2
  80. package/models/SearchCustomerDto.d.ts +0 -41
  81. package/models/SearchCustomerDto.js +0 -11
package/createClient.d.ts CHANGED
@@ -6,12 +6,15 @@ export declare function createClient(baseUrl?: string): {
6
6
  AdminAuthService: typeof services.AdminAuthService;
7
7
  AdminCustomerService: typeof services.AdminCustomerService;
8
8
  AdminDriversService: typeof services.AdminDriversService;
9
+ AdminPaymentsService: typeof services.AdminPaymentsService;
10
+ AdminSectionContentService: typeof services.AdminSectionContentService;
9
11
  AdminService: typeof services.AdminService;
10
12
  AdminSettingsService: typeof services.AdminSettingsService;
11
13
  AdminTripsService: typeof services.AdminTripsService;
12
14
  AdminVouchersService: typeof services.AdminVouchersService;
13
15
  CustomerLocationsService: typeof services.CustomerLocationsService;
14
16
  CustomerPaymentsService: typeof services.CustomerPaymentsService;
17
+ CustomerSectionContentsService: typeof services.CustomerSectionContentsService;
15
18
  CustomerSettingsService: typeof services.CustomerSettingsService;
16
19
  CustomerTripsService: typeof services.CustomerTripsService;
17
20
  CustomersAuthService: typeof services.CustomersAuthService;
@@ -0,0 +1,11 @@
1
+ import type { CardDataDto } from './CardDataDto';
2
+ export type AddDriverCreditsByCardDto = {
3
+ /**
4
+ * Number of credits to add to the driver
5
+ */
6
+ credits: number;
7
+ /**
8
+ * Card data to charge
9
+ */
10
+ cardData: CardDataDto;
11
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export type AddDriverCreditsByCashDto = {
2
+ /**
3
+ * Number of credits to add to the driver
4
+ */
5
+ credits: number;
6
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -8,9 +8,37 @@ export type AddPaymentMethodDto = {
8
8
  */
9
9
  expirationDate: string;
10
10
  /**
11
- * Card CVV (use 900 for successful CVV match in Authorize.net sandbox)
11
+ * Card CVV
12
12
  */
13
13
  cvv: string;
14
+ /**
15
+ * Billing first name
16
+ */
17
+ firstName?: string;
18
+ /**
19
+ * Billing last name
20
+ */
21
+ lastName?: string;
22
+ /**
23
+ * Billing address
24
+ */
25
+ address?: string;
26
+ /**
27
+ * Billing city
28
+ */
29
+ city?: string;
30
+ /**
31
+ * Billing country code
32
+ */
33
+ country?: string;
34
+ /**
35
+ * Billing ZIP/postal code (required for AVS)
36
+ */
37
+ zip: string;
38
+ /**
39
+ * Billing state/province code
40
+ */
41
+ state?: string;
14
42
  /**
15
43
  * Set as default payment method
16
44
  */
@@ -0,0 +1,8 @@
1
+ import type { CustomerDto } from './CustomerDto';
2
+ import type { ManualCustomerDto } from './ManualCustomerDto';
3
+ import type { VoucherDto } from './VoucherDto';
4
+ export type AdminSearchCustomersResponseDto = {
5
+ registeredCustomers: Array<CustomerDto>;
6
+ vouchers: Array<VoucherDto>;
7
+ manualCustomers: Array<ManualCustomerDto>;
8
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,42 @@
1
+ export type CardDataDto = {
2
+ /**
3
+ * Card number (Authorize.net sandbox Visa test card)
4
+ */
5
+ cardNumber: string;
6
+ /**
7
+ * Expiration date in MM/YY
8
+ */
9
+ expirationDate: string;
10
+ /**
11
+ * Card CVV (use 900 for successful CVV match in Authorize.net sandbox)
12
+ */
13
+ cvv: string;
14
+ /**
15
+ * Billing first name
16
+ */
17
+ firstName?: string;
18
+ /**
19
+ * Billing last name
20
+ */
21
+ lastName?: string;
22
+ /**
23
+ * Billing address
24
+ */
25
+ address?: string;
26
+ /**
27
+ * Billing city
28
+ */
29
+ city?: string;
30
+ /**
31
+ * Billing country code
32
+ */
33
+ country?: string;
34
+ /**
35
+ * Billing ZIP/postal code (required for AVS)
36
+ */
37
+ zip: string;
38
+ /**
39
+ * Billing state/province code
40
+ */
41
+ state?: string;
42
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -19,4 +19,32 @@ export type ChargeTripByCardDto = {
19
19
  * Card CVV
20
20
  */
21
21
  cvv: string;
22
+ /**
23
+ * Billing first name (Authorize.Net billing/AVS)
24
+ */
25
+ firstName?: string;
26
+ /**
27
+ * Billing last name (Authorize.Net billing/AVS)
28
+ */
29
+ lastName?: string;
30
+ /**
31
+ * Billing address (Authorize.Net billing/AVS)
32
+ */
33
+ address?: string;
34
+ /**
35
+ * Billing city (Authorize.Net billing/AVS)
36
+ */
37
+ city?: string;
38
+ /**
39
+ * Billing country code (Authorize.Net billing/AVS)
40
+ */
41
+ country?: string;
42
+ /**
43
+ * Billing ZIP/postal code (Authorize.Net billing/AVS; required for US/CA)
44
+ */
45
+ zip: string;
46
+ /**
47
+ * Billing state/province code (Authorize.Net billing/AVS)
48
+ */
49
+ state?: string;
22
50
  };
@@ -0,0 +1,26 @@
1
+ export type ChargeTripByCardResponseDto = {
2
+ /**
3
+ * Whether the charge was successful
4
+ */
5
+ success: boolean;
6
+ /**
7
+ * Created payment record ID when successful
8
+ */
9
+ paymentId?: Record<string, any>;
10
+ /**
11
+ * Gateway transaction ID
12
+ */
13
+ transactionId?: string;
14
+ /**
15
+ * Gateway response code
16
+ */
17
+ responseCode?: string;
18
+ /**
19
+ * Gateway response message
20
+ */
21
+ responseMessage?: string;
22
+ /**
23
+ * Mapped status: approved | declined | held | error
24
+ */
25
+ status?: string;
26
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export type ChargeTripByCashResponseDto = {
2
+ /**
3
+ * Created payment record ID
4
+ */
5
+ paymentId: number;
6
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ export type ChargeTripByVoucherDto = {
2
+ /**
3
+ * Trip ID to charge
4
+ */
5
+ tripId: number;
6
+ /**
7
+ * Amount to charge
8
+ */
9
+ amount: number;
10
+ /**
11
+ * Voucher card number. If provided, the voucher is looked up and trip customer info is updated to match. If omitted, the trip must have voucherId set.
12
+ */
13
+ voucherCardNumber?: string;
14
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -11,6 +11,10 @@ export type CustomerLocationCreateDto = {
11
11
  * Location name
12
12
  */
13
13
  name?: string;
14
+ /**
15
+ * Location type (e.g. HOME, OFFICE)
16
+ */
17
+ locationType?: CustomerLocationCreateDto.locationType;
14
18
  /**
15
19
  * Latitude
16
20
  */
@@ -24,3 +28,18 @@ export type CustomerLocationCreateDto = {
24
28
  */
25
29
  address?: string;
26
30
  };
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,2 +1,20 @@
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 = {}));
@@ -19,6 +19,10 @@ export type CustomerLocationDto = {
19
19
  * Location name
20
20
  */
21
21
  name?: Record<string, any> | null;
22
+ /**
23
+ * Location type (e.g. HOME, OFFICE)
24
+ */
25
+ locationType?: CustomerLocationDto.locationType | null;
22
26
  /**
23
27
  * Latitude
24
28
  */
@@ -32,3 +36,18 @@ export type CustomerLocationDto = {
32
36
  */
33
37
  address?: Record<string, any> | null;
34
38
  };
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,2 +1,20 @@
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 = {}));
@@ -11,6 +11,10 @@ export type CustomerLocationUpdateDto = {
11
11
  * Location name
12
12
  */
13
13
  name?: string;
14
+ /**
15
+ * Location type (e.g. HOME, OFFICE)
16
+ */
17
+ locationType?: CustomerLocationUpdateDto.locationType;
14
18
  /**
15
19
  * Latitude
16
20
  */
@@ -24,3 +28,18 @@ export type CustomerLocationUpdateDto = {
24
28
  */
25
29
  address?: string;
26
30
  };
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,2 +1,20 @@
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 = {}));
@@ -0,0 +1,18 @@
1
+ export type DriverCreditsResponseDto = {
2
+ /**
3
+ * Whether the operation succeeded
4
+ */
5
+ success: boolean;
6
+ /**
7
+ * Driver credits balance after the operation
8
+ */
9
+ newBalance: number;
10
+ /**
11
+ * Gateway transaction ID (card flows only)
12
+ */
13
+ transactionId?: string;
14
+ /**
15
+ * Gateway status (card flows only)
16
+ */
17
+ status?: string;
18
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -47,4 +47,8 @@ export type DriverDto = {
47
47
  * Driver Role
48
48
  */
49
49
  role?: Record<string, any>;
50
+ /**
51
+ * Driver credits balance
52
+ */
53
+ credits?: number;
50
54
  };
@@ -47,6 +47,10 @@ export type DriverLoginResponseDto = {
47
47
  * Driver Role
48
48
  */
49
49
  role?: Record<string, any>;
50
+ /**
51
+ * Driver credits balance
52
+ */
53
+ credits?: number;
50
54
  /**
51
55
  * Access Token
52
56
  */
@@ -0,0 +1,38 @@
1
+ export type DriverPaymentMethodResponseDto = {
2
+ /**
3
+ * Payment method ID
4
+ */
5
+ id: number;
6
+ /**
7
+ * Driver ID
8
+ */
9
+ driverId: number;
10
+ /**
11
+ * Last 4 digits of the card
12
+ */
13
+ cardLast4: string;
14
+ /**
15
+ * Card brand
16
+ */
17
+ cardBrand: string;
18
+ /**
19
+ * Card expiration month (1-12)
20
+ */
21
+ cardExpMonth: number;
22
+ /**
23
+ * Card expiration year
24
+ */
25
+ cardExpYear: number;
26
+ /**
27
+ * Whether this is the default payment method
28
+ */
29
+ isDefault: boolean;
30
+ /**
31
+ * Creation timestamp
32
+ */
33
+ createdAt: string;
34
+ /**
35
+ * Last update timestamp
36
+ */
37
+ updatedAt?: Record<string, any>;
38
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export type InquireVoucherBalanceDto = {
2
+ /**
3
+ * Trip ID associated with the voucher inquiry
4
+ */
5
+ tripId: number;
6
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,42 @@
1
+ export type InquireVoucherBalanceResponseDto = {
2
+ /**
3
+ * Whether the inquiry was approved
4
+ */
5
+ success: boolean;
6
+ /**
7
+ * Transaction date from processor
8
+ */
9
+ transDate: string;
10
+ /**
11
+ * Transaction time from processor
12
+ */
13
+ transTime: string;
14
+ /**
15
+ * Source ID
16
+ */
17
+ sourceId: string;
18
+ /**
19
+ * Masked or full card number from response
20
+ */
21
+ cardNumber: string;
22
+ /**
23
+ * Balance in cents, when available
24
+ */
25
+ balanceCents?: Record<string, any>;
26
+ /**
27
+ * Processor response code
28
+ */
29
+ responseCode: string;
30
+ /**
31
+ * Processor response message
32
+ */
33
+ responseMessage: string;
34
+ /**
35
+ * Approval code when applicable
36
+ */
37
+ approvalCode: string;
38
+ /**
39
+ * Approval amount in cents when applicable
40
+ */
41
+ approvalAmountCents?: Record<string, any>;
42
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,38 @@
1
+ export type PaymentMethodResponseDto = {
2
+ /**
3
+ * Payment method ID
4
+ */
5
+ id: number;
6
+ /**
7
+ * Customer ID
8
+ */
9
+ customerId: number;
10
+ /**
11
+ * Last 4 digits of the card
12
+ */
13
+ cardLast4: string;
14
+ /**
15
+ * Card brand
16
+ */
17
+ cardBrand: string;
18
+ /**
19
+ * Card expiration month (1-12)
20
+ */
21
+ cardExpMonth: number;
22
+ /**
23
+ * Card expiration year
24
+ */
25
+ cardExpYear: number;
26
+ /**
27
+ * Whether this is the default payment method
28
+ */
29
+ isDefault: boolean;
30
+ /**
31
+ * Creation timestamp
32
+ */
33
+ createdAt: string;
34
+ /**
35
+ * Last update timestamp
36
+ */
37
+ updatedAt?: Record<string, any>;
38
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ export type PurchaseDriverCreditsDto = {
2
+ /**
3
+ * Number of credits to purchase
4
+ */
5
+ credits: number;
6
+ /**
7
+ * Driver payment method ID to charge
8
+ */
9
+ driverPaymentMethodId: number;
10
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,27 @@
1
+ export type SectionContentCreateDto = {
2
+ /**
3
+ * Section content type
4
+ */
5
+ type: SectionContentCreateDto.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 SectionContentCreateDto {
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.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 = {}));