@wix/table-reservations 1.0.34 → 1.0.36
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/build/cjs/src/table-reservations-v1-reservation-location.public.d.ts +8 -8
- package/build/cjs/src/table-reservations-v1-reservation-location.types.d.ts +11 -36
- package/build/cjs/src/table-reservations-v1-reservation-location.types.js +112 -112
- package/build/cjs/src/table-reservations-v1-reservation-location.types.js.map +1 -1
- package/build/cjs/src/table-reservations-v1-reservation-location.universal.d.ts +13 -37
- package/build/cjs/src/table-reservations-v1-reservation-location.universal.js +112 -112
- package/build/cjs/src/table-reservations-v1-reservation-location.universal.js.map +1 -1
- package/build/cjs/src/table-reservations-v1-reservation.http.d.ts +8 -3
- package/build/cjs/src/table-reservations-v1-reservation.http.js +8 -3
- package/build/cjs/src/table-reservations-v1-reservation.http.js.map +1 -1
- package/build/cjs/src/table-reservations-v1-reservation.types.d.ts +12 -24
- package/build/cjs/src/table-reservations-v1-reservation.types.js +43 -43
- package/build/cjs/src/table-reservations-v1-reservation.types.js.map +1 -1
- package/build/cjs/src/table-reservations-v1-reservation.universal.d.ts +25 -31
- package/build/cjs/src/table-reservations-v1-reservation.universal.js +52 -47
- package/build/cjs/src/table-reservations-v1-reservation.universal.js.map +1 -1
- package/build/cjs/src/table-reservations-v1-time-slot.types.d.ts +4 -12
- package/build/cjs/src/table-reservations-v1-time-slot.types.js +28 -28
- package/build/cjs/src/table-reservations-v1-time-slot.types.js.map +1 -1
- package/build/cjs/src/table-reservations-v1-time-slot.universal.d.ts +4 -12
- package/build/cjs/src/table-reservations-v1-time-slot.universal.js +28 -28
- package/build/cjs/src/table-reservations-v1-time-slot.universal.js.map +1 -1
- package/build/es/src/table-reservations-v1-reservation-location.public.d.ts +8 -8
- package/build/es/src/table-reservations-v1-reservation-location.types.d.ts +11 -36
- package/build/es/src/table-reservations-v1-reservation-location.types.js +112 -123
- package/build/es/src/table-reservations-v1-reservation-location.types.js.map +1 -1
- package/build/es/src/table-reservations-v1-reservation-location.universal.d.ts +13 -37
- package/build/es/src/table-reservations-v1-reservation-location.universal.js +112 -123
- package/build/es/src/table-reservations-v1-reservation-location.universal.js.map +1 -1
- package/build/es/src/table-reservations-v1-reservation.http.d.ts +8 -3
- package/build/es/src/table-reservations-v1-reservation.http.js +8 -3
- package/build/es/src/table-reservations-v1-reservation.http.js.map +1 -1
- package/build/es/src/table-reservations-v1-reservation.types.d.ts +12 -24
- package/build/es/src/table-reservations-v1-reservation.types.js +43 -49
- package/build/es/src/table-reservations-v1-reservation.types.js.map +1 -1
- package/build/es/src/table-reservations-v1-reservation.universal.d.ts +25 -31
- package/build/es/src/table-reservations-v1-reservation.universal.js +52 -53
- package/build/es/src/table-reservations-v1-reservation.universal.js.map +1 -1
- package/build/es/src/table-reservations-v1-time-slot.types.d.ts +4 -12
- package/build/es/src/table-reservations-v1-time-slot.types.js +28 -32
- package/build/es/src/table-reservations-v1-time-slot.types.js.map +1 -1
- package/build/es/src/table-reservations-v1-time-slot.universal.d.ts +4 -12
- package/build/es/src/table-reservations-v1-time-slot.universal.js +28 -32
- package/build/es/src/table-reservations-v1-time-slot.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -8,13 +8,11 @@ export interface TimeSlot {
|
|
|
8
8
|
/** Whether manual approval is required to make a reservation in this time slot. */
|
|
9
9
|
manualApproval?: boolean | null;
|
|
10
10
|
}
|
|
11
|
-
declare enum
|
|
11
|
+
export declare enum Status {
|
|
12
12
|
AVAILABLE = "AVAILABLE",
|
|
13
13
|
UNAVAILABLE = "UNAVAILABLE",
|
|
14
14
|
NON_WORKING_HOURS = "NON_WORKING_HOURS"
|
|
15
15
|
}
|
|
16
|
-
type Status = `${StatusEnum}`;
|
|
17
|
-
export { StatusEnum as Status };
|
|
18
16
|
/** Table combination. */
|
|
19
17
|
export interface TimeSlotTableCombination {
|
|
20
18
|
/** Table IDs of the tables in the combination. */
|
|
@@ -79,15 +77,13 @@ export interface TableConflict {
|
|
|
79
77
|
/** Conflict type. */
|
|
80
78
|
type?: TableConflictType;
|
|
81
79
|
}
|
|
82
|
-
declare enum
|
|
80
|
+
export declare enum TableConflictType {
|
|
83
81
|
UNKNOWN = "UNKNOWN",
|
|
84
82
|
TABLE_RESERVED = "TABLE_RESERVED",
|
|
85
83
|
TABLE_TOO_BIG = "TABLE_TOO_BIG",
|
|
86
84
|
TABLE_TOO_SMALL = "TABLE_TOO_SMALL",
|
|
87
85
|
OFFLINE_ONLY = "OFFLINE_ONLY"
|
|
88
86
|
}
|
|
89
|
-
type TableConflictType = `${TableConflictTypeEnum}`;
|
|
90
|
-
export { TableConflictTypeEnum as TableConflictType };
|
|
91
87
|
export interface TableCombination {
|
|
92
88
|
tableIds?: string[];
|
|
93
89
|
tableCombinationConflicts?: TableCombinationConflict[];
|
|
@@ -96,26 +92,22 @@ export interface TableCombinationConflict {
|
|
|
96
92
|
/** Conflict type. */
|
|
97
93
|
type?: TableCombinationConflictType;
|
|
98
94
|
}
|
|
99
|
-
declare enum
|
|
95
|
+
export declare enum TableCombinationConflictType {
|
|
100
96
|
UNKNOWN = "UNKNOWN",
|
|
101
97
|
RESERVED = "RESERVED",
|
|
102
98
|
TOO_BIG = "TOO_BIG",
|
|
103
99
|
TOO_SMALL = "TOO_SMALL",
|
|
104
100
|
OFFLINE_ONLY = "OFFLINE_ONLY"
|
|
105
101
|
}
|
|
106
|
-
type TableCombinationConflictType = `${TableCombinationConflictTypeEnum}`;
|
|
107
|
-
export { TableCombinationConflictTypeEnum as TableCombinationConflictType };
|
|
108
102
|
export interface ReservationLocationConflict {
|
|
109
103
|
/** Reservation location conflict type. */
|
|
110
104
|
type?: Type;
|
|
111
105
|
}
|
|
112
|
-
declare enum
|
|
106
|
+
export declare enum Type {
|
|
113
107
|
UNKNOWN = "UNKNOWN",
|
|
114
108
|
PARTY_PACING = "PARTY_PACING",
|
|
115
109
|
SEAT_PACING = "SEAT_PACING"
|
|
116
110
|
}
|
|
117
|
-
type Type = `${TypeEnum}`;
|
|
118
|
-
export { TypeEnum as Type };
|
|
119
111
|
export interface GetTimeSlotsResponseNonNullableFields {
|
|
120
112
|
timeSlots: {
|
|
121
113
|
duration: number;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Type = exports.TableCombinationConflictType = exports.TableConflictType = exports.Status = void 0;
|
|
4
|
-
var
|
|
5
|
-
(function (
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
})(
|
|
10
|
-
var
|
|
11
|
-
(function (
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
})(
|
|
18
|
-
var
|
|
19
|
-
(function (
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
})(
|
|
26
|
-
var
|
|
27
|
-
(function (
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
})(
|
|
4
|
+
var Status;
|
|
5
|
+
(function (Status) {
|
|
6
|
+
Status["AVAILABLE"] = "AVAILABLE";
|
|
7
|
+
Status["UNAVAILABLE"] = "UNAVAILABLE";
|
|
8
|
+
Status["NON_WORKING_HOURS"] = "NON_WORKING_HOURS";
|
|
9
|
+
})(Status || (exports.Status = Status = {}));
|
|
10
|
+
var TableConflictType;
|
|
11
|
+
(function (TableConflictType) {
|
|
12
|
+
TableConflictType["UNKNOWN"] = "UNKNOWN";
|
|
13
|
+
TableConflictType["TABLE_RESERVED"] = "TABLE_RESERVED";
|
|
14
|
+
TableConflictType["TABLE_TOO_BIG"] = "TABLE_TOO_BIG";
|
|
15
|
+
TableConflictType["TABLE_TOO_SMALL"] = "TABLE_TOO_SMALL";
|
|
16
|
+
TableConflictType["OFFLINE_ONLY"] = "OFFLINE_ONLY";
|
|
17
|
+
})(TableConflictType || (exports.TableConflictType = TableConflictType = {}));
|
|
18
|
+
var TableCombinationConflictType;
|
|
19
|
+
(function (TableCombinationConflictType) {
|
|
20
|
+
TableCombinationConflictType["UNKNOWN"] = "UNKNOWN";
|
|
21
|
+
TableCombinationConflictType["RESERVED"] = "RESERVED";
|
|
22
|
+
TableCombinationConflictType["TOO_BIG"] = "TOO_BIG";
|
|
23
|
+
TableCombinationConflictType["TOO_SMALL"] = "TOO_SMALL";
|
|
24
|
+
TableCombinationConflictType["OFFLINE_ONLY"] = "OFFLINE_ONLY";
|
|
25
|
+
})(TableCombinationConflictType || (exports.TableCombinationConflictType = TableCombinationConflictType = {}));
|
|
26
|
+
var Type;
|
|
27
|
+
(function (Type) {
|
|
28
|
+
Type["UNKNOWN"] = "UNKNOWN";
|
|
29
|
+
Type["PARTY_PACING"] = "PARTY_PACING";
|
|
30
|
+
Type["SEAT_PACING"] = "SEAT_PACING";
|
|
31
|
+
})(Type || (exports.Type = Type = {}));
|
|
32
32
|
//# sourceMappingURL=table-reservations-v1-time-slot.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-reservations-v1-time-slot.types.js","sourceRoot":"","sources":["../../../src/table-reservations-v1-time-slot.types.ts"],"names":[],"mappings":";;;AAWA,
|
|
1
|
+
{"version":3,"file":"table-reservations-v1-time-slot.types.js","sourceRoot":"","sources":["../../../src/table-reservations-v1-time-slot.types.ts"],"names":[],"mappings":";;;AAWA,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,iCAAuB,CAAA;IACvB,qCAA2B,CAAA;IAC3B,iDAAuC,CAAA;AACzC,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAyED,IAAY,iBAMX;AAND,WAAY,iBAAiB;IAC3B,wCAAmB,CAAA;IACnB,sDAAiC,CAAA;IACjC,oDAA+B,CAAA;IAC/B,wDAAmC,CAAA;IACnC,kDAA6B,CAAA;AAC/B,CAAC,EANW,iBAAiB,iCAAjB,iBAAiB,QAM5B;AAYD,IAAY,4BAMX;AAND,WAAY,4BAA4B;IACtC,mDAAmB,CAAA;IACnB,qDAAqB,CAAA;IACrB,mDAAmB,CAAA;IACnB,uDAAuB,CAAA;IACvB,6DAA6B,CAAA;AAC/B,CAAC,EANW,4BAA4B,4CAA5B,4BAA4B,QAMvC;AAOD,IAAY,IAIX;AAJD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,qCAA6B,CAAA;IAC7B,mCAA2B,CAAA;AAC7B,CAAC,EAJW,IAAI,oBAAJ,IAAI,QAIf"}
|
|
@@ -14,13 +14,11 @@ export interface TimeSlot {
|
|
|
14
14
|
/** Whether manual approval is required to make a reservation in this time slot. */
|
|
15
15
|
manualApproval?: boolean | null;
|
|
16
16
|
}
|
|
17
|
-
declare enum
|
|
17
|
+
export declare enum Status {
|
|
18
18
|
AVAILABLE = "AVAILABLE",
|
|
19
19
|
UNAVAILABLE = "UNAVAILABLE",
|
|
20
20
|
NON_WORKING_HOURS = "NON_WORKING_HOURS"
|
|
21
21
|
}
|
|
22
|
-
type Status = `${StatusEnum}`;
|
|
23
|
-
export { StatusEnum as Status };
|
|
24
22
|
/** Table combination. */
|
|
25
23
|
export interface TimeSlotTableCombination {
|
|
26
24
|
/** Table IDs of the tables in the combination. */
|
|
@@ -85,15 +83,13 @@ export interface TableConflict {
|
|
|
85
83
|
/** Conflict type. */
|
|
86
84
|
type?: TableConflictType;
|
|
87
85
|
}
|
|
88
|
-
declare enum
|
|
86
|
+
export declare enum TableConflictType {
|
|
89
87
|
UNKNOWN = "UNKNOWN",
|
|
90
88
|
TABLE_RESERVED = "TABLE_RESERVED",
|
|
91
89
|
TABLE_TOO_BIG = "TABLE_TOO_BIG",
|
|
92
90
|
TABLE_TOO_SMALL = "TABLE_TOO_SMALL",
|
|
93
91
|
OFFLINE_ONLY = "OFFLINE_ONLY"
|
|
94
92
|
}
|
|
95
|
-
type TableConflictType = `${TableConflictTypeEnum}`;
|
|
96
|
-
export { TableConflictTypeEnum as TableConflictType };
|
|
97
93
|
export interface TableCombination {
|
|
98
94
|
tableIds?: string[];
|
|
99
95
|
tableCombinationConflicts?: TableCombinationConflict[];
|
|
@@ -102,26 +98,22 @@ export interface TableCombinationConflict {
|
|
|
102
98
|
/** Conflict type. */
|
|
103
99
|
type?: TableCombinationConflictType;
|
|
104
100
|
}
|
|
105
|
-
declare enum
|
|
101
|
+
export declare enum TableCombinationConflictType {
|
|
106
102
|
UNKNOWN = "UNKNOWN",
|
|
107
103
|
RESERVED = "RESERVED",
|
|
108
104
|
TOO_BIG = "TOO_BIG",
|
|
109
105
|
TOO_SMALL = "TOO_SMALL",
|
|
110
106
|
OFFLINE_ONLY = "OFFLINE_ONLY"
|
|
111
107
|
}
|
|
112
|
-
type TableCombinationConflictType = `${TableCombinationConflictTypeEnum}`;
|
|
113
|
-
export { TableCombinationConflictTypeEnum as TableCombinationConflictType };
|
|
114
108
|
export interface ReservationLocationConflict {
|
|
115
109
|
/** Reservation location conflict type. */
|
|
116
110
|
type?: Type;
|
|
117
111
|
}
|
|
118
|
-
declare enum
|
|
112
|
+
export declare enum Type {
|
|
119
113
|
UNKNOWN = "UNKNOWN",
|
|
120
114
|
PARTY_PACING = "PARTY_PACING",
|
|
121
115
|
SEAT_PACING = "SEAT_PACING"
|
|
122
116
|
}
|
|
123
|
-
type Type = `${TypeEnum}`;
|
|
124
|
-
export { TypeEnum as Type };
|
|
125
117
|
export interface GetTimeSlotsResponseNonNullableFields {
|
|
126
118
|
timeSlots: {
|
|
127
119
|
duration: number;
|
|
@@ -50,34 +50,34 @@ exports.__debug = {
|
|
|
50
50
|
};
|
|
51
51
|
const _toVeloEntity = '$';
|
|
52
52
|
const _fromVeloEntity = '$';
|
|
53
|
-
var
|
|
54
|
-
(function (
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
})(
|
|
59
|
-
var
|
|
60
|
-
(function (
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
})(
|
|
67
|
-
var
|
|
68
|
-
(function (
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
})(
|
|
75
|
-
var
|
|
76
|
-
(function (
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
})(
|
|
53
|
+
var Status;
|
|
54
|
+
(function (Status) {
|
|
55
|
+
Status["AVAILABLE"] = "AVAILABLE";
|
|
56
|
+
Status["UNAVAILABLE"] = "UNAVAILABLE";
|
|
57
|
+
Status["NON_WORKING_HOURS"] = "NON_WORKING_HOURS";
|
|
58
|
+
})(Status || (exports.Status = Status = {}));
|
|
59
|
+
var TableConflictType;
|
|
60
|
+
(function (TableConflictType) {
|
|
61
|
+
TableConflictType["UNKNOWN"] = "UNKNOWN";
|
|
62
|
+
TableConflictType["TABLE_RESERVED"] = "TABLE_RESERVED";
|
|
63
|
+
TableConflictType["TABLE_TOO_BIG"] = "TABLE_TOO_BIG";
|
|
64
|
+
TableConflictType["TABLE_TOO_SMALL"] = "TABLE_TOO_SMALL";
|
|
65
|
+
TableConflictType["OFFLINE_ONLY"] = "OFFLINE_ONLY";
|
|
66
|
+
})(TableConflictType || (exports.TableConflictType = TableConflictType = {}));
|
|
67
|
+
var TableCombinationConflictType;
|
|
68
|
+
(function (TableCombinationConflictType) {
|
|
69
|
+
TableCombinationConflictType["UNKNOWN"] = "UNKNOWN";
|
|
70
|
+
TableCombinationConflictType["RESERVED"] = "RESERVED";
|
|
71
|
+
TableCombinationConflictType["TOO_BIG"] = "TOO_BIG";
|
|
72
|
+
TableCombinationConflictType["TOO_SMALL"] = "TOO_SMALL";
|
|
73
|
+
TableCombinationConflictType["OFFLINE_ONLY"] = "OFFLINE_ONLY";
|
|
74
|
+
})(TableCombinationConflictType || (exports.TableCombinationConflictType = TableCombinationConflictType = {}));
|
|
75
|
+
var Type;
|
|
76
|
+
(function (Type) {
|
|
77
|
+
Type["UNKNOWN"] = "UNKNOWN";
|
|
78
|
+
Type["PARTY_PACING"] = "PARTY_PACING";
|
|
79
|
+
Type["SEAT_PACING"] = "SEAT_PACING";
|
|
80
|
+
})(Type || (exports.Type = Type = {}));
|
|
81
81
|
const _getTimeSlotsRequest = {};
|
|
82
82
|
const _getTimeSlotsResponse = {};
|
|
83
83
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-reservations-v1-time-slot.universal.js","sourceRoot":"","sources":["../../../src/table-reservations-v1-time-slot.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAqE;AAErE,iHAAmG;AAEnG,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAa5B,
|
|
1
|
+
{"version":3,"file":"table-reservations-v1-time-slot.universal.js","sourceRoot":"","sources":["../../../src/table-reservations-v1-time-slot.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAqE;AAErE,iHAAmG;AAEnG,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG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,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;QACtC,CAAC;QAAC,OAAO,GAAQ,EAAE,CAAC;YAClB,MAAM,gBAAgB,GAAG,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,uBAAuB;gBACvB,MAAM;gBACN,WAAW;gBACX,SAAS;aACV,CAAC,CAAC;YACH,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,4DAAG,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;QACzB,CAAC;;CACF;AAvED,oCAuEC"}
|
|
@@ -20,7 +20,7 @@ export declare function getReservationLocation(httpClient: HttpClient): (reserva
|
|
|
20
20
|
} | undefined;
|
|
21
21
|
minimumReservationNotice?: {
|
|
22
22
|
number: number;
|
|
23
|
-
unit: "
|
|
23
|
+
unit: import("./table-reservations-v1-reservation-location.universal").Unit;
|
|
24
24
|
} | undefined;
|
|
25
25
|
turnoverTimeRules: {
|
|
26
26
|
seatsMin: number;
|
|
@@ -29,9 +29,9 @@ export declare function getReservationLocation(httpClient: HttpClient): (reserva
|
|
|
29
29
|
}[];
|
|
30
30
|
businessSchedule?: {
|
|
31
31
|
periods: {
|
|
32
|
-
openDay: "
|
|
32
|
+
openDay: import("./table-reservations-v1-reservation-location.universal").DayOfWeek;
|
|
33
33
|
openTime: string;
|
|
34
|
-
closeDay: "
|
|
34
|
+
closeDay: import("./table-reservations-v1-reservation-location.universal").DayOfWeek;
|
|
35
35
|
closeTime: string;
|
|
36
36
|
}[];
|
|
37
37
|
specialHourPeriod: {
|
|
@@ -65,7 +65,7 @@ export declare function getReservationLocation(httpClient: HttpClient): (reserva
|
|
|
65
65
|
} | undefined;
|
|
66
66
|
} | undefined;
|
|
67
67
|
myReservationsFields: {
|
|
68
|
-
fieldType: "
|
|
68
|
+
fieldType: import("./table-reservations-v1-reservation-location.universal").FieldType;
|
|
69
69
|
shown: boolean;
|
|
70
70
|
}[];
|
|
71
71
|
tableManagement?: {
|
|
@@ -103,7 +103,7 @@ export declare function updateReservationLocation(httpClient: HttpClient): (_id:
|
|
|
103
103
|
} | undefined;
|
|
104
104
|
minimumReservationNotice?: {
|
|
105
105
|
number: number;
|
|
106
|
-
unit: "
|
|
106
|
+
unit: import("./table-reservations-v1-reservation-location.universal").Unit;
|
|
107
107
|
} | undefined;
|
|
108
108
|
turnoverTimeRules: {
|
|
109
109
|
seatsMin: number;
|
|
@@ -112,9 +112,9 @@ export declare function updateReservationLocation(httpClient: HttpClient): (_id:
|
|
|
112
112
|
}[];
|
|
113
113
|
businessSchedule?: {
|
|
114
114
|
periods: {
|
|
115
|
-
openDay: "
|
|
115
|
+
openDay: import("./table-reservations-v1-reservation-location.universal").DayOfWeek;
|
|
116
116
|
openTime: string;
|
|
117
|
-
closeDay: "
|
|
117
|
+
closeDay: import("./table-reservations-v1-reservation-location.universal").DayOfWeek;
|
|
118
118
|
closeTime: string;
|
|
119
119
|
}[];
|
|
120
120
|
specialHourPeriod: {
|
|
@@ -148,7 +148,7 @@ export declare function updateReservationLocation(httpClient: HttpClient): (_id:
|
|
|
148
148
|
} | undefined;
|
|
149
149
|
} | undefined;
|
|
150
150
|
myReservationsFields: {
|
|
151
|
-
fieldType: "
|
|
151
|
+
fieldType: import("./table-reservations-v1-reservation-location.universal").FieldType;
|
|
152
152
|
shown: boolean;
|
|
153
153
|
}[];
|
|
154
154
|
tableManagement?: {
|
|
@@ -109,7 +109,7 @@ export interface TimePeriod {
|
|
|
109
109
|
closeTime?: string;
|
|
110
110
|
}
|
|
111
111
|
/** Enumerates the days of the week. */
|
|
112
|
-
declare enum
|
|
112
|
+
export declare enum DayOfWeek {
|
|
113
113
|
MONDAY = "MONDAY",
|
|
114
114
|
TUESDAY = "TUESDAY",
|
|
115
115
|
WEDNESDAY = "WEDNESDAY",
|
|
@@ -118,9 +118,6 @@ declare enum DayOfWeekEnum {
|
|
|
118
118
|
SATURDAY = "SATURDAY",
|
|
119
119
|
SUNDAY = "SUNDAY"
|
|
120
120
|
}
|
|
121
|
-
/** Enumerates the days of the week. */
|
|
122
|
-
type DayOfWeek = `${DayOfWeekEnum}`;
|
|
123
|
-
export { DayOfWeekEnum as DayOfWeek };
|
|
124
121
|
/** Set of time periods when a location's operational hours differ from its normal business hours. */
|
|
125
122
|
export interface SpecialHourPeriod {
|
|
126
123
|
/** Start date and time in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#combined_date_and_time_representations) format. */
|
|
@@ -162,14 +159,12 @@ export interface TableCombination {
|
|
|
162
159
|
/** Whether the table combination is active (available to be reserved). */
|
|
163
160
|
isActive?: boolean | null;
|
|
164
161
|
}
|
|
165
|
-
declare enum
|
|
162
|
+
export declare enum Unit {
|
|
166
163
|
UNKNOWN = "UNKNOWN",
|
|
167
164
|
MINUTES = "MINUTES",
|
|
168
165
|
HOURS = "HOURS",
|
|
169
166
|
DAYS = "DAYS"
|
|
170
167
|
}
|
|
171
|
-
type Unit = `${UnitEnum}`;
|
|
172
|
-
export { UnitEnum as Unit };
|
|
173
168
|
/**
|
|
174
169
|
* Seat pacing.
|
|
175
170
|
* The maximum number of seats that can be filled by new reservations within a 15-minute period.
|
|
@@ -248,7 +243,7 @@ export interface ManualApprovalValueOneOf {
|
|
|
248
243
|
partySizeThreshold?: number;
|
|
249
244
|
}
|
|
250
245
|
/** Type of the field. */
|
|
251
|
-
declare enum
|
|
246
|
+
export declare enum FieldType {
|
|
252
247
|
UNKNOWN = "UNKNOWN",
|
|
253
248
|
TABLE = "TABLE",
|
|
254
249
|
START_DATE = "START_DATE",
|
|
@@ -265,9 +260,6 @@ declare enum FieldTypeEnum {
|
|
|
265
260
|
CUSTOM_FIELD = "CUSTOM_FIELD",
|
|
266
261
|
STATUS = "STATUS"
|
|
267
262
|
}
|
|
268
|
-
/** Type of the field. */
|
|
269
|
-
type FieldType = `${FieldTypeEnum}`;
|
|
270
|
-
export { FieldTypeEnum as FieldType };
|
|
271
263
|
export interface PageUrlV2 {
|
|
272
264
|
/** The path to that page - e.g /product-page/a-product */
|
|
273
265
|
relativePath?: string;
|
|
@@ -521,12 +513,10 @@ export interface GetReservationLocationRequest {
|
|
|
521
513
|
*/
|
|
522
514
|
fieldsets?: Set[];
|
|
523
515
|
}
|
|
524
|
-
declare enum
|
|
516
|
+
export declare enum Set {
|
|
525
517
|
PUBLIC = "PUBLIC",
|
|
526
518
|
FULL = "FULL"
|
|
527
519
|
}
|
|
528
|
-
type Set = `${SetEnum}`;
|
|
529
|
-
export { SetEnum as Set };
|
|
530
520
|
export interface GetReservationLocationResponse {
|
|
531
521
|
/** The retrieved reservation location. */
|
|
532
522
|
reservationLocation?: ReservationLocation;
|
|
@@ -592,12 +582,10 @@ export interface Sorting {
|
|
|
592
582
|
*/
|
|
593
583
|
order?: SortOrder;
|
|
594
584
|
}
|
|
595
|
-
declare enum
|
|
585
|
+
export declare enum SortOrder {
|
|
596
586
|
ASC = "ASC",
|
|
597
587
|
DESC = "DESC"
|
|
598
588
|
}
|
|
599
|
-
type SortOrder = `${SortOrderEnum}`;
|
|
600
|
-
export { SortOrderEnum as SortOrder };
|
|
601
589
|
export interface Paging {
|
|
602
590
|
/** Number of items to load. */
|
|
603
591
|
limit?: number | null;
|
|
@@ -676,15 +664,13 @@ export interface MigrateOldRestaurantSettingsRequest {
|
|
|
676
664
|
/** Override not default. */
|
|
677
665
|
overrideNotDefault?: boolean;
|
|
678
666
|
}
|
|
679
|
-
declare enum
|
|
667
|
+
export declare enum Mode {
|
|
680
668
|
/** DRY RUN. */
|
|
681
669
|
UNDEFINED = "UNDEFINED",
|
|
682
670
|
DRY_RUN = "DRY_RUN",
|
|
683
671
|
MIGRATE = "MIGRATE",
|
|
684
672
|
FORCE_MIGRATE = "FORCE_MIGRATE"
|
|
685
673
|
}
|
|
686
|
-
type Mode = `${ModeEnum}`;
|
|
687
|
-
export { ModeEnum as Mode };
|
|
688
674
|
export interface MigrateOldRestaurantSettingsResponse {
|
|
689
675
|
/** Migration results. */
|
|
690
676
|
migrationResults?: MigrationResult[];
|
|
@@ -865,15 +851,13 @@ export interface Asset {
|
|
|
865
851
|
instanceId?: string;
|
|
866
852
|
state?: State;
|
|
867
853
|
}
|
|
868
|
-
declare enum
|
|
854
|
+
export declare enum State {
|
|
869
855
|
UNKNOWN = "UNKNOWN",
|
|
870
856
|
ENABLED = "ENABLED",
|
|
871
857
|
DISABLED = "DISABLED",
|
|
872
858
|
PENDING = "PENDING",
|
|
873
859
|
DEMO = "DEMO"
|
|
874
860
|
}
|
|
875
|
-
type State = `${StateEnum}`;
|
|
876
|
-
export { StateEnum as State };
|
|
877
861
|
export interface SiteCreated {
|
|
878
862
|
originTemplateId?: string;
|
|
879
863
|
ownerId?: string;
|
|
@@ -888,7 +872,7 @@ export interface SiteCreated {
|
|
|
888
872
|
siteName?: string;
|
|
889
873
|
namespace?: Namespace;
|
|
890
874
|
}
|
|
891
|
-
declare enum
|
|
875
|
+
export declare enum SiteCreatedContext {
|
|
892
876
|
/** A valid option, we don't expose all reasons why site might be created. */
|
|
893
877
|
OTHER = "OTHER",
|
|
894
878
|
/** A meta site was created from template. */
|
|
@@ -902,9 +886,7 @@ declare enum SiteCreatedContextEnum {
|
|
|
902
886
|
/** deprecated A meta site was created for Flash editor. */
|
|
903
887
|
FLASH = "FLASH"
|
|
904
888
|
}
|
|
905
|
-
|
|
906
|
-
export { SiteCreatedContextEnum as SiteCreatedContext };
|
|
907
|
-
declare enum NamespaceEnum {
|
|
889
|
+
export declare enum Namespace {
|
|
908
890
|
UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
|
|
909
891
|
/** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
|
|
910
892
|
WIX = "WIX",
|
|
@@ -958,8 +940,6 @@ declare enum NamespaceEnum {
|
|
|
958
940
|
/** Rise.ai Siteless account management for Gift Cards and Store Credit. */
|
|
959
941
|
RISE = "RISE"
|
|
960
942
|
}
|
|
961
|
-
type Namespace = `${NamespaceEnum}`;
|
|
962
|
-
export { NamespaceEnum as Namespace };
|
|
963
943
|
/** Site transferred to another user. */
|
|
964
944
|
export interface SiteTransferred {
|
|
965
945
|
/** A previous owner id (user that transfers meta site). */
|
|
@@ -977,14 +957,12 @@ export interface DeleteContext {
|
|
|
977
957
|
deleteOrigin?: string;
|
|
978
958
|
initiatorId?: string | null;
|
|
979
959
|
}
|
|
980
|
-
declare enum
|
|
960
|
+
export declare enum DeleteStatus {
|
|
981
961
|
UNKNOWN = "UNKNOWN",
|
|
982
962
|
TRASH = "TRASH",
|
|
983
963
|
DELETED = "DELETED",
|
|
984
964
|
PENDING_PURGE = "PENDING_PURGE"
|
|
985
965
|
}
|
|
986
|
-
type DeleteStatus = `${DeleteStatusEnum}`;
|
|
987
|
-
export { DeleteStatusEnum as DeleteStatus };
|
|
988
966
|
/** Restoration of the meta site. */
|
|
989
967
|
export interface SiteUndeleted {
|
|
990
968
|
}
|
|
@@ -1253,7 +1231,7 @@ export interface QuotaFeature {
|
|
|
1253
1231
|
units?: string | null;
|
|
1254
1232
|
}
|
|
1255
1233
|
/** Determines the reset cycle of the feature usage. */
|
|
1256
|
-
declare enum
|
|
1234
|
+
export declare enum FeaturePeriod {
|
|
1257
1235
|
NO_PERIOD = "NO_PERIOD",
|
|
1258
1236
|
MILLISECOND = "MILLISECOND",
|
|
1259
1237
|
SECOND = "SECOND",
|
|
@@ -1264,9 +1242,6 @@ declare enum FeaturePeriodEnum {
|
|
|
1264
1242
|
MONTH = "MONTH",
|
|
1265
1243
|
YEAR = "YEAR"
|
|
1266
1244
|
}
|
|
1267
|
-
/** Determines the reset cycle of the feature usage. */
|
|
1268
|
-
type FeaturePeriod = `${FeaturePeriodEnum}`;
|
|
1269
|
-
export { FeaturePeriodEnum as FeaturePeriod };
|
|
1270
1245
|
export interface QuotaInfo {
|
|
1271
1246
|
/**
|
|
1272
1247
|
* How often the customer is allowed to use the feature during the specified
|