@bzbs/react-api-client 2.1.6 → 2.1.7

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.mjs CHANGED
@@ -1153,15 +1153,19 @@ var CartApi = class extends BaseService {
1153
1153
  /**
1154
1154
  * Retrieves the count of items in the cart.
1155
1155
  *
1156
+ * @param params.countQuantity - Whether to count the quantity of items in the cart. Defaults to true.
1156
1157
  * @param options - Optional additional parameters.
1157
1158
  * @param requestOptions - Optional request options.
1158
1159
  * @returns A promise that resolves to a ServiceResponse containing the CartCountResponse.
1159
1160
  */
1160
- cartCount(options, requestOptions) {
1161
+ cartCount(params, requestOptions) {
1161
1162
  return __async(this, null, function* () {
1163
+ var _a;
1162
1164
  return yield this.get(
1163
1165
  "cart/count",
1164
- __spreadValues({}, options),
1166
+ __spreadValues({
1167
+ countQuantity: (_a = params.countQuantity) != null ? _a : true
1168
+ }, params.options),
1165
1169
  requestOptions
1166
1170
  );
1167
1171
  });