@wix/table-reservations 1.0.165 → 1.0.167

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.165",
3
+ "version": "1.0.167",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -21,7 +21,7 @@
21
21
  "type-bundles"
22
22
  ],
23
23
  "dependencies": {
24
- "@wix/table-reservations_reservation-locations": "1.0.72",
24
+ "@wix/table-reservations_reservation-locations": "1.0.74",
25
25
  "@wix/table-reservations_reservations": "1.0.59",
26
26
  "@wix/table-reservations_time-slots": "1.0.52"
27
27
  },
@@ -48,5 +48,5 @@
48
48
  "fqdn": ""
49
49
  }
50
50
  },
51
- "falconPackageHash": "5b88dc6375e2335e0c6ae2f3a21ff35333f1dc19b8e81eb7bda434a1"
51
+ "falconPackageHash": "5999ced9b4b2c188acaef84567a48a6b29ec5df9db5dd7578ddb2e1d"
52
52
  }
@@ -3065,7 +3065,10 @@ declare enum Type$1 {
3065
3065
  APPROVAL_ABSENT = "APPROVAL_ABSENT",
3066
3066
  MANUAL_APPROVAL_DEPRECATED = "MANUAL_APPROVAL_DEPRECATED",
3067
3067
  APPROVAL_THRESHOLD_OUTSIDE_PARTY_SIZE = "APPROVAL_THRESHOLD_OUTSIDE_PARTY_SIZE",
3068
- APPROVAL_AND_MANUAL_APPROVAL_ARE_DIFFERENT = "APPROVAL_AND_MANUAL_APPROVAL_ARE_DIFFERENT"
3068
+ APPROVAL_AND_MANUAL_APPROVAL_ARE_DIFFERENT = "APPROVAL_AND_MANUAL_APPROVAL_ARE_DIFFERENT",
3069
+ MANUAL_APPROVAL_THRESHOLD_OUTSIDE_PARTIES_SIZE = "MANUAL_APPROVAL_THRESHOLD_OUTSIDE_PARTIES_SIZE",
3070
+ PARTY_SIZE_ABSENT = "PARTY_SIZE_ABSENT",
3071
+ PARTIES_SIZE_ABSENT = "PARTIES_SIZE_ABSENT"
3069
3072
  }
3070
3073
  interface NotAllReservationFieldsViolation {
3071
3074
  /** Field types that are absent. */
@@ -4666,11 +4669,11 @@ interface EventMetadata extends BaseEventMetadata {
4666
4669
  */
4667
4670
  entityEventSequence?: string | null;
4668
4671
  }
4669
- interface ReservationLocationUpdatedEnvelope {
4672
+ interface ReservationLocationCreatedEnvelope {
4670
4673
  entity: ReservationLocation;
4671
4674
  metadata: EventMetadata;
4672
4675
  }
4673
- interface ReservationLocationCreatedEnvelope {
4676
+ interface ReservationLocationUpdatedEnvelope {
4674
4677
  entity: ReservationLocation;
4675
4678
  metadata: EventMetadata;
4676
4679
  }
@@ -4857,8 +4860,8 @@ interface ListReservationLocationsSignature {
4857
4860
  */
4858
4861
  (options?: ListReservationLocationsOptions | undefined): Promise<ListReservationLocationsResponse & ListReservationLocationsResponseNonNullableFields>;
4859
4862
  }
4860
- declare const onReservationLocationUpdated$1: EventDefinition<ReservationLocationUpdatedEnvelope, "wix.table_reservations.v1.reservation_location_updated">;
4861
4863
  declare const onReservationLocationCreated$1: EventDefinition<ReservationLocationCreatedEnvelope, "wix.table_reservations.v1.reservation_location_created">;
4864
+ declare const onReservationLocationUpdated$1: EventDefinition<ReservationLocationUpdatedEnvelope, "wix.table_reservations.v1.reservation_location_updated">;
4862
4865
 
4863
4866
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
4864
4867
 
@@ -4868,17 +4871,17 @@ declare const updateExtendedFields: MaybeContext<BuildRESTFunction<typeof update
4868
4871
  declare const queryReservationLocations: MaybeContext<BuildRESTFunction<typeof queryReservationLocations$1> & typeof queryReservationLocations$1>;
4869
4872
  declare const listReservationLocations: MaybeContext<BuildRESTFunction<typeof listReservationLocations$1> & typeof listReservationLocations$1>;
4870
4873
 
4871
- type _publicOnReservationLocationUpdatedType = typeof onReservationLocationUpdated$1;
4874
+ type _publicOnReservationLocationCreatedType = typeof onReservationLocationCreated$1;
4872
4875
  /**
4873
4876
  * Triggered when a reservation location is updated.
4874
4877
  */
4875
- declare const onReservationLocationUpdated: ReturnType<typeof createEventModule<_publicOnReservationLocationUpdatedType>>;
4878
+ declare const onReservationLocationCreated: ReturnType<typeof createEventModule<_publicOnReservationLocationCreatedType>>;
4876
4879
 
4877
- type _publicOnReservationLocationCreatedType = typeof onReservationLocationCreated$1;
4880
+ type _publicOnReservationLocationUpdatedType = typeof onReservationLocationUpdated$1;
4878
4881
  /**
4879
4882
  * Triggered when a reservation location is updated.
4880
4883
  */
4881
- declare const onReservationLocationCreated: ReturnType<typeof createEventModule<_publicOnReservationLocationCreatedType>>;
4884
+ declare const onReservationLocationUpdated: ReturnType<typeof createEventModule<_publicOnReservationLocationUpdatedType>>;
4882
4885
 
4883
4886
  type context$1_ActionEvent = ActionEvent;
4884
4887
  type context$1_Address = Address;
@@ -3065,7 +3065,10 @@ declare enum Type$1 {
3065
3065
  APPROVAL_ABSENT = "APPROVAL_ABSENT",
3066
3066
  MANUAL_APPROVAL_DEPRECATED = "MANUAL_APPROVAL_DEPRECATED",
3067
3067
  APPROVAL_THRESHOLD_OUTSIDE_PARTY_SIZE = "APPROVAL_THRESHOLD_OUTSIDE_PARTY_SIZE",
3068
- APPROVAL_AND_MANUAL_APPROVAL_ARE_DIFFERENT = "APPROVAL_AND_MANUAL_APPROVAL_ARE_DIFFERENT"
3068
+ APPROVAL_AND_MANUAL_APPROVAL_ARE_DIFFERENT = "APPROVAL_AND_MANUAL_APPROVAL_ARE_DIFFERENT",
3069
+ MANUAL_APPROVAL_THRESHOLD_OUTSIDE_PARTIES_SIZE = "MANUAL_APPROVAL_THRESHOLD_OUTSIDE_PARTIES_SIZE",
3070
+ PARTY_SIZE_ABSENT = "PARTY_SIZE_ABSENT",
3071
+ PARTIES_SIZE_ABSENT = "PARTIES_SIZE_ABSENT"
3069
3072
  }
3070
3073
  interface NotAllReservationFieldsViolation {
3071
3074
  /** Field types that are absent. */
@@ -4666,11 +4669,11 @@ interface EventMetadata extends BaseEventMetadata {
4666
4669
  */
4667
4670
  entityEventSequence?: string | null;
4668
4671
  }
4669
- interface ReservationLocationUpdatedEnvelope {
4672
+ interface ReservationLocationCreatedEnvelope {
4670
4673
  entity: ReservationLocation;
4671
4674
  metadata: EventMetadata;
4672
4675
  }
4673
- interface ReservationLocationCreatedEnvelope {
4676
+ interface ReservationLocationUpdatedEnvelope {
4674
4677
  entity: ReservationLocation;
4675
4678
  metadata: EventMetadata;
4676
4679
  }
@@ -4857,8 +4860,8 @@ interface ListReservationLocationsSignature {
4857
4860
  */
4858
4861
  (options?: ListReservationLocationsOptions | undefined): Promise<ListReservationLocationsResponse & ListReservationLocationsResponseNonNullableFields>;
4859
4862
  }
4860
- declare const onReservationLocationUpdated$1: EventDefinition<ReservationLocationUpdatedEnvelope, "wix.table_reservations.v1.reservation_location_updated">;
4861
4863
  declare const onReservationLocationCreated$1: EventDefinition<ReservationLocationCreatedEnvelope, "wix.table_reservations.v1.reservation_location_created">;
4864
+ declare const onReservationLocationUpdated$1: EventDefinition<ReservationLocationUpdatedEnvelope, "wix.table_reservations.v1.reservation_location_updated">;
4862
4865
 
4863
4866
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
4864
4867
 
@@ -4868,17 +4871,17 @@ declare const updateExtendedFields: MaybeContext<BuildRESTFunction<typeof update
4868
4871
  declare const queryReservationLocations: MaybeContext<BuildRESTFunction<typeof queryReservationLocations$1> & typeof queryReservationLocations$1>;
4869
4872
  declare const listReservationLocations: MaybeContext<BuildRESTFunction<typeof listReservationLocations$1> & typeof listReservationLocations$1>;
4870
4873
 
4871
- type _publicOnReservationLocationUpdatedType = typeof onReservationLocationUpdated$1;
4874
+ type _publicOnReservationLocationCreatedType = typeof onReservationLocationCreated$1;
4872
4875
  /**
4873
4876
  * Triggered when a reservation location is updated.
4874
4877
  */
4875
- declare const onReservationLocationUpdated: ReturnType<typeof createEventModule<_publicOnReservationLocationUpdatedType>>;
4878
+ declare const onReservationLocationCreated: ReturnType<typeof createEventModule<_publicOnReservationLocationCreatedType>>;
4876
4879
 
4877
- type _publicOnReservationLocationCreatedType = typeof onReservationLocationCreated$1;
4880
+ type _publicOnReservationLocationUpdatedType = typeof onReservationLocationUpdated$1;
4878
4881
  /**
4879
4882
  * Triggered when a reservation location is updated.
4880
4883
  */
4881
- declare const onReservationLocationCreated: ReturnType<typeof createEventModule<_publicOnReservationLocationCreatedType>>;
4884
+ declare const onReservationLocationUpdated: ReturnType<typeof createEventModule<_publicOnReservationLocationUpdatedType>>;
4882
4885
 
4883
4886
  type index_d$1_ActionEvent = ActionEvent;
4884
4887
  type index_d$1_Address = Address;