@betterstore/sdk 0.3.93 → 0.3.94
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/CHANGELOG.md +6 -0
- package/dist/index.d.mts +4 -0
- package/dist/index.d.ts +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -157,6 +157,8 @@ type ProductBillingInterval = "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
|
157
157
|
type ProductBillingType = "ONE_TIME" | "SUBSCRIPTION";
|
|
158
158
|
interface Product {
|
|
159
159
|
id: string;
|
|
160
|
+
createdAt: Date;
|
|
161
|
+
updatedAt: Date;
|
|
160
162
|
title: string;
|
|
161
163
|
description?: string;
|
|
162
164
|
images: string[];
|
|
@@ -191,6 +193,8 @@ type ListProductsQuery = {
|
|
|
191
193
|
collectionId?: StringArrayQueryType;
|
|
192
194
|
collectionSeoHandle?: StringArrayQueryType;
|
|
193
195
|
tags?: StringArrayQueryType;
|
|
196
|
+
createdAt?: DateQueryType;
|
|
197
|
+
updatedAt?: DateQueryType;
|
|
194
198
|
};
|
|
195
199
|
type ListProductsSortBy = "createdAt" | "updatedAt" | "title" | "stockAvailable" | "stockCommited" | "priceInCents";
|
|
196
200
|
type ListProductsParams = GetListParams<ListProductsSortBy, ListProductsQuery>;
|
package/dist/index.d.ts
CHANGED
|
@@ -157,6 +157,8 @@ type ProductBillingInterval = "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
|
157
157
|
type ProductBillingType = "ONE_TIME" | "SUBSCRIPTION";
|
|
158
158
|
interface Product {
|
|
159
159
|
id: string;
|
|
160
|
+
createdAt: Date;
|
|
161
|
+
updatedAt: Date;
|
|
160
162
|
title: string;
|
|
161
163
|
description?: string;
|
|
162
164
|
images: string[];
|
|
@@ -191,6 +193,8 @@ type ListProductsQuery = {
|
|
|
191
193
|
collectionId?: StringArrayQueryType;
|
|
192
194
|
collectionSeoHandle?: StringArrayQueryType;
|
|
193
195
|
tags?: StringArrayQueryType;
|
|
196
|
+
createdAt?: DateQueryType;
|
|
197
|
+
updatedAt?: DateQueryType;
|
|
194
198
|
};
|
|
195
199
|
type ListProductsSortBy = "createdAt" | "updatedAt" | "title" | "stockAvailable" | "stockCommited" | "priceInCents";
|
|
196
200
|
type ListProductsParams = GetListParams<ListProductsSortBy, ListProductsQuery>;
|