arky-sdk 0.3.34 → 0.3.35

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.cjs CHANGED
@@ -1069,13 +1069,12 @@ var createReservationApi = (apiConfig) => {
1069
1069
  serviceId: part.serviceId,
1070
1070
  quantity: 1
1071
1071
  }));
1072
+ const { parts, ...rest } = params;
1072
1073
  const payload = {
1073
1074
  businessId: apiConfig.businessId,
1074
1075
  market: apiConfig.market,
1075
- currency: params.currency,
1076
- paymentMethod: params.paymentMethod,
1077
1076
  lines,
1078
- ...params.promoCode && { promoCode: params.promoCode }
1077
+ ...rest
1079
1078
  };
1080
1079
  return apiConfig.httpClient.post(`/v1/payments/quote`, payload, options);
1081
1080
  },