arky-sdk 0.7.43 → 0.7.44
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 +9 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +59 -26
- package/dist/types.d.ts +59 -26
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1076,6 +1076,15 @@ var createBookingApi = (apiConfig) => {
|
|
|
1076
1076
|
}
|
|
1077
1077
|
);
|
|
1078
1078
|
},
|
|
1079
|
+
async cancelBookingItem(params, options) {
|
|
1080
|
+
const { businessId, bookingId, itemId, ...payload } = params;
|
|
1081
|
+
const targetBusinessId = businessId || apiConfig.businessId;
|
|
1082
|
+
return apiConfig.httpClient.post(
|
|
1083
|
+
`/v1/businesses/${targetBusinessId}/bookings/${bookingId}/items/${itemId}/cancel`,
|
|
1084
|
+
payload,
|
|
1085
|
+
options
|
|
1086
|
+
);
|
|
1087
|
+
},
|
|
1079
1088
|
async findServiceProviders(params, options) {
|
|
1080
1089
|
const { businessId, ...queryParams } = params;
|
|
1081
1090
|
const targetBusinessId = businessId || apiConfig.businessId;
|