@mydoormot/app-types 1.6.3 → 1.6.5

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @mydoormot/app-types@1.6.2 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
2
+ > @mydoormot/app-types@1.6.4 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 @@
8
8
  CLI Target: es2021
9
9
  ESM Build start
10
10
  CJS Build start
11
- CJS dist/index.cjs 6.93 KB
12
- CJS ⚡️ Build success in 198ms
13
11
  ESM dist/index.js 5.37 KB
14
- ESM ⚡️ Build success in 199ms
12
+ ESM ⚡️ Build success in 49ms
13
+ CJS dist/index.cjs 6.93 KB
14
+ CJS ⚡️ Build success in 50ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 1988ms
17
- DTS dist/index.d.ts 15.71 KB
18
- DTS dist/index.d.cts 15.71 KB
16
+ DTS ⚡️ Build success in 717ms
17
+ DTS dist/index.d.ts 15.81 KB
18
+ DTS dist/index.d.cts 15.81 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @mydoormot/app-types
2
2
 
3
+ ## 1.6.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Added payment status
8
+
9
+ ## 1.6.4
10
+
11
+ ### Patch Changes
12
+
13
+ - Added customerDetails and businessDetails
14
+
3
15
  ## 1.6.3
4
16
 
5
17
  ### Patch Changes
package/dist/index.d.cts CHANGED
@@ -353,6 +353,7 @@ interface Errand {
353
353
  deliveryDetails: AddressDetails;
354
354
  parcelSize: `${ParcelSize}`;
355
355
  deliveryStatus: ErrandStatus | `${ErrandStatus}`;
356
+ paymentStatus: `${InvoiceStatus}`;
356
357
  invoice: {
357
358
  invoiceStatus: InvoiceStatus | `${InvoiceStatus}`;
358
359
  refId: string;
@@ -389,6 +390,8 @@ interface Errand {
389
390
  type: string;
390
391
  coordinates: number[];
391
392
  };
393
+ businessDetails?: Business;
394
+ customerDetails?: User;
392
395
  }
393
396
  interface AggregatedErrand extends Errand {
394
397
  parcelSize: `${ParcelSize}`;
package/dist/index.d.ts CHANGED
@@ -353,6 +353,7 @@ interface Errand {
353
353
  deliveryDetails: AddressDetails;
354
354
  parcelSize: `${ParcelSize}`;
355
355
  deliveryStatus: ErrandStatus | `${ErrandStatus}`;
356
+ paymentStatus: `${InvoiceStatus}`;
356
357
  invoice: {
357
358
  invoiceStatus: InvoiceStatus | `${InvoiceStatus}`;
358
359
  refId: string;
@@ -389,6 +390,8 @@ interface Errand {
389
390
  type: string;
390
391
  coordinates: number[];
391
392
  };
393
+ businessDetails?: Business;
394
+ customerDetails?: User;
392
395
  }
393
396
  interface AggregatedErrand extends Errand {
394
397
  parcelSize: `${ParcelSize}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mydoormot/app-types",
3
- "version": "1.6.3",
3
+ "version": "1.6.5",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
package/src/errand.ts CHANGED
@@ -120,6 +120,7 @@ export interface Errand {
120
120
  deliveryDetails: AddressDetails;
121
121
  parcelSize: `${ParcelSize}`;
122
122
  deliveryStatus: ErrandStatus | `${ErrandStatus}`;
123
+ paymentStatus: `${InvoiceStatus}`;
123
124
  invoice: {
124
125
  invoiceStatus: InvoiceStatus | `${InvoiceStatus}`;
125
126
  refId: string;
@@ -147,6 +148,8 @@ export interface Errand {
147
148
  riderStartLocation?: { type: string; coordinates: number[] };
148
149
  riderPickupLocation?: { type: string; coordinates: number[] };
149
150
  riderDeliveryLocation?: { type: string; coordinates: number[] };
151
+ businessDetails?: Business;
152
+ customerDetails?: User;
150
153
  }
151
154
 
152
155
  export interface AggregatedErrand extends Errand {