@wix/table-reservations 1.0.171 → 1.0.173

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/table-reservations",
3
- "version": "1.0.171",
3
+ "version": "1.0.173",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -21,9 +21,9 @@
21
21
  "type-bundles"
22
22
  ],
23
23
  "dependencies": {
24
- "@wix/table-reservations_reservation-locations": "1.0.77",
25
- "@wix/table-reservations_reservations": "1.0.60",
26
- "@wix/table-reservations_time-slots": "1.0.53"
24
+ "@wix/table-reservations_reservation-locations": "1.0.78",
25
+ "@wix/table-reservations_reservations": "1.0.61",
26
+ "@wix/table-reservations_time-slots": "1.0.54"
27
27
  },
28
28
  "devDependencies": {
29
29
  "glob": "^10.4.1",
@@ -48,5 +48,5 @@
48
48
  "fqdn": ""
49
49
  }
50
50
  },
51
- "falconPackageHash": "bb2acfd3c2da4c5ec82fe9a58602790f4066be9e48e34ae3d25b5057"
51
+ "falconPackageHash": "114cfae8eb7c5af969fbd58264f06ee469aa93373cd70cc398ec1c8b"
52
52
  }
@@ -1107,11 +1107,7 @@ declare enum ScalarType {
1107
1107
  /** Minimum value. */
1108
1108
  MIN = "MIN",
1109
1109
  /** Maximum value. */
1110
- MAX = "MAX",
1111
- /** Sum of values. */
1112
- SUM = "SUM",
1113
- /** Average of values. */
1114
- AVG = "AVG"
1110
+ MAX = "MAX"
1115
1111
  }
1116
1112
  declare enum NestedAggregationType {
1117
1113
  /** Undefined aggregation type. */
@@ -3829,7 +3825,7 @@ interface Properties {
3829
3825
  businessSchedule?: BusinessSchedule;
3830
3826
  /** Supported languages of a site and the primary language. */
3831
3827
  multilingual?: Multilingual;
3832
- /** Cookie policy the site owner defined for their site (before the users interacts with/limits it). */
3828
+ /** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */
3833
3829
  consentPolicy?: ConsentPolicy;
3834
3830
  /**
3835
3831
  * Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.
@@ -3837,9 +3833,9 @@ interface Properties {
3837
3833
  * Site business type.
3838
3834
  */
3839
3835
  businessConfig?: string | null;
3840
- /** External site url that uses Wix as its headless business solution */
3836
+ /** External site URL that uses Wix as its headless business solution. */
3841
3837
  externalSiteUrl?: string | null;
3842
- /** Track clicks analytics */
3838
+ /** Track clicks analytics. */
3843
3839
  trackClicksAnalytics?: boolean;
3844
3840
  }
3845
3841
  interface Categories {
@@ -3883,8 +3879,7 @@ interface Address {
3883
3879
  /**
3884
3880
  * Extra information on displayed addresses.
3885
3881
  * This is used for display purposes. Used to add additional data about the address, such as "In the passage".
3886
- * Free text. In addition the user can state where he wants that additional description - before, after, or instead
3887
- * the address string.
3882
+ * Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
3888
3883
  */
3889
3884
  interface AddressHint {
3890
3885
  /** Extra text displayed next to, or instead of, the actual address. */
@@ -5293,16 +5288,16 @@ interface TableCombinationAvailability {
5293
5288
  interface GetScheduledTimeSlotsRequest {
5294
5289
  /** ID of the reservation location for which to retrieve time slots. */
5295
5290
  reservationLocationId?: string;
5291
+ /** Time range. */
5292
+ timeRange?: TimeRange;
5293
+ /** Min: `1` */
5294
+ partySize?: number | null;
5295
+ }
5296
+ interface TimeRange {
5296
5297
  /** Date and time from which to retrieve time slots in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#coordinated_Universal_Time_(UTC)) format. */
5297
- from?: Date | null;
5298
+ startDate?: Date | null;
5298
5299
  /** Date and time to which to retrieve time slots in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#coordinated_Universal_Time_(UTC)) format. */
5299
- to?: Date | null;
5300
- /**
5301
- * Size of the party that needs to be seated during this time slot.
5302
- *
5303
- * Min: `1`
5304
- */
5305
- partySize?: number | null;
5300
+ endDate?: Date | null;
5306
5301
  }
5307
5302
  interface GetScheduledTimeSlotsResponse {
5308
5303
  /** A list of time slots and their availability according to the specified party size. */
@@ -5418,6 +5413,7 @@ type context_TableConflict = TableConflict;
5418
5413
  type context_TableConflictType = TableConflictType;
5419
5414
  declare const context_TableConflictType: typeof TableConflictType;
5420
5415
  type context_TableReservedConflict = TableReservedConflict;
5416
+ type context_TimeRange = TimeRange;
5421
5417
  type context_TimeSlot = TimeSlot;
5422
5418
  type context_TimeSlotTableCombination = TimeSlotTableCombination;
5423
5419
  type context_Type = Type;
@@ -5425,7 +5421,7 @@ declare const context_Type: typeof Type;
5425
5421
  declare const context_checkTimeSlot: typeof checkTimeSlot;
5426
5422
  declare const context_getTimeSlots: typeof getTimeSlots;
5427
5423
  declare namespace context {
5428
- export { type context_CheckReservationDetailsRequest as CheckReservationDetailsRequest, type context_CheckReservationDetailsResponse as CheckReservationDetailsResponse, type context_CheckTimeSlotOptions as CheckTimeSlotOptions, type context_CheckTimeSlotRequest as CheckTimeSlotRequest, type context_CheckTimeSlotResponse as CheckTimeSlotResponse, type context_CheckTimeSlotResponseNonNullableFields as CheckTimeSlotResponseNonNullableFields, type context_GetScheduledTimeSlotsRequest as GetScheduledTimeSlotsRequest, type context_GetScheduledTimeSlotsResponse as GetScheduledTimeSlotsResponse, type context_GetTimeSlotsOptions as GetTimeSlotsOptions, type context_GetTimeSlotsRequest as GetTimeSlotsRequest, type context_GetTimeSlotsResponse as GetTimeSlotsResponse, type context_GetTimeSlotsResponseNonNullableFields as GetTimeSlotsResponseNonNullableFields, type context_ReservationLocationConflict as ReservationLocationConflict, context_Status as Status, type context_Table as Table, type context_TableCombination as TableCombination, type context_TableCombinationAvailability as TableCombinationAvailability, type context_TableCombinationConflict as TableCombinationConflict, context_TableCombinationConflictType as TableCombinationConflictType, type context_TableConflict as TableConflict, context_TableConflictType as TableConflictType, type context_TableReservedConflict as TableReservedConflict, type context_TimeSlot as TimeSlot, type context_TimeSlotTableCombination as TimeSlotTableCombination, context_Type as Type, context_checkTimeSlot as checkTimeSlot, context_getTimeSlots as getTimeSlots };
5424
+ export { type context_CheckReservationDetailsRequest as CheckReservationDetailsRequest, type context_CheckReservationDetailsResponse as CheckReservationDetailsResponse, type context_CheckTimeSlotOptions as CheckTimeSlotOptions, type context_CheckTimeSlotRequest as CheckTimeSlotRequest, type context_CheckTimeSlotResponse as CheckTimeSlotResponse, type context_CheckTimeSlotResponseNonNullableFields as CheckTimeSlotResponseNonNullableFields, type context_GetScheduledTimeSlotsRequest as GetScheduledTimeSlotsRequest, type context_GetScheduledTimeSlotsResponse as GetScheduledTimeSlotsResponse, type context_GetTimeSlotsOptions as GetTimeSlotsOptions, type context_GetTimeSlotsRequest as GetTimeSlotsRequest, type context_GetTimeSlotsResponse as GetTimeSlotsResponse, type context_GetTimeSlotsResponseNonNullableFields as GetTimeSlotsResponseNonNullableFields, type context_ReservationLocationConflict as ReservationLocationConflict, context_Status as Status, type context_Table as Table, type context_TableCombination as TableCombination, type context_TableCombinationAvailability as TableCombinationAvailability, type context_TableCombinationConflict as TableCombinationConflict, context_TableCombinationConflictType as TableCombinationConflictType, type context_TableConflict as TableConflict, context_TableConflictType as TableConflictType, type context_TableReservedConflict as TableReservedConflict, type context_TimeRange as TimeRange, type context_TimeSlot as TimeSlot, type context_TimeSlotTableCombination as TimeSlotTableCombination, context_Type as Type, context_checkTimeSlot as checkTimeSlot, context_getTimeSlots as getTimeSlots };
5429
5425
  }
5430
5426
 
5431
5427
  export { context$1 as reservationLocations, context$2 as reservations, context as timeSlots };
@@ -1107,11 +1107,7 @@ declare enum ScalarType {
1107
1107
  /** Minimum value. */
1108
1108
  MIN = "MIN",
1109
1109
  /** Maximum value. */
1110
- MAX = "MAX",
1111
- /** Sum of values. */
1112
- SUM = "SUM",
1113
- /** Average of values. */
1114
- AVG = "AVG"
1110
+ MAX = "MAX"
1115
1111
  }
1116
1112
  declare enum NestedAggregationType {
1117
1113
  /** Undefined aggregation type. */
@@ -3829,7 +3825,7 @@ interface Properties {
3829
3825
  businessSchedule?: BusinessSchedule;
3830
3826
  /** Supported languages of a site and the primary language. */
3831
3827
  multilingual?: Multilingual;
3832
- /** Cookie policy the site owner defined for their site (before the users interacts with/limits it). */
3828
+ /** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */
3833
3829
  consentPolicy?: ConsentPolicy;
3834
3830
  /**
3835
3831
  * Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.
@@ -3837,9 +3833,9 @@ interface Properties {
3837
3833
  * Site business type.
3838
3834
  */
3839
3835
  businessConfig?: string | null;
3840
- /** External site url that uses Wix as its headless business solution */
3836
+ /** External site URL that uses Wix as its headless business solution. */
3841
3837
  externalSiteUrl?: string | null;
3842
- /** Track clicks analytics */
3838
+ /** Track clicks analytics. */
3843
3839
  trackClicksAnalytics?: boolean;
3844
3840
  }
3845
3841
  interface Categories {
@@ -3883,8 +3879,7 @@ interface Address {
3883
3879
  /**
3884
3880
  * Extra information on displayed addresses.
3885
3881
  * This is used for display purposes. Used to add additional data about the address, such as "In the passage".
3886
- * Free text. In addition the user can state where he wants that additional description - before, after, or instead
3887
- * the address string.
3882
+ * Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
3888
3883
  */
3889
3884
  interface AddressHint {
3890
3885
  /** Extra text displayed next to, or instead of, the actual address. */
@@ -5293,16 +5288,16 @@ interface TableCombinationAvailability {
5293
5288
  interface GetScheduledTimeSlotsRequest {
5294
5289
  /** ID of the reservation location for which to retrieve time slots. */
5295
5290
  reservationLocationId?: string;
5291
+ /** Time range. */
5292
+ timeRange?: TimeRange;
5293
+ /** Min: `1` */
5294
+ partySize?: number | null;
5295
+ }
5296
+ interface TimeRange {
5296
5297
  /** Date and time from which to retrieve time slots in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#coordinated_Universal_Time_(UTC)) format. */
5297
- from?: Date | null;
5298
+ startDate?: Date | null;
5298
5299
  /** Date and time to which to retrieve time slots in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#coordinated_Universal_Time_(UTC)) format. */
5299
- to?: Date | null;
5300
- /**
5301
- * Size of the party that needs to be seated during this time slot.
5302
- *
5303
- * Min: `1`
5304
- */
5305
- partySize?: number | null;
5300
+ endDate?: Date | null;
5306
5301
  }
5307
5302
  interface GetScheduledTimeSlotsResponse {
5308
5303
  /** A list of time slots and their availability according to the specified party size. */
@@ -5418,6 +5413,7 @@ type index_d_TableConflict = TableConflict;
5418
5413
  type index_d_TableConflictType = TableConflictType;
5419
5414
  declare const index_d_TableConflictType: typeof TableConflictType;
5420
5415
  type index_d_TableReservedConflict = TableReservedConflict;
5416
+ type index_d_TimeRange = TimeRange;
5421
5417
  type index_d_TimeSlot = TimeSlot;
5422
5418
  type index_d_TimeSlotTableCombination = TimeSlotTableCombination;
5423
5419
  type index_d_Type = Type;
@@ -5425,7 +5421,7 @@ declare const index_d_Type: typeof Type;
5425
5421
  declare const index_d_checkTimeSlot: typeof checkTimeSlot;
5426
5422
  declare const index_d_getTimeSlots: typeof getTimeSlots;
5427
5423
  declare namespace index_d {
5428
- export { type index_d_CheckReservationDetailsRequest as CheckReservationDetailsRequest, type index_d_CheckReservationDetailsResponse as CheckReservationDetailsResponse, type index_d_CheckTimeSlotOptions as CheckTimeSlotOptions, type index_d_CheckTimeSlotRequest as CheckTimeSlotRequest, type index_d_CheckTimeSlotResponse as CheckTimeSlotResponse, type index_d_CheckTimeSlotResponseNonNullableFields as CheckTimeSlotResponseNonNullableFields, type index_d_GetScheduledTimeSlotsRequest as GetScheduledTimeSlotsRequest, type index_d_GetScheduledTimeSlotsResponse as GetScheduledTimeSlotsResponse, type index_d_GetTimeSlotsOptions as GetTimeSlotsOptions, type index_d_GetTimeSlotsRequest as GetTimeSlotsRequest, type index_d_GetTimeSlotsResponse as GetTimeSlotsResponse, type index_d_GetTimeSlotsResponseNonNullableFields as GetTimeSlotsResponseNonNullableFields, type index_d_ReservationLocationConflict as ReservationLocationConflict, index_d_Status as Status, type index_d_Table as Table, type index_d_TableCombination as TableCombination, type index_d_TableCombinationAvailability as TableCombinationAvailability, type index_d_TableCombinationConflict as TableCombinationConflict, index_d_TableCombinationConflictType as TableCombinationConflictType, type index_d_TableConflict as TableConflict, index_d_TableConflictType as TableConflictType, type index_d_TableReservedConflict as TableReservedConflict, type index_d_TimeSlot as TimeSlot, type index_d_TimeSlotTableCombination as TimeSlotTableCombination, index_d_Type as Type, index_d_checkTimeSlot as checkTimeSlot, index_d_getTimeSlots as getTimeSlots };
5424
+ export { type index_d_CheckReservationDetailsRequest as CheckReservationDetailsRequest, type index_d_CheckReservationDetailsResponse as CheckReservationDetailsResponse, type index_d_CheckTimeSlotOptions as CheckTimeSlotOptions, type index_d_CheckTimeSlotRequest as CheckTimeSlotRequest, type index_d_CheckTimeSlotResponse as CheckTimeSlotResponse, type index_d_CheckTimeSlotResponseNonNullableFields as CheckTimeSlotResponseNonNullableFields, type index_d_GetScheduledTimeSlotsRequest as GetScheduledTimeSlotsRequest, type index_d_GetScheduledTimeSlotsResponse as GetScheduledTimeSlotsResponse, type index_d_GetTimeSlotsOptions as GetTimeSlotsOptions, type index_d_GetTimeSlotsRequest as GetTimeSlotsRequest, type index_d_GetTimeSlotsResponse as GetTimeSlotsResponse, type index_d_GetTimeSlotsResponseNonNullableFields as GetTimeSlotsResponseNonNullableFields, type index_d_ReservationLocationConflict as ReservationLocationConflict, index_d_Status as Status, type index_d_Table as Table, type index_d_TableCombination as TableCombination, type index_d_TableCombinationAvailability as TableCombinationAvailability, type index_d_TableCombinationConflict as TableCombinationConflict, index_d_TableCombinationConflictType as TableCombinationConflictType, type index_d_TableConflict as TableConflict, index_d_TableConflictType as TableConflictType, type index_d_TableReservedConflict as TableReservedConflict, type index_d_TimeRange as TimeRange, type index_d_TimeSlot as TimeSlot, type index_d_TimeSlotTableCombination as TimeSlotTableCombination, index_d_Type as Type, index_d_checkTimeSlot as checkTimeSlot, index_d_getTimeSlots as getTimeSlots };
5429
5425
  }
5430
5426
 
5431
5427
  export { index_d$1 as reservationLocations, index_d$2 as reservations, index_d as timeSlots };
@@ -555,11 +555,7 @@ declare enum ScalarType$1 {
555
555
  /** Minimum value. */
556
556
  MIN = "MIN",
557
557
  /** Maximum value. */
558
- MAX = "MAX",
559
- /** Sum of values. */
560
- SUM = "SUM",
561
- /** Average of values. */
562
- AVG = "AVG"
558
+ MAX = "MAX"
563
559
  }
564
560
  declare enum NestedAggregationType$1 {
565
561
  /** Undefined aggregation type. */
@@ -1530,11 +1526,7 @@ declare enum ScalarType {
1530
1526
  /** Minimum value. */
1531
1527
  MIN = "MIN",
1532
1528
  /** Maximum value. */
1533
- MAX = "MAX",
1534
- /** Sum of values. */
1535
- SUM = "SUM",
1536
- /** Average of values. */
1537
- AVG = "AVG"
1529
+ MAX = "MAX"
1538
1530
  }
1539
1531
  declare enum NestedAggregationType {
1540
1532
  /** Undefined aggregation type. */