@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
|
@@ -8,7 +8,7 @@ interface ListBlockedPeriodsSignature {
|
|
|
8
8
|
* List Blocked Periods.
|
|
9
9
|
* @param - ID of the restaurant operation this blocked period is associated with. (See the Restaurants Operations API for more information.)
|
|
10
10
|
*/
|
|
11
|
-
(operationId: string, options?: NonNullablePaths<ListBlockedPeriodsOptions, `until`,
|
|
11
|
+
(operationId: string, options?: NonNullablePaths<ListBlockedPeriodsOptions, `until`, 0>): Promise<NonNullablePaths<ListBlockedPeriodsResponse, `blockPeriods`, 0>>;
|
|
12
12
|
}
|
|
13
13
|
declare function getOperation$1(httpClient: HttpClient): GetOperationSignature;
|
|
14
14
|
interface GetOperationSignature {
|
|
@@ -17,7 +17,7 @@ interface GetOperationSignature {
|
|
|
17
17
|
* @param - ID of the operation to retrieve.
|
|
18
18
|
* @returns Retrieved operation.
|
|
19
19
|
*/
|
|
20
|
-
(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`,
|
|
20
|
+
(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>>;
|
|
21
21
|
}
|
|
22
22
|
declare function updateOperation$1(httpClient: HttpClient): UpdateOperationSignature;
|
|
23
23
|
interface UpdateOperationSignature {
|
|
@@ -35,7 +35,7 @@ interface UpdateOperationSignature {
|
|
|
35
35
|
* @param - Operation ID.
|
|
36
36
|
* @returns Updated operation.
|
|
37
37
|
*/
|
|
38
|
-
(_id: string, operation: NonNullablePaths<UpdateOperation, `revision`,
|
|
38
|
+
(_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>>;
|
|
39
39
|
}
|
|
40
40
|
declare function deleteOperation$1(httpClient: HttpClient): DeleteOperationSignature;
|
|
41
41
|
interface DeleteOperationSignature {
|
|
@@ -52,7 +52,7 @@ interface ListOperationsSignature {
|
|
|
52
52
|
* Retrieves a list of operations.
|
|
53
53
|
* The result will be sorted by created date in ascending order.
|
|
54
54
|
*/
|
|
55
|
-
(): Promise<NonNullablePaths<ListOperationsResponse, `operations` | `operations.${number}.onlineOrderingStatus` | `operations.${number}.defaultFulfillmentType` | `operations.${number}.orderScheduling.asapOptions.asapFutureHandlingType` | `operations.${number}.orderScheduling.type`,
|
|
55
|
+
(): Promise<NonNullablePaths<ListOperationsResponse, `operations` | `operations.${number}.onlineOrderingStatus` | `operations.${number}.defaultFulfillmentType` | `operations.${number}.orderScheduling.asapOptions.asapFutureHandlingType` | `operations.${number}.orderScheduling.type`, 4>>;
|
|
56
56
|
}
|
|
57
57
|
declare function listAvailableFulfillmentOptions$1(httpClient: HttpClient): ListAvailableFulfillmentOptionsSignature;
|
|
58
58
|
interface ListAvailableFulfillmentOptionsSignature {
|
|
@@ -64,7 +64,7 @@ interface ListAvailableFulfillmentOptionsSignature {
|
|
|
64
64
|
* 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.
|
|
65
65
|
* @param - Operation ID. Returned fulfillment options will belong to this operation.
|
|
66
66
|
*/
|
|
67
|
-
(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`,
|
|
67
|
+
(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>>;
|
|
68
68
|
}
|
|
69
69
|
declare function listFirstAvailableTimeSlotForFulfillmentTypes$1(httpClient: HttpClient): ListFirstAvailableTimeSlotForFulfillmentTypesSignature;
|
|
70
70
|
interface ListFirstAvailableTimeSlotForFulfillmentTypesSignature {
|
|
@@ -76,7 +76,7 @@ interface ListFirstAvailableTimeSlotForFulfillmentTypesSignature {
|
|
|
76
76
|
* Returned fulfillment options will belong to this operation.
|
|
77
77
|
* @deprecated
|
|
78
78
|
*/
|
|
79
|
-
(operationId: string, options?: ListFirstAvailableTimeSlotForFulfillmentTypesOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotForFulfillmentTypesResponse, `timeSlots` | `timeSlots.${number}.fulfilmentType` | `timeSlots.${number}.startsNow`,
|
|
79
|
+
(operationId: string, options?: ListFirstAvailableTimeSlotForFulfillmentTypesOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotForFulfillmentTypesResponse, `timeSlots` | `timeSlots.${number}.fulfilmentType` | `timeSlots.${number}.startsNow`, 2>>;
|
|
80
80
|
}
|
|
81
81
|
declare function calculateFirstAvailableTimeSlotPerFulfillmentType$1(httpClient: HttpClient): CalculateFirstAvailableTimeSlotPerFulfillmentTypeSignature;
|
|
82
82
|
interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeSignature {
|
|
@@ -87,7 +87,7 @@ interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeSignature {
|
|
|
87
87
|
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
88
88
|
* @param - Operation ID.
|
|
89
89
|
*/
|
|
90
|
-
(operationId: string, options?: CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotPerFulfillmentTypeResponse, `timeslotsPerFulfillmentType` | `timeslotsPerFulfillmentType.${number}.timeSlot.orderSchedulingType` | `timeslotsPerFulfillmentType.${number}.fulfilmentType`,
|
|
90
|
+
(operationId: string, options?: CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotPerFulfillmentTypeResponse, `timeslotsPerFulfillmentType` | `timeslotsPerFulfillmentType.${number}.timeSlot.orderSchedulingType` | `timeslotsPerFulfillmentType.${number}.fulfilmentType`, 3>>;
|
|
91
91
|
}
|
|
92
92
|
declare function listFirstAvailableTimeSlotsForOperations$1(httpClient: HttpClient): ListFirstAvailableTimeSlotsForOperationsSignature;
|
|
93
93
|
interface ListFirstAvailableTimeSlotsForOperationsSignature {
|
|
@@ -99,7 +99,7 @@ interface ListFirstAvailableTimeSlotsForOperationsSignature {
|
|
|
99
99
|
* Returned fulfillment options will belong to this operation.
|
|
100
100
|
* @deprecated
|
|
101
101
|
*/
|
|
102
|
-
(operationIds: string[], options?: ListFirstAvailableTimeSlotsForOperationsOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForOperationsResponse, `timeSlots` | `timeSlots.${number}.operationId`,
|
|
102
|
+
(operationIds: string[], options?: ListFirstAvailableTimeSlotsForOperationsOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForOperationsResponse, `timeSlots` | `timeSlots.${number}.operationId`, 2>>;
|
|
103
103
|
}
|
|
104
104
|
declare function calculateFirstAvailableTimeSlotsPerOperation$1(httpClient: HttpClient): CalculateFirstAvailableTimeSlotsPerOperationSignature;
|
|
105
105
|
interface CalculateFirstAvailableTimeSlotsPerOperationSignature {
|
|
@@ -110,7 +110,7 @@ interface CalculateFirstAvailableTimeSlotsPerOperationSignature {
|
|
|
110
110
|
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
111
111
|
* @param - Operation IDs.
|
|
112
112
|
*/
|
|
113
|
-
(operationIds: string[], options?: CalculateFirstAvailableTimeSlotsPerOperationOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsPerOperationResponse, `timeSlotsPerOperation` | `timeSlotsPerOperation.${number}.operationId`,
|
|
113
|
+
(operationIds: string[], options?: CalculateFirstAvailableTimeSlotsPerOperationOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsPerOperationResponse, `timeSlotsPerOperation` | `timeSlotsPerOperation.${number}.operationId`, 2>>;
|
|
114
114
|
}
|
|
115
115
|
declare function listFirstAvailableTimeSlotsForMenus$1(httpClient: HttpClient): ListFirstAvailableTimeSlotsForMenusSignature;
|
|
116
116
|
interface ListFirstAvailableTimeSlotsForMenusSignature {
|
|
@@ -120,7 +120,7 @@ interface ListFirstAvailableTimeSlotsForMenusSignature {
|
|
|
120
120
|
* Returned timeslots that are belong to this operation.
|
|
121
121
|
* @deprecated
|
|
122
122
|
*/
|
|
123
|
-
(operationId: string, options?: ListFirstAvailableTimeSlotsForMenusOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForMenusResponse, `timeSlotsPerMenu`,
|
|
123
|
+
(operationId: string, options?: ListFirstAvailableTimeSlotsForMenusOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForMenusResponse, `timeSlotsPerMenu`, 0>>;
|
|
124
124
|
}
|
|
125
125
|
declare function calculateFirstAvailableTimeSlotsPerMenu$1(httpClient: HttpClient): CalculateFirstAvailableTimeSlotsPerMenuSignature;
|
|
126
126
|
interface CalculateFirstAvailableTimeSlotsPerMenuSignature {
|
|
@@ -131,7 +131,7 @@ interface CalculateFirstAvailableTimeSlotsPerMenuSignature {
|
|
|
131
131
|
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
132
132
|
* @param - Operation ID.
|
|
133
133
|
*/
|
|
134
|
-
(operationId: string, options?: CalculateFirstAvailableTimeSlotsPerMenuOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsPerMenuResponse, `timeSlotsPerMenu`,
|
|
134
|
+
(operationId: string, options?: CalculateFirstAvailableTimeSlotsPerMenuOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsPerMenuResponse, `timeSlotsPerMenu`, 0>>;
|
|
135
135
|
}
|
|
136
136
|
declare function calculateFirstAvailableTimeSlotsForItem$1(httpClient: HttpClient): CalculateFirstAvailableTimeSlotsForItemSignature;
|
|
137
137
|
interface CalculateFirstAvailableTimeSlotsForItemSignature {
|
|
@@ -142,7 +142,7 @@ interface CalculateFirstAvailableTimeSlotsForItemSignature {
|
|
|
142
142
|
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
143
143
|
* @param - Menu ID to get the first available time slots for.
|
|
144
144
|
*/
|
|
145
|
-
(operationId: string, menuId: string, options?: NonNullablePaths<CalculateFirstAvailableTimeSlotsForItemOptions, `itemId` | `sectionId`,
|
|
145
|
+
(operationId: string, menuId: string, options?: NonNullablePaths<CalculateFirstAvailableTimeSlotsForItemOptions, `itemId` | `sectionId`, 0>): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsForItemResponse, `timeslotsPerFulfillmentType` | `timeslotsPerFulfillmentType.${number}.timeSlot.orderSchedulingType` | `timeslotsPerFulfillmentType.${number}.fulfilmentType`, 3>>;
|
|
146
146
|
}
|
|
147
147
|
declare function listAvailableTimeSlotsForDate$1(httpClient: HttpClient): ListAvailableTimeSlotsForDateSignature;
|
|
148
148
|
interface ListAvailableTimeSlotsForDateSignature {
|
|
@@ -152,7 +152,7 @@ interface ListAvailableTimeSlotsForDateSignature {
|
|
|
152
152
|
* The returned fulfillment options will belong to this operation.
|
|
153
153
|
* @deprecated
|
|
154
154
|
*/
|
|
155
|
-
(operationId: string, options?: NonNullablePaths<ListAvailableTimeSlotsForDateOptions, `date` | `date.day` | `date.month` | `date.year`,
|
|
155
|
+
(operationId: string, options?: NonNullablePaths<ListAvailableTimeSlotsForDateOptions, `date` | `date.day` | `date.month` | `date.year`, 1>): Promise<NonNullablePaths<ListAvailableTimeSlotsForDateResponse, `timeSlots` | `timeSlots.${number}.fulfilmentType` | `timeSlots.${number}.startsNow`, 2>>;
|
|
156
156
|
}
|
|
157
157
|
declare function calculateAvailableTimeSlotsForDate$1(httpClient: HttpClient): CalculateAvailableTimeSlotsForDateSignature;
|
|
158
158
|
interface CalculateAvailableTimeSlotsForDateSignature {
|
|
@@ -163,7 +163,7 @@ interface CalculateAvailableTimeSlotsForDateSignature {
|
|
|
163
163
|
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
164
164
|
* @param - Operation ID.
|
|
165
165
|
*/
|
|
166
|
-
(operationId: string, options?: NonNullablePaths<CalculateAvailableTimeSlotsForDateOptions, `date` | `date.day` | `date.month` | `date.year`,
|
|
166
|
+
(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>>;
|
|
167
167
|
}
|
|
168
168
|
declare function listAvailableDatesInRange$1(httpClient: HttpClient): ListAvailableDatesInRangeSignature;
|
|
169
169
|
interface ListAvailableDatesInRangeSignature {
|
|
@@ -175,7 +175,7 @@ interface ListAvailableDatesInRangeSignature {
|
|
|
175
175
|
* The returned fulfillment options will belong to this operation.
|
|
176
176
|
* @deprecated
|
|
177
177
|
*/
|
|
178
|
-
(operationId: string, options?: NonNullablePaths<ListAvailableDatesInRangeOptions, `from` | `until`,
|
|
178
|
+
(operationId: string, options?: NonNullablePaths<ListAvailableDatesInRangeOptions, `from` | `until`, 0>): Promise<NonNullablePaths<ListAvailableDatesInRangeResponse, `availableDates` | `availableDates.${number}.fulfilmentType`, 2>>;
|
|
179
179
|
}
|
|
180
180
|
declare function calculateAvailableDatesInRange$1(httpClient: HttpClient): CalculateAvailableDatesInRangeSignature;
|
|
181
181
|
interface CalculateAvailableDatesInRangeSignature {
|
|
@@ -188,7 +188,7 @@ interface CalculateAvailableDatesInRangeSignature {
|
|
|
188
188
|
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
189
189
|
* @param - Operation ID.
|
|
190
190
|
*/
|
|
191
|
-
(operationId: string, options?: NonNullablePaths<CalculateAvailableDatesInRangeOptions, `from` | `until`,
|
|
191
|
+
(operationId: string, options?: NonNullablePaths<CalculateAvailableDatesInRangeOptions, `from` | `until`, 0>): Promise<NonNullablePaths<CalculateAvailableDatesInRangeResponse, `availableDatesPerFulfillmentType` | `availableDatesPerFulfillmentType.${number}.fulfilmentType`, 2>>;
|
|
192
192
|
}
|
|
193
193
|
declare function validateOperationAddress$1(httpClient: HttpClient): ValidateOperationAddressSignature;
|
|
194
194
|
interface ValidateOperationAddressSignature {
|
|
@@ -207,7 +207,7 @@ interface ValidateOperationAddressSignature {
|
|
|
207
207
|
* @param - The ID of the operation whose address should be validated.
|
|
208
208
|
* @returns Response message for address validation
|
|
209
209
|
*/
|
|
210
|
-
(operationId: string): Promise<NonNullablePaths<ValidateOperationAddressResponse, `valid` | `violations` | `violations.${number}.type`,
|
|
210
|
+
(operationId: string): Promise<NonNullablePaths<ValidateOperationAddressResponse, `valid` | `violations` | `violations.${number}.type`, 2>>;
|
|
211
211
|
}
|
|
212
212
|
declare function bulkUpdateOperationTags$1(httpClient: HttpClient): BulkUpdateOperationTagsSignature;
|
|
213
213
|
interface BulkUpdateOperationTagsSignature {
|
|
@@ -216,7 +216,7 @@ interface BulkUpdateOperationTagsSignature {
|
|
|
216
216
|
* If you specify a tag in both `assignTags` and `unassignTags`, it is assigned.
|
|
217
217
|
* @param - IDs of the operations to update tags for.
|
|
218
218
|
*/
|
|
219
|
-
(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`,
|
|
219
|
+
(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> & {
|
|
220
220
|
__applicationErrorsType?: BulkUpdateOperationTagsApplicationErrors;
|
|
221
221
|
}>;
|
|
222
222
|
}
|
|
@@ -228,7 +228,7 @@ interface BulkUpdateOperationTagsByFilterSignature {
|
|
|
228
228
|
* If you specify a tag in both `assignTags` and `unassignTags`, it is assigned.
|
|
229
229
|
* @param - Filter that determines which operations to update tags for.
|
|
230
230
|
*/
|
|
231
|
-
(filter: Record<string, any>, options?: BulkUpdateOperationTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateOperationTagsByFilterResponse, `jobId`,
|
|
231
|
+
(filter: Record<string, any>, options?: BulkUpdateOperationTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateOperationTagsByFilterResponse, `jobId`, 0> & {
|
|
232
232
|
__applicationErrorsType?: BulkUpdateOperationTagsByFilterApplicationErrors;
|
|
233
233
|
}>;
|
|
234
234
|
}
|
|
@@ -2249,12 +2249,12 @@ interface Properties {
|
|
|
2249
2249
|
*/
|
|
2250
2250
|
language?: string | null;
|
|
2251
2251
|
/**
|
|
2252
|
-
* Site currency
|
|
2252
|
+
* Site currency used to bill customers.
|
|
2253
2253
|
*
|
|
2254
2254
|
* Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
2255
2255
|
*/
|
|
2256
2256
|
paymentCurrency?: string | null;
|
|
2257
|
-
/**
|
|
2257
|
+
/** Site time zone in IANA time zone database format. For example, `America/New_York`. */
|
|
2258
2258
|
timeZone?: string | null;
|
|
2259
2259
|
/** Email address. */
|
|
2260
2260
|
email?: string | null;
|
|
@@ -3258,7 +3258,7 @@ declare function onOperationUpdated(handler: (event: OperationUpdatedEnvelope) =
|
|
|
3258
3258
|
* @applicableIdentity APP
|
|
3259
3259
|
* @fqn wix.restaurants.operation.pacing.v1.OperationPacingService.ListBlockedPeriods
|
|
3260
3260
|
*/
|
|
3261
|
-
declare function listBlockedPeriods(operationId: string, options?: NonNullablePaths<ListBlockedPeriodsOptions, `until`,
|
|
3261
|
+
declare function listBlockedPeriods(operationId: string, options?: NonNullablePaths<ListBlockedPeriodsOptions, `until`, 0>): Promise<NonNullablePaths<ListBlockedPeriodsResponse, `blockPeriods`, 0>>;
|
|
3262
3262
|
interface ListBlockedPeriodsOptions {
|
|
3263
3263
|
/** Start time of the desired window. If not specified, the current time is used. */
|
|
3264
3264
|
from?: Date | null;
|
|
@@ -3276,7 +3276,7 @@ interface ListBlockedPeriodsOptions {
|
|
|
3276
3276
|
* @returns Retrieved operation.
|
|
3277
3277
|
* @fqn wix.restaurants.operations.v1.OperationsService.GetOperation
|
|
3278
3278
|
*/
|
|
3279
|
-
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`,
|
|
3279
|
+
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>>;
|
|
3280
3280
|
/**
|
|
3281
3281
|
* Updates an operation.
|
|
3282
3282
|
*
|
|
@@ -3299,7 +3299,7 @@ declare function getOperation(operationId: string): Promise<NonNullablePaths<Ope
|
|
|
3299
3299
|
* @returns Updated operation.
|
|
3300
3300
|
* @fqn wix.restaurants.operations.v1.OperationsService.UpdateOperation
|
|
3301
3301
|
*/
|
|
3302
|
-
declare function updateOperation(_id: string, operation: NonNullablePaths<UpdateOperation, `revision`,
|
|
3302
|
+
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>>;
|
|
3303
3303
|
interface UpdateOperation {
|
|
3304
3304
|
/** Options for online ordering status. Required when `onlineOrderingStatus` is `PAUSED_UNTIL`. */
|
|
3305
3305
|
pausedUntilOptions?: OnlineOrderingPausedUntilOptions;
|
|
@@ -3511,7 +3511,7 @@ interface OperationsQueryBuilder {
|
|
|
3511
3511
|
* @fqn wix.restaurants.operations.v1.OperationsService.QueryOperation
|
|
3512
3512
|
* @requiredField query
|
|
3513
3513
|
*/
|
|
3514
|
-
declare function typedQueryOperation(query: OperationQuery): Promise<NonNullablePaths<QueryOperationResponse, `operations` | `operations.${number}.onlineOrderingStatus` | `operations.${number}.defaultFulfillmentType` | `operations.${number}.orderScheduling.asapOptions.asapFutureHandlingType` | `operations.${number}.orderScheduling.type`,
|
|
3514
|
+
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>>;
|
|
3515
3515
|
interface OperationQuerySpec extends QuerySpec {
|
|
3516
3516
|
paging: 'cursor';
|
|
3517
3517
|
wql: [
|
|
@@ -3597,7 +3597,7 @@ declare const utils: {
|
|
|
3597
3597
|
* @applicableIdentity APP
|
|
3598
3598
|
* @fqn wix.restaurants.operations.v1.OperationsService.ListOperations
|
|
3599
3599
|
*/
|
|
3600
|
-
declare function listOperations(): Promise<NonNullablePaths<ListOperationsResponse, `operations` | `operations.${number}.onlineOrderingStatus` | `operations.${number}.defaultFulfillmentType` | `operations.${number}.orderScheduling.asapOptions.asapFutureHandlingType` | `operations.${number}.orderScheduling.type`,
|
|
3600
|
+
declare function listOperations(): Promise<NonNullablePaths<ListOperationsResponse, `operations` | `operations.${number}.onlineOrderingStatus` | `operations.${number}.defaultFulfillmentType` | `operations.${number}.orderScheduling.asapOptions.asapFutureHandlingType` | `operations.${number}.orderScheduling.type`, 4>>;
|
|
3601
3601
|
/**
|
|
3602
3602
|
* Retrieves a list of available fulfillment options.
|
|
3603
3603
|
*
|
|
@@ -3612,7 +3612,7 @@ declare function listOperations(): Promise<NonNullablePaths<ListOperationsRespon
|
|
|
3612
3612
|
* @applicableIdentity APP
|
|
3613
3613
|
* @fqn wix.restaurants.operations.v1.OperationsService.ListAvailableFulfillmentOptions
|
|
3614
3614
|
*/
|
|
3615
|
-
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`,
|
|
3615
|
+
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>>;
|
|
3616
3616
|
interface ListAvailableFulfillmentOptions {
|
|
3617
3617
|
/**
|
|
3618
3618
|
* Delivery address. Optional.
|
|
@@ -3637,7 +3637,7 @@ interface ListAvailableFulfillmentOptions {
|
|
|
3637
3637
|
* @replacedBy wix.restaurants.operations.v1.OperationsService.CalculateFirstAvailableTimeSlotPerFulfillmentType
|
|
3638
3638
|
* @targetRemovalDate 2025-08-31
|
|
3639
3639
|
*/
|
|
3640
|
-
declare function listFirstAvailableTimeSlotForFulfillmentTypes(operationId: string, options?: ListFirstAvailableTimeSlotForFulfillmentTypesOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotForFulfillmentTypesResponse, `timeSlots` | `timeSlots.${number}.fulfilmentType` | `timeSlots.${number}.startsNow`,
|
|
3640
|
+
declare function listFirstAvailableTimeSlotForFulfillmentTypes(operationId: string, options?: ListFirstAvailableTimeSlotForFulfillmentTypesOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotForFulfillmentTypesResponse, `timeSlots` | `timeSlots.${number}.fulfilmentType` | `timeSlots.${number}.startsNow`, 2>>;
|
|
3641
3641
|
interface ListFirstAvailableTimeSlotForFulfillmentTypesOptions {
|
|
3642
3642
|
/**
|
|
3643
3643
|
* Delivery address. Optional.
|
|
@@ -3659,7 +3659,7 @@ interface ListFirstAvailableTimeSlotForFulfillmentTypesOptions {
|
|
|
3659
3659
|
* @applicableIdentity APP
|
|
3660
3660
|
* @fqn wix.restaurants.operations.v1.OperationsService.CalculateFirstAvailableTimeSlotPerFulfillmentType
|
|
3661
3661
|
*/
|
|
3662
|
-
declare function calculateFirstAvailableTimeSlotPerFulfillmentType(operationId: string, options?: CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotPerFulfillmentTypeResponse, `timeslotsPerFulfillmentType` | `timeslotsPerFulfillmentType.${number}.timeSlot.orderSchedulingType` | `timeslotsPerFulfillmentType.${number}.fulfilmentType`,
|
|
3662
|
+
declare function calculateFirstAvailableTimeSlotPerFulfillmentType(operationId: string, options?: CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotPerFulfillmentTypeResponse, `timeslotsPerFulfillmentType` | `timeslotsPerFulfillmentType.${number}.timeSlot.orderSchedulingType` | `timeslotsPerFulfillmentType.${number}.fulfilmentType`, 3>>;
|
|
3663
3663
|
interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions {
|
|
3664
3664
|
/**
|
|
3665
3665
|
* Delivery address.
|
|
@@ -3684,7 +3684,7 @@ interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions {
|
|
|
3684
3684
|
* @replacedBy wix.restaurants.operations.v1.OperationsService.CalculateFirstAvailableTimeSlotsPerOperation
|
|
3685
3685
|
* @targetRemovalDate 2025-08-31
|
|
3686
3686
|
*/
|
|
3687
|
-
declare function listFirstAvailableTimeSlotsForOperations(operationIds: string[], options?: ListFirstAvailableTimeSlotsForOperationsOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForOperationsResponse, `timeSlots` | `timeSlots.${number}.operationId`,
|
|
3687
|
+
declare function listFirstAvailableTimeSlotsForOperations(operationIds: string[], options?: ListFirstAvailableTimeSlotsForOperationsOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForOperationsResponse, `timeSlots` | `timeSlots.${number}.operationId`, 2>>;
|
|
3688
3688
|
interface ListFirstAvailableTimeSlotsForOperationsOptions {
|
|
3689
3689
|
/**
|
|
3690
3690
|
* Delivery address. Optional.
|
|
@@ -3706,7 +3706,7 @@ interface ListFirstAvailableTimeSlotsForOperationsOptions {
|
|
|
3706
3706
|
* @applicableIdentity APP
|
|
3707
3707
|
* @fqn wix.restaurants.operations.v1.OperationsService.CalculateFirstAvailableTimeSlotsPerOperation
|
|
3708
3708
|
*/
|
|
3709
|
-
declare function calculateFirstAvailableTimeSlotsPerOperation(operationIds: string[], options?: CalculateFirstAvailableTimeSlotsPerOperationOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsPerOperationResponse, `timeSlotsPerOperation` | `timeSlotsPerOperation.${number}.operationId`,
|
|
3709
|
+
declare function calculateFirstAvailableTimeSlotsPerOperation(operationIds: string[], options?: CalculateFirstAvailableTimeSlotsPerOperationOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsPerOperationResponse, `timeSlotsPerOperation` | `timeSlotsPerOperation.${number}.operationId`, 2>>;
|
|
3710
3710
|
interface CalculateFirstAvailableTimeSlotsPerOperationOptions {
|
|
3711
3711
|
/**
|
|
3712
3712
|
* Delivery address.
|
|
@@ -3729,7 +3729,7 @@ interface CalculateFirstAvailableTimeSlotsPerOperationOptions {
|
|
|
3729
3729
|
* @replacedBy wix.restaurants.operations.v1.OperationsService.CalculateFirstAvailableTimeSlotsPerMenu
|
|
3730
3730
|
* @targetRemovalDate 2025-08-31
|
|
3731
3731
|
*/
|
|
3732
|
-
declare function listFirstAvailableTimeSlotsForMenus(operationId: string, options?: ListFirstAvailableTimeSlotsForMenusOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForMenusResponse, `timeSlotsPerMenu`,
|
|
3732
|
+
declare function listFirstAvailableTimeSlotsForMenus(operationId: string, options?: ListFirstAvailableTimeSlotsForMenusOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForMenusResponse, `timeSlotsPerMenu`, 0>>;
|
|
3733
3733
|
interface ListFirstAvailableTimeSlotsForMenusOptions {
|
|
3734
3734
|
/**
|
|
3735
3735
|
* Delivery address. Optional.
|
|
@@ -3753,7 +3753,7 @@ interface ListFirstAvailableTimeSlotsForMenusOptions {
|
|
|
3753
3753
|
* @applicableIdentity APP
|
|
3754
3754
|
* @fqn wix.restaurants.operations.v1.OperationsService.CalculateFirstAvailableTimeSlotsPerMenu
|
|
3755
3755
|
*/
|
|
3756
|
-
declare function calculateFirstAvailableTimeSlotsPerMenu(operationId: string, options?: CalculateFirstAvailableTimeSlotsPerMenuOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsPerMenuResponse, `timeSlotsPerMenu`,
|
|
3756
|
+
declare function calculateFirstAvailableTimeSlotsPerMenu(operationId: string, options?: CalculateFirstAvailableTimeSlotsPerMenuOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsPerMenuResponse, `timeSlotsPerMenu`, 0>>;
|
|
3757
3757
|
interface CalculateFirstAvailableTimeSlotsPerMenuOptions {
|
|
3758
3758
|
/**
|
|
3759
3759
|
* Delivery address.
|
|
@@ -3782,7 +3782,7 @@ interface CalculateFirstAvailableTimeSlotsPerMenuOptions {
|
|
|
3782
3782
|
* @applicableIdentity APP
|
|
3783
3783
|
* @fqn wix.restaurants.operations.v1.OperationsService.CalculateFirstAvailableTimeSlotsForItem
|
|
3784
3784
|
*/
|
|
3785
|
-
declare function calculateFirstAvailableTimeSlotsForItem(operationId: string, menuId: string, options?: NonNullablePaths<CalculateFirstAvailableTimeSlotsForItemOptions, `itemId` | `sectionId`,
|
|
3785
|
+
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>>;
|
|
3786
3786
|
interface CalculateFirstAvailableTimeSlotsForItemOptions {
|
|
3787
3787
|
/**
|
|
3788
3788
|
* Section ID to get the first available time slots for.
|
|
@@ -3819,7 +3819,7 @@ interface CalculateFirstAvailableTimeSlotsForItemOptions {
|
|
|
3819
3819
|
* @replacedBy wix.restaurants.operations.v1.OperationsService.CalculateAvailableTimeSlotsForDate
|
|
3820
3820
|
* @targetRemovalDate 2025-08-31
|
|
3821
3821
|
*/
|
|
3822
|
-
declare function listAvailableTimeSlotsForDate(operationId: string, options?: NonNullablePaths<ListAvailableTimeSlotsForDateOptions, `date` | `date.day` | `date.month` | `date.year`,
|
|
3822
|
+
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>>;
|
|
3823
3823
|
interface ListAvailableTimeSlotsForDateOptions {
|
|
3824
3824
|
/**
|
|
3825
3825
|
* Delivery address. Optional.
|
|
@@ -3847,7 +3847,7 @@ interface ListAvailableTimeSlotsForDateOptions {
|
|
|
3847
3847
|
* @applicableIdentity APP
|
|
3848
3848
|
* @fqn wix.restaurants.operations.v1.OperationsService.CalculateAvailableTimeSlotsForDate
|
|
3849
3849
|
*/
|
|
3850
|
-
declare function calculateAvailableTimeSlotsForDate(operationId: string, options?: NonNullablePaths<CalculateAvailableTimeSlotsForDateOptions, `date` | `date.day` | `date.month` | `date.year`,
|
|
3850
|
+
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>>;
|
|
3851
3851
|
interface CalculateAvailableTimeSlotsForDateOptions {
|
|
3852
3852
|
/**
|
|
3853
3853
|
* Delivery address.
|
|
@@ -3876,7 +3876,7 @@ interface CalculateAvailableTimeSlotsForDateOptions {
|
|
|
3876
3876
|
* @replacedBy wix.restaurants.operations.v1.OperationsService.CalculateAvailableDatesInRange
|
|
3877
3877
|
* @targetRemovalDate 2025-08-31
|
|
3878
3878
|
*/
|
|
3879
|
-
declare function listAvailableDatesInRange(operationId: string, options?: NonNullablePaths<ListAvailableDatesInRangeOptions, `from` | `until`,
|
|
3879
|
+
declare function listAvailableDatesInRange(operationId: string, options?: NonNullablePaths<ListAvailableDatesInRangeOptions, `from` | `until`, 0>): Promise<NonNullablePaths<ListAvailableDatesInRangeResponse, `availableDates` | `availableDates.${number}.fulfilmentType`, 2>>;
|
|
3880
3880
|
interface ListAvailableDatesInRangeOptions {
|
|
3881
3881
|
/**
|
|
3882
3882
|
* Delivery address. Optional.
|
|
@@ -3906,7 +3906,7 @@ interface ListAvailableDatesInRangeOptions {
|
|
|
3906
3906
|
* @applicableIdentity APP
|
|
3907
3907
|
* @fqn wix.restaurants.operations.v1.OperationsService.CalculateAvailableDatesInRange
|
|
3908
3908
|
*/
|
|
3909
|
-
declare function calculateAvailableDatesInRange(operationId: string, options?: NonNullablePaths<CalculateAvailableDatesInRangeOptions, `from` | `until`,
|
|
3909
|
+
declare function calculateAvailableDatesInRange(operationId: string, options?: NonNullablePaths<CalculateAvailableDatesInRangeOptions, `from` | `until`, 0>): Promise<NonNullablePaths<CalculateAvailableDatesInRangeResponse, `availableDatesPerFulfillmentType` | `availableDatesPerFulfillmentType.${number}.fulfilmentType`, 2>>;
|
|
3910
3910
|
interface CalculateAvailableDatesInRangeOptions {
|
|
3911
3911
|
/**
|
|
3912
3912
|
* Delivery address.
|
|
@@ -3940,7 +3940,7 @@ interface CalculateAvailableDatesInRangeOptions {
|
|
|
3940
3940
|
* @returns Response message for address validation
|
|
3941
3941
|
* @fqn wix.restaurants.operations.v1.OperationsService.ValidateOperationAddress
|
|
3942
3942
|
*/
|
|
3943
|
-
declare function validateOperationAddress(operationId: string): Promise<NonNullablePaths<ValidateOperationAddressResponse, `valid` | `violations` | `violations.${number}.type`,
|
|
3943
|
+
declare function validateOperationAddress(operationId: string): Promise<NonNullablePaths<ValidateOperationAddressResponse, `valid` | `violations` | `violations.${number}.type`, 2>>;
|
|
3944
3944
|
/**
|
|
3945
3945
|
* Synchronously update tags on multiple operations.
|
|
3946
3946
|
* If you specify a tag in both `assignTags` and `unassignTags`, it is assigned.
|
|
@@ -3952,7 +3952,7 @@ declare function validateOperationAddress(operationId: string): Promise<NonNulla
|
|
|
3952
3952
|
* @applicableIdentity APP
|
|
3953
3953
|
* @fqn wix.restaurants.operations.v1.OperationsService.BulkUpdateOperationTags
|
|
3954
3954
|
*/
|
|
3955
|
-
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`,
|
|
3955
|
+
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> & {
|
|
3956
3956
|
__applicationErrorsType?: BulkUpdateOperationTagsApplicationErrors;
|
|
3957
3957
|
}>;
|
|
3958
3958
|
interface BulkUpdateOperationTagsOptions {
|
|
@@ -3973,7 +3973,7 @@ interface BulkUpdateOperationTagsOptions {
|
|
|
3973
3973
|
* @applicableIdentity APP
|
|
3974
3974
|
* @fqn wix.restaurants.operations.v1.OperationsService.BulkUpdateOperationTagsByFilter
|
|
3975
3975
|
*/
|
|
3976
|
-
declare function bulkUpdateOperationTagsByFilter(filter: Record<string, any>, options?: BulkUpdateOperationTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateOperationTagsByFilterResponse, `jobId`,
|
|
3976
|
+
declare function bulkUpdateOperationTagsByFilter(filter: Record<string, any>, options?: BulkUpdateOperationTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateOperationTagsByFilterResponse, `jobId`, 0> & {
|
|
3977
3977
|
__applicationErrorsType?: BulkUpdateOperationTagsByFilterApplicationErrors;
|
|
3978
3978
|
}>;
|
|
3979
3979
|
interface BulkUpdateOperationTagsByFilterOptions {
|
|
@@ -2293,12 +2293,12 @@ interface Properties {
|
|
|
2293
2293
|
*/
|
|
2294
2294
|
language?: string | null;
|
|
2295
2295
|
/**
|
|
2296
|
-
* Site currency
|
|
2296
|
+
* Site currency used to bill customers.
|
|
2297
2297
|
*
|
|
2298
2298
|
* Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
2299
2299
|
*/
|
|
2300
2300
|
paymentCurrency?: string | null;
|
|
2301
|
-
/**
|
|
2301
|
+
/** Site time zone in IANA time zone database format. For example, `America/New_York`. */
|
|
2302
2302
|
timeZone?: string | null;
|
|
2303
2303
|
/** Email address. */
|
|
2304
2304
|
email?: string | null;
|
|
@@ -8,7 +8,7 @@ interface ListBlockedPeriodsSignature {
|
|
|
8
8
|
* List Blocked Periods.
|
|
9
9
|
* @param - ID of the restaurant operation this blocked period is associated with. (See the Restaurants Operations API for more information.)
|
|
10
10
|
*/
|
|
11
|
-
(operationId: string, options?: NonNullablePaths<ListBlockedPeriodsOptions, `until`,
|
|
11
|
+
(operationId: string, options?: NonNullablePaths<ListBlockedPeriodsOptions, `until`, 0>): Promise<NonNullablePaths<ListBlockedPeriodsResponse, `blockPeriods`, 0>>;
|
|
12
12
|
}
|
|
13
13
|
declare function getOperation$1(httpClient: HttpClient): GetOperationSignature;
|
|
14
14
|
interface GetOperationSignature {
|
|
@@ -17,7 +17,7 @@ interface GetOperationSignature {
|
|
|
17
17
|
* @param - ID of the operation to retrieve.
|
|
18
18
|
* @returns Retrieved operation.
|
|
19
19
|
*/
|
|
20
|
-
(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`,
|
|
20
|
+
(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>>;
|
|
21
21
|
}
|
|
22
22
|
declare function updateOperation$1(httpClient: HttpClient): UpdateOperationSignature;
|
|
23
23
|
interface UpdateOperationSignature {
|
|
@@ -35,7 +35,7 @@ interface UpdateOperationSignature {
|
|
|
35
35
|
* @param - Operation ID.
|
|
36
36
|
* @returns Updated operation.
|
|
37
37
|
*/
|
|
38
|
-
(_id: string, operation: NonNullablePaths<UpdateOperation, `revision`,
|
|
38
|
+
(_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>>;
|
|
39
39
|
}
|
|
40
40
|
declare function deleteOperation$1(httpClient: HttpClient): DeleteOperationSignature;
|
|
41
41
|
interface DeleteOperationSignature {
|
|
@@ -52,7 +52,7 @@ interface ListOperationsSignature {
|
|
|
52
52
|
* Retrieves a list of operations.
|
|
53
53
|
* The result will be sorted by created date in ascending order.
|
|
54
54
|
*/
|
|
55
|
-
(): Promise<NonNullablePaths<ListOperationsResponse, `operations` | `operations.${number}.onlineOrderingStatus` | `operations.${number}.defaultFulfillmentType` | `operations.${number}.orderScheduling.asapOptions.asapFutureHandlingType` | `operations.${number}.orderScheduling.type`,
|
|
55
|
+
(): Promise<NonNullablePaths<ListOperationsResponse, `operations` | `operations.${number}.onlineOrderingStatus` | `operations.${number}.defaultFulfillmentType` | `operations.${number}.orderScheduling.asapOptions.asapFutureHandlingType` | `operations.${number}.orderScheduling.type`, 4>>;
|
|
56
56
|
}
|
|
57
57
|
declare function listAvailableFulfillmentOptions$1(httpClient: HttpClient): ListAvailableFulfillmentOptionsSignature;
|
|
58
58
|
interface ListAvailableFulfillmentOptionsSignature {
|
|
@@ -64,7 +64,7 @@ interface ListAvailableFulfillmentOptionsSignature {
|
|
|
64
64
|
* 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.
|
|
65
65
|
* @param - Operation ID. Returned fulfillment options will belong to this operation.
|
|
66
66
|
*/
|
|
67
|
-
(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`,
|
|
67
|
+
(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>>;
|
|
68
68
|
}
|
|
69
69
|
declare function listFirstAvailableTimeSlotForFulfillmentTypes$1(httpClient: HttpClient): ListFirstAvailableTimeSlotForFulfillmentTypesSignature;
|
|
70
70
|
interface ListFirstAvailableTimeSlotForFulfillmentTypesSignature {
|
|
@@ -76,7 +76,7 @@ interface ListFirstAvailableTimeSlotForFulfillmentTypesSignature {
|
|
|
76
76
|
* Returned fulfillment options will belong to this operation.
|
|
77
77
|
* @deprecated
|
|
78
78
|
*/
|
|
79
|
-
(operationId: string, options?: ListFirstAvailableTimeSlotForFulfillmentTypesOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotForFulfillmentTypesResponse, `timeSlots` | `timeSlots.${number}.fulfilmentType` | `timeSlots.${number}.startsNow`,
|
|
79
|
+
(operationId: string, options?: ListFirstAvailableTimeSlotForFulfillmentTypesOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotForFulfillmentTypesResponse, `timeSlots` | `timeSlots.${number}.fulfilmentType` | `timeSlots.${number}.startsNow`, 2>>;
|
|
80
80
|
}
|
|
81
81
|
declare function calculateFirstAvailableTimeSlotPerFulfillmentType$1(httpClient: HttpClient): CalculateFirstAvailableTimeSlotPerFulfillmentTypeSignature;
|
|
82
82
|
interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeSignature {
|
|
@@ -87,7 +87,7 @@ interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeSignature {
|
|
|
87
87
|
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
88
88
|
* @param - Operation ID.
|
|
89
89
|
*/
|
|
90
|
-
(operationId: string, options?: CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotPerFulfillmentTypeResponse, `timeslotsPerFulfillmentType` | `timeslotsPerFulfillmentType.${number}.timeSlot.orderSchedulingType` | `timeslotsPerFulfillmentType.${number}.fulfilmentType`,
|
|
90
|
+
(operationId: string, options?: CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotPerFulfillmentTypeResponse, `timeslotsPerFulfillmentType` | `timeslotsPerFulfillmentType.${number}.timeSlot.orderSchedulingType` | `timeslotsPerFulfillmentType.${number}.fulfilmentType`, 3>>;
|
|
91
91
|
}
|
|
92
92
|
declare function listFirstAvailableTimeSlotsForOperations$1(httpClient: HttpClient): ListFirstAvailableTimeSlotsForOperationsSignature;
|
|
93
93
|
interface ListFirstAvailableTimeSlotsForOperationsSignature {
|
|
@@ -99,7 +99,7 @@ interface ListFirstAvailableTimeSlotsForOperationsSignature {
|
|
|
99
99
|
* Returned fulfillment options will belong to this operation.
|
|
100
100
|
* @deprecated
|
|
101
101
|
*/
|
|
102
|
-
(operationIds: string[], options?: ListFirstAvailableTimeSlotsForOperationsOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForOperationsResponse, `timeSlots` | `timeSlots.${number}.operationId`,
|
|
102
|
+
(operationIds: string[], options?: ListFirstAvailableTimeSlotsForOperationsOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForOperationsResponse, `timeSlots` | `timeSlots.${number}.operationId`, 2>>;
|
|
103
103
|
}
|
|
104
104
|
declare function calculateFirstAvailableTimeSlotsPerOperation$1(httpClient: HttpClient): CalculateFirstAvailableTimeSlotsPerOperationSignature;
|
|
105
105
|
interface CalculateFirstAvailableTimeSlotsPerOperationSignature {
|
|
@@ -110,7 +110,7 @@ interface CalculateFirstAvailableTimeSlotsPerOperationSignature {
|
|
|
110
110
|
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
111
111
|
* @param - Operation IDs.
|
|
112
112
|
*/
|
|
113
|
-
(operationIds: string[], options?: CalculateFirstAvailableTimeSlotsPerOperationOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsPerOperationResponse, `timeSlotsPerOperation` | `timeSlotsPerOperation.${number}.operationId`,
|
|
113
|
+
(operationIds: string[], options?: CalculateFirstAvailableTimeSlotsPerOperationOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsPerOperationResponse, `timeSlotsPerOperation` | `timeSlotsPerOperation.${number}.operationId`, 2>>;
|
|
114
114
|
}
|
|
115
115
|
declare function listFirstAvailableTimeSlotsForMenus$1(httpClient: HttpClient): ListFirstAvailableTimeSlotsForMenusSignature;
|
|
116
116
|
interface ListFirstAvailableTimeSlotsForMenusSignature {
|
|
@@ -120,7 +120,7 @@ interface ListFirstAvailableTimeSlotsForMenusSignature {
|
|
|
120
120
|
* Returned timeslots that are belong to this operation.
|
|
121
121
|
* @deprecated
|
|
122
122
|
*/
|
|
123
|
-
(operationId: string, options?: ListFirstAvailableTimeSlotsForMenusOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForMenusResponse, `timeSlotsPerMenu`,
|
|
123
|
+
(operationId: string, options?: ListFirstAvailableTimeSlotsForMenusOptions): Promise<NonNullablePaths<ListFirstAvailableTimeSlotsForMenusResponse, `timeSlotsPerMenu`, 0>>;
|
|
124
124
|
}
|
|
125
125
|
declare function calculateFirstAvailableTimeSlotsPerMenu$1(httpClient: HttpClient): CalculateFirstAvailableTimeSlotsPerMenuSignature;
|
|
126
126
|
interface CalculateFirstAvailableTimeSlotsPerMenuSignature {
|
|
@@ -131,7 +131,7 @@ interface CalculateFirstAvailableTimeSlotsPerMenuSignature {
|
|
|
131
131
|
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
132
132
|
* @param - Operation ID.
|
|
133
133
|
*/
|
|
134
|
-
(operationId: string, options?: CalculateFirstAvailableTimeSlotsPerMenuOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsPerMenuResponse, `timeSlotsPerMenu`,
|
|
134
|
+
(operationId: string, options?: CalculateFirstAvailableTimeSlotsPerMenuOptions): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsPerMenuResponse, `timeSlotsPerMenu`, 0>>;
|
|
135
135
|
}
|
|
136
136
|
declare function calculateFirstAvailableTimeSlotsForItem$1(httpClient: HttpClient): CalculateFirstAvailableTimeSlotsForItemSignature;
|
|
137
137
|
interface CalculateFirstAvailableTimeSlotsForItemSignature {
|
|
@@ -142,7 +142,7 @@ interface CalculateFirstAvailableTimeSlotsForItemSignature {
|
|
|
142
142
|
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
143
143
|
* @param - Menu ID to get the first available time slots for.
|
|
144
144
|
*/
|
|
145
|
-
(operationId: string, menuId: string, options?: NonNullablePaths<CalculateFirstAvailableTimeSlotsForItemOptions, `itemId` | `sectionId`,
|
|
145
|
+
(operationId: string, menuId: string, options?: NonNullablePaths<CalculateFirstAvailableTimeSlotsForItemOptions, `itemId` | `sectionId`, 0>): Promise<NonNullablePaths<CalculateFirstAvailableTimeSlotsForItemResponse, `timeslotsPerFulfillmentType` | `timeslotsPerFulfillmentType.${number}.timeSlot.orderSchedulingType` | `timeslotsPerFulfillmentType.${number}.fulfilmentType`, 3>>;
|
|
146
146
|
}
|
|
147
147
|
declare function listAvailableTimeSlotsForDate$1(httpClient: HttpClient): ListAvailableTimeSlotsForDateSignature;
|
|
148
148
|
interface ListAvailableTimeSlotsForDateSignature {
|
|
@@ -152,7 +152,7 @@ interface ListAvailableTimeSlotsForDateSignature {
|
|
|
152
152
|
* The returned fulfillment options will belong to this operation.
|
|
153
153
|
* @deprecated
|
|
154
154
|
*/
|
|
155
|
-
(operationId: string, options?: NonNullablePaths<ListAvailableTimeSlotsForDateOptions, `date` | `date.day` | `date.month` | `date.year`,
|
|
155
|
+
(operationId: string, options?: NonNullablePaths<ListAvailableTimeSlotsForDateOptions, `date` | `date.day` | `date.month` | `date.year`, 1>): Promise<NonNullablePaths<ListAvailableTimeSlotsForDateResponse, `timeSlots` | `timeSlots.${number}.fulfilmentType` | `timeSlots.${number}.startsNow`, 2>>;
|
|
156
156
|
}
|
|
157
157
|
declare function calculateAvailableTimeSlotsForDate$1(httpClient: HttpClient): CalculateAvailableTimeSlotsForDateSignature;
|
|
158
158
|
interface CalculateAvailableTimeSlotsForDateSignature {
|
|
@@ -163,7 +163,7 @@ interface CalculateAvailableTimeSlotsForDateSignature {
|
|
|
163
163
|
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
164
164
|
* @param - Operation ID.
|
|
165
165
|
*/
|
|
166
|
-
(operationId: string, options?: NonNullablePaths<CalculateAvailableTimeSlotsForDateOptions, `date` | `date.day` | `date.month` | `date.year`,
|
|
166
|
+
(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>>;
|
|
167
167
|
}
|
|
168
168
|
declare function listAvailableDatesInRange$1(httpClient: HttpClient): ListAvailableDatesInRangeSignature;
|
|
169
169
|
interface ListAvailableDatesInRangeSignature {
|
|
@@ -175,7 +175,7 @@ interface ListAvailableDatesInRangeSignature {
|
|
|
175
175
|
* The returned fulfillment options will belong to this operation.
|
|
176
176
|
* @deprecated
|
|
177
177
|
*/
|
|
178
|
-
(operationId: string, options?: NonNullablePaths<ListAvailableDatesInRangeOptions, `from` | `until`,
|
|
178
|
+
(operationId: string, options?: NonNullablePaths<ListAvailableDatesInRangeOptions, `from` | `until`, 0>): Promise<NonNullablePaths<ListAvailableDatesInRangeResponse, `availableDates` | `availableDates.${number}.fulfilmentType`, 2>>;
|
|
179
179
|
}
|
|
180
180
|
declare function calculateAvailableDatesInRange$1(httpClient: HttpClient): CalculateAvailableDatesInRangeSignature;
|
|
181
181
|
interface CalculateAvailableDatesInRangeSignature {
|
|
@@ -188,7 +188,7 @@ interface CalculateAvailableDatesInRangeSignature {
|
|
|
188
188
|
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
189
189
|
* @param - Operation ID.
|
|
190
190
|
*/
|
|
191
|
-
(operationId: string, options?: NonNullablePaths<CalculateAvailableDatesInRangeOptions, `from` | `until`,
|
|
191
|
+
(operationId: string, options?: NonNullablePaths<CalculateAvailableDatesInRangeOptions, `from` | `until`, 0>): Promise<NonNullablePaths<CalculateAvailableDatesInRangeResponse, `availableDatesPerFulfillmentType` | `availableDatesPerFulfillmentType.${number}.fulfilmentType`, 2>>;
|
|
192
192
|
}
|
|
193
193
|
declare function validateOperationAddress$1(httpClient: HttpClient): ValidateOperationAddressSignature;
|
|
194
194
|
interface ValidateOperationAddressSignature {
|
|
@@ -207,7 +207,7 @@ interface ValidateOperationAddressSignature {
|
|
|
207
207
|
* @param - The ID of the operation whose address should be validated.
|
|
208
208
|
* @returns Response message for address validation
|
|
209
209
|
*/
|
|
210
|
-
(operationId: string): Promise<NonNullablePaths<ValidateOperationAddressResponse, `valid` | `violations` | `violations.${number}.type`,
|
|
210
|
+
(operationId: string): Promise<NonNullablePaths<ValidateOperationAddressResponse, `valid` | `violations` | `violations.${number}.type`, 2>>;
|
|
211
211
|
}
|
|
212
212
|
declare function bulkUpdateOperationTags$1(httpClient: HttpClient): BulkUpdateOperationTagsSignature;
|
|
213
213
|
interface BulkUpdateOperationTagsSignature {
|
|
@@ -216,7 +216,7 @@ interface BulkUpdateOperationTagsSignature {
|
|
|
216
216
|
* If you specify a tag in both `assignTags` and `unassignTags`, it is assigned.
|
|
217
217
|
* @param - IDs of the operations to update tags for.
|
|
218
218
|
*/
|
|
219
|
-
(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`,
|
|
219
|
+
(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> & {
|
|
220
220
|
__applicationErrorsType?: BulkUpdateOperationTagsApplicationErrors;
|
|
221
221
|
}>;
|
|
222
222
|
}
|
|
@@ -228,7 +228,7 @@ interface BulkUpdateOperationTagsByFilterSignature {
|
|
|
228
228
|
* If you specify a tag in both `assignTags` and `unassignTags`, it is assigned.
|
|
229
229
|
* @param - Filter that determines which operations to update tags for.
|
|
230
230
|
*/
|
|
231
|
-
(filter: Record<string, any>, options?: BulkUpdateOperationTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateOperationTagsByFilterResponse, `jobId`,
|
|
231
|
+
(filter: Record<string, any>, options?: BulkUpdateOperationTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateOperationTagsByFilterResponse, `jobId`, 0> & {
|
|
232
232
|
__applicationErrorsType?: BulkUpdateOperationTagsByFilterApplicationErrors;
|
|
233
233
|
}>;
|
|
234
234
|
}
|