arky-sdk 0.3.56 → 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.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +5 -5
- package/dist/types.d.ts +5 -5
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
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.
|
|
1049
|
+
const lines = params.items.map((item) => ({
|
|
1050
1050
|
type: "SERVICE",
|
|
1051
|
-
serviceId:
|
|
1051
|
+
serviceId: item.serviceId,
|
|
1052
1052
|
quantity: 1
|
|
1053
1053
|
}));
|
|
1054
|
-
const {
|
|
1054
|
+
const { items, ...rest } = params;
|
|
1055
1055
|
const payload = {
|
|
1056
1056
|
businessId: apiConfig.businessId,
|
|
1057
1057
|
market: apiConfig.market,
|