@betterstore/sdk 0.3.100 → 0.3.102

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,17 @@
1
1
  # @betterstore/sdk
2
2
 
3
+ ## 0.3.102
4
+
5
+ ### Patch Changes
6
+
7
+ - bug fixes
8
+
9
+ ## 0.3.101
10
+
11
+ ### Patch Changes
12
+
13
+ - bug fixes
14
+
3
15
  ## 0.3.100
4
16
 
5
17
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -98,7 +98,8 @@ type GetListParams<A, B> = {
98
98
  sortBy?: A;
99
99
  sortOrder?: SortOrder;
100
100
  query?: B & {
101
- NOT?: B;
101
+ NOT?: B | B[];
102
+ OR?: B[];
102
103
  };
103
104
  };
104
105
  type EnumQueryType<T> = {
@@ -196,8 +197,8 @@ interface Product {
196
197
  interface ProductWithoutVariants extends Omit<Product, "productVariants"> {
197
198
  }
198
199
  type ListProductsQuery = {
199
- collectionId?: StringArrayQueryType;
200
- collectionSeoHandle?: StringArrayQueryType;
200
+ collectionIDs?: StringArrayQueryType;
201
+ collectionsSeoHandles?: StringArrayQueryType;
201
202
  tags?: StringArrayQueryType;
202
203
  createdAt?: DateQueryType;
203
204
  updatedAt?: DateQueryType;
package/dist/index.d.ts CHANGED
@@ -98,7 +98,8 @@ type GetListParams<A, B> = {
98
98
  sortBy?: A;
99
99
  sortOrder?: SortOrder;
100
100
  query?: B & {
101
- NOT?: B;
101
+ NOT?: B | B[];
102
+ OR?: B[];
102
103
  };
103
104
  };
104
105
  type EnumQueryType<T> = {
@@ -196,8 +197,8 @@ interface Product {
196
197
  interface ProductWithoutVariants extends Omit<Product, "productVariants"> {
197
198
  }
198
199
  type ListProductsQuery = {
199
- collectionId?: StringArrayQueryType;
200
- collectionSeoHandle?: StringArrayQueryType;
200
+ collectionIDs?: StringArrayQueryType;
201
+ collectionsSeoHandles?: StringArrayQueryType;
201
202
  tags?: StringArrayQueryType;
202
203
  createdAt?: DateQueryType;
203
204
  updatedAt?: DateQueryType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betterstore/sdk",
3
- "version": "0.3.100",
3
+ "version": "0.3.102",
4
4
  "description": "E-commerce for Developers",
5
5
  "private": false,
6
6
  "publishConfig": {