@wix/auto_sdk_restaurants_operations 1.0.99 → 1.0.101
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/build/cjs/index.d.ts +19 -19
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +22 -22
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +19 -19
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +22 -22
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +2 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +19 -19
- package/build/internal/cjs/index.typings.d.ts +22 -22
- package/build/internal/cjs/meta.d.ts +2 -2
- package/build/internal/es/index.d.mts +19 -19
- package/build/internal/es/index.typings.d.mts +22 -22
- package/build/internal/es/meta.d.mts +2 -2
- package/package.json +4 -11
- package/build/cjs/schemas.d.ts +0 -2137
- package/build/cjs/schemas.js +0 -3233
- package/build/cjs/schemas.js.map +0 -1
- package/build/es/schemas.d.mts +0 -2137
- package/build/es/schemas.mjs +0 -3155
- package/build/es/schemas.mjs.map +0 -1
- package/build/internal/cjs/index.js +0 -2598
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.js +0 -2315
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.js +0 -1798
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/schemas.d.ts +0 -2137
- package/build/internal/cjs/schemas.js +0 -3233
- package/build/internal/cjs/schemas.js.map +0 -1
- package/build/internal/es/index.mjs +0 -2521
- package/build/internal/es/index.mjs.map +0 -1
- package/build/internal/es/index.typings.mjs +0 -2239
- package/build/internal/es/index.typings.mjs.map +0 -1
- package/build/internal/es/meta.mjs +0 -1721
- package/build/internal/es/meta.mjs.map +0 -1
- package/build/internal/es/schemas.d.mts +0 -2137
- package/build/internal/es/schemas.mjs +0 -3155
- package/build/internal/es/schemas.mjs.map +0 -1
- package/schemas/package.json +0 -3
|
@@ -2126,12 +2126,12 @@ interface Properties {
|
|
|
2126
2126
|
*/
|
|
2127
2127
|
language?: string | null;
|
|
2128
2128
|
/**
|
|
2129
|
-
* Site currency
|
|
2129
|
+
* Site currency used to bill customers.
|
|
2130
2130
|
*
|
|
2131
2131
|
* Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
2132
2132
|
*/
|
|
2133
2133
|
paymentCurrency?: string | null;
|
|
2134
|
-
/**
|
|
2134
|
+
/** Site time zone in IANA time zone database format. For example, `America/New_York`. */
|
|
2135
2135
|
timeZone?: string | null;
|
|
2136
2136
|
/** Email address. */
|
|
2137
2137
|
email?: string | null;
|
|
@@ -3135,7 +3135,7 @@ declare function onOperationUpdated(handler: (event: OperationUpdatedEnvelope) =
|
|
|
3135
3135
|
* @applicableIdentity APP
|
|
3136
3136
|
* @fqn wix.restaurants.operation.pacing.v1.OperationPacingService.ListBlockedPeriods
|
|
3137
3137
|
*/
|
|
3138
|
-
declare function listBlockedPeriods(operationId: string, options?: NonNullablePaths<ListBlockedPeriodsOptions, `until`,
|
|
3138
|
+
declare function listBlockedPeriods(operationId: string, options?: NonNullablePaths<ListBlockedPeriodsOptions, `until`, 0>): Promise<NonNullablePaths<ListBlockedPeriodsResponse, `blockPeriods`, 0>>;
|
|
3139
3139
|
interface ListBlockedPeriodsOptions {
|
|
3140
3140
|
/** Start time of the desired window. If not specified, the current time is used. */
|
|
3141
3141
|
from?: Date | null;
|
|
@@ -3153,7 +3153,7 @@ interface ListBlockedPeriodsOptions {
|
|
|
3153
3153
|
* @returns Retrieved operation.
|
|
3154
3154
|
* @fqn wix.restaurants.operations.v1.OperationsService.GetOperation
|
|
3155
3155
|
*/
|
|
3156
|
-
declare function getOperation(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`,
|
|
3156
|
+
declare function getOperation(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`, 6>>;
|
|
3157
3157
|
/**
|
|
3158
3158
|
* Updates an operation.
|
|
3159
3159
|
*
|
|
@@ -3176,7 +3176,7 @@ declare function getOperation(operationId: string): Promise<NonNullablePaths<Ope
|
|
|
3176
3176
|
* @returns Updated operation.
|
|
3177
3177
|
* @fqn wix.restaurants.operations.v1.OperationsService.UpdateOperation
|
|
3178
3178
|
*/
|
|
3179
|
-
declare function updateOperation(_id: string, operation: NonNullablePaths<UpdateOperation, `revision`,
|
|
3179
|
+
declare function updateOperation(_id: string, operation: NonNullablePaths<UpdateOperation, `revision`, 0>): 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`, 6>>;
|
|
3180
3180
|
interface UpdateOperation {
|
|
3181
3181
|
/** Options for online ordering status. Required when `onlineOrderingStatus` is `PAUSED_UNTIL`. */
|
|
3182
3182
|
pausedUntilOptions?: OnlineOrderingPausedUntilOptions;
|
|
@@ -3363,7 +3363,7 @@ interface OperationsQueryBuilder {
|
|
|
3363
3363
|
* @fqn wix.restaurants.operations.v1.OperationsService.QueryOperation
|
|
3364
3364
|
* @requiredField query
|
|
3365
3365
|
*/
|
|
3366
|
-
declare function typedQueryOperation(query: OperationQuery): Promise<NonNullablePaths<QueryOperationResponse, `operations` | `operations.${number}.onlineOrderingStatus` | `operations.${number}.defaultFulfillmentType` | `operations.${number}.orderScheduling.asapOptions.asapFutureHandlingType` | `operations.${number}.orderScheduling.type`,
|
|
3366
|
+
declare function typedQueryOperation(query: OperationQuery): Promise<NonNullablePaths<QueryOperationResponse, `operations` | `operations.${number}.onlineOrderingStatus` | `operations.${number}.defaultFulfillmentType` | `operations.${number}.orderScheduling.asapOptions.asapFutureHandlingType` | `operations.${number}.orderScheduling.type`, 4>>;
|
|
3367
3367
|
interface OperationQuerySpec extends QuerySpec {
|
|
3368
3368
|
paging: 'cursor';
|
|
3369
3369
|
wql: [
|
|
@@ -3449,7 +3449,7 @@ declare const utils: {
|
|
|
3449
3449
|
* @applicableIdentity APP
|
|
3450
3450
|
* @fqn wix.restaurants.operations.v1.OperationsService.ListOperations
|
|
3451
3451
|
*/
|
|
3452
|
-
declare function listOperations(): Promise<NonNullablePaths<ListOperationsResponse, `operations` | `operations.${number}.onlineOrderingStatus` | `operations.${number}.defaultFulfillmentType` | `operations.${number}.orderScheduling.asapOptions.asapFutureHandlingType` | `operations.${number}.orderScheduling.type`,
|
|
3452
|
+
declare function listOperations(): Promise<NonNullablePaths<ListOperationsResponse, `operations` | `operations.${number}.onlineOrderingStatus` | `operations.${number}.defaultFulfillmentType` | `operations.${number}.orderScheduling.asapOptions.asapFutureHandlingType` | `operations.${number}.orderScheduling.type`, 4>>;
|
|
3453
3453
|
/**
|
|
3454
3454
|
* Retrieves a list of available fulfillment options.
|
|
3455
3455
|
*
|
|
@@ -3464,7 +3464,7 @@ declare function listOperations(): Promise<NonNullablePaths<ListOperationsRespon
|
|
|
3464
3464
|
* @applicableIdentity APP
|
|
3465
3465
|
* @fqn wix.restaurants.operations.v1.OperationsService.ListAvailableFulfillmentOptions
|
|
3466
3466
|
*/
|
|
3467
|
-
declare function listAvailableFulfillmentOptions(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`,
|
|
3467
|
+
declare function listAvailableFulfillmentOptions(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`, 3>>;
|
|
3468
3468
|
interface ListAvailableFulfillmentOptions {
|
|
3469
3469
|
/**
|
|
3470
3470
|
* Delivery address. Optional.
|
|
@@ -3489,7 +3489,7 @@ interface ListAvailableFulfillmentOptions {
|
|
|
3489
3489
|
* @replacedBy wix.restaurants.operations.v1.OperationsService.CalculateFirstAvailableTimeSlotPerFulfillmentType
|
|
3490
3490
|
* @targetRemovalDate 2025-08-31
|
|
3491
3491
|
*/
|
|
3492
|
-
declare function listFirstAvailableTimeSlotForFulfillmentTypes(operationId: string, options?: ListFirstAvailableTimeSlotForFulfillmentTypesOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotForFulfillmentTypesResponse, `timeSlots` | `timeSlots.${number}.fulfilmentType` | `timeSlots.${number}.startsNow`,
|
|
3492
|
+
declare function listFirstAvailableTimeSlotForFulfillmentTypes(operationId: string, options?: ListFirstAvailableTimeSlotForFulfillmentTypesOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotForFulfillmentTypesResponse, `timeSlots` | `timeSlots.${number}.fulfilmentType` | `timeSlots.${number}.startsNow`, 2>>;
|
|
3493
3493
|
interface ListFirstAvailableTimeSlotForFulfillmentTypesOptions {
|
|
3494
3494
|
/**
|
|
3495
3495
|
* Delivery address. Optional.
|
|
@@ -3511,7 +3511,7 @@ interface ListFirstAvailableTimeSlotForFulfillmentTypesOptions {
|
|
|
3511
3511
|
* @applicableIdentity APP
|
|
3512
3512
|
* @fqn wix.restaurants.operations.v1.OperationsService.CalculateFirstAvailableTimeSlotPerFulfillmentType
|
|
3513
3513
|
*/
|
|
3514
|
-
declare function calculateFirstAvailableTimeSlotPerFulfillmentType(operationId: string, options?: CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotPerFulfillmentTypeResponse, `timeslotsPerFulfillmentType` | `timeslotsPerFulfillmentType.${number}.timeSlot.orderSchedulingType` | `timeslotsPerFulfillmentType.${number}.fulfilmentType`,
|
|
3514
|
+
declare function calculateFirstAvailableTimeSlotPerFulfillmentType(operationId: string, options?: CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotPerFulfillmentTypeResponse, `timeslotsPerFulfillmentType` | `timeslotsPerFulfillmentType.${number}.timeSlot.orderSchedulingType` | `timeslotsPerFulfillmentType.${number}.fulfilmentType`, 3>>;
|
|
3515
3515
|
interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions {
|
|
3516
3516
|
/**
|
|
3517
3517
|
* Delivery address.
|
|
@@ -3536,7 +3536,7 @@ interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions {
|
|
|
3536
3536
|
* @replacedBy wix.restaurants.operations.v1.OperationsService.CalculateFirstAvailableTimeSlotsPerOperation
|
|
3537
3537
|
* @targetRemovalDate 2025-08-31
|
|
3538
3538
|
*/
|
|
3539
|
-
declare function listFirstAvailableTimeSlotsForOperations(operationIds: string[], options?: ListFirstAvailableTimeSlotsForOperationsOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForOperationsResponse, `timeSlots` | `timeSlots.${number}.operationId`,
|
|
3539
|
+
declare function listFirstAvailableTimeSlotsForOperations(operationIds: string[], options?: ListFirstAvailableTimeSlotsForOperationsOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForOperationsResponse, `timeSlots` | `timeSlots.${number}.operationId`, 2>>;
|
|
3540
3540
|
interface ListFirstAvailableTimeSlotsForOperationsOptions {
|
|
3541
3541
|
/**
|
|
3542
3542
|
* Delivery address. Optional.
|
|
@@ -3558,7 +3558,7 @@ interface ListFirstAvailableTimeSlotsForOperationsOptions {
|
|
|
3558
3558
|
* @applicableIdentity APP
|
|
3559
3559
|
* @fqn wix.restaurants.operations.v1.OperationsService.CalculateFirstAvailableTimeSlotsPerOperation
|
|
3560
3560
|
*/
|
|
3561
|
-
declare function calculateFirstAvailableTimeSlotsPerOperation(operationIds: string[], options?: CalculateFirstAvailableTimeSlotsPerOperationOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsPerOperationResponse, `timeSlotsPerOperation` | `timeSlotsPerOperation.${number}.operationId`,
|
|
3561
|
+
declare function calculateFirstAvailableTimeSlotsPerOperation(operationIds: string[], options?: CalculateFirstAvailableTimeSlotsPerOperationOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsPerOperationResponse, `timeSlotsPerOperation` | `timeSlotsPerOperation.${number}.operationId`, 2>>;
|
|
3562
3562
|
interface CalculateFirstAvailableTimeSlotsPerOperationOptions {
|
|
3563
3563
|
/**
|
|
3564
3564
|
* Delivery address.
|
|
@@ -3581,7 +3581,7 @@ interface CalculateFirstAvailableTimeSlotsPerOperationOptions {
|
|
|
3581
3581
|
* @replacedBy wix.restaurants.operations.v1.OperationsService.CalculateFirstAvailableTimeSlotsPerMenu
|
|
3582
3582
|
* @targetRemovalDate 2025-08-31
|
|
3583
3583
|
*/
|
|
3584
|
-
declare function listFirstAvailableTimeSlotsForMenus(operationId: string, options?: ListFirstAvailableTimeSlotsForMenusOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForMenusResponse, `timeSlotsPerMenu`,
|
|
3584
|
+
declare function listFirstAvailableTimeSlotsForMenus(operationId: string, options?: ListFirstAvailableTimeSlotsForMenusOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForMenusResponse, `timeSlotsPerMenu`, 0>>;
|
|
3585
3585
|
interface ListFirstAvailableTimeSlotsForMenusOptions {
|
|
3586
3586
|
/**
|
|
3587
3587
|
* Delivery address. Optional.
|
|
@@ -3605,7 +3605,7 @@ interface ListFirstAvailableTimeSlotsForMenusOptions {
|
|
|
3605
3605
|
* @applicableIdentity APP
|
|
3606
3606
|
* @fqn wix.restaurants.operations.v1.OperationsService.CalculateFirstAvailableTimeSlotsPerMenu
|
|
3607
3607
|
*/
|
|
3608
|
-
declare function calculateFirstAvailableTimeSlotsPerMenu(operationId: string, options?: CalculateFirstAvailableTimeSlotsPerMenuOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsPerMenuResponse, `timeSlotsPerMenu`,
|
|
3608
|
+
declare function calculateFirstAvailableTimeSlotsPerMenu(operationId: string, options?: CalculateFirstAvailableTimeSlotsPerMenuOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsPerMenuResponse, `timeSlotsPerMenu`, 0>>;
|
|
3609
3609
|
interface CalculateFirstAvailableTimeSlotsPerMenuOptions {
|
|
3610
3610
|
/**
|
|
3611
3611
|
* Delivery address.
|
|
@@ -3634,7 +3634,7 @@ interface CalculateFirstAvailableTimeSlotsPerMenuOptions {
|
|
|
3634
3634
|
* @applicableIdentity APP
|
|
3635
3635
|
* @fqn wix.restaurants.operations.v1.OperationsService.CalculateFirstAvailableTimeSlotsForItem
|
|
3636
3636
|
*/
|
|
3637
|
-
declare function calculateFirstAvailableTimeSlotsForItem(operationId: string, menuId: string, options?: NonNullablePaths<CalculateFirstAvailableTimeSlotsForItemOptions, `itemId` | `sectionId`,
|
|
3637
|
+
declare function calculateFirstAvailableTimeSlotsForItem(operationId: string, menuId: string, options?: NonNullablePaths<CalculateFirstAvailableTimeSlotsForItemOptions, `itemId` | `sectionId`, 0>): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsForItemResponse, `timeslotsPerFulfillmentType` | `timeslotsPerFulfillmentType.${number}.timeSlot.orderSchedulingType` | `timeslotsPerFulfillmentType.${number}.fulfilmentType`, 3>>;
|
|
3638
3638
|
interface CalculateFirstAvailableTimeSlotsForItemOptions {
|
|
3639
3639
|
/**
|
|
3640
3640
|
* Section ID to get the first available time slots for.
|
|
@@ -3671,7 +3671,7 @@ interface CalculateFirstAvailableTimeSlotsForItemOptions {
|
|
|
3671
3671
|
* @replacedBy wix.restaurants.operations.v1.OperationsService.CalculateAvailableTimeSlotsForDate
|
|
3672
3672
|
* @targetRemovalDate 2025-08-31
|
|
3673
3673
|
*/
|
|
3674
|
-
declare function listAvailableTimeSlotsForDate(operationId: string, options?: NonNullablePaths<ListAvailableTimeSlotsForDateOptions, `date` | `date.day` | `date.month` | `date.year`,
|
|
3674
|
+
declare function listAvailableTimeSlotsForDate(operationId: string, options?: NonNullablePaths<ListAvailableTimeSlotsForDateOptions, `date` | `date.day` | `date.month` | `date.year`, 1>): Promise<NonNullablePaths<ListAvailableTimeSlotsForDateResponse, `timeSlots` | `timeSlots.${number}.fulfilmentType` | `timeSlots.${number}.startsNow`, 2>>;
|
|
3675
3675
|
interface ListAvailableTimeSlotsForDateOptions {
|
|
3676
3676
|
/**
|
|
3677
3677
|
* Delivery address. Optional.
|
|
@@ -3699,7 +3699,7 @@ interface ListAvailableTimeSlotsForDateOptions {
|
|
|
3699
3699
|
* @applicableIdentity APP
|
|
3700
3700
|
* @fqn wix.restaurants.operations.v1.OperationsService.CalculateAvailableTimeSlotsForDate
|
|
3701
3701
|
*/
|
|
3702
|
-
declare function calculateAvailableTimeSlotsForDate(operationId: string, options?: NonNullablePaths<CalculateAvailableTimeSlotsForDateOptions, `date` | `date.day` | `date.month` | `date.year`,
|
|
3702
|
+
declare function calculateAvailableTimeSlotsForDate(operationId: string, options?: NonNullablePaths<CalculateAvailableTimeSlotsForDateOptions, `date` | `date.day` | `date.month` | `date.year`, 1>): Promise<NonNullablePaths<CalculateAvailableTimeSlotsForDateResponse, `timeslotsPerFulfillmentType` | `timeslotsPerFulfillmentType.${number}.timeSlot.orderSchedulingType` | `timeslotsPerFulfillmentType.${number}.fulfilmentType`, 3>>;
|
|
3703
3703
|
interface CalculateAvailableTimeSlotsForDateOptions {
|
|
3704
3704
|
/**
|
|
3705
3705
|
* Delivery address.
|
|
@@ -3728,7 +3728,7 @@ interface CalculateAvailableTimeSlotsForDateOptions {
|
|
|
3728
3728
|
* @replacedBy wix.restaurants.operations.v1.OperationsService.CalculateAvailableDatesInRange
|
|
3729
3729
|
* @targetRemovalDate 2025-08-31
|
|
3730
3730
|
*/
|
|
3731
|
-
declare function listAvailableDatesInRange(operationId: string, options?: NonNullablePaths<ListAvailableDatesInRangeOptions, `from` | `until`,
|
|
3731
|
+
declare function listAvailableDatesInRange(operationId: string, options?: NonNullablePaths<ListAvailableDatesInRangeOptions, `from` | `until`, 0>): Promise<NonNullablePaths<ListAvailableDatesInRangeResponse, `availableDates` | `availableDates.${number}.fulfilmentType`, 2>>;
|
|
3732
3732
|
interface ListAvailableDatesInRangeOptions {
|
|
3733
3733
|
/**
|
|
3734
3734
|
* Delivery address. Optional.
|
|
@@ -3758,7 +3758,7 @@ interface ListAvailableDatesInRangeOptions {
|
|
|
3758
3758
|
* @applicableIdentity APP
|
|
3759
3759
|
* @fqn wix.restaurants.operations.v1.OperationsService.CalculateAvailableDatesInRange
|
|
3760
3760
|
*/
|
|
3761
|
-
declare function calculateAvailableDatesInRange(operationId: string, options?: NonNullablePaths<CalculateAvailableDatesInRangeOptions, `from` | `until`,
|
|
3761
|
+
declare function calculateAvailableDatesInRange(operationId: string, options?: NonNullablePaths<CalculateAvailableDatesInRangeOptions, `from` | `until`, 0>): Promise<NonNullablePaths<CalculateAvailableDatesInRangeResponse, `availableDatesPerFulfillmentType` | `availableDatesPerFulfillmentType.${number}.fulfilmentType`, 2>>;
|
|
3762
3762
|
interface CalculateAvailableDatesInRangeOptions {
|
|
3763
3763
|
/**
|
|
3764
3764
|
* Delivery address.
|
|
@@ -3792,7 +3792,7 @@ interface CalculateAvailableDatesInRangeOptions {
|
|
|
3792
3792
|
* @returns Response message for address validation
|
|
3793
3793
|
* @fqn wix.restaurants.operations.v1.OperationsService.ValidateOperationAddress
|
|
3794
3794
|
*/
|
|
3795
|
-
declare function validateOperationAddress(operationId: string): Promise<NonNullablePaths<ValidateOperationAddressResponse, `valid` | `violations` | `violations.${number}.type`,
|
|
3795
|
+
declare function validateOperationAddress(operationId: string): Promise<NonNullablePaths<ValidateOperationAddressResponse, `valid` | `violations` | `violations.${number}.type`, 2>>;
|
|
3796
3796
|
/**
|
|
3797
3797
|
* Synchronously update tags on multiple operations.
|
|
3798
3798
|
* If you specify a tag in both `assignTags` and `unassignTags`, it is assigned.
|
|
@@ -3804,7 +3804,7 @@ declare function validateOperationAddress(operationId: string): Promise<NonNulla
|
|
|
3804
3804
|
* @applicableIdentity APP
|
|
3805
3805
|
* @fqn wix.restaurants.operations.v1.OperationsService.BulkUpdateOperationTags
|
|
3806
3806
|
*/
|
|
3807
|
-
declare function bulkUpdateOperationTags(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`,
|
|
3807
|
+
declare function bulkUpdateOperationTags(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`, 4> & {
|
|
3808
3808
|
__applicationErrorsType?: BulkUpdateOperationTagsApplicationErrors;
|
|
3809
3809
|
}>;
|
|
3810
3810
|
interface BulkUpdateOperationTagsOptions {
|
|
@@ -3825,7 +3825,7 @@ interface BulkUpdateOperationTagsOptions {
|
|
|
3825
3825
|
* @applicableIdentity APP
|
|
3826
3826
|
* @fqn wix.restaurants.operations.v1.OperationsService.BulkUpdateOperationTagsByFilter
|
|
3827
3827
|
*/
|
|
3828
|
-
declare function bulkUpdateOperationTagsByFilter(filter: Record<string, any>, options?: BulkUpdateOperationTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateOperationTagsByFilterResponse, `jobId`,
|
|
3828
|
+
declare function bulkUpdateOperationTagsByFilter(filter: Record<string, any>, options?: BulkUpdateOperationTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateOperationTagsByFilterResponse, `jobId`, 0> & {
|
|
3829
3829
|
__applicationErrorsType?: BulkUpdateOperationTagsByFilterApplicationErrors;
|
|
3830
3830
|
}>;
|
|
3831
3831
|
interface BulkUpdateOperationTagsByFilterOptions {
|