arky-sdk 0.3.116 → 0.3.118
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 +7 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +7 -10
- package/dist/index.js.map +1 -1
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +14 -9
- package/dist/types.d.ts +14 -9
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1067,6 +1067,13 @@ var createReservationApi = (apiConfig) => {
|
|
|
1067
1067
|
options
|
|
1068
1068
|
);
|
|
1069
1069
|
},
|
|
1070
|
+
async bulkSchedule(params, options) {
|
|
1071
|
+
return apiConfig.httpClient.post(
|
|
1072
|
+
`/v1/businesses/${apiConfig.businessId}/services/bulk-schedule`,
|
|
1073
|
+
params,
|
|
1074
|
+
options
|
|
1075
|
+
);
|
|
1076
|
+
},
|
|
1070
1077
|
async getService(params, options) {
|
|
1071
1078
|
const formattedId = formatIdOrSlug(params.id, apiConfig);
|
|
1072
1079
|
const response = await apiConfig.httpClient.get(
|
|
@@ -1094,16 +1101,6 @@ var createReservationApi = (apiConfig) => {
|
|
|
1094
1101
|
}
|
|
1095
1102
|
);
|
|
1096
1103
|
},
|
|
1097
|
-
async getServiceProviders(params, options) {
|
|
1098
|
-
const { serviceId, ...queryParams } = params;
|
|
1099
|
-
return apiConfig.httpClient.get(
|
|
1100
|
-
`/v1/businesses/${apiConfig.businessId}/services/${serviceId}/providers`,
|
|
1101
|
-
{
|
|
1102
|
-
...options,
|
|
1103
|
-
params: queryParams
|
|
1104
|
-
}
|
|
1105
|
-
);
|
|
1106
|
-
},
|
|
1107
1104
|
// ===== PROVIDERS =====
|
|
1108
1105
|
async createProvider(params, options) {
|
|
1109
1106
|
return apiConfig.httpClient.post(
|