@chopkola/common 1.0.165 → 1.0.166

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,6 @@
1
1
  import { AddressI } from "./address";
2
2
  import { PromotionTypeEnum, VendorBusinessTypeEnum, VendorStatusEnum } from "./enum/collection";
3
+ import { AddressPayloadType } from "./global";
3
4
  export type CuisineType = "African" | "Asian" | "Continental" | "Mediterranean" | "American";
4
5
  export type AmbienceType = "Casual" | "Fine Dining" | "Family Friendly" | "Romantic" | "Outdoor" | "Rooftop";
5
6
  export type StoreType = "Supermarket" | "Organic Store" | "Wholesale" | "Convenience Store" | "Mini Mart";
@@ -89,7 +90,9 @@ export interface GroceryVendorAggregate extends Vendor {
89
90
  grocery_info: GroceryInfo;
90
91
  }
91
92
  export type VendorAggregate = RestaurantVendorAggregate | GroceryVendorAggregate;
92
- export type CreateVendorInput = Omit<Vendor, "id" | "rating" | "review_count" | "business_status" | "approved_by" | "approved_on" | "created_at" | "updated_at">;
93
+ export type CreateVendorInput = Omit<Vendor, "id" | "rating" | "review_count" | "business_status" | "approved_by" | "approved_on" | "created_at" | "updated_at"> & {
94
+ address_payload: AddressPayloadType;
95
+ };
93
96
  export type UpdateVendorInput = Partial<Omit<Vendor, "id" | "owner_id" | "business_type" | "rating" | "review_count" | "created_at" | "updated_at">>;
94
97
  export type CreateRestaurantInfoInput = Omit<RestaurantInfo, "id" | "created_at" | "updated_at">;
95
98
  export type UpdateRestaurantInfoInput = Partial<Omit<RestaurantInfo, "id" | "vendor_id" | "created_at" | "updated_at">>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chopkola/common",
3
- "version": "1.0.165",
3
+ "version": "1.0.166",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "akrosoft technology ltd",