@wix/auto_sdk_restaurants_operations 1.0.90 → 1.0.91

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.
Files changed (49) hide show
  1. package/build/cjs/index.d.ts +3 -19
  2. package/build/cjs/index.js +0 -135
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +1 -40
  5. package/build/cjs/index.typings.js +0 -103
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +2 -11
  8. package/build/cjs/meta.js +0 -83
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.d.ts +1 -321
  11. package/build/cjs/schemas.js +0 -478
  12. package/build/cjs/schemas.js.map +1 -1
  13. package/build/es/index.d.mts +3 -19
  14. package/build/es/index.mjs +0 -133
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +1 -40
  17. package/build/es/index.typings.mjs +0 -102
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +2 -11
  20. package/build/es/meta.mjs +0 -82
  21. package/build/es/meta.mjs.map +1 -1
  22. package/build/es/schemas.d.mts +1 -321
  23. package/build/es/schemas.mjs +0 -476
  24. package/build/es/schemas.mjs.map +1 -1
  25. package/build/internal/cjs/index.d.ts +3 -19
  26. package/build/internal/cjs/index.js +0 -135
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +1 -40
  29. package/build/internal/cjs/index.typings.js +0 -103
  30. package/build/internal/cjs/index.typings.js.map +1 -1
  31. package/build/internal/cjs/meta.d.ts +2 -11
  32. package/build/internal/cjs/meta.js +0 -83
  33. package/build/internal/cjs/meta.js.map +1 -1
  34. package/build/internal/cjs/schemas.d.ts +1 -321
  35. package/build/internal/cjs/schemas.js +0 -478
  36. package/build/internal/cjs/schemas.js.map +1 -1
  37. package/build/internal/es/index.d.mts +3 -19
  38. package/build/internal/es/index.mjs +0 -133
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +1 -40
  41. package/build/internal/es/index.typings.mjs +0 -102
  42. package/build/internal/es/index.typings.mjs.map +1 -1
  43. package/build/internal/es/meta.d.mts +2 -11
  44. package/build/internal/es/meta.mjs +0 -82
  45. package/build/internal/es/meta.mjs.map +1 -1
  46. package/build/internal/es/schemas.d.mts +1 -321
  47. package/build/internal/es/schemas.mjs +0 -476
  48. package/build/internal/es/schemas.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -984,14 +984,6 @@ interface DeliveryProfileConfiguredForOperation {
984
984
  }
985
985
  interface OperationsDataCloningCompleted {
986
986
  }
987
- interface CreateOperationRequest {
988
- /** Operation to create. */
989
- operation: Operation;
990
- }
991
- interface CreateOperationResponse {
992
- /** Created operation. */
993
- operation?: Operation;
994
- }
995
987
  interface GetOperationRequest {
996
988
  /**
997
989
  * ID of the operation to retrieve.
@@ -3071,22 +3063,6 @@ interface AccountInfoMetadata {
3071
3063
  /** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
3072
3064
  parentAccountId?: string;
3073
3065
  }
3074
- interface OperationCreatedEnvelope {
3075
- entity: Operation;
3076
- metadata: EventMetadata;
3077
- }
3078
- /**
3079
- * Triggered when an operation is created.
3080
- * @permissionScope Manage Restaurants - all permissions
3081
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
3082
- * @permissionId RESTAURANTS.OPERATION_READ
3083
- * @webhook
3084
- * @eventType wix.restaurants.operations.v1.operation_created
3085
- * @serviceIdentifier wix.restaurants.operations.v1.OperationsService
3086
- * @slug created
3087
- * @documentationMaturity preview
3088
- */
3089
- declare function onOperationCreated(handler: (event: OperationCreatedEnvelope) => void | Promise<void>): void;
3090
3066
  interface OperationDeletedEnvelope {
3091
3067
  entity: Operation;
3092
3068
  metadata: EventMetadata;
@@ -3139,21 +3115,6 @@ interface ListBlockedPeriodsOptions {
3139
3115
  /** End time of the desired window. */
3140
3116
  until: Date | null;
3141
3117
  }
3142
- /**
3143
- * Creates a new operation.
3144
- * @param operation - Operation to create.
3145
- * @public
3146
- * @documentationMaturity preview
3147
- * @requiredField operation
3148
- * @permissionId RESTAURANTS.OPERATION_CREATE
3149
- * @applicableIdentity APP
3150
- * @returns Created operation.
3151
- * @fqn wix.restaurants.operations.v1.OperationsService.CreateOperation
3152
- * @deprecated
3153
- * @replacedBy wix.restaurants.v1.OperationGroupService.CreateOperationGroup
3154
- * @targetRemovalDate 2025-08-31
3155
- */
3156
- declare function createOperation(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>>;
3157
3118
  /**
3158
3119
  * Retrieves an operation.
3159
3120
  * @param operationId - ID of the operation to retrieve.
@@ -3851,4 +3812,4 @@ interface BulkUpdateOperationTagsByFilterOptions {
3851
3812
  unassignTags?: Tags;
3852
3813
  }
3853
3814
 
3854
- export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, ActivationType, type ActivationTypeWithLiterals, type ActivePeriod, type Address, type AddressHint, type AddressLocation, type AddressViolation, type App, type ApplicationError, AsapFutureHandlingType, type AsapFutureHandlingTypeWithLiterals, type AsapOrderPacing, type AsapOrderPacingPacingAvailabilityOneOf, type AsapOrderScheduling, type AsapOrderSchedulingAsapFutureHandlingOptionsOneOf, AsapPacingWindowType, type AsapPacingWindowTypeWithLiterals, AsapPreorderType, type AsapPreorderTypeWithLiterals, type AsapScheduling, type AsapSchedulingAsapPreorderOneOf, type AsapSchedulingPreparationTimeOneOf, type Asset, type AvailabilityException, type BaseEventMetadata, type BlockedPeriod, type BulkActionMetadata, type BulkUpdateOperationTagsApplicationErrors, type BulkUpdateOperationTagsByFilterApplicationErrors, type BulkUpdateOperationTagsByFilterOptions, type BulkUpdateOperationTagsByFilterRequest, type BulkUpdateOperationTagsByFilterResponse, type BulkUpdateOperationTagsOptions, type BulkUpdateOperationTagsRequest, type BulkUpdateOperationTagsResponse, type BulkUpdateOperationTagsResult, type BusinessDaysAheadHandling, type BusinessDaysPreorder, type BusinessLocationDetails, type BusinessSchedule, type CalculateAvailableDatesInRangeOptions, type CalculateAvailableDatesInRangeRequest, type CalculateAvailableDatesInRangeResponse, type CalculateAvailableTimeSlotsForDateOptions, type CalculateAvailableTimeSlotsForDateRequest, type CalculateAvailableTimeSlotsForDateResponse, type CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions, type CalculateFirstAvailableTimeSlotPerFulfillmentTypeRequest, type CalculateFirstAvailableTimeSlotPerFulfillmentTypeResponse, type CalculateFirstAvailableTimeSlotsForItemOptions, type CalculateFirstAvailableTimeSlotsForItemRequest, type CalculateFirstAvailableTimeSlotsForItemResponse, type CalculateFirstAvailableTimeSlotsPerMenuOptions, type CalculateFirstAvailableTimeSlotsPerMenuRequest, type CalculateFirstAvailableTimeSlotsPerMenuResponse, type CalculateFirstAvailableTimeSlotsPerOperationOptions, type CalculateFirstAvailableTimeSlotsPerOperationRequest, type CalculateFirstAvailableTimeSlotsPerOperationResponse, type Categories, type ChangeContext, type ChangeContextPayloadOneOf, type CommonAddress, type CommonAddressStreetOneOf, type CommonCursorPaging, type CommonCursorPagingMetadata, type CommonCursors, type CommonQueryWithEntityContext, type ConsentPolicy, type CreateOperationRequest, type CreateOperationResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomTag, type DayAndTime, DayOfWeek, type DayOfWeekAvailability, type DayOfWeekWithLiterals, type DeleteContext, type DeleteOperationRequest, type DeleteOperationResponse, DeleteStatus, type DeleteStatusWithLiterals, type DeliveryDetails, type DeliveryProfileConfiguredForOperation, type DineInDetails, type DomainEvent, type DomainEventBodyOneOf, type DurationRange, type EditorlessAssigned, type EditorlessUnassigned, type Empty, EntitiesDayOfWeek, type EntitiesDayOfWeekWithLiterals, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type File, type FirstFulfillmentTimeSlotsPerMenu, type FulfillmentAddress, type FulfillmentDetails, type FulfillmentDetailsFulfillmentTimeOptionsOneOf, type FulfillmentInfo, type FulfillmentInfoFulfillmentTimeOneOf, type FulfillmentOption, type FulfillmentOptionAvailability, type FulfillmentOptionFulfillmentTimeOptionsOneOf, type FulfillmentOptionFulfillmentTimesDisplayOptionsOneOf, type FulfillmentOptionFulfillmentTypeOptionsOneOf, type FulfillmentTimeSlot, type FulfillmentTimeSlotsPerMenu, FulfillmentTimeType, type FulfillmentTimeTypeWithLiterals, type FulfillmentTimesDisplayConfig, type FulfillmentTimesDisplayConfigFulfillmentTimesDisplayOptionsOneOf, FulfillmentTimesDisplayType, type FulfillmentTimesDisplayTypeWithLiterals, FulfillmentTimesType, type FulfillmentTimesTypeWithLiterals, FulfillmentType, type FulfillmentTypeAvailableDates, type FulfillmentTypeWithLiterals, type GeoCoordinates, type GetExpectedFulfillmentSelectionRequest, type GetExpectedFulfillmentSelectionResponse, type GetOperationRequest, type GetOperationResponse, type IdentificationData, type IdentificationDataIdOneOf, type ImmutableFields, type InvalidateCache, type InvalidateCacheGetByOneOf, type ItemMetadata, type ListAvailableDatesInRangeOptions, type ListAvailableDatesInRangeRequest, type ListAvailableDatesInRangeResponse, type ListAvailableFulfillmentOptions, type ListAvailableFulfillmentOptionsRequest, type ListAvailableFulfillmentOptionsResponse, type ListAvailableTimeSlotsForDateOptions, type ListAvailableTimeSlotsForDateRequest, type ListAvailableTimeSlotsForDateResponse, type ListBlockedPeriodsOptions, type ListBlockedPeriodsRequest, type ListBlockedPeriodsResponse, type ListFirstAvailableTimeSlotForFulfillmentTypesOptions, type ListFirstAvailableTimeSlotForFulfillmentTypesRequest, type ListFirstAvailableTimeSlotForFulfillmentTypesResponse, type ListFirstAvailableTimeSlotsForMenusOptions, type ListFirstAvailableTimeSlotsForMenusRequest, type ListFirstAvailableTimeSlotsForMenusResponse, type ListFirstAvailableTimeSlotsForOperationsOptions, type ListFirstAvailableTimeSlotsForOperationsRequest, type ListFirstAvailableTimeSlotsForOperationsResponse, type ListOperationIdsRequest, type ListOperationIdsResponse, type ListOperationsInternalRequest, type ListOperationsInternalResponse, type ListOperationsRequest, type ListOperationsResponse, type ListOrdersForOperationRequest, type ListOrdersForOperationResponse, type Locale, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, MethodType, type MethodTypeWithLiterals, type Multilingual, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, type OnlineOrderingPausedUntilOptions, OnlineOrderingStatusType, type OnlineOrderingStatusTypeWithLiterals, type Operation, type OperationCreatedEnvelope, type OperationDeletedEnvelope, type OperationOnlineOrderingStatusOptionsOneOf, type OperationQuery, type OperationQuerySpec, type OperationTimeSlot, type OperationUpdatedEnvelope, type OperationsDataCloningCompleted, type OperationsQueryBuilder, type OperationsQueryResult, type OrderScheduling, type OrderSchedulingOrderSchedulingOptionsOneOf, OrderSchedulingType, type OrderSchedulingTypeWithLiterals, type PacingOrder, type Page, type Pages, type PagingMetadata, type PicassoAssigned, type PicassoUnassigned, type PickupDetails, PlacementType, type PlacementTypeWithLiterals, type PreOrderPacing, type PreOrderPacingPacingAvailabilityOneOf, type PreorderMethod, type PreorderMethodMethodOptionsOneOf, PreorderPacingWindowType, type PreorderPacingWindowTypeWithLiterals, type PreorderScheduling, type PreparationTime, PreparationTimePreparationTimeType, type PreparationTimePreparationTimeTypeWithLiterals, type PreparationTimeTimeSpecificationOneOf, PreparationTimeType, type PreparationTimeTypeWithLiterals, type Properties, type PropertiesChange, type QueryOperationRequest, type QueryOperationResponse, ResolutionMethod, type ResolutionMethodWithLiterals, type RestoreInfo, type Scheduling, type SchedulingSchedulingOptionsOneOf, SchedulingType, type SchedulingTypeWithLiterals, type ServiceProvisioned, type ServiceRemoved, type SiteCloned, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePropertiesEvent, type SitePropertiesNotification, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, type SpecialHourPeriod, State, type StateWithLiterals, type StreetAddress, type StudioAssigned, type StudioTwoAssigned, type StudioTwoUnassigned, type StudioUnassigned, type Subdivision, SubdivisionType, type SubdivisionTypeWithLiterals, type SupportedLanguage, type TagList, type Tags, type TimeBounded, type TimeDuration, type TimeDurationRange, type TimeOfDay, type TimeOfDayRange, type TimePeriod, type TimeSlot, type TimeSlotForFulfillment, TimeSlotForFulfillmentTimeSlotStatus, type TimeSlotForFulfillmentTimeSlotStatusWithLiterals, type TimeSlotForOperation, TimeSlotStatus, type TimeSlotStatusWithLiterals, TimeUnit, type TimeUnitWithLiterals, type TimeWindowDisplayConfig, type Translation, type URI, type URIs, type UpdateDeliveryRegionsRequest, type UpdateDeliveryRegionsResponse, type UpdateImmutableFieldsRequest, type UpdateImmutableFieldsResponse, type UpdateOperation, type UpdateOperationRequest, type UpdateOperationResponse, type UserDomainMediaDisabled, type UserDomainMediaEnabled, type V1Address, type V1AddressLocation, type V1StreetAddress, type V4SiteCreated, type ValidateOperationAddressRequest, type ValidateOperationAddressResponse, ViolationType, type ViolationTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WeeklyActiveDays, type WeeklyActivePeriods, type WeeklySchedule, type WixelAssigned, type WixelUnassigned, type _Date, bulkUpdateOperationTags, bulkUpdateOperationTagsByFilter, calculateAvailableDatesInRange, calculateAvailableTimeSlotsForDate, calculateFirstAvailableTimeSlotPerFulfillmentType, calculateFirstAvailableTimeSlotsForItem, calculateFirstAvailableTimeSlotsPerMenu, calculateFirstAvailableTimeSlotsPerOperation, createOperation, deleteOperation, getOperation, listAvailableDatesInRange, listAvailableFulfillmentOptions, listAvailableTimeSlotsForDate, listBlockedPeriods, listFirstAvailableTimeSlotForFulfillmentTypes, listFirstAvailableTimeSlotsForMenus, listFirstAvailableTimeSlotsForOperations, listOperations, onOperationCreated, onOperationDeleted, onOperationUpdated, queryOperation, typedQueryOperation, updateOperation, utils, validateOperationAddress };
3815
+ export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, ActivationType, type ActivationTypeWithLiterals, type ActivePeriod, type Address, type AddressHint, type AddressLocation, type AddressViolation, type App, type ApplicationError, AsapFutureHandlingType, type AsapFutureHandlingTypeWithLiterals, type AsapOrderPacing, type AsapOrderPacingPacingAvailabilityOneOf, type AsapOrderScheduling, type AsapOrderSchedulingAsapFutureHandlingOptionsOneOf, AsapPacingWindowType, type AsapPacingWindowTypeWithLiterals, AsapPreorderType, type AsapPreorderTypeWithLiterals, type AsapScheduling, type AsapSchedulingAsapPreorderOneOf, type AsapSchedulingPreparationTimeOneOf, type Asset, type AvailabilityException, type BaseEventMetadata, type BlockedPeriod, type BulkActionMetadata, type BulkUpdateOperationTagsApplicationErrors, type BulkUpdateOperationTagsByFilterApplicationErrors, type BulkUpdateOperationTagsByFilterOptions, type BulkUpdateOperationTagsByFilterRequest, type BulkUpdateOperationTagsByFilterResponse, type BulkUpdateOperationTagsOptions, type BulkUpdateOperationTagsRequest, type BulkUpdateOperationTagsResponse, type BulkUpdateOperationTagsResult, type BusinessDaysAheadHandling, type BusinessDaysPreorder, type BusinessLocationDetails, type BusinessSchedule, type CalculateAvailableDatesInRangeOptions, type CalculateAvailableDatesInRangeRequest, type CalculateAvailableDatesInRangeResponse, type CalculateAvailableTimeSlotsForDateOptions, type CalculateAvailableTimeSlotsForDateRequest, type CalculateAvailableTimeSlotsForDateResponse, type CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions, type CalculateFirstAvailableTimeSlotPerFulfillmentTypeRequest, type CalculateFirstAvailableTimeSlotPerFulfillmentTypeResponse, type CalculateFirstAvailableTimeSlotsForItemOptions, type CalculateFirstAvailableTimeSlotsForItemRequest, type CalculateFirstAvailableTimeSlotsForItemResponse, type CalculateFirstAvailableTimeSlotsPerMenuOptions, type CalculateFirstAvailableTimeSlotsPerMenuRequest, type CalculateFirstAvailableTimeSlotsPerMenuResponse, type CalculateFirstAvailableTimeSlotsPerOperationOptions, type CalculateFirstAvailableTimeSlotsPerOperationRequest, type CalculateFirstAvailableTimeSlotsPerOperationResponse, type Categories, type ChangeContext, type ChangeContextPayloadOneOf, type CommonAddress, type CommonAddressStreetOneOf, type CommonCursorPaging, type CommonCursorPagingMetadata, type CommonCursors, type CommonQueryWithEntityContext, type ConsentPolicy, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomTag, type DayAndTime, DayOfWeek, type DayOfWeekAvailability, type DayOfWeekWithLiterals, type DeleteContext, type DeleteOperationRequest, type DeleteOperationResponse, DeleteStatus, type DeleteStatusWithLiterals, type DeliveryDetails, type DeliveryProfileConfiguredForOperation, type DineInDetails, type DomainEvent, type DomainEventBodyOneOf, type DurationRange, type EditorlessAssigned, type EditorlessUnassigned, type Empty, EntitiesDayOfWeek, type EntitiesDayOfWeekWithLiterals, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type File, type FirstFulfillmentTimeSlotsPerMenu, type FulfillmentAddress, type FulfillmentDetails, type FulfillmentDetailsFulfillmentTimeOptionsOneOf, type FulfillmentInfo, type FulfillmentInfoFulfillmentTimeOneOf, type FulfillmentOption, type FulfillmentOptionAvailability, type FulfillmentOptionFulfillmentTimeOptionsOneOf, type FulfillmentOptionFulfillmentTimesDisplayOptionsOneOf, type FulfillmentOptionFulfillmentTypeOptionsOneOf, type FulfillmentTimeSlot, type FulfillmentTimeSlotsPerMenu, FulfillmentTimeType, type FulfillmentTimeTypeWithLiterals, type FulfillmentTimesDisplayConfig, type FulfillmentTimesDisplayConfigFulfillmentTimesDisplayOptionsOneOf, FulfillmentTimesDisplayType, type FulfillmentTimesDisplayTypeWithLiterals, FulfillmentTimesType, type FulfillmentTimesTypeWithLiterals, FulfillmentType, type FulfillmentTypeAvailableDates, type FulfillmentTypeWithLiterals, type GeoCoordinates, type GetExpectedFulfillmentSelectionRequest, type GetExpectedFulfillmentSelectionResponse, type GetOperationRequest, type GetOperationResponse, type IdentificationData, type IdentificationDataIdOneOf, type ImmutableFields, type InvalidateCache, type InvalidateCacheGetByOneOf, type ItemMetadata, type ListAvailableDatesInRangeOptions, type ListAvailableDatesInRangeRequest, type ListAvailableDatesInRangeResponse, type ListAvailableFulfillmentOptions, type ListAvailableFulfillmentOptionsRequest, type ListAvailableFulfillmentOptionsResponse, type ListAvailableTimeSlotsForDateOptions, type ListAvailableTimeSlotsForDateRequest, type ListAvailableTimeSlotsForDateResponse, type ListBlockedPeriodsOptions, type ListBlockedPeriodsRequest, type ListBlockedPeriodsResponse, type ListFirstAvailableTimeSlotForFulfillmentTypesOptions, type ListFirstAvailableTimeSlotForFulfillmentTypesRequest, type ListFirstAvailableTimeSlotForFulfillmentTypesResponse, type ListFirstAvailableTimeSlotsForMenusOptions, type ListFirstAvailableTimeSlotsForMenusRequest, type ListFirstAvailableTimeSlotsForMenusResponse, type ListFirstAvailableTimeSlotsForOperationsOptions, type ListFirstAvailableTimeSlotsForOperationsRequest, type ListFirstAvailableTimeSlotsForOperationsResponse, type ListOperationIdsRequest, type ListOperationIdsResponse, type ListOperationsInternalRequest, type ListOperationsInternalResponse, type ListOperationsRequest, type ListOperationsResponse, type ListOrdersForOperationRequest, type ListOrdersForOperationResponse, type Locale, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, MethodType, type MethodTypeWithLiterals, type Multilingual, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, type OnlineOrderingPausedUntilOptions, OnlineOrderingStatusType, type OnlineOrderingStatusTypeWithLiterals, type Operation, type OperationDeletedEnvelope, type OperationOnlineOrderingStatusOptionsOneOf, type OperationQuery, type OperationQuerySpec, type OperationTimeSlot, type OperationUpdatedEnvelope, type OperationsDataCloningCompleted, type OperationsQueryBuilder, type OperationsQueryResult, type OrderScheduling, type OrderSchedulingOrderSchedulingOptionsOneOf, OrderSchedulingType, type OrderSchedulingTypeWithLiterals, type PacingOrder, type Page, type Pages, type PagingMetadata, type PicassoAssigned, type PicassoUnassigned, type PickupDetails, PlacementType, type PlacementTypeWithLiterals, type PreOrderPacing, type PreOrderPacingPacingAvailabilityOneOf, type PreorderMethod, type PreorderMethodMethodOptionsOneOf, PreorderPacingWindowType, type PreorderPacingWindowTypeWithLiterals, type PreorderScheduling, type PreparationTime, PreparationTimePreparationTimeType, type PreparationTimePreparationTimeTypeWithLiterals, type PreparationTimeTimeSpecificationOneOf, PreparationTimeType, type PreparationTimeTypeWithLiterals, type Properties, type PropertiesChange, type QueryOperationRequest, type QueryOperationResponse, ResolutionMethod, type ResolutionMethodWithLiterals, type RestoreInfo, type Scheduling, type SchedulingSchedulingOptionsOneOf, SchedulingType, type SchedulingTypeWithLiterals, type ServiceProvisioned, type ServiceRemoved, type SiteCloned, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePropertiesEvent, type SitePropertiesNotification, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, type SpecialHourPeriod, State, type StateWithLiterals, type StreetAddress, type StudioAssigned, type StudioTwoAssigned, type StudioTwoUnassigned, type StudioUnassigned, type Subdivision, SubdivisionType, type SubdivisionTypeWithLiterals, type SupportedLanguage, type TagList, type Tags, type TimeBounded, type TimeDuration, type TimeDurationRange, type TimeOfDay, type TimeOfDayRange, type TimePeriod, type TimeSlot, type TimeSlotForFulfillment, TimeSlotForFulfillmentTimeSlotStatus, type TimeSlotForFulfillmentTimeSlotStatusWithLiterals, type TimeSlotForOperation, TimeSlotStatus, type TimeSlotStatusWithLiterals, TimeUnit, type TimeUnitWithLiterals, type TimeWindowDisplayConfig, type Translation, type URI, type URIs, type UpdateDeliveryRegionsRequest, type UpdateDeliveryRegionsResponse, type UpdateImmutableFieldsRequest, type UpdateImmutableFieldsResponse, type UpdateOperation, type UpdateOperationRequest, type UpdateOperationResponse, type UserDomainMediaDisabled, type UserDomainMediaEnabled, type V1Address, type V1AddressLocation, type V1StreetAddress, type V4SiteCreated, type ValidateOperationAddressRequest, type ValidateOperationAddressResponse, ViolationType, type ViolationTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WeeklyActiveDays, type WeeklyActivePeriods, type WeeklySchedule, type WixelAssigned, type WixelUnassigned, type _Date, bulkUpdateOperationTags, bulkUpdateOperationTagsByFilter, calculateAvailableDatesInRange, calculateAvailableTimeSlotsForDate, calculateFirstAvailableTimeSlotPerFulfillmentType, calculateFirstAvailableTimeSlotsForItem, calculateFirstAvailableTimeSlotsPerMenu, calculateFirstAvailableTimeSlotsPerOperation, deleteOperation, getOperation, listAvailableDatesInRange, listAvailableFulfillmentOptions, listAvailableTimeSlotsForDate, listBlockedPeriods, listFirstAvailableTimeSlotForFulfillmentTypes, listFirstAvailableTimeSlotsForMenus, listFirstAvailableTimeSlotsForOperations, listOperations, onOperationDeleted, onOperationUpdated, queryOperation, typedQueryOperation, updateOperation, utils, validateOperationAddress };
@@ -58,7 +58,6 @@ __export(index_typings_exports, {
58
58
  calculateFirstAvailableTimeSlotsForItem: () => calculateFirstAvailableTimeSlotsForItem2,
59
59
  calculateFirstAvailableTimeSlotsPerMenu: () => calculateFirstAvailableTimeSlotsPerMenu2,
60
60
  calculateFirstAvailableTimeSlotsPerOperation: () => calculateFirstAvailableTimeSlotsPerOperation2,
61
- createOperation: () => createOperation2,
62
61
  deleteOperation: () => deleteOperation2,
63
62
  getOperation: () => getOperation2,
64
63
  listAvailableDatesInRange: () => listAvailableDatesInRange2,
@@ -262,69 +261,6 @@ function listBlockedPeriods(payload) {
262
261
  }
263
262
  return __listBlockedPeriods;
264
263
  }
265
- function createOperation(payload) {
266
- function __createOperation({ host }) {
267
- const serializedData = (0, import_transform_paths.transformPaths)(payload, [
268
- {
269
- transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
270
- paths: [
271
- { path: "operation.createdDate" },
272
- { path: "operation.updatedDate" },
273
- { path: "operation.pausedUntilOptions.time" }
274
- ]
275
- },
276
- {
277
- transformFn: import_float.transformSDKFloatToRESTFloat,
278
- paths: [
279
- {
280
- path: "operation.businessLocationDetails.address.geocode.latitude"
281
- },
282
- {
283
- path: "operation.businessLocationDetails.address.geocode.longitude"
284
- }
285
- ]
286
- }
287
- ]);
288
- const metadata = {
289
- entityFqdn: "wix.restaurants.operations.v1.operation",
290
- method: "POST",
291
- methodFqn: "wix.restaurants.operations.v1.OperationsService.CreateOperation",
292
- packageName: PACKAGE_NAME,
293
- migrationOptions: {
294
- optInTransformResponse: true
295
- },
296
- url: resolveWixRestaurantsOperationsV1OperationsServiceUrl({
297
- protoPath: "/v1/operations",
298
- data: serializedData,
299
- host
300
- }),
301
- data: serializedData,
302
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
303
- {
304
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
305
- paths: [
306
- { path: "operation.createdDate" },
307
- { path: "operation.updatedDate" },
308
- { path: "operation.pausedUntilOptions.time" }
309
- ]
310
- },
311
- {
312
- transformFn: import_float2.transformRESTFloatToSDKFloat,
313
- paths: [
314
- {
315
- path: "operation.businessLocationDetails.address.geocode.latitude"
316
- },
317
- {
318
- path: "operation.businessLocationDetails.address.geocode.longitude"
319
- }
320
- ]
321
- }
322
- ])
323
- };
324
- return metadata;
325
- }
326
- return __createOperation;
327
- }
328
264
  function getOperation(payload) {
329
265
  function __getOperation({ host }) {
330
266
  const metadata = {
@@ -1431,44 +1367,6 @@ async function listBlockedPeriods2(operationId, options) {
1431
1367
  throw transformedError;
1432
1368
  }
1433
1369
  }
1434
- async function createOperation2(operation) {
1435
- const { httpClient, sideEffects } = arguments[1];
1436
- const payload = (0, import_transform_paths2.transformPaths)(
1437
- (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ operation }),
1438
- [
1439
- {
1440
- transformFn: import_address.transformSDKAddressToRESTAddress,
1441
- paths: [{ path: "operation.businessLocationDetails.address" }]
1442
- }
1443
- ]
1444
- );
1445
- const reqOpts = createOperation(payload);
1446
- sideEffects?.onSiteCall?.();
1447
- try {
1448
- const result = await httpClient.request(reqOpts);
1449
- sideEffects?.onSuccess?.(result);
1450
- return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
1451
- (0, import_transform_paths2.transformPaths)(result.data, [
1452
- {
1453
- transformFn: import_address2.transformRESTAddressToSDKAddress,
1454
- paths: [{ path: "operation.businessLocationDetails.address" }]
1455
- }
1456
- ])
1457
- )?.operation;
1458
- } catch (err) {
1459
- const transformedError = (0, import_transform_error.transformError)(
1460
- err,
1461
- {
1462
- spreadPathsToArguments: {},
1463
- explicitPathsToArguments: { operation: "$[0]" },
1464
- singleArgumentUnchanged: false
1465
- },
1466
- ["operation"]
1467
- );
1468
- sideEffects?.onError?.(err);
1469
- throw transformedError;
1470
- }
1471
- }
1472
1370
  async function getOperation2(operationId) {
1473
1371
  const { httpClient, sideEffects } = arguments[1];
1474
1372
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
@@ -2394,7 +2292,6 @@ async function bulkUpdateOperationTagsByFilter2(filter, options) {
2394
2292
  calculateFirstAvailableTimeSlotsForItem,
2395
2293
  calculateFirstAvailableTimeSlotsPerMenu,
2396
2294
  calculateFirstAvailableTimeSlotsPerOperation,
2397
- createOperation,
2398
2295
  deleteOperation,
2399
2296
  getOperation,
2400
2297
  listAvailableDatesInRange,