@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.
@@ -286,6 +286,7 @@ var ReasonCode = /* @__PURE__ */ ((ReasonCode2) => {
286
286
  ReasonCode2["RESOURCE_HAS_NO_WORKING_HOURS"] = "RESOURCE_HAS_NO_WORKING_HOURS";
287
287
  ReasonCode2["RESOURCE_NOT_ASSIGNED_TO_SERVICE"] = "RESOURCE_NOT_ASSIGNED_TO_SERVICE";
288
288
  ReasonCode2["RESOURCE_NOT_AVAILABLE_AT_SERVICE_LOCATION"] = "RESOURCE_NOT_AVAILABLE_AT_SERVICE_LOCATION";
289
+ ReasonCode2["REQUESTED_DATE_OUTSIDE_SERVICE_AVAILABILITY_RANGE"] = "REQUESTED_DATE_OUTSIDE_SERVICE_AVAILABILITY_RANGE";
289
290
  return ReasonCode2;
290
291
  })(ReasonCode || {});
291
292
  var SuggestedAction = /* @__PURE__ */ ((SuggestedAction2) => {
@@ -296,6 +297,7 @@ var SuggestedAction = /* @__PURE__ */ ((SuggestedAction2) => {
296
297
  SuggestedAction2["REDUCE_DURATION_OR_BUFFER"] = "REDUCE_DURATION_OR_BUFFER";
297
298
  SuggestedAction2["CHECK_BLOCKED_TIME"] = "CHECK_BLOCKED_TIME";
298
299
  SuggestedAction2["ASSIGN_RESOURCE_TO_SERVICE"] = "ASSIGN_RESOURCE_TO_SERVICE";
300
+ SuggestedAction2["CHECK_SERVICE_AVAILABILITY_RANGE"] = "CHECK_SERVICE_AVAILABILITY_RANGE";
299
301
  return SuggestedAction2;
300
302
  })(SuggestedAction || {});
301
303
  async function listAvailabilityTimeSlots2(options) {