arky-sdk 0.3.57 → 0.3.59

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