@wix/table-reservations 1.0.168 → 1.0.169
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.
|
|
3
|
+
"version": "1.0.169",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"type-bundles"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@wix/table-reservations_reservation-locations": "1.0.
|
|
25
|
-
"@wix/table-reservations_reservations": "1.0.
|
|
24
|
+
"@wix/table-reservations_reservation-locations": "1.0.76",
|
|
25
|
+
"@wix/table-reservations_reservations": "1.0.60",
|
|
26
26
|
"@wix/table-reservations_time-slots": "1.0.52"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": ""
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "e5deb514e1cff92b0630d5399c64a94d22d88a419dd08b83afaac6b6"
|
|
52
52
|
}
|
|
@@ -1708,11 +1708,11 @@ interface ReservationCreatedEnvelope {
|
|
|
1708
1708
|
entity: Reservation;
|
|
1709
1709
|
metadata: EventMetadata$1;
|
|
1710
1710
|
}
|
|
1711
|
-
interface
|
|
1712
|
-
entity: Reservation;
|
|
1711
|
+
interface ReservationDeletedEnvelope {
|
|
1713
1712
|
metadata: EventMetadata$1;
|
|
1714
1713
|
}
|
|
1715
|
-
interface
|
|
1714
|
+
interface ReservationUpdatedEnvelope {
|
|
1715
|
+
entity: Reservation;
|
|
1716
1716
|
metadata: EventMetadata$1;
|
|
1717
1717
|
}
|
|
1718
1718
|
interface CreateReservationOptions {
|
|
@@ -2077,8 +2077,8 @@ interface SearchReservationsSignature {
|
|
|
2077
2077
|
(search: CursorSearch): Promise<SearchReservationsResponse & SearchReservationsResponseNonNullableFields>;
|
|
2078
2078
|
}
|
|
2079
2079
|
declare const onReservationCreated$1: EventDefinition<ReservationCreatedEnvelope, "wix.table_reservations.v1.reservation_created">;
|
|
2080
|
-
declare const onReservationUpdated$1: EventDefinition<ReservationUpdatedEnvelope, "wix.table_reservations.v1.reservation_updated">;
|
|
2081
2080
|
declare const onReservationDeleted$1: EventDefinition<ReservationDeletedEnvelope, "wix.table_reservations.v1.reservation_deleted">;
|
|
2081
|
+
declare const onReservationUpdated$1: EventDefinition<ReservationUpdatedEnvelope, "wix.table_reservations.v1.reservation_updated">;
|
|
2082
2082
|
|
|
2083
2083
|
declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
2084
2084
|
|
|
@@ -2100,18 +2100,18 @@ type _publicOnReservationCreatedType = typeof onReservationCreated$1;
|
|
|
2100
2100
|
*/
|
|
2101
2101
|
declare const onReservationCreated: ReturnType<typeof createEventModule$1<_publicOnReservationCreatedType>>;
|
|
2102
2102
|
|
|
2103
|
-
type _publicOnReservationUpdatedType = typeof onReservationUpdated$1;
|
|
2104
|
-
/**
|
|
2105
|
-
* Triggered when a reservation is canceled.
|
|
2106
|
-
*/
|
|
2107
|
-
declare const onReservationUpdated: ReturnType<typeof createEventModule$1<_publicOnReservationUpdatedType>>;
|
|
2108
|
-
|
|
2109
2103
|
type _publicOnReservationDeletedType = typeof onReservationDeleted$1;
|
|
2110
2104
|
/**
|
|
2111
2105
|
* Triggered when a reservation is deleted.
|
|
2112
2106
|
*/
|
|
2113
2107
|
declare const onReservationDeleted: ReturnType<typeof createEventModule$1<_publicOnReservationDeletedType>>;
|
|
2114
2108
|
|
|
2109
|
+
type _publicOnReservationUpdatedType = typeof onReservationUpdated$1;
|
|
2110
|
+
/**
|
|
2111
|
+
* Triggered when a reservation is canceled.
|
|
2112
|
+
*/
|
|
2113
|
+
declare const onReservationUpdated: ReturnType<typeof createEventModule$1<_publicOnReservationUpdatedType>>;
|
|
2114
|
+
|
|
2115
2115
|
type context$2_Aggregation = Aggregation;
|
|
2116
2116
|
type context$2_AggregationData = AggregationData;
|
|
2117
2117
|
type context$2_AggregationKindOneOf = AggregationKindOneOf;
|
|
@@ -2526,12 +2526,6 @@ interface TurnoverRule {
|
|
|
2526
2526
|
interface ManualApproval extends ManualApprovalValueOneOf {
|
|
2527
2527
|
/** The minimum party size that requires manual approval. */
|
|
2528
2528
|
partySizeThreshold?: number;
|
|
2529
|
-
/**
|
|
2530
|
-
* Custom approvals provider id.
|
|
2531
|
-
* @deprecated Custom approvals provider id.
|
|
2532
|
-
* @targetRemovalDate 2024-12-31
|
|
2533
|
-
*/
|
|
2534
|
-
customApprovalsProviderId?: string;
|
|
2535
2529
|
/** Whether manual approval is required for online reservations. */
|
|
2536
2530
|
enabled?: boolean;
|
|
2537
2531
|
}
|
|
@@ -2539,12 +2533,6 @@ interface ManualApproval extends ManualApprovalValueOneOf {
|
|
|
2539
2533
|
interface ManualApprovalValueOneOf {
|
|
2540
2534
|
/** The minimum party size that requires manual approval. */
|
|
2541
2535
|
partySizeThreshold?: number;
|
|
2542
|
-
/**
|
|
2543
|
-
* Custom approvals provider id.
|
|
2544
|
-
* @deprecated Custom approvals provider id.
|
|
2545
|
-
* @targetRemovalDate 2024-12-31
|
|
2546
|
-
*/
|
|
2547
|
-
customApprovalsProviderId?: string;
|
|
2548
2536
|
}
|
|
2549
2537
|
/** Type of the field. */
|
|
2550
2538
|
declare enum FieldType {
|
|
@@ -3069,7 +3057,9 @@ declare enum Type$1 {
|
|
|
3069
3057
|
MANUAL_APPROVAL_THRESHOLD_OUTSIDE_PARTIES_SIZE = "MANUAL_APPROVAL_THRESHOLD_OUTSIDE_PARTIES_SIZE",
|
|
3070
3058
|
PARTY_SIZE_ABSENT = "PARTY_SIZE_ABSENT",
|
|
3071
3059
|
PARTIES_SIZE_ABSENT = "PARTIES_SIZE_ABSENT",
|
|
3072
|
-
TABLE_MANAGEMENT_MODE_ABSENT = "TABLE_MANAGEMENT_MODE_ABSENT"
|
|
3060
|
+
TABLE_MANAGEMENT_MODE_ABSENT = "TABLE_MANAGEMENT_MODE_ABSENT",
|
|
3061
|
+
PARTY_SIZE_THRESHOLD_ABSENT = "PARTY_SIZE_THRESHOLD_ABSENT",
|
|
3062
|
+
CONSIDER_TABLES_FOR_MANUAL_APPROVAL_ABSENT = "CONSIDER_TABLES_FOR_MANUAL_APPROVAL_ABSENT"
|
|
3073
3063
|
}
|
|
3074
3064
|
interface NotAllReservationFieldsViolation {
|
|
3075
3065
|
/** Field types that are absent. */
|
|
@@ -4538,7 +4528,6 @@ interface TurnoverRuleNonNullableFields {
|
|
|
4538
4528
|
}
|
|
4539
4529
|
interface ManualApprovalNonNullableFields {
|
|
4540
4530
|
partySizeThreshold: number;
|
|
4541
|
-
customApprovalsProviderId: string;
|
|
4542
4531
|
enabled: boolean;
|
|
4543
4532
|
}
|
|
4544
4533
|
interface OnlineReservationsNonNullableFields {
|
|
@@ -1708,11 +1708,11 @@ interface ReservationCreatedEnvelope {
|
|
|
1708
1708
|
entity: Reservation;
|
|
1709
1709
|
metadata: EventMetadata$1;
|
|
1710
1710
|
}
|
|
1711
|
-
interface
|
|
1712
|
-
entity: Reservation;
|
|
1711
|
+
interface ReservationDeletedEnvelope {
|
|
1713
1712
|
metadata: EventMetadata$1;
|
|
1714
1713
|
}
|
|
1715
|
-
interface
|
|
1714
|
+
interface ReservationUpdatedEnvelope {
|
|
1715
|
+
entity: Reservation;
|
|
1716
1716
|
metadata: EventMetadata$1;
|
|
1717
1717
|
}
|
|
1718
1718
|
interface CreateReservationOptions {
|
|
@@ -2077,8 +2077,8 @@ interface SearchReservationsSignature {
|
|
|
2077
2077
|
(search: CursorSearch): Promise<SearchReservationsResponse & SearchReservationsResponseNonNullableFields>;
|
|
2078
2078
|
}
|
|
2079
2079
|
declare const onReservationCreated$1: EventDefinition<ReservationCreatedEnvelope, "wix.table_reservations.v1.reservation_created">;
|
|
2080
|
-
declare const onReservationUpdated$1: EventDefinition<ReservationUpdatedEnvelope, "wix.table_reservations.v1.reservation_updated">;
|
|
2081
2080
|
declare const onReservationDeleted$1: EventDefinition<ReservationDeletedEnvelope, "wix.table_reservations.v1.reservation_deleted">;
|
|
2081
|
+
declare const onReservationUpdated$1: EventDefinition<ReservationUpdatedEnvelope, "wix.table_reservations.v1.reservation_updated">;
|
|
2082
2082
|
|
|
2083
2083
|
declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
2084
2084
|
|
|
@@ -2100,18 +2100,18 @@ type _publicOnReservationCreatedType = typeof onReservationCreated$1;
|
|
|
2100
2100
|
*/
|
|
2101
2101
|
declare const onReservationCreated: ReturnType<typeof createEventModule$1<_publicOnReservationCreatedType>>;
|
|
2102
2102
|
|
|
2103
|
-
type _publicOnReservationUpdatedType = typeof onReservationUpdated$1;
|
|
2104
|
-
/**
|
|
2105
|
-
* Triggered when a reservation is canceled.
|
|
2106
|
-
*/
|
|
2107
|
-
declare const onReservationUpdated: ReturnType<typeof createEventModule$1<_publicOnReservationUpdatedType>>;
|
|
2108
|
-
|
|
2109
2103
|
type _publicOnReservationDeletedType = typeof onReservationDeleted$1;
|
|
2110
2104
|
/**
|
|
2111
2105
|
* Triggered when a reservation is deleted.
|
|
2112
2106
|
*/
|
|
2113
2107
|
declare const onReservationDeleted: ReturnType<typeof createEventModule$1<_publicOnReservationDeletedType>>;
|
|
2114
2108
|
|
|
2109
|
+
type _publicOnReservationUpdatedType = typeof onReservationUpdated$1;
|
|
2110
|
+
/**
|
|
2111
|
+
* Triggered when a reservation is canceled.
|
|
2112
|
+
*/
|
|
2113
|
+
declare const onReservationUpdated: ReturnType<typeof createEventModule$1<_publicOnReservationUpdatedType>>;
|
|
2114
|
+
|
|
2115
2115
|
type index_d$2_Aggregation = Aggregation;
|
|
2116
2116
|
type index_d$2_AggregationData = AggregationData;
|
|
2117
2117
|
type index_d$2_AggregationKindOneOf = AggregationKindOneOf;
|
|
@@ -2526,12 +2526,6 @@ interface TurnoverRule {
|
|
|
2526
2526
|
interface ManualApproval extends ManualApprovalValueOneOf {
|
|
2527
2527
|
/** The minimum party size that requires manual approval. */
|
|
2528
2528
|
partySizeThreshold?: number;
|
|
2529
|
-
/**
|
|
2530
|
-
* Custom approvals provider id.
|
|
2531
|
-
* @deprecated Custom approvals provider id.
|
|
2532
|
-
* @targetRemovalDate 2024-12-31
|
|
2533
|
-
*/
|
|
2534
|
-
customApprovalsProviderId?: string;
|
|
2535
2529
|
/** Whether manual approval is required for online reservations. */
|
|
2536
2530
|
enabled?: boolean;
|
|
2537
2531
|
}
|
|
@@ -2539,12 +2533,6 @@ interface ManualApproval extends ManualApprovalValueOneOf {
|
|
|
2539
2533
|
interface ManualApprovalValueOneOf {
|
|
2540
2534
|
/** The minimum party size that requires manual approval. */
|
|
2541
2535
|
partySizeThreshold?: number;
|
|
2542
|
-
/**
|
|
2543
|
-
* Custom approvals provider id.
|
|
2544
|
-
* @deprecated Custom approvals provider id.
|
|
2545
|
-
* @targetRemovalDate 2024-12-31
|
|
2546
|
-
*/
|
|
2547
|
-
customApprovalsProviderId?: string;
|
|
2548
2536
|
}
|
|
2549
2537
|
/** Type of the field. */
|
|
2550
2538
|
declare enum FieldType {
|
|
@@ -3069,7 +3057,9 @@ declare enum Type$1 {
|
|
|
3069
3057
|
MANUAL_APPROVAL_THRESHOLD_OUTSIDE_PARTIES_SIZE = "MANUAL_APPROVAL_THRESHOLD_OUTSIDE_PARTIES_SIZE",
|
|
3070
3058
|
PARTY_SIZE_ABSENT = "PARTY_SIZE_ABSENT",
|
|
3071
3059
|
PARTIES_SIZE_ABSENT = "PARTIES_SIZE_ABSENT",
|
|
3072
|
-
TABLE_MANAGEMENT_MODE_ABSENT = "TABLE_MANAGEMENT_MODE_ABSENT"
|
|
3060
|
+
TABLE_MANAGEMENT_MODE_ABSENT = "TABLE_MANAGEMENT_MODE_ABSENT",
|
|
3061
|
+
PARTY_SIZE_THRESHOLD_ABSENT = "PARTY_SIZE_THRESHOLD_ABSENT",
|
|
3062
|
+
CONSIDER_TABLES_FOR_MANUAL_APPROVAL_ABSENT = "CONSIDER_TABLES_FOR_MANUAL_APPROVAL_ABSENT"
|
|
3073
3063
|
}
|
|
3074
3064
|
interface NotAllReservationFieldsViolation {
|
|
3075
3065
|
/** Field types that are absent. */
|
|
@@ -4538,7 +4528,6 @@ interface TurnoverRuleNonNullableFields {
|
|
|
4538
4528
|
}
|
|
4539
4529
|
interface ManualApprovalNonNullableFields {
|
|
4540
4530
|
partySizeThreshold: number;
|
|
4541
|
-
customApprovalsProviderId: string;
|
|
4542
4531
|
enabled: boolean;
|
|
4543
4532
|
}
|
|
4544
4533
|
interface OnlineReservationsNonNullableFields {
|
|
@@ -2186,12 +2186,6 @@ interface TurnoverTimeRule$1 {
|
|
|
2186
2186
|
interface ManualApproval$1 extends ManualApprovalValueOneOf$1 {
|
|
2187
2187
|
/** The minimum party size that requires manual approval. */
|
|
2188
2188
|
partySizeThreshold?: number;
|
|
2189
|
-
/**
|
|
2190
|
-
* Custom approvals provider id.
|
|
2191
|
-
* @deprecated Custom approvals provider id.
|
|
2192
|
-
* @targetRemovalDate 2024-12-31
|
|
2193
|
-
*/
|
|
2194
|
-
customApprovalsProviderId?: string;
|
|
2195
2189
|
/** Whether manual approval is required for online reservations. */
|
|
2196
2190
|
enabled?: boolean;
|
|
2197
2191
|
}
|
|
@@ -2199,12 +2193,6 @@ interface ManualApproval$1 extends ManualApprovalValueOneOf$1 {
|
|
|
2199
2193
|
interface ManualApprovalValueOneOf$1 {
|
|
2200
2194
|
/** The minimum party size that requires manual approval. */
|
|
2201
2195
|
partySizeThreshold?: number;
|
|
2202
|
-
/**
|
|
2203
|
-
* Custom approvals provider id.
|
|
2204
|
-
* @deprecated Custom approvals provider id.
|
|
2205
|
-
* @targetRemovalDate 2024-12-31
|
|
2206
|
-
*/
|
|
2207
|
-
customApprovalsProviderId?: string;
|
|
2208
2196
|
}
|
|
2209
2197
|
/** Type of the field. */
|
|
2210
2198
|
declare enum FieldType$1 {
|
|
@@ -2668,7 +2656,6 @@ interface TurnoverRuleNonNullableFields$1 {
|
|
|
2668
2656
|
}
|
|
2669
2657
|
interface ManualApprovalNonNullableFields$1 {
|
|
2670
2658
|
partySizeThreshold: number;
|
|
2671
|
-
customApprovalsProviderId: string;
|
|
2672
2659
|
enabled: boolean;
|
|
2673
2660
|
}
|
|
2674
2661
|
interface OnlineReservationsNonNullableFields$1 {
|
|
@@ -2968,12 +2955,6 @@ interface TurnoverTimeRule {
|
|
|
2968
2955
|
interface ManualApproval extends ManualApprovalValueOneOf {
|
|
2969
2956
|
/** The minimum party size that requires manual approval. */
|
|
2970
2957
|
partySizeThreshold?: number;
|
|
2971
|
-
/**
|
|
2972
|
-
* Custom approvals provider id.
|
|
2973
|
-
* @deprecated Custom approvals provider id.
|
|
2974
|
-
* @targetRemovalDate 2024-12-31
|
|
2975
|
-
*/
|
|
2976
|
-
customApprovalsProviderId?: string;
|
|
2977
2958
|
/** Whether manual approval is required for online reservations. */
|
|
2978
2959
|
enabled?: boolean;
|
|
2979
2960
|
}
|
|
@@ -2981,12 +2962,6 @@ interface ManualApproval extends ManualApprovalValueOneOf {
|
|
|
2981
2962
|
interface ManualApprovalValueOneOf {
|
|
2982
2963
|
/** The minimum party size that requires manual approval. */
|
|
2983
2964
|
partySizeThreshold?: number;
|
|
2984
|
-
/**
|
|
2985
|
-
* Custom approvals provider id.
|
|
2986
|
-
* @deprecated Custom approvals provider id.
|
|
2987
|
-
* @targetRemovalDate 2024-12-31
|
|
2988
|
-
*/
|
|
2989
|
-
customApprovalsProviderId?: string;
|
|
2990
2965
|
}
|
|
2991
2966
|
/** Type of the field. */
|
|
2992
2967
|
declare enum FieldType {
|
|
@@ -3444,7 +3419,6 @@ interface TurnoverRuleNonNullableFields {
|
|
|
3444
3419
|
}
|
|
3445
3420
|
interface ManualApprovalNonNullableFields {
|
|
3446
3421
|
partySizeThreshold: number;
|
|
3447
|
-
customApprovalsProviderId: string;
|
|
3448
3422
|
enabled: boolean;
|
|
3449
3423
|
}
|
|
3450
3424
|
interface OnlineReservationsNonNullableFields {
|