@wix/auto_sdk_bookings_availability-time-slots 1.0.256 → 1.0.258

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.
@@ -1030,10 +1030,12 @@ declare enum SuggestedAction {
1030
1030
  /** Review blocked time and calendar events. */
1031
1031
  CHECK_BLOCKED_TIME = "CHECK_BLOCKED_TIME",
1032
1032
  /** Assign the staff member / resource to the service. */
1033
- ASSIGN_RESOURCE_TO_SERVICE = "ASSIGN_RESOURCE_TO_SERVICE"
1033
+ ASSIGN_RESOURCE_TO_SERVICE = "ASSIGN_RESOURCE_TO_SERVICE",
1034
+ /** Review the date range the service is offered on (the service's own working hours). */
1035
+ CHECK_SERVICE_AVAILABILITY_RANGE = "CHECK_SERVICE_AVAILABILITY_RANGE"
1034
1036
  }
1035
1037
  /** @enumType */
1036
- type SuggestedActionWithLiterals = SuggestedAction | 'ASSIGN_STAFF_OR_RESOURCES' | 'CHECK_STAFF_WORKING_HOURS' | 'CHECK_WORK_LOCATIONS' | 'CHECK_SERVICE_LOCATIONS' | 'REDUCE_DURATION_OR_BUFFER' | 'CHECK_BLOCKED_TIME' | 'ASSIGN_RESOURCE_TO_SERVICE';
1038
+ type SuggestedActionWithLiterals = SuggestedAction | 'ASSIGN_STAFF_OR_RESOURCES' | 'CHECK_STAFF_WORKING_HOURS' | 'CHECK_WORK_LOCATIONS' | 'CHECK_SERVICE_LOCATIONS' | 'REDUCE_DURATION_OR_BUFFER' | 'CHECK_BLOCKED_TIME' | 'ASSIGN_RESOURCE_TO_SERVICE' | 'CHECK_SERVICE_AVAILABILITY_RANGE';
1037
1039
  interface ResolvedContext {
1038
1040
  /**
1039
1041
  * Service ID that was diagnosed.
@@ -258,6 +258,7 @@ var ReasonCode = /* @__PURE__ */ ((ReasonCode2) => {
258
258
  ReasonCode2["RESOURCE_HAS_NO_WORKING_HOURS"] = "RESOURCE_HAS_NO_WORKING_HOURS";
259
259
  ReasonCode2["RESOURCE_NOT_ASSIGNED_TO_SERVICE"] = "RESOURCE_NOT_ASSIGNED_TO_SERVICE";
260
260
  ReasonCode2["RESOURCE_NOT_AVAILABLE_AT_SERVICE_LOCATION"] = "RESOURCE_NOT_AVAILABLE_AT_SERVICE_LOCATION";
261
+ ReasonCode2["REQUESTED_DATE_OUTSIDE_SERVICE_AVAILABILITY_RANGE"] = "REQUESTED_DATE_OUTSIDE_SERVICE_AVAILABILITY_RANGE";
261
262
  return ReasonCode2;
262
263
  })(ReasonCode || {});
263
264
  var SuggestedAction = /* @__PURE__ */ ((SuggestedAction2) => {
@@ -268,6 +269,7 @@ var SuggestedAction = /* @__PURE__ */ ((SuggestedAction2) => {
268
269
  SuggestedAction2["REDUCE_DURATION_OR_BUFFER"] = "REDUCE_DURATION_OR_BUFFER";
269
270
  SuggestedAction2["CHECK_BLOCKED_TIME"] = "CHECK_BLOCKED_TIME";
270
271
  SuggestedAction2["ASSIGN_RESOURCE_TO_SERVICE"] = "ASSIGN_RESOURCE_TO_SERVICE";
272
+ SuggestedAction2["CHECK_SERVICE_AVAILABILITY_RANGE"] = "CHECK_SERVICE_AVAILABILITY_RANGE";
271
273
  return SuggestedAction2;
272
274
  })(SuggestedAction || {});
273
275
  async function listAvailabilityTimeSlots2(options) {