arky-sdk 0.5.2 → 0.5.4
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 +11 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +11 -2
- package/dist/index.js.map +1 -1
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +135 -11
- package/dist/types.d.ts +135 -11
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1064,6 +1064,15 @@ var createReservationApi = (apiConfig) => {
|
|
|
1064
1064
|
}
|
|
1065
1065
|
);
|
|
1066
1066
|
},
|
|
1067
|
+
async groupBook(params, options) {
|
|
1068
|
+
const { businessId, ...payload } = params;
|
|
1069
|
+
const targetBusinessId = businessId || apiConfig.businessId;
|
|
1070
|
+
return apiConfig.httpClient.post(
|
|
1071
|
+
`/v1/businesses/${targetBusinessId}/reservations/group-book`,
|
|
1072
|
+
payload,
|
|
1073
|
+
options
|
|
1074
|
+
);
|
|
1075
|
+
},
|
|
1067
1076
|
async getProviderWorkingTime(params, options) {
|
|
1068
1077
|
const { providerId, ...queryParams } = params;
|
|
1069
1078
|
return apiConfig.httpClient.get(
|
|
@@ -1356,8 +1365,8 @@ var createPlatformApi = (apiConfig) => {
|
|
|
1356
1365
|
async getCurrencies(options) {
|
|
1357
1366
|
return apiConfig.httpClient.get("/v1/platform/currencies", options);
|
|
1358
1367
|
},
|
|
1359
|
-
async
|
|
1360
|
-
return apiConfig.httpClient.get("/v1/platform/integration-
|
|
1368
|
+
async getIntegrationServices(options) {
|
|
1369
|
+
return apiConfig.httpClient.get("/v1/platform/integration-services", options);
|
|
1361
1370
|
}
|
|
1362
1371
|
};
|
|
1363
1372
|
};
|