@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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @betterstore/sdk
2
2
 
3
+ ## 0.3.94
4
+
5
+ ### Patch Changes
6
+
7
+ - bug fixes
8
+
3
9
  ## 0.3.93
4
10
 
5
11
  ### Patch Changes
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>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betterstore/sdk",
3
- "version": "0.3.93",
3
+ "version": "0.3.94",
4
4
  "description": "E-commerce for Developers",
5
5
  "private": false,
6
6
  "publishConfig": {