@wix/table-reservations 1.0.31 → 1.0.33
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 +36 -11
- package/build/cjs/src/table-reservations-v1-reservation-location.types.js +123 -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 +37 -13
- package/build/cjs/src/table-reservations-v1-reservation-location.universal.js +123 -112
- package/build/cjs/src/table-reservations-v1-reservation-location.universal.js.map +1 -1
- package/build/cjs/src/table-reservations-v1-reservation.types.d.ts +18 -6
- package/build/cjs/src/table-reservations-v1-reservation.types.js +49 -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 +18 -7
- package/build/cjs/src/table-reservations-v1-reservation.universal.js +49 -43
- 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 +12 -4
- package/build/cjs/src/table-reservations-v1-time-slot.types.js +32 -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 +12 -4
- package/build/cjs/src/table-reservations-v1-time-slot.universal.js +32 -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 +36 -11
- package/build/es/src/table-reservations-v1-reservation-location.types.js +123 -112
- 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 +37 -13
- package/build/es/src/table-reservations-v1-reservation-location.universal.js +123 -112
- package/build/es/src/table-reservations-v1-reservation-location.universal.js.map +1 -1
- package/build/es/src/table-reservations-v1-reservation.types.d.ts +18 -6
- package/build/es/src/table-reservations-v1-reservation.types.js +49 -43
- package/build/es/src/table-reservations-v1-reservation.types.js.map +1 -1
- package/build/es/src/table-reservations-v1-reservation.universal.d.ts +18 -7
- package/build/es/src/table-reservations-v1-reservation.universal.js +49 -43
- package/build/es/src/table-reservations-v1-reservation.universal.js.map +1 -1
- package/build/es/src/table-reservations-v1-time-slot.public.js.map +1 -1
- package/build/es/src/table-reservations-v1-time-slot.types.d.ts +12 -4
- package/build/es/src/table-reservations-v1-time-slot.types.js +32 -28
- 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 +12 -4
- package/build/es/src/table-reservations-v1-time-slot.universal.js +32 -28
- package/build/es/src/table-reservations-v1-time-slot.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -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: "UNKNOWN" | "MINUTES" | "HOURS" | "DAYS";
|
|
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: "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY";
|
|
33
33
|
openTime: string;
|
|
34
|
-
closeDay:
|
|
34
|
+
closeDay: "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY";
|
|
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: "UNKNOWN" | "TABLE" | "START_DATE" | "END_DATE" | "CREATED_DATE" | "UPDATED_DATE" | "PARTY_SIZE" | "FIRST_NAME" | "LAST_NAME" | "EMAIL" | "PHONE" | "ADDITIONAL_INFO" | "TEAM_MESSAGE" | "CUSTOM_FIELD" | "STATUS";
|
|
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: "UNKNOWN" | "MINUTES" | "HOURS" | "DAYS";
|
|
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: "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY";
|
|
116
116
|
openTime: string;
|
|
117
|
-
closeDay:
|
|
117
|
+
closeDay: "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY";
|
|
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: "UNKNOWN" | "TABLE" | "START_DATE" | "END_DATE" | "CREATED_DATE" | "UPDATED_DATE" | "PARTY_SIZE" | "FIRST_NAME" | "LAST_NAME" | "EMAIL" | "PHONE" | "ADDITIONAL_INFO" | "TEAM_MESSAGE" | "CUSTOM_FIELD" | "STATUS";
|
|
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
|
-
|
|
112
|
+
declare enum DayOfWeekEnum {
|
|
113
113
|
MONDAY = "MONDAY",
|
|
114
114
|
TUESDAY = "TUESDAY",
|
|
115
115
|
WEDNESDAY = "WEDNESDAY",
|
|
@@ -118,6 +118,9 @@ export declare enum DayOfWeek {
|
|
|
118
118
|
SATURDAY = "SATURDAY",
|
|
119
119
|
SUNDAY = "SUNDAY"
|
|
120
120
|
}
|
|
121
|
+
/** Enumerates the days of the week. */
|
|
122
|
+
declare type DayOfWeek = `${DayOfWeekEnum}`;
|
|
123
|
+
export { DayOfWeekEnum as DayOfWeek };
|
|
121
124
|
/** Set of time periods when a location's operational hours differ from its normal business hours. */
|
|
122
125
|
export interface SpecialHourPeriod {
|
|
123
126
|
/** Start date and time in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#combined_date_and_time_representations) format. */
|
|
@@ -159,12 +162,14 @@ export interface TableCombination {
|
|
|
159
162
|
/** Whether the table combination is active (available to be reserved). */
|
|
160
163
|
isActive?: boolean | null;
|
|
161
164
|
}
|
|
162
|
-
|
|
165
|
+
declare enum UnitEnum {
|
|
163
166
|
UNKNOWN = "UNKNOWN",
|
|
164
167
|
MINUTES = "MINUTES",
|
|
165
168
|
HOURS = "HOURS",
|
|
166
169
|
DAYS = "DAYS"
|
|
167
170
|
}
|
|
171
|
+
declare type Unit = `${UnitEnum}`;
|
|
172
|
+
export { UnitEnum as Unit };
|
|
168
173
|
/**
|
|
169
174
|
* Seat pacing.
|
|
170
175
|
* The maximum number of seats that can be filled by new reservations within a 15-minute period.
|
|
@@ -243,7 +248,7 @@ export interface ManualApprovalValueOneOf {
|
|
|
243
248
|
partySizeThreshold?: number;
|
|
244
249
|
}
|
|
245
250
|
/** Type of the field. */
|
|
246
|
-
|
|
251
|
+
declare enum FieldTypeEnum {
|
|
247
252
|
UNKNOWN = "UNKNOWN",
|
|
248
253
|
TABLE = "TABLE",
|
|
249
254
|
START_DATE = "START_DATE",
|
|
@@ -260,6 +265,9 @@ export declare enum FieldType {
|
|
|
260
265
|
CUSTOM_FIELD = "CUSTOM_FIELD",
|
|
261
266
|
STATUS = "STATUS"
|
|
262
267
|
}
|
|
268
|
+
/** Type of the field. */
|
|
269
|
+
declare type FieldType = `${FieldTypeEnum}`;
|
|
270
|
+
export { FieldTypeEnum as FieldType };
|
|
263
271
|
export interface PageUrlV2 {
|
|
264
272
|
/** The path to that page - e.g /product-page/a-product */
|
|
265
273
|
relativePath?: string;
|
|
@@ -513,10 +521,12 @@ export interface GetReservationLocationRequest {
|
|
|
513
521
|
*/
|
|
514
522
|
fieldsets?: Set[];
|
|
515
523
|
}
|
|
516
|
-
|
|
524
|
+
declare enum SetEnum {
|
|
517
525
|
PUBLIC = "PUBLIC",
|
|
518
526
|
FULL = "FULL"
|
|
519
527
|
}
|
|
528
|
+
declare type Set = `${SetEnum}`;
|
|
529
|
+
export { SetEnum as Set };
|
|
520
530
|
export interface GetReservationLocationResponse {
|
|
521
531
|
/** The retrieved reservation location. */
|
|
522
532
|
reservationLocation?: ReservationLocation;
|
|
@@ -582,10 +592,12 @@ export interface Sorting {
|
|
|
582
592
|
*/
|
|
583
593
|
order?: SortOrder;
|
|
584
594
|
}
|
|
585
|
-
|
|
595
|
+
declare enum SortOrderEnum {
|
|
586
596
|
ASC = "ASC",
|
|
587
597
|
DESC = "DESC"
|
|
588
598
|
}
|
|
599
|
+
declare type SortOrder = `${SortOrderEnum}`;
|
|
600
|
+
export { SortOrderEnum as SortOrder };
|
|
589
601
|
export interface Paging {
|
|
590
602
|
/** Number of items to load. */
|
|
591
603
|
limit?: number | null;
|
|
@@ -664,13 +676,15 @@ export interface MigrateOldRestaurantSettingsRequest {
|
|
|
664
676
|
/** Override not default. */
|
|
665
677
|
overrideNotDefault?: boolean;
|
|
666
678
|
}
|
|
667
|
-
|
|
679
|
+
declare enum ModeEnum {
|
|
668
680
|
/** DRY RUN. */
|
|
669
681
|
UNDEFINED = "UNDEFINED",
|
|
670
682
|
DRY_RUN = "DRY_RUN",
|
|
671
683
|
MIGRATE = "MIGRATE",
|
|
672
684
|
FORCE_MIGRATE = "FORCE_MIGRATE"
|
|
673
685
|
}
|
|
686
|
+
declare type Mode = `${ModeEnum}`;
|
|
687
|
+
export { ModeEnum as Mode };
|
|
674
688
|
export interface MigrateOldRestaurantSettingsResponse {
|
|
675
689
|
/** Migration results. */
|
|
676
690
|
migrationResults?: MigrationResult[];
|
|
@@ -851,13 +865,15 @@ export interface Asset {
|
|
|
851
865
|
instanceId?: string;
|
|
852
866
|
state?: State;
|
|
853
867
|
}
|
|
854
|
-
|
|
868
|
+
declare enum StateEnum {
|
|
855
869
|
UNKNOWN = "UNKNOWN",
|
|
856
870
|
ENABLED = "ENABLED",
|
|
857
871
|
DISABLED = "DISABLED",
|
|
858
872
|
PENDING = "PENDING",
|
|
859
873
|
DEMO = "DEMO"
|
|
860
874
|
}
|
|
875
|
+
declare type State = `${StateEnum}`;
|
|
876
|
+
export { StateEnum as State };
|
|
861
877
|
export interface SiteCreated {
|
|
862
878
|
originTemplateId?: string;
|
|
863
879
|
ownerId?: string;
|
|
@@ -872,7 +888,7 @@ export interface SiteCreated {
|
|
|
872
888
|
siteName?: string;
|
|
873
889
|
namespace?: Namespace;
|
|
874
890
|
}
|
|
875
|
-
|
|
891
|
+
declare enum SiteCreatedContextEnum {
|
|
876
892
|
/** A valid option, we don't expose all reasons why site might be created. */
|
|
877
893
|
OTHER = "OTHER",
|
|
878
894
|
/** A meta site was created from template. */
|
|
@@ -886,7 +902,9 @@ export declare enum SiteCreatedContext {
|
|
|
886
902
|
/** deprecated A meta site was created for Flash editor. */
|
|
887
903
|
FLASH = "FLASH"
|
|
888
904
|
}
|
|
889
|
-
|
|
905
|
+
declare type SiteCreatedContext = `${SiteCreatedContextEnum}`;
|
|
906
|
+
export { SiteCreatedContextEnum as SiteCreatedContext };
|
|
907
|
+
declare enum NamespaceEnum {
|
|
890
908
|
UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
|
|
891
909
|
/** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
|
|
892
910
|
WIX = "WIX",
|
|
@@ -940,6 +958,8 @@ export declare enum Namespace {
|
|
|
940
958
|
/** Rise.ai Siteless account management for Gift Cards and Store Credit. */
|
|
941
959
|
RISE = "RISE"
|
|
942
960
|
}
|
|
961
|
+
declare type Namespace = `${NamespaceEnum}`;
|
|
962
|
+
export { NamespaceEnum as Namespace };
|
|
943
963
|
/** Site transferred to another user. */
|
|
944
964
|
export interface SiteTransferred {
|
|
945
965
|
/** A previous owner id (user that transfers meta site). */
|
|
@@ -957,12 +977,14 @@ export interface DeleteContext {
|
|
|
957
977
|
deleteOrigin?: string;
|
|
958
978
|
initiatorId?: string | null;
|
|
959
979
|
}
|
|
960
|
-
|
|
980
|
+
declare enum DeleteStatusEnum {
|
|
961
981
|
UNKNOWN = "UNKNOWN",
|
|
962
982
|
TRASH = "TRASH",
|
|
963
983
|
DELETED = "DELETED",
|
|
964
984
|
PENDING_PURGE = "PENDING_PURGE"
|
|
965
985
|
}
|
|
986
|
+
declare type DeleteStatus = `${DeleteStatusEnum}`;
|
|
987
|
+
export { DeleteStatusEnum as DeleteStatus };
|
|
966
988
|
/** Restoration of the meta site. */
|
|
967
989
|
export interface SiteUndeleted {
|
|
968
990
|
}
|
|
@@ -1231,7 +1253,7 @@ export interface QuotaFeature {
|
|
|
1231
1253
|
units?: string | null;
|
|
1232
1254
|
}
|
|
1233
1255
|
/** Determines the reset cycle of the feature usage. */
|
|
1234
|
-
|
|
1256
|
+
declare enum FeaturePeriodEnum {
|
|
1235
1257
|
NO_PERIOD = "NO_PERIOD",
|
|
1236
1258
|
MILLISECOND = "MILLISECOND",
|
|
1237
1259
|
SECOND = "SECOND",
|
|
@@ -1242,6 +1264,9 @@ export declare enum FeaturePeriod {
|
|
|
1242
1264
|
MONTH = "MONTH",
|
|
1243
1265
|
YEAR = "YEAR"
|
|
1244
1266
|
}
|
|
1267
|
+
/** Determines the reset cycle of the feature usage. */
|
|
1268
|
+
declare type FeaturePeriod = `${FeaturePeriodEnum}`;
|
|
1269
|
+
export { FeaturePeriodEnum as FeaturePeriod };
|
|
1245
1270
|
export interface QuotaInfo {
|
|
1246
1271
|
/**
|
|
1247
1272
|
* How often the customer is allowed to use the feature during the specified
|
|
@@ -2,156 +2,167 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FeaturePeriod = exports.DeleteStatus = exports.Namespace = exports.SiteCreatedContext = exports.State = exports.Mode = exports.SortOrder = exports.Set = exports.FieldType = exports.Unit = exports.DayOfWeek = void 0;
|
|
4
4
|
/** Enumerates the days of the week. */
|
|
5
|
-
var
|
|
6
|
-
(function (
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
})(
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
5
|
+
var DayOfWeekEnum;
|
|
6
|
+
(function (DayOfWeekEnum) {
|
|
7
|
+
DayOfWeekEnum["MONDAY"] = "MONDAY";
|
|
8
|
+
DayOfWeekEnum["TUESDAY"] = "TUESDAY";
|
|
9
|
+
DayOfWeekEnum["WEDNESDAY"] = "WEDNESDAY";
|
|
10
|
+
DayOfWeekEnum["THURSDAY"] = "THURSDAY";
|
|
11
|
+
DayOfWeekEnum["FRIDAY"] = "FRIDAY";
|
|
12
|
+
DayOfWeekEnum["SATURDAY"] = "SATURDAY";
|
|
13
|
+
DayOfWeekEnum["SUNDAY"] = "SUNDAY";
|
|
14
|
+
})(DayOfWeekEnum || (DayOfWeekEnum = {}));
|
|
15
|
+
exports.DayOfWeek = DayOfWeekEnum;
|
|
16
|
+
var UnitEnum;
|
|
17
|
+
(function (UnitEnum) {
|
|
18
|
+
UnitEnum["UNKNOWN"] = "UNKNOWN";
|
|
19
|
+
UnitEnum["MINUTES"] = "MINUTES";
|
|
20
|
+
UnitEnum["HOURS"] = "HOURS";
|
|
21
|
+
UnitEnum["DAYS"] = "DAYS";
|
|
22
|
+
})(UnitEnum || (UnitEnum = {}));
|
|
23
|
+
exports.Unit = UnitEnum;
|
|
22
24
|
/** Type of the field. */
|
|
23
|
-
var
|
|
24
|
-
(function (
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
})(
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
(
|
|
25
|
+
var FieldTypeEnum;
|
|
26
|
+
(function (FieldTypeEnum) {
|
|
27
|
+
FieldTypeEnum["UNKNOWN"] = "UNKNOWN";
|
|
28
|
+
FieldTypeEnum["TABLE"] = "TABLE";
|
|
29
|
+
FieldTypeEnum["START_DATE"] = "START_DATE";
|
|
30
|
+
FieldTypeEnum["END_DATE"] = "END_DATE";
|
|
31
|
+
FieldTypeEnum["CREATED_DATE"] = "CREATED_DATE";
|
|
32
|
+
FieldTypeEnum["UPDATED_DATE"] = "UPDATED_DATE";
|
|
33
|
+
FieldTypeEnum["PARTY_SIZE"] = "PARTY_SIZE";
|
|
34
|
+
FieldTypeEnum["FIRST_NAME"] = "FIRST_NAME";
|
|
35
|
+
FieldTypeEnum["LAST_NAME"] = "LAST_NAME";
|
|
36
|
+
FieldTypeEnum["EMAIL"] = "EMAIL";
|
|
37
|
+
FieldTypeEnum["PHONE"] = "PHONE";
|
|
38
|
+
FieldTypeEnum["ADDITIONAL_INFO"] = "ADDITIONAL_INFO";
|
|
39
|
+
FieldTypeEnum["TEAM_MESSAGE"] = "TEAM_MESSAGE";
|
|
40
|
+
FieldTypeEnum["CUSTOM_FIELD"] = "CUSTOM_FIELD";
|
|
41
|
+
FieldTypeEnum["STATUS"] = "STATUS";
|
|
42
|
+
})(FieldTypeEnum || (FieldTypeEnum = {}));
|
|
43
|
+
exports.FieldType = FieldTypeEnum;
|
|
44
|
+
var SetEnum;
|
|
45
|
+
(function (SetEnum) {
|
|
46
|
+
SetEnum["PUBLIC"] = "PUBLIC";
|
|
47
|
+
SetEnum["FULL"] = "FULL";
|
|
48
|
+
})(SetEnum || (SetEnum = {}));
|
|
49
|
+
exports.Set = SetEnum;
|
|
50
|
+
var SortOrderEnum;
|
|
51
|
+
(function (SortOrderEnum) {
|
|
52
|
+
SortOrderEnum["ASC"] = "ASC";
|
|
53
|
+
SortOrderEnum["DESC"] = "DESC";
|
|
54
|
+
})(SortOrderEnum || (SortOrderEnum = {}));
|
|
55
|
+
exports.SortOrder = SortOrderEnum;
|
|
56
|
+
var ModeEnum;
|
|
57
|
+
(function (ModeEnum) {
|
|
53
58
|
/** DRY RUN. */
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
})(
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
59
|
+
ModeEnum["UNDEFINED"] = "UNDEFINED";
|
|
60
|
+
ModeEnum["DRY_RUN"] = "DRY_RUN";
|
|
61
|
+
ModeEnum["MIGRATE"] = "MIGRATE";
|
|
62
|
+
ModeEnum["FORCE_MIGRATE"] = "FORCE_MIGRATE";
|
|
63
|
+
})(ModeEnum || (ModeEnum = {}));
|
|
64
|
+
exports.Mode = ModeEnum;
|
|
65
|
+
var StateEnum;
|
|
66
|
+
(function (StateEnum) {
|
|
67
|
+
StateEnum["UNKNOWN"] = "UNKNOWN";
|
|
68
|
+
StateEnum["ENABLED"] = "ENABLED";
|
|
69
|
+
StateEnum["DISABLED"] = "DISABLED";
|
|
70
|
+
StateEnum["PENDING"] = "PENDING";
|
|
71
|
+
StateEnum["DEMO"] = "DEMO";
|
|
72
|
+
})(StateEnum || (StateEnum = {}));
|
|
73
|
+
exports.State = StateEnum;
|
|
74
|
+
var SiteCreatedContextEnum;
|
|
75
|
+
(function (SiteCreatedContextEnum) {
|
|
69
76
|
/** A valid option, we don't expose all reasons why site might be created. */
|
|
70
|
-
|
|
77
|
+
SiteCreatedContextEnum["OTHER"] = "OTHER";
|
|
71
78
|
/** A meta site was created from template. */
|
|
72
|
-
|
|
79
|
+
SiteCreatedContextEnum["FROM_TEMPLATE"] = "FROM_TEMPLATE";
|
|
73
80
|
/** A meta site was created by copying of the transfferred meta site. */
|
|
74
|
-
|
|
81
|
+
SiteCreatedContextEnum["DUPLICATE_BY_SITE_TRANSFER"] = "DUPLICATE_BY_SITE_TRANSFER";
|
|
75
82
|
/** A copy of existing meta site. */
|
|
76
|
-
|
|
83
|
+
SiteCreatedContextEnum["DUPLICATE"] = "DUPLICATE";
|
|
77
84
|
/** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */
|
|
78
|
-
|
|
85
|
+
SiteCreatedContextEnum["OLD_SITE_TRANSFER"] = "OLD_SITE_TRANSFER";
|
|
79
86
|
/** deprecated A meta site was created for Flash editor. */
|
|
80
|
-
|
|
81
|
-
})(
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
87
|
+
SiteCreatedContextEnum["FLASH"] = "FLASH";
|
|
88
|
+
})(SiteCreatedContextEnum || (SiteCreatedContextEnum = {}));
|
|
89
|
+
exports.SiteCreatedContext = SiteCreatedContextEnum;
|
|
90
|
+
var NamespaceEnum;
|
|
91
|
+
(function (NamespaceEnum) {
|
|
92
|
+
NamespaceEnum["UNKNOWN_NAMESPACE"] = "UNKNOWN_NAMESPACE";
|
|
85
93
|
/** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
|
|
86
|
-
|
|
94
|
+
NamespaceEnum["WIX"] = "WIX";
|
|
87
95
|
/** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
88
|
-
|
|
96
|
+
NamespaceEnum["SHOUT_OUT"] = "SHOUT_OUT";
|
|
89
97
|
/** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
90
|
-
|
|
98
|
+
NamespaceEnum["ALBUMS"] = "ALBUMS";
|
|
91
99
|
/** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
92
|
-
|
|
100
|
+
NamespaceEnum["WIX_STORES_TEST_DRIVE"] = "WIX_STORES_TEST_DRIVE";
|
|
93
101
|
/** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
94
|
-
|
|
102
|
+
NamespaceEnum["HOTELS"] = "HOTELS";
|
|
95
103
|
/** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
96
|
-
|
|
104
|
+
NamespaceEnum["CLUBS"] = "CLUBS";
|
|
97
105
|
/** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
98
|
-
|
|
106
|
+
NamespaceEnum["ONBOARDING_DRAFT"] = "ONBOARDING_DRAFT";
|
|
99
107
|
/** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
100
|
-
|
|
108
|
+
NamespaceEnum["DEV_SITE"] = "DEV_SITE";
|
|
101
109
|
/** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
102
|
-
|
|
110
|
+
NamespaceEnum["LOGOS"] = "LOGOS";
|
|
103
111
|
/** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
104
|
-
|
|
112
|
+
NamespaceEnum["VIDEO_MAKER"] = "VIDEO_MAKER";
|
|
105
113
|
/** MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
106
|
-
|
|
114
|
+
NamespaceEnum["PARTNER_DASHBOARD"] = "PARTNER_DASHBOARD";
|
|
107
115
|
/** MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
108
|
-
|
|
116
|
+
NamespaceEnum["DEV_CENTER_COMPANY"] = "DEV_CENTER_COMPANY";
|
|
109
117
|
/**
|
|
110
118
|
* A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
|
|
111
119
|
*
|
|
112
120
|
* Meta site with this namespace will *not* be shown in a user's site list by default.
|
|
113
121
|
*/
|
|
114
|
-
|
|
122
|
+
NamespaceEnum["HTML_DRAFT"] = "HTML_DRAFT";
|
|
115
123
|
/**
|
|
116
124
|
* the user-journey for Fitness users who want to start from managing their business instead of designing their website.
|
|
117
125
|
* Will be accessible from Site List and will not have a website app.
|
|
118
126
|
* Once the user attaches a site, the site will become a regular wixsite.
|
|
119
127
|
*/
|
|
120
|
-
|
|
128
|
+
NamespaceEnum["SITELESS_BUSINESS"] = "SITELESS_BUSINESS";
|
|
121
129
|
/** Belongs to "strategic products" company. Supports new product in the creator's economy space. */
|
|
122
|
-
|
|
130
|
+
NamespaceEnum["CREATOR_ECONOMY"] = "CREATOR_ECONOMY";
|
|
123
131
|
/** It is to be used in the Business First efforts. */
|
|
124
|
-
|
|
132
|
+
NamespaceEnum["DASHBOARD_FIRST"] = "DASHBOARD_FIRST";
|
|
125
133
|
/** Bookings business flow with no site. */
|
|
126
|
-
|
|
134
|
+
NamespaceEnum["ANYWHERE"] = "ANYWHERE";
|
|
127
135
|
/** Namespace for Headless Backoffice with no editor */
|
|
128
|
-
|
|
136
|
+
NamespaceEnum["HEADLESS"] = "HEADLESS";
|
|
129
137
|
/**
|
|
130
138
|
* Namespace for master site that will exist in parent account that will be referenced by subaccounts
|
|
131
139
|
* The site will be used for account level CSM feature for enterprise
|
|
132
140
|
*/
|
|
133
|
-
|
|
141
|
+
NamespaceEnum["ACCOUNT_MASTER_CMS"] = "ACCOUNT_MASTER_CMS";
|
|
134
142
|
/** Rise.ai Siteless account management for Gift Cards and Store Credit. */
|
|
135
|
-
|
|
136
|
-
})(
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
143
|
+
NamespaceEnum["RISE"] = "RISE";
|
|
144
|
+
})(NamespaceEnum || (NamespaceEnum = {}));
|
|
145
|
+
exports.Namespace = NamespaceEnum;
|
|
146
|
+
var DeleteStatusEnum;
|
|
147
|
+
(function (DeleteStatusEnum) {
|
|
148
|
+
DeleteStatusEnum["UNKNOWN"] = "UNKNOWN";
|
|
149
|
+
DeleteStatusEnum["TRASH"] = "TRASH";
|
|
150
|
+
DeleteStatusEnum["DELETED"] = "DELETED";
|
|
151
|
+
DeleteStatusEnum["PENDING_PURGE"] = "PENDING_PURGE";
|
|
152
|
+
})(DeleteStatusEnum || (DeleteStatusEnum = {}));
|
|
153
|
+
exports.DeleteStatus = DeleteStatusEnum;
|
|
144
154
|
/** Determines the reset cycle of the feature usage. */
|
|
145
|
-
var
|
|
146
|
-
(function (
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
})(
|
|
155
|
+
var FeaturePeriodEnum;
|
|
156
|
+
(function (FeaturePeriodEnum) {
|
|
157
|
+
FeaturePeriodEnum["NO_PERIOD"] = "NO_PERIOD";
|
|
158
|
+
FeaturePeriodEnum["MILLISECOND"] = "MILLISECOND";
|
|
159
|
+
FeaturePeriodEnum["SECOND"] = "SECOND";
|
|
160
|
+
FeaturePeriodEnum["MINUTE"] = "MINUTE";
|
|
161
|
+
FeaturePeriodEnum["HOUR"] = "HOUR";
|
|
162
|
+
FeaturePeriodEnum["DAY"] = "DAY";
|
|
163
|
+
FeaturePeriodEnum["WEEK"] = "WEEK";
|
|
164
|
+
FeaturePeriodEnum["MONTH"] = "MONTH";
|
|
165
|
+
FeaturePeriodEnum["YEAR"] = "YEAR";
|
|
166
|
+
})(FeaturePeriodEnum || (FeaturePeriodEnum = {}));
|
|
167
|
+
exports.FeaturePeriod = FeaturePeriodEnum;
|
|
157
168
|
//# sourceMappingURL=table-reservations-v1-reservation-location.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-reservations-v1-reservation-location.types.js","sourceRoot":"","sources":["../../../src/table-reservations-v1-reservation-location.types.ts"],"names":[],"mappings":";;;AAoHA,uCAAuC;AACvC,
|
|
1
|
+
{"version":3,"file":"table-reservations-v1-reservation-location.types.js","sourceRoot":"","sources":["../../../src/table-reservations-v1-reservation-location.types.ts"],"names":[],"mappings":";;;AAoHA,uCAAuC;AACvC,IAAK,aAQJ;AARD,WAAK,aAAa;IAChB,kCAAiB,CAAA;IACjB,oCAAmB,CAAA;IACnB,wCAAuB,CAAA;IACvB,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;AACnB,CAAC,EARI,aAAa,KAAb,aAAa,QAQjB;AAKyB,kCAAS;AA8CnC,IAAK,QAKJ;AALD,WAAK,QAAQ;IACX,+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