@mydoormot/app-types 1.7.38 → 1.7.39
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/.turbo/turbo-build.log +7 -7
- package/CHANGELOG.md +6 -0
- package/dist/index.d.cts +15 -0
- package/dist/index.d.ts +15 -0
- package/package.json +1 -1
- package/src/errand.ts +23 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @mydoormot/app-types@1.7.
|
|
2
|
+
> @mydoormot/app-types@1.7.38 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
|
|
3
3
|
> tsup src/index.ts --format esm,cjs --dts
|
|
4
4
|
|
|
5
5
|
CLI Building entry: src/index.ts
|
|
@@ -8,11 +8,11 @@ CLI tsup v7.3.0
|
|
|
8
8
|
CLI Target: es2021
|
|
9
9
|
ESM Build start
|
|
10
10
|
CJS Build start
|
|
11
|
-
ESM dist/index.js 10.83 KB
|
|
12
|
-
ESM ⚡️ Build success in 57ms
|
|
13
11
|
CJS dist/index.cjs 13.20 KB
|
|
14
|
-
CJS ⚡️ Build success in
|
|
12
|
+
CJS ⚡️ Build success in 66ms
|
|
13
|
+
ESM dist/index.js 10.83 KB
|
|
14
|
+
ESM ⚡️ Build success in 67ms
|
|
15
15
|
DTS Build start
|
|
16
|
-
DTS ⚡️ Build success in
|
|
17
|
-
DTS dist/index.d.ts 33.
|
|
18
|
-
DTS dist/index.d.cts 33.
|
|
16
|
+
DTS ⚡️ Build success in 694ms
|
|
17
|
+
DTS dist/index.d.ts 33.77 KB
|
|
18
|
+
DTS dist/index.d.cts 33.77 KB
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -574,6 +574,21 @@ interface Errand {
|
|
|
574
574
|
businessDetails?: Business;
|
|
575
575
|
userDetails?: User;
|
|
576
576
|
courierBusinessDetails?: Business;
|
|
577
|
+
scheduleDate?: Date;
|
|
578
|
+
scheduleTime?: Date;
|
|
579
|
+
businessCustomerId?: string;
|
|
580
|
+
notify?: boolean | null;
|
|
581
|
+
riderAssignmentNotificationSent?: boolean;
|
|
582
|
+
isDelayed?: boolean;
|
|
583
|
+
delayedAt?: Date;
|
|
584
|
+
wasDeliveredBy?: 'rider' | 'admin' | 'system' | 'business';
|
|
585
|
+
paymentMethod?: 'cash_on_delivery' | 'prepaid_online' | 'prepaid_transfer' | 'business_invoice';
|
|
586
|
+
additionalFees?: Array<{
|
|
587
|
+
description: string;
|
|
588
|
+
amount: number;
|
|
589
|
+
createdAt?: Date;
|
|
590
|
+
createdBy?: string;
|
|
591
|
+
}>;
|
|
577
592
|
riderDetails?: Rider;
|
|
578
593
|
vehicleDetails?: Vehicle;
|
|
579
594
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -574,6 +574,21 @@ interface Errand {
|
|
|
574
574
|
businessDetails?: Business;
|
|
575
575
|
userDetails?: User;
|
|
576
576
|
courierBusinessDetails?: Business;
|
|
577
|
+
scheduleDate?: Date;
|
|
578
|
+
scheduleTime?: Date;
|
|
579
|
+
businessCustomerId?: string;
|
|
580
|
+
notify?: boolean | null;
|
|
581
|
+
riderAssignmentNotificationSent?: boolean;
|
|
582
|
+
isDelayed?: boolean;
|
|
583
|
+
delayedAt?: Date;
|
|
584
|
+
wasDeliveredBy?: 'rider' | 'admin' | 'system' | 'business';
|
|
585
|
+
paymentMethod?: 'cash_on_delivery' | 'prepaid_online' | 'prepaid_transfer' | 'business_invoice';
|
|
586
|
+
additionalFees?: Array<{
|
|
587
|
+
description: string;
|
|
588
|
+
amount: number;
|
|
589
|
+
createdAt?: Date;
|
|
590
|
+
createdBy?: string;
|
|
591
|
+
}>;
|
|
577
592
|
riderDetails?: Rider;
|
|
578
593
|
vehicleDetails?: Vehicle;
|
|
579
594
|
}
|
package/package.json
CHANGED
package/src/errand.ts
CHANGED
|
@@ -162,6 +162,29 @@ export interface Errand {
|
|
|
162
162
|
userDetails?: User;
|
|
163
163
|
courierBusinessDetails?: Business;
|
|
164
164
|
|
|
165
|
+
// Schema fields previously missing from this interface.
|
|
166
|
+
scheduleDate?: Date;
|
|
167
|
+
scheduleTime?: Date;
|
|
168
|
+
businessCustomerId?: string;
|
|
169
|
+
// Tri-state: explicit true/false set by the booker, or null when no
|
|
170
|
+
// opinion. WhatsApp gate suppresses only on explicit `false`.
|
|
171
|
+
notify?: boolean | null;
|
|
172
|
+
riderAssignmentNotificationSent?: boolean;
|
|
173
|
+
isDelayed?: boolean;
|
|
174
|
+
delayedAt?: Date;
|
|
175
|
+
wasDeliveredBy?: 'rider' | 'admin' | 'system' | 'business';
|
|
176
|
+
paymentMethod?:
|
|
177
|
+
| 'cash_on_delivery'
|
|
178
|
+
| 'prepaid_online'
|
|
179
|
+
| 'prepaid_transfer'
|
|
180
|
+
| 'business_invoice';
|
|
181
|
+
additionalFees?: Array<{
|
|
182
|
+
description: string;
|
|
183
|
+
amount: number;
|
|
184
|
+
createdAt?: Date;
|
|
185
|
+
createdBy?: string;
|
|
186
|
+
}>;
|
|
187
|
+
|
|
165
188
|
// new fields
|
|
166
189
|
riderDetails?: Rider;
|
|
167
190
|
vehicleDetails?: Vehicle;
|