@wix/auto_sdk_restaurants_operations 1.0.103 → 1.0.105
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.js.map +1 -1
- package/build/cjs/index.typings.d.ts +4 -46
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +4 -46
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +4 -46
- package/build/internal/es/index.typings.d.mts +4 -46
- package/package.json +3 -3
|
@@ -3226,7 +3226,6 @@ interface OperationDeletedEnvelope {
|
|
|
3226
3226
|
* @eventType wix.restaurants.operations.v1.operation_deleted
|
|
3227
3227
|
* @serviceIdentifier wix.restaurants.operations.v1.OperationsService
|
|
3228
3228
|
* @slug deleted
|
|
3229
|
-
* @documentationMaturity preview
|
|
3230
3229
|
*/
|
|
3231
3230
|
declare function onOperationDeleted(handler: (event: OperationDeletedEnvelope) => void | Promise<void>): void;
|
|
3232
3231
|
interface OperationUpdatedEnvelope {
|
|
@@ -3244,7 +3243,6 @@ interface OperationUpdatedEnvelope {
|
|
|
3244
3243
|
* @eventType wix.restaurants.operations.v1.operation_updated
|
|
3245
3244
|
* @serviceIdentifier wix.restaurants.operations.v1.OperationsService
|
|
3246
3245
|
* @slug updated
|
|
3247
|
-
* @documentationMaturity preview
|
|
3248
3246
|
*/
|
|
3249
3247
|
declare function onOperationUpdated(handler: (event: OperationUpdatedEnvelope) => void | Promise<void>): void;
|
|
3250
3248
|
/**
|
|
@@ -3269,7 +3267,6 @@ interface ListBlockedPeriodsOptions {
|
|
|
3269
3267
|
* Retrieves an operation.
|
|
3270
3268
|
* @param operationId - ID of the operation to retrieve.
|
|
3271
3269
|
* @public
|
|
3272
|
-
* @documentationMaturity preview
|
|
3273
3270
|
* @requiredField operationId
|
|
3274
3271
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3275
3272
|
* @applicableIdentity APP
|
|
@@ -3290,7 +3287,6 @@ declare function getOperation(operationId: string): Promise<NonNullablePaths<Ope
|
|
|
3290
3287
|
* and prevents unintended overwrites.
|
|
3291
3288
|
* @param _id - Operation ID.
|
|
3292
3289
|
* @public
|
|
3293
|
-
* @documentationMaturity preview
|
|
3294
3290
|
* @requiredField _id
|
|
3295
3291
|
* @requiredField operation
|
|
3296
3292
|
* @requiredField operation.revision
|
|
@@ -3392,7 +3388,6 @@ interface UpdateOperation {
|
|
|
3392
3388
|
* Deletes an operation.
|
|
3393
3389
|
* @param operationId - ID of the operation to delete.
|
|
3394
3390
|
* @public
|
|
3395
|
-
* @documentationMaturity preview
|
|
3396
3391
|
* @requiredField operationId
|
|
3397
3392
|
* @permissionId RESTAURANTS.OPERATION_DELETE
|
|
3398
3393
|
* @applicableIdentity APP
|
|
@@ -3418,7 +3413,6 @@ declare function deleteOperation(operationId: string): Promise<void>;
|
|
|
3418
3413
|
*
|
|
3419
3414
|
* The following `OperationsQueryBuilder` functions are supported for `queryOperations()`. For a full description of the operations object, see the object returned for the [`items`](/operations/operations-query-result/items) property in `OperationsQueryResult`.
|
|
3420
3415
|
* @public
|
|
3421
|
-
* @documentationMaturity preview
|
|
3422
3416
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3423
3417
|
* @applicableIdentity APP
|
|
3424
3418
|
* @fqn wix.restaurants.operations.v1.OperationsService.QueryOperation
|
|
@@ -3440,70 +3434,50 @@ interface OperationsQueryResult extends QueryCursorResult {
|
|
|
3440
3434
|
interface OperationsQueryBuilder {
|
|
3441
3435
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
3442
3436
|
* @param value - Value to compare against.
|
|
3443
|
-
* @documentationMaturity preview
|
|
3444
3437
|
*/
|
|
3445
3438
|
eq: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'default' | 'onlineOrderingStatus' | 'defaultFulfillmentType' | 'businessLocationId' | 'businessLocationDetails.archived', value: any) => OperationsQueryBuilder;
|
|
3446
3439
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
3447
3440
|
* @param value - Value to compare against.
|
|
3448
|
-
* @documentationMaturity preview
|
|
3449
3441
|
*/
|
|
3450
3442
|
ne: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'default' | 'onlineOrderingStatus' | 'defaultFulfillmentType' | 'businessLocationId' | 'businessLocationDetails.archived', value: any) => OperationsQueryBuilder;
|
|
3451
3443
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
3452
3444
|
* @param value - Value to compare against.
|
|
3453
|
-
* @documentationMaturity preview
|
|
3454
3445
|
*/
|
|
3455
3446
|
ge: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'businessLocationId', value: any) => OperationsQueryBuilder;
|
|
3456
3447
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
3457
3448
|
* @param value - Value to compare against.
|
|
3458
|
-
* @documentationMaturity preview
|
|
3459
3449
|
*/
|
|
3460
3450
|
gt: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'businessLocationId', value: any) => OperationsQueryBuilder;
|
|
3461
3451
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
3462
3452
|
* @param value - Value to compare against.
|
|
3463
|
-
* @documentationMaturity preview
|
|
3464
3453
|
*/
|
|
3465
3454
|
le: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'businessLocationId', value: any) => OperationsQueryBuilder;
|
|
3466
3455
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
3467
3456
|
* @param value - Value to compare against.
|
|
3468
|
-
* @documentationMaturity preview
|
|
3469
3457
|
*/
|
|
3470
3458
|
lt: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'businessLocationId', value: any) => OperationsQueryBuilder;
|
|
3471
3459
|
/** @param propertyName - Property whose value is compared with `string`.
|
|
3472
3460
|
* @param string - String to compare against. Case-insensitive.
|
|
3473
|
-
* @documentationMaturity preview
|
|
3474
3461
|
*/
|
|
3475
3462
|
startsWith: (propertyName: '_id' | 'name' | 'businessLocationId', value: string) => OperationsQueryBuilder;
|
|
3476
3463
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
3477
3464
|
* @param values - List of values to compare against.
|
|
3478
|
-
* @documentationMaturity preview
|
|
3479
3465
|
*/
|
|
3480
3466
|
hasSome: (propertyName: 'fulfillmentIds', value: any[]) => OperationsQueryBuilder;
|
|
3481
3467
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
3482
3468
|
* @param values - List of values to compare against.
|
|
3483
|
-
* @documentationMaturity preview
|
|
3484
3469
|
*/
|
|
3485
3470
|
hasAll: (propertyName: 'fulfillmentIds', value: any[]) => OperationsQueryBuilder;
|
|
3486
|
-
/** @documentationMaturity preview */
|
|
3487
3471
|
in: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'default' | 'onlineOrderingStatus' | 'defaultFulfillmentType' | 'businessLocationId' | 'businessLocationDetails.archived', value: any) => OperationsQueryBuilder;
|
|
3488
|
-
/** @documentationMaturity preview */
|
|
3489
3472
|
exists: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'default' | 'fulfillmentIds' | 'onlineOrderingStatus' | 'defaultFulfillmentType' | 'businessLocationId' | 'businessLocationDetails.archived', value: boolean) => OperationsQueryBuilder;
|
|
3490
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
3491
|
-
* @documentationMaturity preview
|
|
3492
|
-
*/
|
|
3473
|
+
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
3493
3474
|
ascending: (...propertyNames: Array<'_id' | '_createdDate' | '_updatedDate' | 'name' | 'profileId' | 'default' | 'fulfillmentIds' | 'onlineOrderingStatus' | 'defaultFulfillmentType' | 'businessLocationId' | 'businessLocationDetails.archived'>) => OperationsQueryBuilder;
|
|
3494
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
3495
|
-
* @documentationMaturity preview
|
|
3496
|
-
*/
|
|
3475
|
+
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
3497
3476
|
descending: (...propertyNames: Array<'_id' | '_createdDate' | '_updatedDate' | 'name' | 'profileId' | 'default' | 'fulfillmentIds' | 'onlineOrderingStatus' | 'defaultFulfillmentType' | 'businessLocationId' | 'businessLocationDetails.archived'>) => OperationsQueryBuilder;
|
|
3498
|
-
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
3499
|
-
* @documentationMaturity preview
|
|
3500
|
-
*/
|
|
3477
|
+
/** @param limit - Number of items to return, which is also the `pageSize` of the results object. */
|
|
3501
3478
|
limit: (limit: number) => OperationsQueryBuilder;
|
|
3502
|
-
/** @param cursor - A pointer to specific record
|
|
3503
|
-
* @documentationMaturity preview
|
|
3504
|
-
*/
|
|
3479
|
+
/** @param cursor - A pointer to specific record */
|
|
3505
3480
|
skipTo: (cursor: string) => OperationsQueryBuilder;
|
|
3506
|
-
/** @documentationMaturity preview */
|
|
3507
3481
|
find: () => Promise<OperationsQueryResult>;
|
|
3508
3482
|
}
|
|
3509
3483
|
/**
|
|
@@ -3592,7 +3566,6 @@ declare const utils: {
|
|
|
3592
3566
|
* Retrieves a list of operations.
|
|
3593
3567
|
* The result will be sorted by created date in ascending order.
|
|
3594
3568
|
* @public
|
|
3595
|
-
* @documentationMaturity preview
|
|
3596
3569
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3597
3570
|
* @applicableIdentity APP
|
|
3598
3571
|
* @fqn wix.restaurants.operations.v1.OperationsService.ListOperations
|
|
@@ -3606,7 +3579,6 @@ declare function listOperations(): Promise<NonNullablePaths<ListOperationsRespon
|
|
|
3606
3579
|
* 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.
|
|
3607
3580
|
* @param operationId - Operation ID. Returned fulfillment options will belong to this operation.
|
|
3608
3581
|
* @public
|
|
3609
|
-
* @documentationMaturity preview
|
|
3610
3582
|
* @requiredField operationId
|
|
3611
3583
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3612
3584
|
* @applicableIdentity APP
|
|
@@ -3628,7 +3600,6 @@ interface ListAvailableFulfillmentOptions {
|
|
|
3628
3600
|
* @param operationId - Operation ID.
|
|
3629
3601
|
* Returned fulfillment options will belong to this operation.
|
|
3630
3602
|
* @public
|
|
3631
|
-
* @documentationMaturity preview
|
|
3632
3603
|
* @requiredField operationId
|
|
3633
3604
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3634
3605
|
* @applicableIdentity APP
|
|
@@ -3653,7 +3624,6 @@ interface ListFirstAvailableTimeSlotForFulfillmentTypesOptions {
|
|
|
3653
3624
|
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
3654
3625
|
* @param operationId - Operation ID.
|
|
3655
3626
|
* @public
|
|
3656
|
-
* @documentationMaturity preview
|
|
3657
3627
|
* @requiredField operationId
|
|
3658
3628
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3659
3629
|
* @applicableIdentity APP
|
|
@@ -3675,7 +3645,6 @@ interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions {
|
|
|
3675
3645
|
* @param operationIds - Operation ID.
|
|
3676
3646
|
* Returned fulfillment options will belong to this operation.
|
|
3677
3647
|
* @public
|
|
3678
|
-
* @documentationMaturity preview
|
|
3679
3648
|
* @requiredField operationIds
|
|
3680
3649
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3681
3650
|
* @applicableIdentity APP
|
|
@@ -3700,7 +3669,6 @@ interface ListFirstAvailableTimeSlotsForOperationsOptions {
|
|
|
3700
3669
|
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
3701
3670
|
* @param operationIds - Operation IDs.
|
|
3702
3671
|
* @public
|
|
3703
|
-
* @documentationMaturity preview
|
|
3704
3672
|
* @requiredField operationIds
|
|
3705
3673
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3706
3674
|
* @applicableIdentity APP
|
|
@@ -3720,7 +3688,6 @@ interface CalculateFirstAvailableTimeSlotsPerOperationOptions {
|
|
|
3720
3688
|
* @param operationId - Operation ID.
|
|
3721
3689
|
* Returned timeslots that are belong to this operation.
|
|
3722
3690
|
* @public
|
|
3723
|
-
* @documentationMaturity preview
|
|
3724
3691
|
* @requiredField operationId
|
|
3725
3692
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3726
3693
|
* @applicableIdentity APP
|
|
@@ -3747,7 +3714,6 @@ interface ListFirstAvailableTimeSlotsForMenusOptions {
|
|
|
3747
3714
|
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
3748
3715
|
* @param operationId - Operation ID.
|
|
3749
3716
|
* @public
|
|
3750
|
-
* @documentationMaturity preview
|
|
3751
3717
|
* @requiredField operationId
|
|
3752
3718
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3753
3719
|
* @applicableIdentity APP
|
|
@@ -3773,7 +3739,6 @@ interface CalculateFirstAvailableTimeSlotsPerMenuOptions {
|
|
|
3773
3739
|
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
3774
3740
|
* @param menuId - Menu ID to get the first available time slots for.
|
|
3775
3741
|
* @public
|
|
3776
|
-
* @documentationMaturity preview
|
|
3777
3742
|
* @requiredField menuId
|
|
3778
3743
|
* @requiredField operationId
|
|
3779
3744
|
* @requiredField options.itemId
|
|
@@ -3806,7 +3771,6 @@ interface CalculateFirstAvailableTimeSlotsForItemOptions {
|
|
|
3806
3771
|
* @param operationId - Operation ID.
|
|
3807
3772
|
* The returned fulfillment options will belong to this operation.
|
|
3808
3773
|
* @public
|
|
3809
|
-
* @documentationMaturity preview
|
|
3810
3774
|
* @requiredField operationId
|
|
3811
3775
|
* @requiredField options.date
|
|
3812
3776
|
* @requiredField options.date.day
|
|
@@ -3837,7 +3801,6 @@ interface ListAvailableTimeSlotsForDateOptions {
|
|
|
3837
3801
|
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
3838
3802
|
* @param operationId - Operation ID.
|
|
3839
3803
|
* @public
|
|
3840
|
-
* @documentationMaturity preview
|
|
3841
3804
|
* @requiredField operationId
|
|
3842
3805
|
* @requiredField options.date
|
|
3843
3806
|
* @requiredField options.date.day
|
|
@@ -3865,7 +3828,6 @@ interface CalculateAvailableTimeSlotsForDateOptions {
|
|
|
3865
3828
|
* @param operationId - Operation ID.
|
|
3866
3829
|
* The returned fulfillment options will belong to this operation.
|
|
3867
3830
|
* @public
|
|
3868
|
-
* @documentationMaturity preview
|
|
3869
3831
|
* @requiredField operationId
|
|
3870
3832
|
* @requiredField options.from
|
|
3871
3833
|
* @requiredField options.until
|
|
@@ -3898,7 +3860,6 @@ interface ListAvailableDatesInRangeOptions {
|
|
|
3898
3860
|
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
3899
3861
|
* @param operationId - Operation ID.
|
|
3900
3862
|
* @public
|
|
3901
|
-
* @documentationMaturity preview
|
|
3902
3863
|
* @requiredField operationId
|
|
3903
3864
|
* @requiredField options.from
|
|
3904
3865
|
* @requiredField options.until
|
|
@@ -3933,7 +3894,6 @@ interface CalculateAvailableDatesInRangeOptions {
|
|
|
3933
3894
|
* If the address is invalid, the response includes specific violations.
|
|
3934
3895
|
* @param operationId - The ID of the operation whose address should be validated.
|
|
3935
3896
|
* @public
|
|
3936
|
-
* @documentationMaturity preview
|
|
3937
3897
|
* @requiredField operationId
|
|
3938
3898
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3939
3899
|
* @applicableIdentity APP
|
|
@@ -3946,7 +3906,6 @@ declare function validateOperationAddress(operationId: string): Promise<NonNulla
|
|
|
3946
3906
|
* If you specify a tag in both `assignTags` and `unassignTags`, it is assigned.
|
|
3947
3907
|
* @param operationIds - IDs of the operations to update tags for.
|
|
3948
3908
|
* @public
|
|
3949
|
-
* @documentationMaturity preview
|
|
3950
3909
|
* @requiredField operationIds
|
|
3951
3910
|
* @permissionId RESTAURANTS.OPERATION_UPDATE_TAGS
|
|
3952
3911
|
* @applicableIdentity APP
|
|
@@ -3967,7 +3926,6 @@ interface BulkUpdateOperationTagsOptions {
|
|
|
3967
3926
|
* If you specify a tag in both `assignTags` and `unassignTags`, it is assigned.
|
|
3968
3927
|
* @param filter - Filter that determines which operations to update tags for.
|
|
3969
3928
|
* @public
|
|
3970
|
-
* @documentationMaturity preview
|
|
3971
3929
|
* @requiredField filter
|
|
3972
3930
|
* @permissionId RESTAURANTS.OPERATION_UPDATE_TAGS
|
|
3973
3931
|
* @applicableIdentity APP
|
|
@@ -3226,7 +3226,6 @@ interface OperationDeletedEnvelope {
|
|
|
3226
3226
|
* @eventType wix.restaurants.operations.v1.operation_deleted
|
|
3227
3227
|
* @serviceIdentifier wix.restaurants.operations.v1.OperationsService
|
|
3228
3228
|
* @slug deleted
|
|
3229
|
-
* @documentationMaturity preview
|
|
3230
3229
|
*/
|
|
3231
3230
|
declare function onOperationDeleted(handler: (event: OperationDeletedEnvelope) => void | Promise<void>): void;
|
|
3232
3231
|
interface OperationUpdatedEnvelope {
|
|
@@ -3244,7 +3243,6 @@ interface OperationUpdatedEnvelope {
|
|
|
3244
3243
|
* @eventType wix.restaurants.operations.v1.operation_updated
|
|
3245
3244
|
* @serviceIdentifier wix.restaurants.operations.v1.OperationsService
|
|
3246
3245
|
* @slug updated
|
|
3247
|
-
* @documentationMaturity preview
|
|
3248
3246
|
*/
|
|
3249
3247
|
declare function onOperationUpdated(handler: (event: OperationUpdatedEnvelope) => void | Promise<void>): void;
|
|
3250
3248
|
/**
|
|
@@ -3269,7 +3267,6 @@ interface ListBlockedPeriodsOptions {
|
|
|
3269
3267
|
* Retrieves an operation.
|
|
3270
3268
|
* @param operationId - ID of the operation to retrieve.
|
|
3271
3269
|
* @public
|
|
3272
|
-
* @documentationMaturity preview
|
|
3273
3270
|
* @requiredField operationId
|
|
3274
3271
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3275
3272
|
* @applicableIdentity APP
|
|
@@ -3290,7 +3287,6 @@ declare function getOperation(operationId: string): Promise<NonNullablePaths<Ope
|
|
|
3290
3287
|
* and prevents unintended overwrites.
|
|
3291
3288
|
* @param _id - Operation ID.
|
|
3292
3289
|
* @public
|
|
3293
|
-
* @documentationMaturity preview
|
|
3294
3290
|
* @requiredField _id
|
|
3295
3291
|
* @requiredField operation
|
|
3296
3292
|
* @requiredField operation.revision
|
|
@@ -3392,7 +3388,6 @@ interface UpdateOperation {
|
|
|
3392
3388
|
* Deletes an operation.
|
|
3393
3389
|
* @param operationId - ID of the operation to delete.
|
|
3394
3390
|
* @public
|
|
3395
|
-
* @documentationMaturity preview
|
|
3396
3391
|
* @requiredField operationId
|
|
3397
3392
|
* @permissionId RESTAURANTS.OPERATION_DELETE
|
|
3398
3393
|
* @applicableIdentity APP
|
|
@@ -3418,7 +3413,6 @@ declare function deleteOperation(operationId: string): Promise<void>;
|
|
|
3418
3413
|
*
|
|
3419
3414
|
* The following `OperationsQueryBuilder` functions are supported for `queryOperations()`. For a full description of the operations object, see the object returned for the [`items`](/operations/operations-query-result/items) property in `OperationsQueryResult`.
|
|
3420
3415
|
* @public
|
|
3421
|
-
* @documentationMaturity preview
|
|
3422
3416
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3423
3417
|
* @applicableIdentity APP
|
|
3424
3418
|
* @fqn wix.restaurants.operations.v1.OperationsService.QueryOperation
|
|
@@ -3440,70 +3434,50 @@ interface OperationsQueryResult extends QueryCursorResult {
|
|
|
3440
3434
|
interface OperationsQueryBuilder {
|
|
3441
3435
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
3442
3436
|
* @param value - Value to compare against.
|
|
3443
|
-
* @documentationMaturity preview
|
|
3444
3437
|
*/
|
|
3445
3438
|
eq: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'default' | 'onlineOrderingStatus' | 'defaultFulfillmentType' | 'businessLocationId' | 'businessLocationDetails.archived', value: any) => OperationsQueryBuilder;
|
|
3446
3439
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
3447
3440
|
* @param value - Value to compare against.
|
|
3448
|
-
* @documentationMaturity preview
|
|
3449
3441
|
*/
|
|
3450
3442
|
ne: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'default' | 'onlineOrderingStatus' | 'defaultFulfillmentType' | 'businessLocationId' | 'businessLocationDetails.archived', value: any) => OperationsQueryBuilder;
|
|
3451
3443
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
3452
3444
|
* @param value - Value to compare against.
|
|
3453
|
-
* @documentationMaturity preview
|
|
3454
3445
|
*/
|
|
3455
3446
|
ge: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'businessLocationId', value: any) => OperationsQueryBuilder;
|
|
3456
3447
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
3457
3448
|
* @param value - Value to compare against.
|
|
3458
|
-
* @documentationMaturity preview
|
|
3459
3449
|
*/
|
|
3460
3450
|
gt: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'businessLocationId', value: any) => OperationsQueryBuilder;
|
|
3461
3451
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
3462
3452
|
* @param value - Value to compare against.
|
|
3463
|
-
* @documentationMaturity preview
|
|
3464
3453
|
*/
|
|
3465
3454
|
le: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'businessLocationId', value: any) => OperationsQueryBuilder;
|
|
3466
3455
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
3467
3456
|
* @param value - Value to compare against.
|
|
3468
|
-
* @documentationMaturity preview
|
|
3469
3457
|
*/
|
|
3470
3458
|
lt: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'businessLocationId', value: any) => OperationsQueryBuilder;
|
|
3471
3459
|
/** @param propertyName - Property whose value is compared with `string`.
|
|
3472
3460
|
* @param string - String to compare against. Case-insensitive.
|
|
3473
|
-
* @documentationMaturity preview
|
|
3474
3461
|
*/
|
|
3475
3462
|
startsWith: (propertyName: '_id' | 'name' | 'businessLocationId', value: string) => OperationsQueryBuilder;
|
|
3476
3463
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
3477
3464
|
* @param values - List of values to compare against.
|
|
3478
|
-
* @documentationMaturity preview
|
|
3479
3465
|
*/
|
|
3480
3466
|
hasSome: (propertyName: 'fulfillmentIds', value: any[]) => OperationsQueryBuilder;
|
|
3481
3467
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
3482
3468
|
* @param values - List of values to compare against.
|
|
3483
|
-
* @documentationMaturity preview
|
|
3484
3469
|
*/
|
|
3485
3470
|
hasAll: (propertyName: 'fulfillmentIds', value: any[]) => OperationsQueryBuilder;
|
|
3486
|
-
/** @documentationMaturity preview */
|
|
3487
3471
|
in: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'default' | 'onlineOrderingStatus' | 'defaultFulfillmentType' | 'businessLocationId' | 'businessLocationDetails.archived', value: any) => OperationsQueryBuilder;
|
|
3488
|
-
/** @documentationMaturity preview */
|
|
3489
3472
|
exists: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'default' | 'fulfillmentIds' | 'onlineOrderingStatus' | 'defaultFulfillmentType' | 'businessLocationId' | 'businessLocationDetails.archived', value: boolean) => OperationsQueryBuilder;
|
|
3490
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
3491
|
-
* @documentationMaturity preview
|
|
3492
|
-
*/
|
|
3473
|
+
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
3493
3474
|
ascending: (...propertyNames: Array<'_id' | '_createdDate' | '_updatedDate' | 'name' | 'profileId' | 'default' | 'fulfillmentIds' | 'onlineOrderingStatus' | 'defaultFulfillmentType' | 'businessLocationId' | 'businessLocationDetails.archived'>) => OperationsQueryBuilder;
|
|
3494
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
3495
|
-
* @documentationMaturity preview
|
|
3496
|
-
*/
|
|
3475
|
+
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
3497
3476
|
descending: (...propertyNames: Array<'_id' | '_createdDate' | '_updatedDate' | 'name' | 'profileId' | 'default' | 'fulfillmentIds' | 'onlineOrderingStatus' | 'defaultFulfillmentType' | 'businessLocationId' | 'businessLocationDetails.archived'>) => OperationsQueryBuilder;
|
|
3498
|
-
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
3499
|
-
* @documentationMaturity preview
|
|
3500
|
-
*/
|
|
3477
|
+
/** @param limit - Number of items to return, which is also the `pageSize` of the results object. */
|
|
3501
3478
|
limit: (limit: number) => OperationsQueryBuilder;
|
|
3502
|
-
/** @param cursor - A pointer to specific record
|
|
3503
|
-
* @documentationMaturity preview
|
|
3504
|
-
*/
|
|
3479
|
+
/** @param cursor - A pointer to specific record */
|
|
3505
3480
|
skipTo: (cursor: string) => OperationsQueryBuilder;
|
|
3506
|
-
/** @documentationMaturity preview */
|
|
3507
3481
|
find: () => Promise<OperationsQueryResult>;
|
|
3508
3482
|
}
|
|
3509
3483
|
/**
|
|
@@ -3592,7 +3566,6 @@ declare const utils: {
|
|
|
3592
3566
|
* Retrieves a list of operations.
|
|
3593
3567
|
* The result will be sorted by created date in ascending order.
|
|
3594
3568
|
* @public
|
|
3595
|
-
* @documentationMaturity preview
|
|
3596
3569
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3597
3570
|
* @applicableIdentity APP
|
|
3598
3571
|
* @fqn wix.restaurants.operations.v1.OperationsService.ListOperations
|
|
@@ -3606,7 +3579,6 @@ declare function listOperations(): Promise<NonNullablePaths<ListOperationsRespon
|
|
|
3606
3579
|
* 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.
|
|
3607
3580
|
* @param operationId - Operation ID. Returned fulfillment options will belong to this operation.
|
|
3608
3581
|
* @public
|
|
3609
|
-
* @documentationMaturity preview
|
|
3610
3582
|
* @requiredField operationId
|
|
3611
3583
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3612
3584
|
* @applicableIdentity APP
|
|
@@ -3628,7 +3600,6 @@ interface ListAvailableFulfillmentOptions {
|
|
|
3628
3600
|
* @param operationId - Operation ID.
|
|
3629
3601
|
* Returned fulfillment options will belong to this operation.
|
|
3630
3602
|
* @public
|
|
3631
|
-
* @documentationMaturity preview
|
|
3632
3603
|
* @requiredField operationId
|
|
3633
3604
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3634
3605
|
* @applicableIdentity APP
|
|
@@ -3653,7 +3624,6 @@ interface ListFirstAvailableTimeSlotForFulfillmentTypesOptions {
|
|
|
3653
3624
|
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
3654
3625
|
* @param operationId - Operation ID.
|
|
3655
3626
|
* @public
|
|
3656
|
-
* @documentationMaturity preview
|
|
3657
3627
|
* @requiredField operationId
|
|
3658
3628
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3659
3629
|
* @applicableIdentity APP
|
|
@@ -3675,7 +3645,6 @@ interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions {
|
|
|
3675
3645
|
* @param operationIds - Operation ID.
|
|
3676
3646
|
* Returned fulfillment options will belong to this operation.
|
|
3677
3647
|
* @public
|
|
3678
|
-
* @documentationMaturity preview
|
|
3679
3648
|
* @requiredField operationIds
|
|
3680
3649
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3681
3650
|
* @applicableIdentity APP
|
|
@@ -3700,7 +3669,6 @@ interface ListFirstAvailableTimeSlotsForOperationsOptions {
|
|
|
3700
3669
|
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
3701
3670
|
* @param operationIds - Operation IDs.
|
|
3702
3671
|
* @public
|
|
3703
|
-
* @documentationMaturity preview
|
|
3704
3672
|
* @requiredField operationIds
|
|
3705
3673
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3706
3674
|
* @applicableIdentity APP
|
|
@@ -3720,7 +3688,6 @@ interface CalculateFirstAvailableTimeSlotsPerOperationOptions {
|
|
|
3720
3688
|
* @param operationId - Operation ID.
|
|
3721
3689
|
* Returned timeslots that are belong to this operation.
|
|
3722
3690
|
* @public
|
|
3723
|
-
* @documentationMaturity preview
|
|
3724
3691
|
* @requiredField operationId
|
|
3725
3692
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3726
3693
|
* @applicableIdentity APP
|
|
@@ -3747,7 +3714,6 @@ interface ListFirstAvailableTimeSlotsForMenusOptions {
|
|
|
3747
3714
|
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
3748
3715
|
* @param operationId - Operation ID.
|
|
3749
3716
|
* @public
|
|
3750
|
-
* @documentationMaturity preview
|
|
3751
3717
|
* @requiredField operationId
|
|
3752
3718
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3753
3719
|
* @applicableIdentity APP
|
|
@@ -3773,7 +3739,6 @@ interface CalculateFirstAvailableTimeSlotsPerMenuOptions {
|
|
|
3773
3739
|
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
3774
3740
|
* @param menuId - Menu ID to get the first available time slots for.
|
|
3775
3741
|
* @public
|
|
3776
|
-
* @documentationMaturity preview
|
|
3777
3742
|
* @requiredField menuId
|
|
3778
3743
|
* @requiredField operationId
|
|
3779
3744
|
* @requiredField options.itemId
|
|
@@ -3806,7 +3771,6 @@ interface CalculateFirstAvailableTimeSlotsForItemOptions {
|
|
|
3806
3771
|
* @param operationId - Operation ID.
|
|
3807
3772
|
* The returned fulfillment options will belong to this operation.
|
|
3808
3773
|
* @public
|
|
3809
|
-
* @documentationMaturity preview
|
|
3810
3774
|
* @requiredField operationId
|
|
3811
3775
|
* @requiredField options.date
|
|
3812
3776
|
* @requiredField options.date.day
|
|
@@ -3837,7 +3801,6 @@ interface ListAvailableTimeSlotsForDateOptions {
|
|
|
3837
3801
|
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
3838
3802
|
* @param operationId - Operation ID.
|
|
3839
3803
|
* @public
|
|
3840
|
-
* @documentationMaturity preview
|
|
3841
3804
|
* @requiredField operationId
|
|
3842
3805
|
* @requiredField options.date
|
|
3843
3806
|
* @requiredField options.date.day
|
|
@@ -3865,7 +3828,6 @@ interface CalculateAvailableTimeSlotsForDateOptions {
|
|
|
3865
3828
|
* @param operationId - Operation ID.
|
|
3866
3829
|
* The returned fulfillment options will belong to this operation.
|
|
3867
3830
|
* @public
|
|
3868
|
-
* @documentationMaturity preview
|
|
3869
3831
|
* @requiredField operationId
|
|
3870
3832
|
* @requiredField options.from
|
|
3871
3833
|
* @requiredField options.until
|
|
@@ -3898,7 +3860,6 @@ interface ListAvailableDatesInRangeOptions {
|
|
|
3898
3860
|
* Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
|
|
3899
3861
|
* @param operationId - Operation ID.
|
|
3900
3862
|
* @public
|
|
3901
|
-
* @documentationMaturity preview
|
|
3902
3863
|
* @requiredField operationId
|
|
3903
3864
|
* @requiredField options.from
|
|
3904
3865
|
* @requiredField options.until
|
|
@@ -3933,7 +3894,6 @@ interface CalculateAvailableDatesInRangeOptions {
|
|
|
3933
3894
|
* If the address is invalid, the response includes specific violations.
|
|
3934
3895
|
* @param operationId - The ID of the operation whose address should be validated.
|
|
3935
3896
|
* @public
|
|
3936
|
-
* @documentationMaturity preview
|
|
3937
3897
|
* @requiredField operationId
|
|
3938
3898
|
* @permissionId RESTAURANTS.OPERATION_READ
|
|
3939
3899
|
* @applicableIdentity APP
|
|
@@ -3946,7 +3906,6 @@ declare function validateOperationAddress(operationId: string): Promise<NonNulla
|
|
|
3946
3906
|
* If you specify a tag in both `assignTags` and `unassignTags`, it is assigned.
|
|
3947
3907
|
* @param operationIds - IDs of the operations to update tags for.
|
|
3948
3908
|
* @public
|
|
3949
|
-
* @documentationMaturity preview
|
|
3950
3909
|
* @requiredField operationIds
|
|
3951
3910
|
* @permissionId RESTAURANTS.OPERATION_UPDATE_TAGS
|
|
3952
3911
|
* @applicableIdentity APP
|
|
@@ -3967,7 +3926,6 @@ interface BulkUpdateOperationTagsOptions {
|
|
|
3967
3926
|
* If you specify a tag in both `assignTags` and `unassignTags`, it is assigned.
|
|
3968
3927
|
* @param filter - Filter that determines which operations to update tags for.
|
|
3969
3928
|
* @public
|
|
3970
|
-
* @documentationMaturity preview
|
|
3971
3929
|
* @requiredField filter
|
|
3972
3930
|
* @permissionId RESTAURANTS.OPERATION_UPDATE_TAGS
|
|
3973
3931
|
* @applicableIdentity APP
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_restaurants_operations",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.105",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"service-plugins"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@wix/sdk-runtime": "^1.0.
|
|
32
|
+
"@wix/sdk-runtime": "^1.0.30",
|
|
33
33
|
"@wix/sdk-types": "^1.17.12"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.restaurants.operations.v1.operation"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "dacbee2f47be7abe9805c573bd97c048bea5fc20c5a07f7737bdda7c"
|
|
54
54
|
}
|