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.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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.
|
|
1047
|
+
const lines = params.items.map((item) => ({
|
|
1048
1048
|
type: "SERVICE",
|
|
1049
|
-
serviceId:
|
|
1049
|
+
serviceId: item.serviceId,
|
|
1050
1050
|
quantity: 1
|
|
1051
1051
|
}));
|
|
1052
|
-
const {
|
|
1052
|
+
const { items, ...rest } = params;
|
|
1053
1053
|
const payload = {
|
|
1054
1054
|
businessId: apiConfig.businessId,
|
|
1055
1055
|
market: apiConfig.market,
|