@wix/auto_sdk_restaurants_operations 1.0.44 → 1.0.46

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.
@@ -1,8 +1,7 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
2
  import { Operation, UpdateOperation, OperationsQueryBuilder, ListOperationsResponse, ListAvailableFulfillmentOptions, ListAvailableFulfillmentOptionsResponse, ListFirstAvailableTimeSlotForFulfillmentTypesOptions, ListFirstAvailableTimeSlotForFulfillmentTypesResponse, CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions, CalculateFirstAvailableTimeSlotPerFulfillmentTypeResponse, ListFirstAvailableTimeSlotsForOperationsOptions, ListFirstAvailableTimeSlotsForOperationsResponse, CalculateFirstAvailableTimeSlotsPerOperationOptions, CalculateFirstAvailableTimeSlotsPerOperationResponse, ListFirstAvailableTimeSlotsForMenusOptions, ListFirstAvailableTimeSlotsForMenusResponse, CalculateFirstAvailableTimeSlotsPerMenuOptions, CalculateFirstAvailableTimeSlotsPerMenuResponse, ListAvailableTimeSlotsForDateOptions, ListAvailableTimeSlotsForDateResponse, CalculateAvailableTimeSlotsForDateOptions, CalculateAvailableTimeSlotsForDateResponse, ListAvailableDatesInRangeOptions, ListAvailableDatesInRangeResponse, CalculateAvailableDatesInRangeOptions, CalculateAvailableDatesInRangeResponse, ValidateOperationAddressResponse, BulkUpdateOperationTagsOptions, BulkUpdateOperationTagsResponse, BulkUpdateOperationTagsApplicationErrors, BulkUpdateOperationTagsByFilterOptions, BulkUpdateOperationTagsByFilterResponse, BulkUpdateOperationTagsByFilterApplicationErrors, OperationCreatedEnvelope, OperationDeletedEnvelope, OperationUpdatedEnvelope } from './index.typings.js';
3
- export { ActionEvent, ActivationType, ActivePeriod, Address, AddressHint, AddressLocation, AddressViolation, App, ApplicationError, AsapFutureHandlingType, AsapOrderPacing, AsapOrderPacingPacingAvailabilityOneOf, AsapOrderScheduling, AsapOrderSchedulingAsapFutureHandlingOptionsOneOf, AsapPacingWindowType, AsapPreorderType, AsapScheduling, AsapSchedulingAsapPreorderOneOf, AsapSchedulingPreparationTimeOneOf, Asset, AvailabilityException, BaseEventMetadata, BulkActionMetadata, BulkUpdateOperationTagsByFilterRequest, BulkUpdateOperationTagsRequest, BulkUpdateOperationTagsResult, BusinessDaysAheadHandling, BusinessDaysPreorder, BusinessLocationDetails, BusinessSchedule, CalculateAvailableDatesInRangeRequest, CalculateAvailableTimeSlotsForDateRequest, CalculateFirstAvailableTimeSlotPerFulfillmentTypeRequest, CalculateFirstAvailableTimeSlotsPerMenuRequest, CalculateFirstAvailableTimeSlotsPerOperationRequest, Categories, ChangeContext, ChangeContextPayloadOneOf, CommonAddress, CommonAddressStreetOneOf, ConsentPolicy, CreateOperationRequest, CreateOperationResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomTag, DayAndTime, DayOfWeek, DayOfWeekAvailability, DeleteContext, DeleteOperationRequest, DeleteOperationResponse, DeleteStatus, DeliveryDetails, DeliveryProfileConfiguredForOperation, DomainEvent, DomainEventBodyOneOf, DurationRange, Empty, EntitiesDayOfWeek, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, File, FirstFulfillmentTimeSlotsPerMenu, FulfillmentAddress, FulfillmentDetails, FulfillmentDetailsFulfillmentTimeOptionsOneOf, FulfillmentInfo, FulfillmentInfoFulfillmentTimeOneOf, FulfillmentOption, FulfillmentOptionAvailability, FulfillmentOptionFulfillmentTimeOptionsOneOf, FulfillmentOptionFulfillmentTimesDisplayOptionsOneOf, FulfillmentOptionFulfillmentTypeOptionsOneOf, FulfillmentTimeSlot, FulfillmentTimeSlotsPerMenu, FulfillmentTimeType, FulfillmentTimesDisplayConfig, FulfillmentTimesDisplayConfigFulfillmentTimesDisplayOptionsOneOf, FulfillmentTimesDisplayType, FulfillmentTimesType, FulfillmentType, FulfillmentTypeAvailableDates, GeoCoordinates, GetExpectedFulfillmentSelectionRequest, GetExpectedFulfillmentSelectionResponse, GetOperationRequest, GetOperationResponse, IdentificationData, IdentificationDataIdOneOf, ImmutableFields, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, ListAvailableDatesInRangeRequest, ListAvailableFulfillmentOptionsRequest, ListAvailableTimeSlotsForDateRequest, ListFirstAvailableTimeSlotForFulfillmentTypesRequest, ListFirstAvailableTimeSlotsForMenusRequest, ListFirstAvailableTimeSlotsForOperationsRequest, ListOperationIdsRequest, ListOperationIdsResponse, ListOperationsInternalRequest, ListOperationsInternalResponse, ListOperationsRequest, Locale, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, MethodType, Multilingual, Namespace, NamespaceChanged, OdeditorAssigned, OdeditorUnassigned, OnlineOrderingPausedUntilOptions, OnlineOrderingStatusType, OperationOnlineOrderingStatusOptionsOneOf, OperationTimeSlot, OperationsDataCloningCompleted, OperationsQueryResult, OrderScheduling, OrderSchedulingOrderSchedulingOptionsOneOf, OrderSchedulingType, Page, PagingMetadata, PicassoAssigned, PicassoUnassigned, PickupDetails, PlacementType, PreOrderPacing, PreOrderPacingPacingAvailabilityOneOf, PreorderMethod, PreorderMethodMethodOptionsOneOf, PreorderPacingWindowType, PreorderScheduling, PreparationTime, PreparationTimePreparationTimeType, PreparationTimeTimeSpecificationOneOf, PreparationTimeType, Properties, PropertiesChange, QueryOperationRequest, QueryOperationResponse, ResolutionMethod, RestoreInfo, Scheduling, SchedulingSchedulingOptionsOneOf, SchedulingType, ServiceProvisioned, ServiceRemoved, SiteCloned, SiteCreated, SiteCreatedContext, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePropertiesEvent, SitePropertiesNotification, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, Sorting, SpecialHourPeriod, State, StreetAddress, StudioAssigned, StudioUnassigned, Subdivision, SubdivisionType, SupportedLanguage, TagList, Tags, TimeBounded, TimeDuration, TimeDurationRange, TimeOfDay, TimeOfDayRange, TimePeriod, TimeSlot, TimeSlotForFulfillment, TimeSlotForOperation, TimeSlotStatus, TimeUnit, TimeWindowDisplayConfig, Translation, URI, UpdateDeliveryRegionsRequest, UpdateDeliveryRegionsResponse, UpdateImmutableFieldsRequest, UpdateImmutableFieldsResponse, UpdateOperationRequest, UpdateOperationResponse, V1Address, V1AddressLocation, V1StreetAddress, V4SiteCreated, ValidateOperationAddressRequest, ViolationType, WebhookIdentityType, WeeklyActiveDays, WeeklyActivePeriods, WeeklySchedule, _Date } from './index.typings.js';
3
+ export { ActionEvent, ActivationType, ActivationTypeWithLiterals, ActivePeriod, Address, AddressHint, AddressLocation, AddressViolation, App, ApplicationError, AsapFutureHandlingType, AsapFutureHandlingTypeWithLiterals, AsapOrderPacing, AsapOrderPacingPacingAvailabilityOneOf, AsapOrderScheduling, AsapOrderSchedulingAsapFutureHandlingOptionsOneOf, AsapPacingWindowType, AsapPacingWindowTypeWithLiterals, AsapPreorderType, AsapPreorderTypeWithLiterals, AsapScheduling, AsapSchedulingAsapPreorderOneOf, AsapSchedulingPreparationTimeOneOf, Asset, AvailabilityException, BaseEventMetadata, BulkActionMetadata, BulkUpdateOperationTagsByFilterRequest, BulkUpdateOperationTagsRequest, BulkUpdateOperationTagsResult, BusinessDaysAheadHandling, BusinessDaysPreorder, BusinessLocationDetails, BusinessSchedule, CalculateAvailableDatesInRangeRequest, CalculateAvailableTimeSlotsForDateRequest, CalculateFirstAvailableTimeSlotPerFulfillmentTypeRequest, CalculateFirstAvailableTimeSlotsPerMenuRequest, CalculateFirstAvailableTimeSlotsPerOperationRequest, Categories, ChangeContext, ChangeContextPayloadOneOf, CommonAddress, CommonAddressStreetOneOf, ConsentPolicy, CreateOperationRequest, CreateOperationResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomTag, DayAndTime, DayOfWeek, DayOfWeekAvailability, DayOfWeekWithLiterals, DeleteContext, DeleteOperationRequest, DeleteOperationResponse, DeleteStatus, DeleteStatusWithLiterals, DeliveryDetails, DeliveryProfileConfiguredForOperation, DomainEvent, DomainEventBodyOneOf, DurationRange, Empty, EntitiesDayOfWeek, EntitiesDayOfWeekWithLiterals, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, File, FirstFulfillmentTimeSlotsPerMenu, FulfillmentAddress, FulfillmentDetails, FulfillmentDetailsFulfillmentTimeOptionsOneOf, FulfillmentInfo, FulfillmentInfoFulfillmentTimeOneOf, FulfillmentOption, FulfillmentOptionAvailability, FulfillmentOptionFulfillmentTimeOptionsOneOf, FulfillmentOptionFulfillmentTimesDisplayOptionsOneOf, FulfillmentOptionFulfillmentTypeOptionsOneOf, FulfillmentTimeSlot, FulfillmentTimeSlotsPerMenu, FulfillmentTimeType, FulfillmentTimeTypeWithLiterals, FulfillmentTimesDisplayConfig, FulfillmentTimesDisplayConfigFulfillmentTimesDisplayOptionsOneOf, FulfillmentTimesDisplayType, FulfillmentTimesDisplayTypeWithLiterals, FulfillmentTimesType, FulfillmentTimesTypeWithLiterals, FulfillmentType, FulfillmentTypeAvailableDates, FulfillmentTypeWithLiterals, GeoCoordinates, GetExpectedFulfillmentSelectionRequest, GetExpectedFulfillmentSelectionResponse, GetOperationRequest, GetOperationResponse, IdentificationData, IdentificationDataIdOneOf, ImmutableFields, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, ListAvailableDatesInRangeRequest, ListAvailableFulfillmentOptionsRequest, ListAvailableTimeSlotsForDateRequest, ListFirstAvailableTimeSlotForFulfillmentTypesRequest, ListFirstAvailableTimeSlotsForMenusRequest, ListFirstAvailableTimeSlotsForOperationsRequest, ListOperationIdsRequest, ListOperationIdsResponse, ListOperationsInternalRequest, ListOperationsInternalResponse, ListOperationsRequest, Locale, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, MethodType, MethodTypeWithLiterals, Multilingual, Namespace, NamespaceChanged, NamespaceWithLiterals, OdeditorAssigned, OdeditorUnassigned, OnlineOrderingPausedUntilOptions, OnlineOrderingStatusType, OnlineOrderingStatusTypeWithLiterals, OperationOnlineOrderingStatusOptionsOneOf, OperationTimeSlot, OperationsDataCloningCompleted, OperationsQueryResult, OrderScheduling, OrderSchedulingOrderSchedulingOptionsOneOf, OrderSchedulingType, OrderSchedulingTypeWithLiterals, Page, PagingMetadata, PicassoAssigned, PicassoUnassigned, PickupDetails, PlacementType, PlacementTypeWithLiterals, PreOrderPacing, PreOrderPacingPacingAvailabilityOneOf, PreorderMethod, PreorderMethodMethodOptionsOneOf, PreorderPacingWindowType, PreorderPacingWindowTypeWithLiterals, PreorderScheduling, PreparationTime, PreparationTimePreparationTimeType, PreparationTimePreparationTimeTypeWithLiterals, PreparationTimeTimeSpecificationOneOf, PreparationTimeType, PreparationTimeTypeWithLiterals, Properties, PropertiesChange, QueryOperationRequest, QueryOperationResponse, ResolutionMethod, ResolutionMethodWithLiterals, RestoreInfo, Scheduling, SchedulingSchedulingOptionsOneOf, SchedulingType, SchedulingTypeWithLiterals, ServiceProvisioned, ServiceRemoved, SiteCloned, SiteCreated, SiteCreatedContext, SiteCreatedContextWithLiterals, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePropertiesEvent, SitePropertiesNotification, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, SortOrderWithLiterals, Sorting, SpecialHourPeriod, State, StateWithLiterals, StreetAddress, StudioAssigned, StudioUnassigned, Subdivision, SubdivisionType, SubdivisionTypeWithLiterals, SupportedLanguage, TagList, Tags, TimeBounded, TimeDuration, TimeDurationRange, TimeOfDay, TimeOfDayRange, TimePeriod, TimeSlot, TimeSlotForFulfillment, TimeSlotForFulfillmentTimeSlotStatus, TimeSlotForFulfillmentTimeSlotStatusWithLiterals, TimeSlotForOperation, TimeSlotStatus, TimeSlotStatusWithLiterals, TimeUnit, TimeUnitWithLiterals, TimeWindowDisplayConfig, Translation, URI, UpdateDeliveryRegionsRequest, UpdateDeliveryRegionsResponse, UpdateImmutableFieldsRequest, UpdateImmutableFieldsResponse, UpdateOperationRequest, UpdateOperationResponse, V1Address, V1AddressLocation, V1StreetAddress, V4SiteCreated, ValidateOperationAddressRequest, ViolationType, ViolationTypeWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeeklyActiveDays, WeeklyActivePeriods, WeeklySchedule, _Date } from './index.typings.js';
4
4
 
5
- type OperationNonNullablePaths = `fulfillmentIds` | `onlineOrderingStatus` | `defaultFulfillmentType` | `orderScheduling.asapOptions.preparationTime.maxTimeOptions.timeUnit` | `orderScheduling.asapOptions.preparationTime.timeRangeOptions.timeUnit` | `orderScheduling.asapOptions.preparationTime.type` | `orderScheduling.asapOptions.asapFutureHandlingType` | `orderScheduling.preorderOptions.method.weeklyScheduleOptions.cutOffTime.dayOfWeek` | `orderScheduling.preorderOptions.method.weeklyScheduleOptions.cutOffTime.timeOfDay.hours` | `orderScheduling.preorderOptions.method.weeklyScheduleOptions.cutOffTime.timeOfDay.minutes` | `orderScheduling.preorderOptions.method.type` | `orderScheduling.preorderOptions.fulfillmentTimesDisplay.type` | `orderScheduling.type` | `tags.privateTags.tagIds`;
6
5
  declare function createOperation$1(httpClient: HttpClient): CreateOperationSignature;
7
6
  interface CreateOperationSignature {
8
7
  /**
@@ -11,7 +10,7 @@ interface CreateOperationSignature {
11
10
  * @returns Created operation.
12
11
  * @deprecated
13
12
  */
14
- (operation: Operation): Promise<NonNullablePaths<Operation, OperationNonNullablePaths>>;
13
+ (operation: Operation): Promise<NonNullablePaths<Operation, `fulfillmentIds` | `onlineOrderingStatus` | `defaultFulfillmentType` | `orderScheduling.asapOptions.preparationTime.maxTimeOptions.timeUnit` | `orderScheduling.asapOptions.preparationTime.timeRangeOptions.timeUnit` | `orderScheduling.asapOptions.preparationTime.type` | `orderScheduling.asapOptions.asapFutureHandlingType` | `orderScheduling.preorderOptions.method.weeklyScheduleOptions.cutOffTime.dayOfWeek` | `orderScheduling.preorderOptions.method.weeklyScheduleOptions.cutOffTime.timeOfDay.hours` | `orderScheduling.preorderOptions.method.weeklyScheduleOptions.cutOffTime.timeOfDay.minutes` | `orderScheduling.preorderOptions.method.type` | `orderScheduling.preorderOptions.fulfillmentTimesDisplay.type` | `orderScheduling.type` | `tags.privateTags.tagIds`, 8>>;
15
14
  }
16
15
  declare function getOperation$1(httpClient: HttpClient): GetOperationSignature;
17
16
  interface GetOperationSignature {
@@ -20,7 +19,7 @@ interface GetOperationSignature {
20
19
  * @param - ID of the operation to retrieve.
21
20
  * @returns Retrieved operation.
22
21
  */
23
- (operationId: string): Promise<NonNullablePaths<Operation, OperationNonNullablePaths>>;
22
+ (operationId: string): Promise<NonNullablePaths<Operation, `fulfillmentIds` | `onlineOrderingStatus` | `defaultFulfillmentType` | `orderScheduling.asapOptions.preparationTime.maxTimeOptions.timeUnit` | `orderScheduling.asapOptions.preparationTime.timeRangeOptions.timeUnit` | `orderScheduling.asapOptions.preparationTime.type` | `orderScheduling.asapOptions.asapFutureHandlingType` | `orderScheduling.preorderOptions.method.weeklyScheduleOptions.cutOffTime.dayOfWeek` | `orderScheduling.preorderOptions.method.weeklyScheduleOptions.cutOffTime.timeOfDay.hours` | `orderScheduling.preorderOptions.method.weeklyScheduleOptions.cutOffTime.timeOfDay.minutes` | `orderScheduling.preorderOptions.method.type` | `orderScheduling.preorderOptions.fulfillmentTimesDisplay.type` | `orderScheduling.type` | `tags.privateTags.tagIds`, 8>>;
24
23
  }
25
24
  declare function updateOperation$1(httpClient: HttpClient): UpdateOperationSignature;
26
25
  interface UpdateOperationSignature {
@@ -38,7 +37,7 @@ interface UpdateOperationSignature {
38
37
  * @param - Operation ID.
39
38
  * @returns Updated operation.
40
39
  */
41
- (_id: string, operation: NonNullablePaths<UpdateOperation, `revision`>): Promise<NonNullablePaths<Operation, OperationNonNullablePaths>>;
40
+ (_id: string, operation: NonNullablePaths<UpdateOperation, `revision`, 2>): Promise<NonNullablePaths<Operation, `fulfillmentIds` | `onlineOrderingStatus` | `defaultFulfillmentType` | `orderScheduling.asapOptions.preparationTime.maxTimeOptions.timeUnit` | `orderScheduling.asapOptions.preparationTime.timeRangeOptions.timeUnit` | `orderScheduling.asapOptions.preparationTime.type` | `orderScheduling.asapOptions.asapFutureHandlingType` | `orderScheduling.preorderOptions.method.weeklyScheduleOptions.cutOffTime.dayOfWeek` | `orderScheduling.preorderOptions.method.weeklyScheduleOptions.cutOffTime.timeOfDay.hours` | `orderScheduling.preorderOptions.method.weeklyScheduleOptions.cutOffTime.timeOfDay.minutes` | `orderScheduling.preorderOptions.method.type` | `orderScheduling.preorderOptions.fulfillmentTimesDisplay.type` | `orderScheduling.type` | `tags.privateTags.tagIds`, 8>>;
42
41
  }
43
42
  declare function deleteOperation$1(httpClient: HttpClient): DeleteOperationSignature;
44
43
  interface DeleteOperationSignature {
@@ -75,9 +74,7 @@ interface ListOperationsSignature {
75
74
  * Retrieves a list of operations.
76
75
  * The result will be sorted by created date in ascending order.
77
76
  */
78
- (): Promise<NonNullablePaths<ListOperationsResponse, {
79
- [P in OperationNonNullablePaths]: `operations.${number}.${P}`;
80
- }[OperationNonNullablePaths]>>;
77
+ (): Promise<NonNullablePaths<ListOperationsResponse, `operations` | `operations.${number}.onlineOrderingStatus` | `operations.${number}.defaultFulfillmentType` | `operations.${number}.orderScheduling.asapOptions.asapFutureHandlingType` | `operations.${number}.orderScheduling.type`, 6>>;
81
78
  }
82
79
  declare function listAvailableFulfillmentOptions$1(httpClient: HttpClient): ListAvailableFulfillmentOptionsSignature;
83
80
  interface ListAvailableFulfillmentOptionsSignature {
@@ -89,7 +86,7 @@ interface ListAvailableFulfillmentOptionsSignature {
89
86
  * Conversely, if a delivery address` is given, the response may includes non-delivery fulfillment options along with delivery fulfillment methods that are applicable to the given address, ensuring the address falls within the defined delivery area of these methods.
90
87
  * @param - Operation ID. Returned fulfillment options will belong to this operation.
91
88
  */
92
- (operationId: string, options?: ListAvailableFulfillmentOptions): Promise<NonNullablePaths<ListAvailableFulfillmentOptionsResponse, `pickupConfigured` | `deliveryConfigured` | `fulfillmentOptions` | `fulfillmentOptions.${number}.maxTimeOptions` | `fulfillmentOptions.${number}.durationRangeOptions.minDuration` | `fulfillmentOptions.${number}.durationRangeOptions.maxDuration` | `fulfillmentOptions.${number}.timeWindowsOptions.durationInMinutes` | `fulfillmentOptions.${number}.pickupOptions.address.streetAddress.number` | `fulfillmentOptions.${number}.pickupOptions.address.streetAddress.name` | `fulfillmentOptions.${number}.type` | `fulfillmentOptions.${number}.availability.asapHandlingAvailable` | `fulfillmentOptions.${number}.fulfillmentTimeType` | `fulfillmentOptions.${number}.fulfillmentTimesDisplayType`>>;
89
+ (operationId: string, options?: ListAvailableFulfillmentOptions): Promise<NonNullablePaths<ListAvailableFulfillmentOptionsResponse, `pickupConfigured` | `deliveryConfigured` | `fulfillmentOptions` | `fulfillmentOptions.${number}.maxTimeOptions` | `fulfillmentOptions.${number}.durationRangeOptions.minDuration` | `fulfillmentOptions.${number}.durationRangeOptions.maxDuration` | `fulfillmentOptions.${number}.timeWindowsOptions.durationInMinutes` | `fulfillmentOptions.${number}.type` | `fulfillmentOptions.${number}.availability.asapHandlingAvailable` | `fulfillmentOptions.${number}.fulfillmentTimeType` | `fulfillmentOptions.${number}.fulfillmentTimesDisplayType`, 5>>;
93
90
  }
94
91
  declare function listFirstAvailableTimeSlotForFulfillmentTypes$1(httpClient: HttpClient): ListFirstAvailableTimeSlotForFulfillmentTypesSignature;
95
92
  interface ListFirstAvailableTimeSlotForFulfillmentTypesSignature {
@@ -101,18 +98,18 @@ interface ListFirstAvailableTimeSlotForFulfillmentTypesSignature {
101
98
  * Returned fulfillment options will belong to this operation.
102
99
  * @deprecated
103
100
  */
104
- (operationId: string, options?: ListFirstAvailableTimeSlotForFulfillmentTypesOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotForFulfillmentTypesResponse, `timeSlots` | `timeSlots.${number}.fulfilmentType` | `timeSlots.${number}.startsNow` | `timeSlots.${number}.fulfillmentAddress.address.streetAddress.number` | `timeSlots.${number}.fulfillmentAddress.address.streetAddress.name`>>;
101
+ (operationId: string, options?: ListFirstAvailableTimeSlotForFulfillmentTypesOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotForFulfillmentTypesResponse, `timeSlots` | `timeSlots.${number}.fulfilmentType` | `timeSlots.${number}.startsNow`, 4>>;
105
102
  }
106
103
  declare function calculateFirstAvailableTimeSlotPerFulfillmentType$1(httpClient: HttpClient): CalculateFirstAvailableTimeSlotPerFulfillmentTypeSignature;
107
104
  interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeSignature {
108
105
  /**
109
- * Retrieves a list of available time slots for each fulfillment type.
106
+ * Retrieves the first available time slot of each fulfillment type for a specified operation.
110
107
  *
111
- * Each time slot is the first available time slot for the given fulfillment type.
108
+ * The response includes a time slot with the delivery fulfillment type only if you specify a delivery address.
109
+ * Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
112
110
  * @param - Operation ID.
113
- * Returned fulfillment options will belong to this operation.
114
111
  */
115
- (operationId: string, options?: CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotPerFulfillmentTypeResponse, `timeslotsPerFulfillmentType` | `timeslotsPerFulfillmentType.${number}.timeSlot.orderSchedulingType` | `timeslotsPerFulfillmentType.${number}.fulfilmentType`>>;
112
+ (operationId: string, options?: CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotPerFulfillmentTypeResponse, `timeslotsPerFulfillmentType` | `timeslotsPerFulfillmentType.${number}.timeSlot.orderSchedulingType` | `timeslotsPerFulfillmentType.${number}.fulfilmentType`, 5>>;
116
113
  }
117
114
  declare function listFirstAvailableTimeSlotsForOperations$1(httpClient: HttpClient): ListFirstAvailableTimeSlotsForOperationsSignature;
118
115
  interface ListFirstAvailableTimeSlotsForOperationsSignature {
@@ -124,18 +121,18 @@ interface ListFirstAvailableTimeSlotsForOperationsSignature {
124
121
  * Returned fulfillment options will belong to this operation.
125
122
  * @deprecated
126
123
  */
127
- (operationIds: string[], options?: ListFirstAvailableTimeSlotsForOperationsOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForOperationsResponse, `timeSlots` | `timeSlots.${number}.operationId`>>;
124
+ (operationIds: string[], options?: ListFirstAvailableTimeSlotsForOperationsOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForOperationsResponse, `timeSlots` | `timeSlots.${number}.operationId`, 4>>;
128
125
  }
129
126
  declare function calculateFirstAvailableTimeSlotsPerOperation$1(httpClient: HttpClient): CalculateFirstAvailableTimeSlotsPerOperationSignature;
130
127
  interface CalculateFirstAvailableTimeSlotsPerOperationSignature {
131
128
  /**
132
- * Retrieves a list of available time slots for each fulfillment type.
129
+ * Retrieves the first available time slot of each fulfillment type for each specified operation.
133
130
  *
134
- * Each time slot is the first available time slot for the given fulfillment type.
135
- * @param - Operation ID.
136
- * Returned fulfillment options will belong to this operation.
131
+ * The response includes time slots with delivery fulfillment types only if you specify a delivery address.
132
+ * Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
133
+ * @param - Operation IDs.
137
134
  */
138
- (operationIds: string[], options?: CalculateFirstAvailableTimeSlotsPerOperationOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsPerOperationResponse, `timeSlotsPerOperation` | `timeSlotsPerOperation.${number}.operationId`>>;
135
+ (operationIds: string[], options?: CalculateFirstAvailableTimeSlotsPerOperationOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsPerOperationResponse, `timeSlotsPerOperation` | `timeSlotsPerOperation.${number}.operationId`, 4>>;
139
136
  }
140
137
  declare function listFirstAvailableTimeSlotsForMenus$1(httpClient: HttpClient): ListFirstAvailableTimeSlotsForMenusSignature;
141
138
  interface ListFirstAvailableTimeSlotsForMenusSignature {
@@ -145,16 +142,18 @@ interface ListFirstAvailableTimeSlotsForMenusSignature {
145
142
  * Returned timeslots that are belong to this operation.
146
143
  * @deprecated
147
144
  */
148
- (operationId: string, options?: ListFirstAvailableTimeSlotsForMenusOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForMenusResponse, `timeSlotsPerMenu`>>;
145
+ (operationId: string, options?: ListFirstAvailableTimeSlotsForMenusOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForMenusResponse, `timeSlotsPerMenu`, 2>>;
149
146
  }
150
147
  declare function calculateFirstAvailableTimeSlotsPerMenu$1(httpClient: HttpClient): CalculateFirstAvailableTimeSlotsPerMenuSignature;
151
148
  interface CalculateFirstAvailableTimeSlotsPerMenuSignature {
152
149
  /**
153
- * For each menu, retrieves the first available time slots for each fulfillment type.
150
+ * Retrieves the first available time slot of each fulfillment type for each specified menu.
151
+ *
152
+ * The response includes time slots with delivery fulfillment types only if you specify a delivery address.
153
+ * Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
154
154
  * @param - Operation ID.
155
- * Returned timeslots that are belong to this operation.
156
155
  */
157
- (operationId: string, options?: CalculateFirstAvailableTimeSlotsPerMenuOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsPerMenuResponse, `timeSlotsPerMenu`>>;
156
+ (operationId: string, options?: CalculateFirstAvailableTimeSlotsPerMenuOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsPerMenuResponse, `timeSlotsPerMenu`, 2>>;
158
157
  }
159
158
  declare function listAvailableTimeSlotsForDate$1(httpClient: HttpClient): ListAvailableTimeSlotsForDateSignature;
160
159
  interface ListAvailableTimeSlotsForDateSignature {
@@ -164,16 +163,18 @@ interface ListAvailableTimeSlotsForDateSignature {
164
163
  * The returned fulfillment options will belong to this operation.
165
164
  * @deprecated
166
165
  */
167
- (operationId: string, options?: NonNullablePaths<ListAvailableTimeSlotsForDateOptions, `date` | `date.day` | `date.month` | `date.year`>): Promise<NonNullablePaths<ListAvailableTimeSlotsForDateResponse, `timeSlots` | `timeSlots.${number}.fulfilmentType` | `timeSlots.${number}.startsNow` | `timeSlots.${number}.fulfillmentAddress.address.streetAddress.number` | `timeSlots.${number}.fulfillmentAddress.address.streetAddress.name`>>;
166
+ (operationId: string, options?: NonNullablePaths<ListAvailableTimeSlotsForDateOptions, `date` | `date.day` | `date.month` | `date.year`, 3>): Promise<NonNullablePaths<ListAvailableTimeSlotsForDateResponse, `timeSlots` | `timeSlots.${number}.fulfilmentType` | `timeSlots.${number}.startsNow`, 4>>;
168
167
  }
169
168
  declare function calculateAvailableTimeSlotsForDate$1(httpClient: HttpClient): CalculateAvailableTimeSlotsForDateSignature;
170
169
  interface CalculateAvailableTimeSlotsForDateSignature {
171
170
  /**
172
- * Retrieves a list of the available time slots for a given date.
171
+ * Retrieves all available time slots of each fulfillment type for the specified date.
172
+ *
173
+ * The response includes time slots with delivery fulfillment types only if you specify a delivery address.
174
+ * Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
173
175
  * @param - Operation ID.
174
- * The returned fulfillment options will belong to this operation.
175
176
  */
176
- (operationId: string, options?: NonNullablePaths<CalculateAvailableTimeSlotsForDateOptions, `date` | `date.day` | `date.month` | `date.year`>): Promise<NonNullablePaths<CalculateAvailableTimeSlotsForDateResponse, `timeslotsPerFulfillmentType` | `timeslotsPerFulfillmentType.${number}.timeSlot.orderSchedulingType` | `timeslotsPerFulfillmentType.${number}.fulfilmentType`>>;
177
+ (operationId: string, options?: NonNullablePaths<CalculateAvailableTimeSlotsForDateOptions, `date` | `date.day` | `date.month` | `date.year`, 3>): Promise<NonNullablePaths<CalculateAvailableTimeSlotsForDateResponse, `timeslotsPerFulfillmentType` | `timeslotsPerFulfillmentType.${number}.timeSlot.orderSchedulingType` | `timeslotsPerFulfillmentType.${number}.fulfilmentType`, 5>>;
177
178
  }
178
179
  declare function listAvailableDatesInRange$1(httpClient: HttpClient): ListAvailableDatesInRangeSignature;
179
180
  interface ListAvailableDatesInRangeSignature {
@@ -185,18 +186,20 @@ interface ListAvailableDatesInRangeSignature {
185
186
  * The returned fulfillment options will belong to this operation.
186
187
  * @deprecated
187
188
  */
188
- (operationId: string, options?: NonNullablePaths<ListAvailableDatesInRangeOptions, `from` | `until`>): Promise<NonNullablePaths<ListAvailableDatesInRangeResponse, `availableDates` | `availableDates.${number}.fulfilmentType`>>;
189
+ (operationId: string, options?: NonNullablePaths<ListAvailableDatesInRangeOptions, `from` | `until`, 2>): Promise<NonNullablePaths<ListAvailableDatesInRangeResponse, `availableDates` | `availableDates.${number}.fulfilmentType`, 4>>;
189
190
  }
190
191
  declare function calculateAvailableDatesInRange$1(httpClient: HttpClient): CalculateAvailableDatesInRangeSignature;
191
192
  interface CalculateAvailableDatesInRangeSignature {
192
193
  /**
193
- * Retrieves a list of the available dates in a given time range.
194
+ * Retrieves all available dates of each fulfillment type within the specified time range.
194
195
  *
195
196
  * A date is considered available if it has at least one available time slot.
197
+ *
198
+ * The response includes time slots with delivery fulfillment types only if you specify a delivery address.
199
+ * Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
196
200
  * @param - Operation ID.
197
- * The returned fulfillment options will belong to this operation.
198
201
  */
199
- (operationId: string, options?: NonNullablePaths<CalculateAvailableDatesInRangeOptions, `from` | `until`>): Promise<NonNullablePaths<CalculateAvailableDatesInRangeResponse, `availableDatesPerFulfillmentType` | `availableDatesPerFulfillmentType.${number}.fulfilmentType`>>;
202
+ (operationId: string, options?: NonNullablePaths<CalculateAvailableDatesInRangeOptions, `from` | `until`, 2>): Promise<NonNullablePaths<CalculateAvailableDatesInRangeResponse, `availableDatesPerFulfillmentType` | `availableDatesPerFulfillmentType.${number}.fulfilmentType`, 4>>;
200
203
  }
201
204
  declare function validateOperationAddress$1(httpClient: HttpClient): ValidateOperationAddressSignature;
202
205
  interface ValidateOperationAddressSignature {
@@ -213,7 +216,7 @@ interface ValidateOperationAddressSignature {
213
216
  * @param - The ID of the operation to validate
214
217
  * @returns Response message for address validation
215
218
  */
216
- (operationId: string): Promise<NonNullablePaths<ValidateOperationAddressResponse, `valid` | `violations` | `violations.${number}.type`>>;
219
+ (operationId: string): Promise<NonNullablePaths<ValidateOperationAddressResponse, `valid` | `violations` | `violations.${number}.type`, 4>>;
217
220
  }
218
221
  declare function bulkUpdateOperationTags$1(httpClient: HttpClient): BulkUpdateOperationTagsSignature;
219
222
  interface BulkUpdateOperationTagsSignature {
@@ -222,7 +225,7 @@ interface BulkUpdateOperationTagsSignature {
222
225
  * If you specify a tag in both `assignTags` and `unassignTags`, it is assigned.
223
226
  * @param - IDs of the operations to update tags for.
224
227
  */
225
- (operationIds: string[], options?: BulkUpdateOperationTagsOptions): Promise<NonNullablePaths<BulkUpdateOperationTagsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`> & {
228
+ (operationIds: string[], options?: BulkUpdateOperationTagsOptions): Promise<NonNullablePaths<BulkUpdateOperationTagsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6> & {
226
229
  __applicationErrorsType?: BulkUpdateOperationTagsApplicationErrors;
227
230
  }>;
228
231
  }
@@ -234,7 +237,7 @@ interface BulkUpdateOperationTagsByFilterSignature {
234
237
  * If you specify a tag in both `assignTags` and `unassignTags`, it is assigned.
235
238
  * @param - Filter that determines which operations to update tags for.
236
239
  */
237
- (filter: Record<string, any>, options?: BulkUpdateOperationTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateOperationTagsByFilterResponse, `jobId`> & {
240
+ (filter: Record<string, any>, options?: BulkUpdateOperationTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateOperationTagsByFilterResponse, `jobId`, 2> & {
238
241
  __applicationErrorsType?: BulkUpdateOperationTagsByFilterApplicationErrors;
239
242
  }>;
240
243
  }
@@ -275,4 +278,4 @@ declare const onOperationDeleted: BuildEventDefinition<typeof onOperationDeleted
275
278
  */
276
279
  declare const onOperationUpdated: BuildEventDefinition<typeof onOperationUpdated$1>;
277
280
 
278
- export { BulkUpdateOperationTagsByFilterOptions, BulkUpdateOperationTagsByFilterResponse, BulkUpdateOperationTagsOptions, BulkUpdateOperationTagsResponse, CalculateAvailableDatesInRangeOptions, CalculateAvailableDatesInRangeResponse, CalculateAvailableTimeSlotsForDateOptions, CalculateAvailableTimeSlotsForDateResponse, CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions, CalculateFirstAvailableTimeSlotPerFulfillmentTypeResponse, CalculateFirstAvailableTimeSlotsPerMenuOptions, CalculateFirstAvailableTimeSlotsPerMenuResponse, CalculateFirstAvailableTimeSlotsPerOperationOptions, CalculateFirstAvailableTimeSlotsPerOperationResponse, ListAvailableDatesInRangeOptions, ListAvailableDatesInRangeResponse, ListAvailableFulfillmentOptions, ListAvailableFulfillmentOptionsResponse, ListAvailableTimeSlotsForDateOptions, ListAvailableTimeSlotsForDateResponse, ListFirstAvailableTimeSlotForFulfillmentTypesOptions, ListFirstAvailableTimeSlotForFulfillmentTypesResponse, ListFirstAvailableTimeSlotsForMenusOptions, ListFirstAvailableTimeSlotsForMenusResponse, ListFirstAvailableTimeSlotsForOperationsOptions, ListFirstAvailableTimeSlotsForOperationsResponse, ListOperationsResponse, Operation, OperationCreatedEnvelope, OperationDeletedEnvelope, OperationUpdatedEnvelope, OperationsQueryBuilder, UpdateOperation, ValidateOperationAddressResponse, bulkUpdateOperationTags, bulkUpdateOperationTagsByFilter, calculateAvailableDatesInRange, calculateAvailableTimeSlotsForDate, calculateFirstAvailableTimeSlotPerFulfillmentType, calculateFirstAvailableTimeSlotsPerMenu, calculateFirstAvailableTimeSlotsPerOperation, createOperation, deleteOperation, getOperation, listAvailableDatesInRange, listAvailableFulfillmentOptions, listAvailableTimeSlotsForDate, listFirstAvailableTimeSlotForFulfillmentTypes, listFirstAvailableTimeSlotsForMenus, listFirstAvailableTimeSlotsForOperations, listOperations, onOperationCreated, onOperationDeleted, onOperationUpdated, queryOperation, updateOperation, validateOperationAddress };
281
+ export { BulkUpdateOperationTagsApplicationErrors, BulkUpdateOperationTagsByFilterApplicationErrors, BulkUpdateOperationTagsByFilterOptions, BulkUpdateOperationTagsByFilterResponse, BulkUpdateOperationTagsOptions, BulkUpdateOperationTagsResponse, CalculateAvailableDatesInRangeOptions, CalculateAvailableDatesInRangeResponse, CalculateAvailableTimeSlotsForDateOptions, CalculateAvailableTimeSlotsForDateResponse, CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions, CalculateFirstAvailableTimeSlotPerFulfillmentTypeResponse, CalculateFirstAvailableTimeSlotsPerMenuOptions, CalculateFirstAvailableTimeSlotsPerMenuResponse, CalculateFirstAvailableTimeSlotsPerOperationOptions, CalculateFirstAvailableTimeSlotsPerOperationResponse, ListAvailableDatesInRangeOptions, ListAvailableDatesInRangeResponse, ListAvailableFulfillmentOptions, ListAvailableFulfillmentOptionsResponse, ListAvailableTimeSlotsForDateOptions, ListAvailableTimeSlotsForDateResponse, ListFirstAvailableTimeSlotForFulfillmentTypesOptions, ListFirstAvailableTimeSlotForFulfillmentTypesResponse, ListFirstAvailableTimeSlotsForMenusOptions, ListFirstAvailableTimeSlotsForMenusResponse, ListFirstAvailableTimeSlotsForOperationsOptions, ListFirstAvailableTimeSlotsForOperationsResponse, ListOperationsResponse, Operation, OperationCreatedEnvelope, OperationDeletedEnvelope, OperationUpdatedEnvelope, OperationsQueryBuilder, UpdateOperation, ValidateOperationAddressResponse, bulkUpdateOperationTags, bulkUpdateOperationTagsByFilter, calculateAvailableDatesInRange, calculateAvailableTimeSlotsForDate, calculateFirstAvailableTimeSlotPerFulfillmentType, calculateFirstAvailableTimeSlotsPerMenu, calculateFirstAvailableTimeSlotsPerOperation, createOperation, deleteOperation, getOperation, listAvailableDatesInRange, listAvailableFulfillmentOptions, listAvailableTimeSlotsForDate, listFirstAvailableTimeSlotForFulfillmentTypes, listFirstAvailableTimeSlotsForMenus, listFirstAvailableTimeSlotsForOperations, listOperations, onOperationCreated, onOperationDeleted, onOperationUpdated, queryOperation, updateOperation, validateOperationAddress };
@@ -45,6 +45,7 @@ __export(index_exports, {
45
45
  SortOrder: () => SortOrder,
46
46
  State: () => State,
47
47
  SubdivisionType: () => SubdivisionType,
48
+ TimeSlotForFulfillmentTimeSlotStatus: () => TimeSlotForFulfillmentTimeSlotStatus,
48
49
  TimeSlotStatus: () => TimeSlotStatus,
49
50
  TimeUnit: () => TimeUnit,
50
51
  ViolationType: () => ViolationType,
@@ -1100,16 +1101,21 @@ var FulfillmentTimesDisplayType = /* @__PURE__ */ ((FulfillmentTimesDisplayType2
1100
1101
  FulfillmentTimesDisplayType2["TIME_WINDOWS"] = "TIME_WINDOWS";
1101
1102
  return FulfillmentTimesDisplayType2;
1102
1103
  })(FulfillmentTimesDisplayType || {});
1103
- var OrderSchedulingType = /* @__PURE__ */ ((OrderSchedulingType2) => {
1104
- OrderSchedulingType2["ASAP"] = "ASAP";
1105
- OrderSchedulingType2["PREORDER"] = "PREORDER";
1106
- return OrderSchedulingType2;
1107
- })(OrderSchedulingType || {});
1108
1104
  var TimeSlotStatus = /* @__PURE__ */ ((TimeSlotStatus2) => {
1109
1105
  TimeSlotStatus2["AVAILABLE"] = "AVAILABLE";
1110
1106
  TimeSlotStatus2["BLOCKED"] = "BLOCKED";
1111
1107
  return TimeSlotStatus2;
1112
1108
  })(TimeSlotStatus || {});
1109
+ var OrderSchedulingType = /* @__PURE__ */ ((OrderSchedulingType2) => {
1110
+ OrderSchedulingType2["ASAP"] = "ASAP";
1111
+ OrderSchedulingType2["PREORDER"] = "PREORDER";
1112
+ return OrderSchedulingType2;
1113
+ })(OrderSchedulingType || {});
1114
+ var TimeSlotForFulfillmentTimeSlotStatus = /* @__PURE__ */ ((TimeSlotForFulfillmentTimeSlotStatus2) => {
1115
+ TimeSlotForFulfillmentTimeSlotStatus2["AVAILABLE"] = "AVAILABLE";
1116
+ TimeSlotForFulfillmentTimeSlotStatus2["BLOCKED"] = "BLOCKED";
1117
+ return TimeSlotForFulfillmentTimeSlotStatus2;
1118
+ })(TimeSlotForFulfillmentTimeSlotStatus || {});
1113
1119
  var ViolationType = /* @__PURE__ */ ((ViolationType2) => {
1114
1120
  ViolationType2["UNKNOWN"] = "UNKNOWN";
1115
1121
  ViolationType2["NO_ADDRESS"] = "NO_ADDRESS";
@@ -2317,6 +2323,7 @@ var onOperationUpdated2 = (0, import_event_definition_modules.createEventModule)
2317
2323
  SortOrder,
2318
2324
  State,
2319
2325
  SubdivisionType,
2326
+ TimeSlotForFulfillmentTimeSlotStatus,
2320
2327
  TimeSlotStatus,
2321
2328
  TimeUnit,
2322
2329
  ViolationType,