@mydoormot/app-types 1.7.0 → 1.7.1

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.5 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
2
+ > @mydoormot/app-types@1.7.0 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 445ms
13
11
  ESM dist/index.js 5.37 KB
14
- ESM ⚡️ Build success in 446ms
12
+ ESM ⚡️ Build success in 196ms
13
+ CJS dist/index.cjs 6.93 KB
14
+ CJS ⚡️ Build success in 196ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 2040ms
17
- DTS dist/index.d.ts 16.71 KB
18
- DTS dist/index.d.cts 16.71 KB
16
+ DTS ⚡️ Build success in 977ms
17
+ DTS dist/index.d.ts 16.87 KB
18
+ DTS dist/index.d.cts 16.87 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @mydoormot/app-types
2
2
 
3
+ ## 1.7.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Added vendor to response
8
+
3
9
  ## 1.7.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.cts CHANGED
@@ -478,6 +478,7 @@ type AddressDetails = {
478
478
  coordinates: number[];
479
479
  };
480
480
  mobileNumber?: string;
481
+ alternateMobileNumber?: string;
481
482
  landmark?: string;
482
483
  addressId?: string;
483
484
  };
@@ -577,6 +578,13 @@ interface BusinessCategory {
577
578
  createdAt: string;
578
579
  updatedAt: string;
579
580
  }
581
+ interface Vendor {
582
+ id: string;
583
+ name: string;
584
+ handle: string;
585
+ businessId: string;
586
+ logo?: string;
587
+ }
580
588
 
581
589
  interface Customer {
582
590
  id: string;
@@ -667,4 +675,4 @@ declare enum LinkDestination {
667
675
  }
668
676
  type NullOrUndefined = null | undefined;
669
677
 
670
- export { type AddressDetails, AddressTypes, type AggregatedErrand, AuthType, type Business, type BusinessCategory, type BusinessPg, type City, type Coupon, type Customer, DeliveryStatus, type Enterprise, type EnterpriseCategoryDoc, type EnterpriseSubCategoryDoc, EnterpriseType, type Errand, type ErrandDeliveryTiming, type ErrandPackagingQuality, type ErrandRating, type ErrandReview, type ErrandReviewLink, type ErrandRiderBehavior, ErrandStatus, type ErrandTimeline, type Invoice, InvoiceGenerationType, type InvoiceItem, InvoiceItemType, InvoiceStatus, type LatLng, LinkDestination, type Notification, type NotificationData, NotificationType, type NullOrUndefined, type PaginateResult, ParcelSize, PaymentOptions, type PendingErrand, type Rider, RoleType, type State, type Transaction, type TransactionCategory, type TransactionType, type TransactionWithCategory, type TransactionWithJoin, type User, type UserAddress, type Vehicle, type VehicleLog, type VehicleLogStatsSummary, VehicleLogType, type VehicleLogWithErrands, type VehicleLogWithRiderAndErrands, VehicleType, type VehicleWithRider, errandTimeline };
678
+ export { type AddressDetails, AddressTypes, type AggregatedErrand, AuthType, type Business, type BusinessCategory, type BusinessPg, type City, type Coupon, type Customer, DeliveryStatus, type Enterprise, type EnterpriseCategoryDoc, type EnterpriseSubCategoryDoc, EnterpriseType, type Errand, type ErrandDeliveryTiming, type ErrandPackagingQuality, type ErrandRating, type ErrandReview, type ErrandReviewLink, type ErrandRiderBehavior, ErrandStatus, type ErrandTimeline, type Invoice, InvoiceGenerationType, type InvoiceItem, InvoiceItemType, InvoiceStatus, type LatLng, LinkDestination, type Notification, type NotificationData, NotificationType, type NullOrUndefined, type PaginateResult, ParcelSize, PaymentOptions, type PendingErrand, type Rider, RoleType, type State, type Transaction, type TransactionCategory, type TransactionType, type TransactionWithCategory, type TransactionWithJoin, type User, type UserAddress, type Vehicle, type VehicleLog, type VehicleLogStatsSummary, VehicleLogType, type VehicleLogWithErrands, type VehicleLogWithRiderAndErrands, VehicleType, type VehicleWithRider, type Vendor, errandTimeline };
package/dist/index.d.ts CHANGED
@@ -478,6 +478,7 @@ type AddressDetails = {
478
478
  coordinates: number[];
479
479
  };
480
480
  mobileNumber?: string;
481
+ alternateMobileNumber?: string;
481
482
  landmark?: string;
482
483
  addressId?: string;
483
484
  };
@@ -577,6 +578,13 @@ interface BusinessCategory {
577
578
  createdAt: string;
578
579
  updatedAt: string;
579
580
  }
581
+ interface Vendor {
582
+ id: string;
583
+ name: string;
584
+ handle: string;
585
+ businessId: string;
586
+ logo?: string;
587
+ }
580
588
 
581
589
  interface Customer {
582
590
  id: string;
@@ -667,4 +675,4 @@ declare enum LinkDestination {
667
675
  }
668
676
  type NullOrUndefined = null | undefined;
669
677
 
670
- export { type AddressDetails, AddressTypes, type AggregatedErrand, AuthType, type Business, type BusinessCategory, type BusinessPg, type City, type Coupon, type Customer, DeliveryStatus, type Enterprise, type EnterpriseCategoryDoc, type EnterpriseSubCategoryDoc, EnterpriseType, type Errand, type ErrandDeliveryTiming, type ErrandPackagingQuality, type ErrandRating, type ErrandReview, type ErrandReviewLink, type ErrandRiderBehavior, ErrandStatus, type ErrandTimeline, type Invoice, InvoiceGenerationType, type InvoiceItem, InvoiceItemType, InvoiceStatus, type LatLng, LinkDestination, type Notification, type NotificationData, NotificationType, type NullOrUndefined, type PaginateResult, ParcelSize, PaymentOptions, type PendingErrand, type Rider, RoleType, type State, type Transaction, type TransactionCategory, type TransactionType, type TransactionWithCategory, type TransactionWithJoin, type User, type UserAddress, type Vehicle, type VehicleLog, type VehicleLogStatsSummary, VehicleLogType, type VehicleLogWithErrands, type VehicleLogWithRiderAndErrands, VehicleType, type VehicleWithRider, errandTimeline };
678
+ export { type AddressDetails, AddressTypes, type AggregatedErrand, AuthType, type Business, type BusinessCategory, type BusinessPg, type City, type Coupon, type Customer, DeliveryStatus, type Enterprise, type EnterpriseCategoryDoc, type EnterpriseSubCategoryDoc, EnterpriseType, type Errand, type ErrandDeliveryTiming, type ErrandPackagingQuality, type ErrandRating, type ErrandReview, type ErrandReviewLink, type ErrandRiderBehavior, ErrandStatus, type ErrandTimeline, type Invoice, InvoiceGenerationType, type InvoiceItem, InvoiceItemType, InvoiceStatus, type LatLng, LinkDestination, type Notification, type NotificationData, NotificationType, type NullOrUndefined, type PaginateResult, ParcelSize, PaymentOptions, type PendingErrand, type Rider, RoleType, type State, type Transaction, type TransactionCategory, type TransactionType, type TransactionWithCategory, type TransactionWithJoin, type User, type UserAddress, type Vehicle, type VehicleLog, type VehicleLogStatsSummary, VehicleLogType, type VehicleLogWithErrands, type VehicleLogWithRiderAndErrands, VehicleType, type VehicleWithRider, type Vendor, errandTimeline };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mydoormot/app-types",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
package/src/business.ts CHANGED
@@ -56,3 +56,11 @@ export interface BusinessCategory {
56
56
  createdAt: string;
57
57
  updatedAt: string;
58
58
  }
59
+
60
+ export interface Vendor {
61
+ id: string;
62
+ name: string;
63
+ handle: string;
64
+ businessId: string;
65
+ logo?: string;
66
+ }
package/src/errand.ts CHANGED
@@ -244,6 +244,7 @@ export type AddressDetails = {
244
244
  coordinates: number[];
245
245
  };
246
246
  mobileNumber?: string;
247
+ alternateMobileNumber?: string;
247
248
  landmark?: string;
248
249
  addressId?: string;
249
250
  };