@alphabite/medusa-sdk 0.5.2 → 0.5.4
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/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -41,6 +41,7 @@ interface Wishlist {
|
|
|
41
41
|
deleted_at: string | null;
|
|
42
42
|
items: WishlistItem[];
|
|
43
43
|
items_count: number;
|
|
44
|
+
name: string | null;
|
|
44
45
|
}
|
|
45
46
|
interface WishlistItem {
|
|
46
47
|
id: string;
|
|
@@ -196,6 +197,7 @@ interface ListReviewsOutput extends PaginatedOutput<Review> {
|
|
|
196
197
|
}
|
|
197
198
|
interface ListProductReviewsInput extends Omit<ListReviewsInput, 'product_ids'> {
|
|
198
199
|
product_id: string;
|
|
200
|
+
include_aggregated_counts?: boolean;
|
|
199
201
|
}
|
|
200
202
|
interface ListProductReviewsOutput extends PaginatedOutput<Omit<Review, 'product'>>, AggregateCounts {
|
|
201
203
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ interface Wishlist {
|
|
|
41
41
|
deleted_at: string | null;
|
|
42
42
|
items: WishlistItem[];
|
|
43
43
|
items_count: number;
|
|
44
|
+
name: string | null;
|
|
44
45
|
}
|
|
45
46
|
interface WishlistItem {
|
|
46
47
|
id: string;
|
|
@@ -196,6 +197,7 @@ interface ListReviewsOutput extends PaginatedOutput<Review> {
|
|
|
196
197
|
}
|
|
197
198
|
interface ListProductReviewsInput extends Omit<ListReviewsInput, 'product_ids'> {
|
|
198
199
|
product_id: string;
|
|
200
|
+
include_aggregated_counts?: boolean;
|
|
199
201
|
}
|
|
200
202
|
interface ListProductReviewsOutput extends PaginatedOutput<Omit<Review, 'product'>>, AggregateCounts {
|
|
201
203
|
}
|