arky-sdk 0.3.57 → 0.3.58

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.js CHANGED
@@ -1044,12 +1044,12 @@ var createReservationApi = (apiConfig) => {
1044
1044
  },
1045
1045
  // ===== QUOTES =====
1046
1046
  async getQuote(params, options) {
1047
- const lines = params.parts.map((part) => ({
1047
+ const lines = params.items.map((item) => ({
1048
1048
  type: "SERVICE",
1049
- serviceId: part.serviceId,
1049
+ serviceId: item.serviceId,
1050
1050
  quantity: 1
1051
1051
  }));
1052
- const { parts, ...rest } = params;
1052
+ const { items, ...rest } = params;
1053
1053
  const payload = {
1054
1054
  businessId: apiConfig.businessId,
1055
1055
  market: apiConfig.market,