@wix/auto_sdk_restaurants_operations 1.0.104 → 1.0.106

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.
@@ -2715,10 +2715,15 @@ declare enum Namespace {
2715
2715
  * Dev-center development sites (com.wixpress.devcenter.dsm).
2716
2716
  * DEPRECATED: replaced by Flag.DEV_CENTER_DEV_SITE_FLAG (a dev site is orthogonal to the namespace). Do not use for new sites.
2717
2717
  */
2718
- DEV_CENTER_DEV_SITE = "DEV_CENTER_DEV_SITE"
2718
+ DEV_CENTER_DEV_SITE = "DEV_CENTER_DEV_SITE",
2719
+ /**
2720
+ * KidOS (Tuned): a siteless site representing one kid in a Tuned family, owned by the parent's account. Holds the kid's data.
2721
+ * MetaSites with this namespace will *not* be shown in a user's site list by default.
2722
+ */
2723
+ KIDOS = "KIDOS"
2719
2724
  }
2720
2725
  /** @enumType */
2721
- type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR' | 'TWINS' | 'NANO' | 'BASE44' | 'CHANNELS' | 'NAUTILUS' | 'SYMPHONY' | 'NAUTILUS_APPS' | 'VIBU' | 'ENTERPRISE_BRAND_KIT' | 'DEV_CENTER_DEV_SITE';
2726
+ type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR' | 'TWINS' | 'NANO' | 'BASE44' | 'CHANNELS' | 'NAUTILUS' | 'SYMPHONY' | 'NAUTILUS_APPS' | 'VIBU' | 'ENTERPRISE_BRAND_KIT' | 'DEV_CENTER_DEV_SITE' | 'KIDOS';
2722
2727
  /** Site transferred to another user. */
2723
2728
  interface SiteTransferred {
2724
2729
  /**
@@ -3103,7 +3108,6 @@ interface OperationDeletedEnvelope {
3103
3108
  * @eventType wix.restaurants.operations.v1.operation_deleted
3104
3109
  * @serviceIdentifier wix.restaurants.operations.v1.OperationsService
3105
3110
  * @slug deleted
3106
- * @documentationMaturity preview
3107
3111
  */
3108
3112
  declare function onOperationDeleted(handler: (event: OperationDeletedEnvelope) => void | Promise<void>): void;
3109
3113
  interface OperationUpdatedEnvelope {
@@ -3121,7 +3125,6 @@ interface OperationUpdatedEnvelope {
3121
3125
  * @eventType wix.restaurants.operations.v1.operation_updated
3122
3126
  * @serviceIdentifier wix.restaurants.operations.v1.OperationsService
3123
3127
  * @slug updated
3124
- * @documentationMaturity preview
3125
3128
  */
3126
3129
  declare function onOperationUpdated(handler: (event: OperationUpdatedEnvelope) => void | Promise<void>): void;
3127
3130
  /**
@@ -3146,7 +3149,6 @@ interface ListBlockedPeriodsOptions {
3146
3149
  * Retrieves an operation.
3147
3150
  * @param operationId - ID of the operation to retrieve.
3148
3151
  * @public
3149
- * @documentationMaturity preview
3150
3152
  * @requiredField operationId
3151
3153
  * @permissionId RESTAURANTS.OPERATION_READ
3152
3154
  * @applicableIdentity APP
@@ -3167,7 +3169,6 @@ declare function getOperation(operationId: string): Promise<NonNullablePaths<Ope
3167
3169
  * and prevents unintended overwrites.
3168
3170
  * @param _id - Operation ID.
3169
3171
  * @public
3170
- * @documentationMaturity preview
3171
3172
  * @requiredField _id
3172
3173
  * @requiredField operation
3173
3174
  * @requiredField operation.revision
@@ -3244,7 +3245,6 @@ interface UpdateOperation {
3244
3245
  * Deletes an operation.
3245
3246
  * @param operationId - ID of the operation to delete.
3246
3247
  * @public
3247
- * @documentationMaturity preview
3248
3248
  * @requiredField operationId
3249
3249
  * @permissionId RESTAURANTS.OPERATION_DELETE
3250
3250
  * @applicableIdentity APP
@@ -3270,7 +3270,6 @@ declare function deleteOperation(operationId: string): Promise<void>;
3270
3270
  *
3271
3271
  * 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`.
3272
3272
  * @public
3273
- * @documentationMaturity preview
3274
3273
  * @permissionId RESTAURANTS.OPERATION_READ
3275
3274
  * @applicableIdentity APP
3276
3275
  * @fqn wix.restaurants.operations.v1.OperationsService.QueryOperation
@@ -3292,70 +3291,50 @@ interface OperationsQueryResult extends QueryCursorResult {
3292
3291
  interface OperationsQueryBuilder {
3293
3292
  /** @param propertyName - Property whose value is compared with `value`.
3294
3293
  * @param value - Value to compare against.
3295
- * @documentationMaturity preview
3296
3294
  */
3297
3295
  eq: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'default' | 'onlineOrderingStatus' | 'defaultFulfillmentType' | 'businessLocationId' | 'businessLocationDetails.archived', value: any) => OperationsQueryBuilder;
3298
3296
  /** @param propertyName - Property whose value is compared with `value`.
3299
3297
  * @param value - Value to compare against.
3300
- * @documentationMaturity preview
3301
3298
  */
3302
3299
  ne: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'default' | 'onlineOrderingStatus' | 'defaultFulfillmentType' | 'businessLocationId' | 'businessLocationDetails.archived', value: any) => OperationsQueryBuilder;
3303
3300
  /** @param propertyName - Property whose value is compared with `value`.
3304
3301
  * @param value - Value to compare against.
3305
- * @documentationMaturity preview
3306
3302
  */
3307
3303
  ge: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'businessLocationId', value: any) => OperationsQueryBuilder;
3308
3304
  /** @param propertyName - Property whose value is compared with `value`.
3309
3305
  * @param value - Value to compare against.
3310
- * @documentationMaturity preview
3311
3306
  */
3312
3307
  gt: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'businessLocationId', value: any) => OperationsQueryBuilder;
3313
3308
  /** @param propertyName - Property whose value is compared with `value`.
3314
3309
  * @param value - Value to compare against.
3315
- * @documentationMaturity preview
3316
3310
  */
3317
3311
  le: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'businessLocationId', value: any) => OperationsQueryBuilder;
3318
3312
  /** @param propertyName - Property whose value is compared with `value`.
3319
3313
  * @param value - Value to compare against.
3320
- * @documentationMaturity preview
3321
3314
  */
3322
3315
  lt: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'businessLocationId', value: any) => OperationsQueryBuilder;
3323
3316
  /** @param propertyName - Property whose value is compared with `string`.
3324
3317
  * @param string - String to compare against. Case-insensitive.
3325
- * @documentationMaturity preview
3326
3318
  */
3327
3319
  startsWith: (propertyName: '_id' | 'name' | 'businessLocationId', value: string) => OperationsQueryBuilder;
3328
3320
  /** @param propertyName - Property whose value is compared with `values`.
3329
3321
  * @param values - List of values to compare against.
3330
- * @documentationMaturity preview
3331
3322
  */
3332
3323
  hasSome: (propertyName: 'fulfillmentIds', value: any[]) => OperationsQueryBuilder;
3333
3324
  /** @param propertyName - Property whose value is compared with `values`.
3334
3325
  * @param values - List of values to compare against.
3335
- * @documentationMaturity preview
3336
3326
  */
3337
3327
  hasAll: (propertyName: 'fulfillmentIds', value: any[]) => OperationsQueryBuilder;
3338
- /** @documentationMaturity preview */
3339
3328
  in: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'default' | 'onlineOrderingStatus' | 'defaultFulfillmentType' | 'businessLocationId' | 'businessLocationDetails.archived', value: any) => OperationsQueryBuilder;
3340
- /** @documentationMaturity preview */
3341
3329
  exists: (propertyName: '_id' | '_createdDate' | '_updatedDate' | 'name' | 'default' | 'fulfillmentIds' | 'onlineOrderingStatus' | 'defaultFulfillmentType' | 'businessLocationId' | 'businessLocationDetails.archived', value: boolean) => OperationsQueryBuilder;
3342
- /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
3343
- * @documentationMaturity preview
3344
- */
3330
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
3345
3331
  ascending: (...propertyNames: Array<'_id' | '_createdDate' | '_updatedDate' | 'name' | 'profileId' | 'default' | 'fulfillmentIds' | 'onlineOrderingStatus' | 'defaultFulfillmentType' | 'businessLocationId' | 'businessLocationDetails.archived'>) => OperationsQueryBuilder;
3346
- /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
3347
- * @documentationMaturity preview
3348
- */
3332
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
3349
3333
  descending: (...propertyNames: Array<'_id' | '_createdDate' | '_updatedDate' | 'name' | 'profileId' | 'default' | 'fulfillmentIds' | 'onlineOrderingStatus' | 'defaultFulfillmentType' | 'businessLocationId' | 'businessLocationDetails.archived'>) => OperationsQueryBuilder;
3350
- /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
3351
- * @documentationMaturity preview
3352
- */
3334
+ /** @param limit - Number of items to return, which is also the `pageSize` of the results object. */
3353
3335
  limit: (limit: number) => OperationsQueryBuilder;
3354
- /** @param cursor - A pointer to specific record
3355
- * @documentationMaturity preview
3356
- */
3336
+ /** @param cursor - A pointer to specific record */
3357
3337
  skipTo: (cursor: string) => OperationsQueryBuilder;
3358
- /** @documentationMaturity preview */
3359
3338
  find: () => Promise<OperationsQueryResult>;
3360
3339
  }
3361
3340
  /**
@@ -3444,7 +3423,6 @@ declare const utils: {
3444
3423
  * Retrieves a list of operations.
3445
3424
  * The result will be sorted by created date in ascending order.
3446
3425
  * @public
3447
- * @documentationMaturity preview
3448
3426
  * @permissionId RESTAURANTS.OPERATION_READ
3449
3427
  * @applicableIdentity APP
3450
3428
  * @fqn wix.restaurants.operations.v1.OperationsService.ListOperations
@@ -3458,7 +3436,6 @@ declare function listOperations(): Promise<NonNullablePaths<ListOperationsRespon
3458
3436
  * 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.
3459
3437
  * @param operationId - Operation ID. Returned fulfillment options will belong to this operation.
3460
3438
  * @public
3461
- * @documentationMaturity preview
3462
3439
  * @requiredField operationId
3463
3440
  * @permissionId RESTAURANTS.OPERATION_READ
3464
3441
  * @applicableIdentity APP
@@ -3480,7 +3457,6 @@ interface ListAvailableFulfillmentOptions {
3480
3457
  * @param operationId - Operation ID.
3481
3458
  * Returned fulfillment options will belong to this operation.
3482
3459
  * @public
3483
- * @documentationMaturity preview
3484
3460
  * @requiredField operationId
3485
3461
  * @permissionId RESTAURANTS.OPERATION_READ
3486
3462
  * @applicableIdentity APP
@@ -3505,7 +3481,6 @@ interface ListFirstAvailableTimeSlotForFulfillmentTypesOptions {
3505
3481
  * Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
3506
3482
  * @param operationId - Operation ID.
3507
3483
  * @public
3508
- * @documentationMaturity preview
3509
3484
  * @requiredField operationId
3510
3485
  * @permissionId RESTAURANTS.OPERATION_READ
3511
3486
  * @applicableIdentity APP
@@ -3527,7 +3502,6 @@ interface CalculateFirstAvailableTimeSlotPerFulfillmentTypeOptions {
3527
3502
  * @param operationIds - Operation ID.
3528
3503
  * Returned fulfillment options will belong to this operation.
3529
3504
  * @public
3530
- * @documentationMaturity preview
3531
3505
  * @requiredField operationIds
3532
3506
  * @permissionId RESTAURANTS.OPERATION_READ
3533
3507
  * @applicableIdentity APP
@@ -3552,7 +3526,6 @@ interface ListFirstAvailableTimeSlotsForOperationsOptions {
3552
3526
  * Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
3553
3527
  * @param operationIds - Operation IDs.
3554
3528
  * @public
3555
- * @documentationMaturity preview
3556
3529
  * @requiredField operationIds
3557
3530
  * @permissionId RESTAURANTS.OPERATION_READ
3558
3531
  * @applicableIdentity APP
@@ -3572,7 +3545,6 @@ interface CalculateFirstAvailableTimeSlotsPerOperationOptions {
3572
3545
  * @param operationId - Operation ID.
3573
3546
  * Returned timeslots that are belong to this operation.
3574
3547
  * @public
3575
- * @documentationMaturity preview
3576
3548
  * @requiredField operationId
3577
3549
  * @permissionId RESTAURANTS.OPERATION_READ
3578
3550
  * @applicableIdentity APP
@@ -3599,7 +3571,6 @@ interface ListFirstAvailableTimeSlotsForMenusOptions {
3599
3571
  * Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
3600
3572
  * @param operationId - Operation ID.
3601
3573
  * @public
3602
- * @documentationMaturity preview
3603
3574
  * @requiredField operationId
3604
3575
  * @permissionId RESTAURANTS.OPERATION_READ
3605
3576
  * @applicableIdentity APP
@@ -3625,7 +3596,6 @@ interface CalculateFirstAvailableTimeSlotsPerMenuOptions {
3625
3596
  * Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
3626
3597
  * @param menuId - Menu ID to get the first available time slots for.
3627
3598
  * @public
3628
- * @documentationMaturity preview
3629
3599
  * @requiredField menuId
3630
3600
  * @requiredField operationId
3631
3601
  * @requiredField options.itemId
@@ -3658,7 +3628,6 @@ interface CalculateFirstAvailableTimeSlotsForItemOptions {
3658
3628
  * @param operationId - Operation ID.
3659
3629
  * The returned fulfillment options will belong to this operation.
3660
3630
  * @public
3661
- * @documentationMaturity preview
3662
3631
  * @requiredField operationId
3663
3632
  * @requiredField options.date
3664
3633
  * @requiredField options.date.day
@@ -3689,7 +3658,6 @@ interface ListAvailableTimeSlotsForDateOptions {
3689
3658
  * Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
3690
3659
  * @param operationId - Operation ID.
3691
3660
  * @public
3692
- * @documentationMaturity preview
3693
3661
  * @requiredField operationId
3694
3662
  * @requiredField options.date
3695
3663
  * @requiredField options.date.day
@@ -3717,7 +3685,6 @@ interface CalculateAvailableTimeSlotsForDateOptions {
3717
3685
  * @param operationId - Operation ID.
3718
3686
  * The returned fulfillment options will belong to this operation.
3719
3687
  * @public
3720
- * @documentationMaturity preview
3721
3688
  * @requiredField operationId
3722
3689
  * @requiredField options.from
3723
3690
  * @requiredField options.until
@@ -3750,7 +3717,6 @@ interface ListAvailableDatesInRangeOptions {
3750
3717
  * Only fulfillment methods capable of delivering to the specified address are considered when calculating time slot availability.
3751
3718
  * @param operationId - Operation ID.
3752
3719
  * @public
3753
- * @documentationMaturity preview
3754
3720
  * @requiredField operationId
3755
3721
  * @requiredField options.from
3756
3722
  * @requiredField options.until
@@ -3785,7 +3751,6 @@ interface CalculateAvailableDatesInRangeOptions {
3785
3751
  * If the address is invalid, the response includes specific violations.
3786
3752
  * @param operationId - The ID of the operation whose address should be validated.
3787
3753
  * @public
3788
- * @documentationMaturity preview
3789
3754
  * @requiredField operationId
3790
3755
  * @permissionId RESTAURANTS.OPERATION_READ
3791
3756
  * @applicableIdentity APP
@@ -3798,7 +3763,6 @@ declare function validateOperationAddress(operationId: string): Promise<NonNulla
3798
3763
  * If you specify a tag in both `assignTags` and `unassignTags`, it is assigned.
3799
3764
  * @param operationIds - IDs of the operations to update tags for.
3800
3765
  * @public
3801
- * @documentationMaturity preview
3802
3766
  * @requiredField operationIds
3803
3767
  * @permissionId RESTAURANTS.OPERATION_UPDATE_TAGS
3804
3768
  * @applicableIdentity APP
@@ -3819,7 +3783,6 @@ interface BulkUpdateOperationTagsOptions {
3819
3783
  * If you specify a tag in both `assignTags` and `unassignTags`, it is assigned.
3820
3784
  * @param filter - Filter that determines which operations to update tags for.
3821
3785
  * @public
3822
- * @documentationMaturity preview
3823
3786
  * @requiredField filter
3824
3787
  * @permissionId RESTAURANTS.OPERATION_UPDATE_TAGS
3825
3788
  * @applicableIdentity APP
@@ -1182,6 +1182,7 @@ var Namespace = /* @__PURE__ */ ((Namespace2) => {
1182
1182
  Namespace2["VIBU"] = "VIBU";
1183
1183
  Namespace2["ENTERPRISE_BRAND_KIT"] = "ENTERPRISE_BRAND_KIT";
1184
1184
  Namespace2["DEV_CENTER_DEV_SITE"] = "DEV_CENTER_DEV_SITE";
1185
+ Namespace2["KIDOS"] = "KIDOS";
1185
1186
  return Namespace2;
1186
1187
  })(Namespace || {});
1187
1188
  var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {