@wix/auto_sdk_bookings_services 1.0.47 → 1.0.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/build/cjs/src/bookings-services-v2-service-services.context.d.ts +2 -2
  2. package/build/cjs/src/bookings-services-v2-service-services.context.js +5 -16
  3. package/build/cjs/src/bookings-services-v2-service-services.context.js.map +1 -1
  4. package/build/cjs/src/bookings-services-v2-service-services.http.d.ts +1 -1
  5. package/build/cjs/src/bookings-services-v2-service-services.http.js +1 -1
  6. package/build/cjs/src/bookings-services-v2-service-services.public.d.ts +5 -5
  7. package/build/cjs/src/bookings-services-v2-service-services.public.js +3 -14
  8. package/build/cjs/src/bookings-services-v2-service-services.public.js.map +1 -1
  9. package/build/cjs/src/bookings-services-v2-service-services.types.d.ts +82 -793
  10. package/build/cjs/src/bookings-services-v2-service-services.types.js +30 -144
  11. package/build/cjs/src/bookings-services-v2-service-services.types.js.map +1 -1
  12. package/build/cjs/src/bookings-services-v2-service-services.universal.d.ts +87 -770
  13. package/build/cjs/src/bookings-services-v2-service-services.universal.js +32 -147
  14. package/build/cjs/src/bookings-services-v2-service-services.universal.js.map +1 -1
  15. package/build/es/src/bookings-services-v2-service-services.context.d.ts +2 -2
  16. package/build/es/src/bookings-services-v2-service-services.context.js +1 -1
  17. package/build/es/src/bookings-services-v2-service-services.context.js.map +1 -1
  18. package/build/es/src/bookings-services-v2-service-services.http.d.ts +1 -1
  19. package/build/es/src/bookings-services-v2-service-services.http.js +1 -1
  20. package/build/es/src/bookings-services-v2-service-services.public.d.ts +5 -5
  21. package/build/es/src/bookings-services-v2-service-services.public.js +1 -1
  22. package/build/es/src/bookings-services-v2-service-services.public.js.map +1 -1
  23. package/build/es/src/bookings-services-v2-service-services.types.d.ts +82 -793
  24. package/build/es/src/bookings-services-v2-service-services.types.js +29 -143
  25. package/build/es/src/bookings-services-v2-service-services.types.js.map +1 -1
  26. package/build/es/src/bookings-services-v2-service-services.universal.d.ts +87 -770
  27. package/build/es/src/bookings-services-v2-service-services.universal.js +31 -145
  28. package/build/es/src/bookings-services-v2-service-services.universal.js.map +1 -1
  29. package/build/internal/cjs/src/bookings-services-v2-service-services.context.d.ts +2 -2
  30. package/build/internal/cjs/src/bookings-services-v2-service-services.context.js +5 -16
  31. package/build/internal/cjs/src/bookings-services-v2-service-services.context.js.map +1 -1
  32. package/build/internal/cjs/src/bookings-services-v2-service-services.http.d.ts +1 -1
  33. package/build/internal/cjs/src/bookings-services-v2-service-services.http.js +1 -1
  34. package/build/internal/cjs/src/bookings-services-v2-service-services.public.d.ts +5 -5
  35. package/build/internal/cjs/src/bookings-services-v2-service-services.public.js +3 -14
  36. package/build/internal/cjs/src/bookings-services-v2-service-services.public.js.map +1 -1
  37. package/build/internal/cjs/src/bookings-services-v2-service-services.types.d.ts +82 -793
  38. package/build/internal/cjs/src/bookings-services-v2-service-services.types.js +30 -144
  39. package/build/internal/cjs/src/bookings-services-v2-service-services.types.js.map +1 -1
  40. package/build/internal/cjs/src/bookings-services-v2-service-services.universal.d.ts +87 -770
  41. package/build/internal/cjs/src/bookings-services-v2-service-services.universal.js +32 -147
  42. package/build/internal/cjs/src/bookings-services-v2-service-services.universal.js.map +1 -1
  43. package/build/internal/es/src/bookings-services-v2-service-services.context.d.ts +2 -2
  44. package/build/internal/es/src/bookings-services-v2-service-services.context.js +1 -1
  45. package/build/internal/es/src/bookings-services-v2-service-services.context.js.map +1 -1
  46. package/build/internal/es/src/bookings-services-v2-service-services.http.d.ts +1 -1
  47. package/build/internal/es/src/bookings-services-v2-service-services.http.js +1 -1
  48. package/build/internal/es/src/bookings-services-v2-service-services.public.d.ts +5 -5
  49. package/build/internal/es/src/bookings-services-v2-service-services.public.js +1 -1
  50. package/build/internal/es/src/bookings-services-v2-service-services.public.js.map +1 -1
  51. package/build/internal/es/src/bookings-services-v2-service-services.types.d.ts +82 -793
  52. package/build/internal/es/src/bookings-services-v2-service-services.types.js +29 -143
  53. package/build/internal/es/src/bookings-services-v2-service-services.types.js.map +1 -1
  54. package/build/internal/es/src/bookings-services-v2-service-services.universal.d.ts +87 -770
  55. package/build/internal/es/src/bookings-services-v2-service-services.universal.js +31 -145
  56. package/build/internal/es/src/bookings-services-v2-service-services.universal.js.map +1 -1
  57. package/package.json +2 -2
@@ -68,7 +68,7 @@ export interface Service {
68
68
  * @immutable
69
69
  * @maxSize 500
70
70
  */
71
- locations?: V2Location[];
71
+ locations?: Location[];
72
72
  /**
73
73
  * _Policy_
74
74
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policies/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/introduction))
@@ -81,7 +81,7 @@ export interface Service {
81
81
  * which can be used to manage the service's *events*
82
82
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/events/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)).
83
83
  */
84
- schedule?: V2Schedule;
84
+ schedule?: Schedule;
85
85
  /**
86
86
  * IDs of the *staff members*
87
87
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/staff-members/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction))
@@ -362,7 +362,7 @@ export interface Conferencing {
362
362
  /** Whether a conference link is generated for the service's sessions. */
363
363
  enabled?: boolean | null;
364
364
  }
365
- export interface V2Location extends V2LocationOptionsOneOf {
365
+ export interface Location extends LocationOptionsOneOf {
366
366
  /** Information about business locations. */
367
367
  business?: BusinessLocationOptions;
368
368
  /** Information about custom locations. */
@@ -378,7 +378,7 @@ export interface V2Location extends V2LocationOptionsOneOf {
378
378
  *
379
379
  * Default: `CUSTOM`
380
380
  */
381
- type?: LocationTypeEnumLocationType;
381
+ type?: LocationType;
382
382
  /**
383
383
  * Location address. Empty for `{"type": "CUSTOMER"}`.
384
384
  * @readonly
@@ -386,13 +386,13 @@ export interface V2Location extends V2LocationOptionsOneOf {
386
386
  calculatedAddress?: CommonAddress;
387
387
  }
388
388
  /** @oneof */
389
- export interface V2LocationOptionsOneOf {
389
+ export interface LocationOptionsOneOf {
390
390
  /** Information about business locations. */
391
391
  business?: BusinessLocationOptions;
392
392
  /** Information about custom locations. */
393
393
  custom?: CustomLocationOptions;
394
394
  }
395
- export declare enum LocationTypeEnumLocationType {
395
+ export declare enum LocationType {
396
396
  UNKNOWN_LOCATION_TYPE = "UNKNOWN_LOCATION_TYPE",
397
397
  /**
398
398
  * Location set by the business that is not a standard business *location*
@@ -412,7 +412,7 @@ export declare enum LocationTypeEnumLocationType {
412
412
  }
413
413
  export interface CommonAddress extends CommonAddressStreetOneOf {
414
414
  /** Street name and number. */
415
- streetAddress?: CommonStreetAddress;
415
+ streetAddress?: StreetAddress;
416
416
  /** @maxLength 255 */
417
417
  addressLine1?: string | null;
418
418
  /**
@@ -444,12 +444,12 @@ export interface CommonAddress extends CommonAddressStreetOneOf {
444
444
  /** @oneof */
445
445
  export interface CommonAddressStreetOneOf {
446
446
  /** Street name and number. */
447
- streetAddress?: CommonStreetAddress;
447
+ streetAddress?: StreetAddress;
448
448
  /** @maxLength 255 */
449
449
  addressLine?: string | null;
450
450
  }
451
451
  /** Street address. Includes street name, number, and apartment number in separate fields. */
452
- export interface CommonStreetAddress {
452
+ export interface StreetAddress {
453
453
  /**
454
454
  * Street number.
455
455
  * @maxLength 255
@@ -466,7 +466,7 @@ export interface CommonStreetAddress {
466
466
  */
467
467
  apt?: string;
468
468
  }
469
- export interface CommonAddressLocation {
469
+ export interface AddressLocation {
470
470
  /** Address latitude. */
471
471
  latitude?: number | null;
472
472
  /** Address longitude. */
@@ -853,7 +853,7 @@ export interface SaveCreditCardPolicy {
853
853
  /** Default: `false` */
854
854
  enabled?: boolean;
855
855
  }
856
- export interface V2Schedule {
856
+ export interface Schedule {
857
857
  /**
858
858
  * ID of the *schedule*
859
859
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction))
@@ -873,9 +873,9 @@ export interface V2Schedule {
873
873
  */
874
874
  lastSessionEnd?: Date | null;
875
875
  /** Limitations affecting the service availability. */
876
- availabilityConstraints?: V2AvailabilityConstraints;
876
+ availabilityConstraints?: AvailabilityConstraints;
877
877
  }
878
- export interface V2AvailabilityConstraints {
878
+ export interface AvailabilityConstraints {
879
879
  /**
880
880
  * Calculated list of all supported session durations for the service. For
881
881
  * appointment-based services without varied pricing based on session length, it
@@ -1455,7 +1455,7 @@ export interface ServiceAvailabilityConstraints {
1455
1455
  * The service schedule, including the schedule ID and availability constraints.
1456
1456
  * @readonly
1457
1457
  */
1458
- schedule?: V2Schedule;
1458
+ schedule?: Schedule;
1459
1459
  /**
1460
1460
  * The locations this service is offered at.
1461
1461
  * Only multiple locations of type `BUSINESS` are supported. Multiple locations of type `CUSTOM` or `CUSTOMER` are not supported.
@@ -1464,7 +1464,7 @@ export interface ServiceAvailabilityConstraints {
1464
1464
  * @readonly
1465
1465
  * @maxSize 100
1466
1466
  */
1467
- locations?: V2Location[];
1467
+ locations?: Location[];
1468
1468
  /**
1469
1469
  * Resource groups required to book the service. For backward compatibility only. Use `Service Resources` instead.
1470
1470
  * @maxSize 3
@@ -1487,7 +1487,7 @@ export interface ServiceAvailabilityConstraints {
1487
1487
  * For appointments only.
1488
1488
  * @readonly
1489
1489
  */
1490
- slotsSplitInterval?: V1SplitInterval;
1490
+ slotsSplitInterval?: SplitInterval;
1491
1491
  /**
1492
1492
  * Online booking settings.
1493
1493
  * @readonly
@@ -1495,7 +1495,7 @@ export interface ServiceAvailabilityConstraints {
1495
1495
  onlineBooking?: OnlineBooking;
1496
1496
  }
1497
1497
  /** The time between available slots' start times. For example, For 5 minute slots, 3:00, 3:05, 3:15 etc. For 1 hour slots, 3:00, 4:00, 5:00 etc. */
1498
- export interface V1SplitInterval {
1498
+ export interface SplitInterval {
1499
1499
  /**
1500
1500
  * Whether the slot duration is used as the split interval value.
1501
1501
  * If `same_as_duration` is `true`, the `value_in_minutes` is the sum of the first duration in
@@ -1884,9 +1884,9 @@ export interface ScalarAggregation {
1884
1884
  }
1885
1885
  export interface DateHistogramAggregation {
1886
1886
  /** Interval for date histogram aggregation */
1887
- interval?: DateHistogramAggregationInterval;
1887
+ interval?: Interval;
1888
1888
  }
1889
- export declare enum DateHistogramAggregationInterval {
1889
+ export declare enum Interval {
1890
1890
  /** Unknown interval. */
1891
1891
  UNKNOWN_INTERVAL = "UNKNOWN_INTERVAL",
1892
1892
  /** Yearly interval. */
@@ -2277,7 +2277,7 @@ export interface BookingPolicyWithServices {
2277
2277
  export interface QueryBookingFormsRequest {
2278
2278
  /**
2279
2279
  * Information about filters, paging, and sorting. See the article about
2280
- * form filters ([REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object/supported-filters))
2280
+ * form filters ([REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object))
2281
2281
  * for all supported filters and sorting options.
2282
2282
  */
2283
2283
  query: CursorQuery;
@@ -2406,7 +2406,7 @@ export interface BusinessLocations {
2406
2406
  * Retrieved business locations.
2407
2407
  * @maxSize 100
2408
2408
  */
2409
- locations?: V2Location[];
2409
+ locations?: Location[];
2410
2410
  }
2411
2411
  export interface CustomLocations {
2412
2412
  /**
@@ -2469,7 +2469,7 @@ export interface SetServiceLocationsRequest {
2469
2469
  * List of locations replacing existing service locations. Omitting an existing location removes it from the service. Specify `removedLocationSessionsAction` to determine the handling of future sessions scheduled at that location.
2470
2470
  * @maxSize 100
2471
2471
  */
2472
- locations: V2Location[];
2472
+ locations: Location[];
2473
2473
  /**
2474
2474
  * The action to perform on sessions currently set to a removed location. For
2475
2475
  * example, move existing sessions to a new specified location.
@@ -2513,7 +2513,7 @@ export declare enum Action {
2513
2513
  }
2514
2514
  export interface MoveToNewLocationsOptions {
2515
2515
  /** The new location to move existing sessions currently set to a removed location, used when `action` is `MOVE_TO_LOCATION`. */
2516
- newLocation?: V2Location;
2516
+ newLocation?: Location;
2517
2517
  }
2518
2518
  export interface SetServiceLocationsResponse {
2519
2519
  /** The updated service with the newly set locations. */
@@ -2691,746 +2691,6 @@ export declare enum CategoryNotificationEvent {
2691
2691
  }
2692
2692
  export interface Empty {
2693
2693
  }
2694
- export interface ResourceNotification {
2695
- /**
2696
- * Updated resource entity.
2697
- * 'resource.schedules' is deprecated and will not be returned. Please use 'resource.scheduleIds' instead.
2698
- */
2699
- resource?: Resource;
2700
- /** Event type. */
2701
- event?: ResourceNotificationEvent;
2702
- }
2703
- export interface Resource {
2704
- /**
2705
- * Resource ID.
2706
- * @format GUID
2707
- * @readonly
2708
- */
2709
- _id?: string | null;
2710
- /**
2711
- * Resource name.
2712
- * @maxLength 1200
2713
- */
2714
- name?: string | null;
2715
- /**
2716
- * Resource email address.
2717
- * @maxLength 500
2718
- */
2719
- email?: string | null;
2720
- /**
2721
- * Resource phone number.
2722
- * @maxLength 500
2723
- */
2724
- phone?: string | null;
2725
- /**
2726
- * Resource description.
2727
- * @maxLength 500
2728
- */
2729
- description?: string | null;
2730
- /**
2731
- * Deprecated. Please use tags.
2732
- * @maxLength 500
2733
- * @deprecated
2734
- */
2735
- tag?: string | null;
2736
- /**
2737
- * Resource tags. Tags are used to identify, group, and filter the different types of resources. For example, 'staff' or 'room'.
2738
- * @maxLength 200
2739
- */
2740
- tags?: string[] | null;
2741
- /** Resource images. */
2742
- images?: string[];
2743
- /**
2744
- * Deprecated. Please use scheduleIds. List of the schedules owned by this resource. Min size 1.
2745
- * @deprecated
2746
- */
2747
- schedules?: Schedule[];
2748
- /**
2749
- * List of IDs of schedules owned by this resource.
2750
- * @format GUID
2751
- * @readonly
2752
- */
2753
- scheduleIds?: string[] | null;
2754
- /**
2755
- * Resource status. Default: `CREATED`.
2756
- * @readonly
2757
- */
2758
- status?: ResourceStatus;
2759
- /**
2760
- * Wix user ID, if the resource is associated with the Wix user.
2761
- * A staff member resource can be associated with a Wix user via assignment of a permissions role in the business manager.
2762
- * @format GUID
2763
- * @readonly
2764
- */
2765
- wixUserId?: string | null;
2766
- }
2767
- export interface FocalPoint {
2768
- /** X-coordinate of the focal point. */
2769
- x?: number;
2770
- /** Y-coordinate of the focal point. */
2771
- y?: number;
2772
- /** crop by height */
2773
- height?: number | null;
2774
- /** crop by width */
2775
- width?: number | null;
2776
- }
2777
- export interface Schedule {
2778
- /** Schedule ID. */
2779
- _id?: string;
2780
- /** ID of the schedule's owner entity. This may be a resource ID or a service ID. */
2781
- scheduleOwnerId?: string | null;
2782
- /**
2783
- * Schedule's time zone in [Area/Location](https://en.wikipedia.org/wiki/Tz_database) format. Read-only.
2784
- * Derived from the Wix Business time zone.
2785
- * @readonly
2786
- */
2787
- timeZone?: string | null;
2788
- /**
2789
- * Deprecated. Please use the [Sessions API](https://dev.wix.com/api/rest/wix-bookings/schedules-and-sessions/session) instead.
2790
- * @deprecated
2791
- */
2792
- intervals?: RecurringInterval[];
2793
- /**
2794
- * Default title for the schedule's sessions. Maximum length: 6000 characters.
2795
- * @maxLength 6000
2796
- */
2797
- title?: string | null;
2798
- /**
2799
- * __Deprecated.__
2800
- * Tags for grouping schedules. These tags are the default tags for the schedule's sessions.
2801
- * The Wix Bookings app uses the following predefined tags to set schedule type: `"INDIVIDUAL"`, `"GROUP"`, and `"COURSE"`. Once the schedule type is set using these tags, you cannot update it. In addition to the app's tags, you can create and update your own tags.
2802
- * @deprecated
2803
- */
2804
- tags?: string[] | null;
2805
- /** Default location for the schedule's sessions. */
2806
- location?: Location;
2807
- /**
2808
- * Maximum number of participants that can be added to the schedule's sessions.
2809
- * Must be at most `1` for schedule whose availability is affected by another schedule. E.g, appointment schedules of the Wix Bookings app.
2810
- * @min 1
2811
- * @max 1000
2812
- */
2813
- capacity?: number | null;
2814
- /**
2815
- * Deprecated. Please use the [Booking Services V2](https://dev.wix.com/api/rest/wix-bookings/services-v2) payment instead.
2816
- * @deprecated
2817
- */
2818
- rate?: Rate;
2819
- /**
2820
- * __Deprecated.__
2821
- * @deprecated
2822
- */
2823
- availability?: Availability;
2824
- /**
2825
- * Number of participants registered to sessions in this schedule, calculated as the sum of the party sizes.
2826
- * @readonly
2827
- */
2828
- totalNumberOfParticipants?: number;
2829
- /**
2830
- * *Partial list** of participants which are registered to sessions in this schedule.
2831
- * Participants who are registered in the schedule are automatically registered to any session that is created for the schedule.
2832
- * To retrieve the full list of schedule participants please use the [Query Extended Bookings API](https://dev.wix.com/api/rest/wix-bookings/bookings-reader-v2/query-extended-bookings).
2833
- * @readonly
2834
- */
2835
- participants?: Participant[];
2836
- /**
2837
- * __Deprecated.__
2838
- * @deprecated
2839
- */
2840
- externalCalendarOverrides?: ExternalCalendarOverrides;
2841
- /**
2842
- * Schedule status. Default: Created
2843
- * @readonly
2844
- */
2845
- status?: ScheduleStatus;
2846
- /**
2847
- * Schedule creation date.
2848
- * @readonly
2849
- */
2850
- created?: Date | null;
2851
- /**
2852
- * Schedule last update date.
2853
- * @readonly
2854
- */
2855
- updated?: Date | null;
2856
- /**
2857
- * Schedule version number, updated each time the schedule is updated.
2858
- * @readonly
2859
- */
2860
- version?: number;
2861
- /**
2862
- * Fields which were inherited from the Business Info page under Settings in the Dashboard.
2863
- * @readonly
2864
- */
2865
- inheritedFields?: string[];
2866
- /**
2867
- * __Deprecated.__
2868
- * @deprecated
2869
- */
2870
- conferenceProvider?: ConferenceProvider;
2871
- /**
2872
- * A conference created for the schedule. This is used when a participant is added to a schedule.
2873
- * **Partially deprecated.** Only `hostUrl` and `guestUrl` are to be supported.
2874
- * @deprecated
2875
- */
2876
- calendarConference?: CalendarConference;
2877
- }
2878
- export interface RecurringInterval {
2879
- /**
2880
- * The recurring interval identifier.
2881
- * @readonly
2882
- */
2883
- _id?: string;
2884
- /** The start time of the recurring interval. Required. */
2885
- start?: Date | null;
2886
- /** The end time of the recurring interval. Optional. Empty value indicates that there is no end time. */
2887
- end?: Date | null;
2888
- /** The interval rules. The day, hour and minutes the interval is recurring. */
2889
- interval?: Interval;
2890
- /** The frequency of the interval. Optional. The default is frequency with the default repetition. */
2891
- frequency?: Frequency;
2892
- /** Specifies the list of linked schedules and the way this link affects the corresponding schedules' availability. Can be calculated from the schedule or overridden on the recurring interval. */
2893
- affectedSchedules?: LinkedSchedule[];
2894
- /** The type of recurring interval. */
2895
- intervalType?: RecurringIntervalType;
2896
- }
2897
- export interface Interval {
2898
- /** The day the interval occurs. Optional. The default is the day of the recurring interval's start time. */
2899
- daysOfWeek?: Day;
2900
- /**
2901
- * The hour of the day the interval occurs. Must be consistent with the interval start time. Optional. The default is 0. Minimum: 0, maximum: 23.
2902
- * @max 23
2903
- */
2904
- hourOfDay?: number | null;
2905
- /**
2906
- * The minutes of the hour the interval accrues. Must be consistent with the interval end time. Optional. The default is 0. Minimum: 0, maximum: 59.
2907
- * @max 59
2908
- */
2909
- minuteOfHour?: number | null;
2910
- /** The duration of the interval in minutes. Required. Part of the session end time calculation. */
2911
- duration?: number;
2912
- }
2913
- export declare enum Day {
2914
- /** Undefined. */
2915
- UNDEFINED = "UNDEFINED",
2916
- /** Monday. */
2917
- MON = "MON",
2918
- /** Tuesday. */
2919
- TUE = "TUE",
2920
- /** Wednesday. */
2921
- WED = "WED",
2922
- /** Thursday. */
2923
- THU = "THU",
2924
- /** Friday. */
2925
- FRI = "FRI",
2926
- /** Saturday. */
2927
- SAT = "SAT",
2928
- /** Sunday. */
2929
- SUN = "SUN"
2930
- }
2931
- export interface Frequency {
2932
- /**
2933
- * The frequency of the recurrence in weeks. i.e. when this value is 4, the interval occurs every 4 weeks. Optional. The default is 1. minimum: 1, maximum: 52.
2934
- * @min 1
2935
- * @max 52
2936
- */
2937
- repetition?: number | null;
2938
- }
2939
- export interface LinkedSchedule {
2940
- /**
2941
- * Schedule ID.
2942
- * @format GUID
2943
- */
2944
- scheduleId?: string;
2945
- /** Sets this schedule's availability for the duration of the linked schedule's sessions. Default is `"BUSY"`. */
2946
- transparency?: Transparency;
2947
- /**
2948
- * Owner ID, of the linked schedule.
2949
- * @readonly
2950
- */
2951
- scheduleOwnerId?: string;
2952
- }
2953
- export declare enum Transparency {
2954
- UNDEFINED = "UNDEFINED",
2955
- /** The schedule can have available slots during the linked schedule's sessions. */
2956
- FREE = "FREE",
2957
- /** The schedule can't have available slots during the linked schedule's sessions. */
2958
- BUSY = "BUSY"
2959
- }
2960
- export declare enum RecurringIntervalType {
2961
- /** The default value. Sessions for this interval will be of type EVENT. */
2962
- UNDEFINED = "UNDEFINED",
2963
- /** A recurring interval of events. */
2964
- EVENT = "EVENT",
2965
- /** Deprecated. */
2966
- TIME_AVAILABILITY = "TIME_AVAILABILITY",
2967
- /** A recurring interval for availability. */
2968
- AVAILABILITY = "AVAILABILITY"
2969
- }
2970
- export interface Location {
2971
- /**
2972
- * Location type.
2973
- * One of:
2974
- * - `"OWNER_BUSINESS"` The business address as set in the site’s general settings.
2975
- * - `"OWNER_CUSTOM"` The address as set when creating the service.
2976
- * - `"CUSTOM"` The address set for the individual session.
2977
- */
2978
- locationType?: LocationType;
2979
- /**
2980
- * Free text address used when locationType is `OWNER_CUSTOM`.
2981
- * @deprecated
2982
- */
2983
- address?: string | null;
2984
- /** Custom address, used when locationType is `"OWNER_CUSTOM"`. Might be used when locationType is `"CUSTOM"` in case the owner sets a custom address for the session which is different from the default. */
2985
- customAddress?: Address;
2986
- }
2987
- export declare enum LocationType {
2988
- UNDEFINED = "UNDEFINED",
2989
- OWNER_BUSINESS = "OWNER_BUSINESS",
2990
- OWNER_CUSTOM = "OWNER_CUSTOM",
2991
- CUSTOM = "CUSTOM"
2992
- }
2993
- /** Physical address */
2994
- export interface Address extends AddressStreetOneOf {
2995
- /** Street name, number and apartment number. */
2996
- streetAddress?: StreetAddress;
2997
- /** Main address line, usually street and number, as free text. */
2998
- addressLine?: string | null;
2999
- /**
3000
- * Country code.
3001
- * @format COUNTRY
3002
- */
3003
- country?: string | null;
3004
- /** Subdivision. Usually state, region, prefecture or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
3005
- subdivision?: string | null;
3006
- /** City name. */
3007
- city?: string | null;
3008
- /** Zip/postal code. */
3009
- postalCode?: string | null;
3010
- /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
3011
- addressLine2?: string | null;
3012
- /** A string containing the full address of this location. */
3013
- formattedAddress?: string | null;
3014
- /** Free text to help find the address. */
3015
- hint?: string | null;
3016
- /** Coordinates of the physical address. */
3017
- geocode?: AddressLocation;
3018
- /** Country full name. */
3019
- countryFullname?: string | null;
3020
- /** Multi-level subdivisions from top to bottom. */
3021
- subdivisions?: Subdivision[];
3022
- }
3023
- /** @oneof */
3024
- export interface AddressStreetOneOf {
3025
- /** Street name, number and apartment number. */
3026
- streetAddress?: StreetAddress;
3027
- /** Main address line, usually street and number, as free text. */
3028
- addressLine?: string | null;
3029
- }
3030
- export interface StreetAddress {
3031
- /** Street number. */
3032
- number?: string;
3033
- /** Street name. */
3034
- name?: string;
3035
- /** Apartment number. */
3036
- apt?: string;
3037
- }
3038
- export interface AddressLocation {
3039
- /** Address latitude. */
3040
- latitude?: number | null;
3041
- /** Address longitude. */
3042
- longitude?: number | null;
3043
- }
3044
- export interface Subdivision {
3045
- /** Subdivision code. Usually state, region, prefecture or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
3046
- code?: string;
3047
- /** Subdivision full name. */
3048
- name?: string;
3049
- }
3050
- export interface LocationsLocation {
3051
- /**
3052
- * Location ID.
3053
- * @format GUID
3054
- * @readonly
3055
- */
3056
- _id?: string | null;
3057
- /**
3058
- * Location name.
3059
- * @maxLength 150
3060
- */
3061
- name?: string;
3062
- /**
3063
- * Location description.
3064
- * @maxLength 500
3065
- */
3066
- description?: string | null;
3067
- /**
3068
- * Whether this is the default location. There can only be one default location per site. The default location can't be archived.
3069
- * @readonly
3070
- */
3071
- default?: boolean;
3072
- /**
3073
- * Location status. Defaults to `ACTIVE`.
3074
- * __Notes:__
3075
- * - [Archiving a location](https://dev.wix.com/api/rest/business-info/locations/archive-location)
3076
- * doesn't affect the location's status.
3077
- * - `INACTIVE` status is currently not supported.
3078
- */
3079
- status?: LocationStatus;
3080
- /**
3081
- * Location type.
3082
- *
3083
- * **Note:** Currently not supported.
3084
- * @deprecated
3085
- */
3086
- locationType?: LocationsLocationType;
3087
- /** Fax number. */
3088
- fax?: string | null;
3089
- /** Timezone in `America/New_York` format. */
3090
- timeZone?: string | null;
3091
- /** Email address. */
3092
- email?: string | null;
3093
- /** Phone number. */
3094
- phone?: string | null;
3095
- /** Address. */
3096
- address?: LocationsAddress;
3097
- /**
3098
- * Business schedule. Array of weekly recurring time periods when the location is open for business. Limited to 100 time periods.
3099
- *
3100
- * __Note:__ Not supported by Wix Bookings.
3101
- */
3102
- businessSchedule?: BusinessSchedule;
3103
- /**
3104
- * Revision number, which increments by 1 each time the location is updated.
3105
- * To prevent conflicting changes, the existing revision must be used when updating a location.
3106
- */
3107
- revision?: string | null;
3108
- /**
3109
- * Whether the location is archived. Archived locations can't be updated.
3110
- * __Note:__ [Archiving a location](https://dev.wix.com/api/rest/business-info/locations/archive-location)
3111
- * doesn't affect its `status`.
3112
- * @readonly
3113
- */
3114
- archived?: boolean;
3115
- /**
3116
- * Location types.
3117
- * @maxSize 10
3118
- */
3119
- locationTypes?: LocationsLocationType[];
3120
- }
3121
- /** For future use */
3122
- export declare enum LocationStatus {
3123
- ACTIVE = "ACTIVE",
3124
- INACTIVE = "INACTIVE"
3125
- }
3126
- /** For future use */
3127
- export declare enum LocationsLocationType {
3128
- UNKNOWN = "UNKNOWN",
3129
- BRANCH = "BRANCH",
3130
- OFFICES = "OFFICES",
3131
- RECEPTION = "RECEPTION",
3132
- HEADQUARTERS = "HEADQUARTERS",
3133
- INVENTORY = "INVENTORY"
3134
- }
3135
- export interface LocationsAddress {
3136
- /**
3137
- * 2-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
3138
- * @format COUNTRY
3139
- */
3140
- country?: string | null;
3141
- /** Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) format. */
3142
- subdivision?: string | null;
3143
- /** City name. */
3144
- city?: string | null;
3145
- /**
3146
- * Postal or zip code.
3147
- * @maxLength 20
3148
- */
3149
- postalCode?: string | null;
3150
- /** Street address. Includes street name, number, and apartment number in separate fields. */
3151
- streetAddress?: LocationsStreetAddress;
3152
- /** Full address of the location. */
3153
- formatted?: string | null;
3154
- /** Geographic coordinates of location. */
3155
- location?: LocationsAddressLocation;
3156
- }
3157
- /** Street address. Includes street name, number, and apartment number in separate fields. */
3158
- export interface LocationsStreetAddress {
3159
- /** Street number. */
3160
- number?: string;
3161
- /** Street name. */
3162
- name?: string;
3163
- /** Apartment number. */
3164
- apt?: string;
3165
- }
3166
- /** Address Geolocation */
3167
- export interface LocationsAddressLocation {
3168
- /** Latitude of the location. Must be between -90 and 90. */
3169
- latitude?: number | null;
3170
- /** Longitude of the location. Must be between -180 and 180. */
3171
- longitude?: number | null;
3172
- }
3173
- /** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */
3174
- export interface BusinessSchedule {
3175
- /**
3176
- * Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.
3177
- * @maxSize 100
3178
- */
3179
- periods?: TimePeriod[];
3180
- /**
3181
- * Exceptions to the business's regular hours. The business can be open or closed during the exception.
3182
- * @maxSize 100
3183
- */
3184
- specialHourPeriod?: SpecialHourPeriod[];
3185
- }
3186
- /** Weekly recurring time periods when the business is regularly open or the service is available. */
3187
- export interface TimePeriod {
3188
- /** Day of the week the period starts on. */
3189
- openDay?: DayOfWeek;
3190
- /**
3191
- * Time the period starts in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents
3192
- * midnight at the end of the specified day.
3193
- */
3194
- openTime?: string;
3195
- /** Day of the week the period ends on. */
3196
- closeDay?: DayOfWeek;
3197
- /**
3198
- * Time the period ends in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents
3199
- * midnight at the end of the specified day.
3200
- *
3201
- * __Note:__ If `openDay` and `closeDay` specify the same day of the week `closeTime` must be later than `openTime`.
3202
- */
3203
- closeTime?: string;
3204
- }
3205
- /** Enumerates the days of the week. */
3206
- export declare enum DayOfWeek {
3207
- MONDAY = "MONDAY",
3208
- TUESDAY = "TUESDAY",
3209
- WEDNESDAY = "WEDNESDAY",
3210
- THURSDAY = "THURSDAY",
3211
- FRIDAY = "FRIDAY",
3212
- SATURDAY = "SATURDAY",
3213
- SUNDAY = "SUNDAY"
3214
- }
3215
- /** Exception to the business's regular hours. The business can be open or closed during the exception. */
3216
- export interface SpecialHourPeriod {
3217
- /** Start date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
3218
- startDate?: string;
3219
- /** End date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
3220
- endDate?: string;
3221
- /**
3222
- * Whether the business is closed (or the service is not available) during the exception.
3223
- *
3224
- * Default: `true`.
3225
- */
3226
- isClosed?: boolean;
3227
- /** Additional info about the exception. For example, "We close earlier on New Year's Eve." */
3228
- comment?: string;
3229
- }
3230
- export interface Rate {
3231
- /**
3232
- * Mapping between a named price option, for example, adult or child prices, and the price, currency, and down payment amount.
3233
- * When present in an update request, the `default_varied_price` is ignored to support backward compatibility.
3234
- */
3235
- labeledPriceOptions?: Record<string, Price>;
3236
- /**
3237
- * Textual price information used when **Price Per Session** is set to **Custom Price** in the app's service details page.
3238
- * When present in an update request, the `default_varied_price` is ignored to support backward compatibility.
3239
- */
3240
- priceText?: string | null;
3241
- }
3242
- export interface Price {
3243
- /**
3244
- * Required payment amount.
3245
- * @format DECIMAL_VALUE
3246
- */
3247
- amount?: string;
3248
- /**
3249
- * Currency in which the amount is quoted.
3250
- * @format CURRENCY
3251
- */
3252
- currency?: string;
3253
- /**
3254
- * Amount of a down payment or deposit as part of the transaction.
3255
- * @format DECIMAL_VALUE
3256
- */
3257
- downPayAmount?: string;
3258
- }
3259
- /**
3260
- * <!-- Needs updating when recurrence has been tested
3261
- * Schedule's availability calculation is executed by the schedule's available intervals and this additional information.
3262
- * Schedule's available intervals are recurring intervals (defined in the schedule) minus sessions that has no more spots for bookings (including time between_slots), or schedule's sessions with open spots for bookings.-->
3263
- */
3264
- export interface Availability {
3265
- /** Date and time the schedule starts to be available for booking. */
3266
- start?: Date | null;
3267
- /** Date and time the schedule stops being available for booking. No value indicates no end time. */
3268
- end?: Date | null;
3269
- /** Other schedules that impact the availability calculation. Relevant only when there are availability constraints. */
3270
- linkedSchedules?: LinkedSchedule[];
3271
- /** Constraints for calculating the schedule's availability. */
3272
- constraints?: AvailabilityConstraints;
3273
- }
3274
- /** Describes how to calculate the specific slots that are available for booking. */
3275
- export interface AvailabilityConstraints {
3276
- /**
3277
- * A list of duration options for slots, in minutes. Minimum value for a duration is 1.
3278
- * The availability calculation generates slots with these durations, where there is no conflict with existing sessions or other availability constraints.
3279
- * @min 1
3280
- */
3281
- slotDurations?: number[];
3282
- /**
3283
- * The number of minutes between the `end` of one slot, and the `start` of the next.
3284
- * Minimum value is 0, maximum value is 120.
3285
- * @max 720
3286
- */
3287
- timeBetweenSlots?: number;
3288
- /**
3289
- * Specify how to split the slots in intervals of minutes.
3290
- * This value indicates the time between available slots' start time. e.g., from 5 minute slots (3:00, 3:05, 3:15) and 1 hour slots (3:00, 4:00, 5:00).
3291
- * Optional. The default is the first duration in slot_durations field.
3292
- * Deprecated. Use the `split_slots_interval.value_in_minutes`.
3293
- * @deprecated
3294
- */
3295
- splitInterval?: number | null;
3296
- /**
3297
- * An object defining the time between available slots' start times. For example, a slot with slots_split_interval=5 can start every 5 minutes. The default is the slot duration.
3298
- * @readonly
3299
- */
3300
- slotsSplitInterval?: SplitInterval;
3301
- }
3302
- /** The time between available slots' start times. For example, For 5 minute slots, 3:00, 3:05, 3:15 etc. For 1 hour slots, 3:00, 4:00, 5:00 etc. */
3303
- export interface SplitInterval {
3304
- /**
3305
- * Whether the slot duration is used as the split interval value.
3306
- * If `same_as_duration` is `true`, the `value_in_minutes` is the sum of the first duration in
3307
- * `schedule.availabilityConstraints.SlotDurations` field, and `schedule.availabilityConstraints.TimeBetweenSlots` field.
3308
- */
3309
- sameAsDuration?: boolean | null;
3310
- /** Number of minutes between available slots' start times when `same_as_duration` is `false`. */
3311
- valueInMinutes?: number | null;
3312
- }
3313
- export interface Participant {
3314
- /**
3315
- * Participant ID. Currently represents the booking.id.
3316
- * @format GUID
3317
- */
3318
- _id?: string;
3319
- /**
3320
- * Contact ID.
3321
- * @format GUID
3322
- */
3323
- contactId?: string | null;
3324
- /** Participant's name. */
3325
- name?: string | null;
3326
- /** Participant's phone number. */
3327
- phone?: string | null;
3328
- /** Participant's email address. */
3329
- email?: string | null;
3330
- /** Group or party size. The number of people attending. Defaults to 0. Maximum is 250. */
3331
- partySize?: number;
3332
- /**
3333
- * Approval status for the participant.
3334
- * <!-- Commented out untill updateParticipant is exposed Generally the same status as the booking, unless updated using the `updateParticipant()` API. Defaults to `"UNDEFINED"`.-->
3335
- */
3336
- approvalStatus?: ApprovalStatus;
3337
- /**
3338
- * Whether the participant was inherited from the schedule, as opposed to being booked directly to the session.
3339
- * @readonly
3340
- */
3341
- inherited?: boolean;
3342
- }
3343
- export declare enum ApprovalStatus {
3344
- /** Default. */
3345
- UNDEFINED = "UNDEFINED",
3346
- /** Pending business approval. */
3347
- PENDING = "PENDING",
3348
- /** Approved by the business. */
3349
- APPROVED = "APPROVED",
3350
- /** Declined by the business. */
3351
- DECLINED = "DECLINED"
3352
- }
3353
- export interface ExternalCalendarOverrides {
3354
- /** Synced title of the external calendar event. */
3355
- title?: string | null;
3356
- /** Synced description of the external calendar event. */
3357
- description?: string | null;
3358
- }
3359
- export declare enum ScheduleStatus {
3360
- /** Undefined schedule status. */
3361
- UNDEFINED = "UNDEFINED",
3362
- /** The schedule was created. */
3363
- CREATED = "CREATED",
3364
- /** The schedule was cancelled. */
3365
- CANCELLED = "CANCELLED"
3366
- }
3367
- export interface Version {
3368
- /** Schedule version number, updated each time the schedule is updated. */
3369
- scheduleVersion?: number | null;
3370
- /** Participants version number, updated each time the schedule participants are updated. */
3371
- participantsVersion?: number | null;
3372
- }
3373
- export interface ConferenceProvider {
3374
- /** Conferencing provider ID */
3375
- providerId?: string;
3376
- }
3377
- export interface CalendarConference {
3378
- /** Wix Calendar conference ID. */
3379
- _id?: string;
3380
- /** Conference meeting ID in the provider's conferencing system. */
3381
- externalId?: string;
3382
- /** Conference provider ID. */
3383
- providerId?: string;
3384
- /** URL used by the host to start the conference. */
3385
- hostUrl?: string;
3386
- /** URL used by a guest to join the conference. */
3387
- guestUrl?: string;
3388
- /** Password to join the conference. */
3389
- password?: string | null;
3390
- /** Conference description. */
3391
- description?: string | null;
3392
- /** Conference type. */
3393
- conferenceType?: ConferenceType;
3394
- /** ID of the account owner in the video conferencing service. */
3395
- accountOwnerId?: string | null;
3396
- }
3397
- export declare enum ConferenceType {
3398
- /** Undefined conference type. */
3399
- UNDEFINED = "UNDEFINED",
3400
- /** API-generated online meeting. */
3401
- ONLINE_MEETING_PROVIDER = "ONLINE_MEETING_PROVIDER",
3402
- /** User-defined meeting. */
3403
- CUSTOM = "CUSTOM"
3404
- }
3405
- export declare enum ResourceStatus {
3406
- /** Undefined resource status. */
3407
- UNDEFINED = "UNDEFINED",
3408
- /** The resource was created. */
3409
- CREATED = "CREATED",
3410
- /** The resource was deleted. */
3411
- DELETED = "DELETED",
3412
- /** The resource was updated. */
3413
- UPDATED = "UPDATED"
3414
- }
3415
- export interface BusinessLocation {
3416
- /**
3417
- * The ID of the business location. Has to be non-empty
3418
- * @format GUID
3419
- */
3420
- locationId?: string;
3421
- }
3422
- export declare enum ResourceNotificationEvent {
3423
- /** Undefined resource event. */
3424
- UNDEFINED = "UNDEFINED",
3425
- /** The resource was updated. */
3426
- Updated = "Updated",
3427
- /** The resource was deleted. */
3428
- Deleted = "Deleted",
3429
- /** The resource was created. */
3430
- Created = "Created",
3431
- /** The schedule was updated. */
3432
- Schedule_Updated = "Schedule_Updated"
3433
- }
3434
2694
  export interface BenefitNotification {
3435
2695
  /**
3436
2696
  * Plan unique ID
@@ -3635,7 +2895,7 @@ export interface Properties {
3635
2895
  /** Fax number. */
3636
2896
  fax?: string | null;
3637
2897
  /** Address. */
3638
- address?: V4Address;
2898
+ address?: Address;
3639
2899
  /** Site display name. */
3640
2900
  siteDisplayName?: string | null;
3641
2901
  /** Business name. */
@@ -3682,7 +2942,7 @@ export interface Locale {
3682
2942
  /** Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format. */
3683
2943
  country?: string;
3684
2944
  }
3685
- export interface V4Address {
2945
+ export interface Address {
3686
2946
  /** Street name. */
3687
2947
  street?: string;
3688
2948
  /** City name. */
@@ -3733,6 +2993,63 @@ export interface GeoCoordinates {
3733
2993
  /** Longitude of the location. Must be between -180 and 180. */
3734
2994
  longitude?: number;
3735
2995
  }
2996
+ /** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */
2997
+ export interface BusinessSchedule {
2998
+ /**
2999
+ * Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.
3000
+ * @maxSize 100
3001
+ */
3002
+ periods?: TimePeriod[];
3003
+ /**
3004
+ * Exceptions to the business's regular hours. The business can be open or closed during the exception.
3005
+ * @maxSize 100
3006
+ */
3007
+ specialHourPeriod?: SpecialHourPeriod[];
3008
+ }
3009
+ /** Weekly recurring time periods when the business is regularly open or the service is available. */
3010
+ export interface TimePeriod {
3011
+ /** Day of the week the period starts on. */
3012
+ openDay?: DayOfWeek;
3013
+ /**
3014
+ * Time the period starts in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents
3015
+ * midnight at the end of the specified day.
3016
+ */
3017
+ openTime?: string;
3018
+ /** Day of the week the period ends on. */
3019
+ closeDay?: DayOfWeek;
3020
+ /**
3021
+ * Time the period ends in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents
3022
+ * midnight at the end of the specified day.
3023
+ *
3024
+ * __Note:__ If `openDay` and `closeDay` specify the same day of the week `closeTime` must be later than `openTime`.
3025
+ */
3026
+ closeTime?: string;
3027
+ }
3028
+ /** Enumerates the days of the week. */
3029
+ export declare enum DayOfWeek {
3030
+ MONDAY = "MONDAY",
3031
+ TUESDAY = "TUESDAY",
3032
+ WEDNESDAY = "WEDNESDAY",
3033
+ THURSDAY = "THURSDAY",
3034
+ FRIDAY = "FRIDAY",
3035
+ SATURDAY = "SATURDAY",
3036
+ SUNDAY = "SUNDAY"
3037
+ }
3038
+ /** Exception to the business's regular hours. The business can be open or closed during the exception. */
3039
+ export interface SpecialHourPeriod {
3040
+ /** Start date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
3041
+ startDate?: string;
3042
+ /** End date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
3043
+ endDate?: string;
3044
+ /**
3045
+ * Whether the business is closed (or the service is not available) during the exception.
3046
+ *
3047
+ * Default: `true`.
3048
+ */
3049
+ isClosed?: boolean;
3050
+ /** Additional info about the exception. For example, "We close earlier on New Year's Eve." */
3051
+ comment?: string;
3052
+ }
3736
3053
  export interface Multilingual {
3737
3054
  /**
3738
3055
  * Supported languages list.
@@ -4303,7 +3620,7 @@ export interface UpdateService {
4303
3620
  * @immutable
4304
3621
  * @maxSize 500
4305
3622
  */
4306
- locations?: V2Location[];
3623
+ locations?: Location[];
4307
3624
  /**
4308
3625
  * _Policy_
4309
3626
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policies/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/introduction))
@@ -4316,7 +3633,7 @@ export interface UpdateService {
4316
3633
  * which can be used to manage the service's *events*
4317
3634
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/events/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)).
4318
3635
  */
4319
- schedule?: V2Schedule;
3636
+ schedule?: Schedule;
4320
3637
  /**
4321
3638
  * IDs of the *staff members*
4322
3639
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/staff-members/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction))
@@ -4796,7 +4113,7 @@ export declare function queryPolicies(query: CursorQuery): Promise<NonNullablePa
4796
4113
  * ## Filters
4797
4114
  *
4798
4115
  * For a complete list of supported filters, refer to **Forms API: Supported Filters**
4799
- * ([REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object/supported-filters)).
4116
+ * ([REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object)).
4800
4117
  *
4801
4118
  * When using date filters, you must use
4802
4119
  * [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
@@ -4822,7 +4139,7 @@ export declare function queryPolicies(query: CursorQuery): Promise<NonNullablePa
4822
4139
  * [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
4823
4140
  * and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
4824
4141
  * @param query - Information about filters, paging, and sorting. See the article about
4825
- * form filters ([REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object/supported-filters))
4142
+ * form filters ([REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object))
4826
4143
  * for all supported filters and sorting options.
4827
4144
  * @public
4828
4145
  * @requiredField query
@@ -5061,7 +4378,7 @@ export interface QueryCategoriesOptions {
5061
4378
  * @applicableIdentity APP
5062
4379
  * @fqn wix.bookings.services.v2.ServicesService.SetServiceLocations
5063
4380
  */
5064
- export declare function setServiceLocations(serviceId: string, locations: V2Location[], options?: SetServiceLocationsOptions): Promise<NonNullablePaths<SetServiceLocationsResponse, {
4381
+ export declare function setServiceLocations(serviceId: string, locations: Location[], options?: SetServiceLocationsOptions): Promise<NonNullablePaths<SetServiceLocationsResponse, {
5065
4382
  [P in ServiceNonNullablePaths]: `service.${P}`;
5066
4383
  }[ServiceNonNullablePaths]>>;
5067
4384
  export interface SetServiceLocationsOptions {