@wix/table-reservations 1.0.78 → 1.0.79
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/context.d.ts +3 -3
- package/build/cjs/context.js +3 -3
- package/build/cjs/context.js.map +1 -1
- package/build/cjs/index.d.ts +3 -3
- package/build/cjs/index.js +3 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +3 -3
- package/build/cjs/meta.js +3 -3
- package/build/cjs/meta.js.map +1 -1
- package/build/es/context.d.ts +3 -3
- package/build/es/context.js +3 -3
- package/build/es/context.js.map +1 -1
- package/build/es/index.d.ts +3 -3
- package/build/es/index.js +3 -3
- package/build/es/index.js.map +1 -1
- package/build/es/meta.d.ts +3 -3
- package/build/es/meta.js +3 -3
- package/build/es/meta.js.map +1 -1
- package/package.json +13 -9
- package/build/cjs/index.typings.d.ts +0 -3
- package/build/cjs/index.typings.js +0 -30
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/src/table-reservations-v1-reservation-location.context.d.ts +0 -6
- package/build/cjs/src/table-reservations-v1-reservation-location.context.js +0 -73
- package/build/cjs/src/table-reservations-v1-reservation-location.context.js.map +0 -1
- package/build/cjs/src/table-reservations-v1-reservation-location.http.d.ts +0 -40
- package/build/cjs/src/table-reservations-v1-reservation-location.http.js +0 -266
- package/build/cjs/src/table-reservations-v1-reservation-location.http.js.map +0 -1
- package/build/cjs/src/table-reservations-v1-reservation-location.meta.d.ts +0 -20
- package/build/cjs/src/table-reservations-v1-reservation-location.meta.js +0 -106
- package/build/cjs/src/table-reservations-v1-reservation-location.meta.js.map +0 -1
- package/build/cjs/src/table-reservations-v1-reservation-location.public.d.ts +0 -178
- package/build/cjs/src/table-reservations-v1-reservation-location.public.js +0 -48
- package/build/cjs/src/table-reservations-v1-reservation-location.public.js.map +0 -1
- package/build/cjs/src/table-reservations-v1-reservation-location.types.d.ts +0 -2260
- package/build/cjs/src/table-reservations-v1-reservation-location.types.js +0 -187
- package/build/cjs/src/table-reservations-v1-reservation-location.types.js.map +0 -1
- package/build/cjs/src/table-reservations-v1-reservation-location.universal.d.ts +0 -2333
- package/build/cjs/src/table-reservations-v1-reservation-location.universal.js +0 -613
- package/build/cjs/src/table-reservations-v1-reservation-location.universal.js.map +0 -1
- package/build/cjs/src/table-reservations-v1-reservation.context.d.ts +0 -11
- package/build/cjs/src/table-reservations-v1-reservation.context.js +0 -158
- package/build/cjs/src/table-reservations-v1-reservation.context.js.map +0 -1
- package/build/cjs/src/table-reservations-v1-reservation.http.d.ts +0 -89
- package/build/cjs/src/table-reservations-v1-reservation.http.js +0 -508
- package/build/cjs/src/table-reservations-v1-reservation.http.js.map +0 -1
- package/build/cjs/src/table-reservations-v1-reservation.meta.d.ts +0 -29
- package/build/cjs/src/table-reservations-v1-reservation.meta.js +0 -199
- package/build/cjs/src/table-reservations-v1-reservation.meta.js.map +0 -1
- package/build/cjs/src/table-reservations-v1-reservation.public.d.ts +0 -29
- package/build/cjs/src/table-reservations-v1-reservation.public.js +0 -79
- package/build/cjs/src/table-reservations-v1-reservation.public.js.map +0 -1
- package/build/cjs/src/table-reservations-v1-reservation.types.d.ts +0 -1005
- package/build/cjs/src/table-reservations-v1-reservation.types.js +0 -135
- package/build/cjs/src/table-reservations-v1-reservation.types.js.map +0 -1
- package/build/cjs/src/table-reservations-v1-reservation.universal.d.ts +0 -1416
- package/build/cjs/src/table-reservations-v1-reservation.universal.js +0 -888
- package/build/cjs/src/table-reservations-v1-reservation.universal.js.map +0 -1
- package/build/cjs/src/table-reservations-v1-time-slot.context.d.ts +0 -3
- package/build/cjs/src/table-reservations-v1-time-slot.context.js +0 -22
- package/build/cjs/src/table-reservations-v1-time-slot.context.js.map +0 -1
- package/build/cjs/src/table-reservations-v1-time-slot.http.d.ts +0 -13
- package/build/cjs/src/table-reservations-v1-time-slot.http.js +0 -126
- package/build/cjs/src/table-reservations-v1-time-slot.http.js.map +0 -1
- package/build/cjs/src/table-reservations-v1-time-slot.meta.d.ts +0 -13
- package/build/cjs/src/table-reservations-v1-time-slot.meta.js +0 -47
- package/build/cjs/src/table-reservations-v1-time-slot.meta.js.map +0 -1
- package/build/cjs/src/table-reservations-v1-time-slot.public.d.ts +0 -8
- package/build/cjs/src/table-reservations-v1-time-slot.public.js +0 -17
- package/build/cjs/src/table-reservations-v1-time-slot.public.js.map +0 -1
- package/build/cjs/src/table-reservations-v1-time-slot.types.d.ts +0 -137
- package/build/cjs/src/table-reservations-v1-time-slot.types.js +0 -32
- package/build/cjs/src/table-reservations-v1-time-slot.types.js.map +0 -1
- package/build/cjs/src/table-reservations-v1-time-slot.universal.d.ts +0 -178
- package/build/cjs/src/table-reservations-v1-time-slot.universal.js +0 -166
- package/build/cjs/src/table-reservations-v1-time-slot.universal.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -3
- package/build/es/index.typings.js +0 -4
- package/build/es/index.typings.js.map +0 -1
- package/build/es/src/table-reservations-v1-reservation-location.context.d.ts +0 -6
- package/build/es/src/table-reservations-v1-reservation-location.context.js +0 -66
- package/build/es/src/table-reservations-v1-reservation-location.context.js.map +0 -1
- package/build/es/src/table-reservations-v1-reservation-location.http.d.ts +0 -40
- package/build/es/src/table-reservations-v1-reservation-location.http.js +0 -259
- package/build/es/src/table-reservations-v1-reservation-location.http.js.map +0 -1
- package/build/es/src/table-reservations-v1-reservation-location.meta.d.ts +0 -20
- package/build/es/src/table-reservations-v1-reservation-location.meta.js +0 -76
- package/build/es/src/table-reservations-v1-reservation-location.meta.js.map +0 -1
- package/build/es/src/table-reservations-v1-reservation-location.public.d.ts +0 -178
- package/build/es/src/table-reservations-v1-reservation-location.public.js +0 -25
- package/build/es/src/table-reservations-v1-reservation-location.public.js.map +0 -1
- package/build/es/src/table-reservations-v1-reservation-location.types.d.ts +0 -2260
- package/build/es/src/table-reservations-v1-reservation-location.types.js +0 -184
- package/build/es/src/table-reservations-v1-reservation-location.types.js.map +0 -1
- package/build/es/src/table-reservations-v1-reservation-location.universal.d.ts +0 -2333
- package/build/es/src/table-reservations-v1-reservation-location.universal.js +0 -583
- package/build/es/src/table-reservations-v1-reservation-location.universal.js.map +0 -1
- package/build/es/src/table-reservations-v1-reservation.context.d.ts +0 -11
- package/build/es/src/table-reservations-v1-reservation.context.js +0 -146
- package/build/es/src/table-reservations-v1-reservation.context.js.map +0 -1
- package/build/es/src/table-reservations-v1-reservation.http.d.ts +0 -89
- package/build/es/src/table-reservations-v1-reservation.http.js +0 -496
- package/build/es/src/table-reservations-v1-reservation.http.js.map +0 -1
- package/build/es/src/table-reservations-v1-reservation.meta.d.ts +0 -29
- package/build/es/src/table-reservations-v1-reservation.meta.js +0 -164
- package/build/es/src/table-reservations-v1-reservation.meta.js.map +0 -1
- package/build/es/src/table-reservations-v1-reservation.public.d.ts +0 -29
- package/build/es/src/table-reservations-v1-reservation.public.js +0 -50
- package/build/es/src/table-reservations-v1-reservation.public.js.map +0 -1
- package/build/es/src/table-reservations-v1-reservation.types.d.ts +0 -1005
- package/build/es/src/table-reservations-v1-reservation.types.js +0 -132
- package/build/es/src/table-reservations-v1-reservation.types.js.map +0 -1
- package/build/es/src/table-reservations-v1-reservation.universal.d.ts +0 -1416
- package/build/es/src/table-reservations-v1-reservation.universal.js +0 -853
- package/build/es/src/table-reservations-v1-reservation.universal.js.map +0 -1
- package/build/es/src/table-reservations-v1-time-slot.context.d.ts +0 -3
- package/build/es/src/table-reservations-v1-time-slot.context.js +0 -18
- package/build/es/src/table-reservations-v1-time-slot.context.js.map +0 -1
- package/build/es/src/table-reservations-v1-time-slot.http.d.ts +0 -13
- package/build/es/src/table-reservations-v1-time-slot.http.js +0 -122
- package/build/es/src/table-reservations-v1-time-slot.http.js.map +0 -1
- package/build/es/src/table-reservations-v1-time-slot.meta.d.ts +0 -13
- package/build/es/src/table-reservations-v1-time-slot.meta.js +0 -20
- package/build/es/src/table-reservations-v1-time-slot.meta.js.map +0 -1
- package/build/es/src/table-reservations-v1-time-slot.public.d.ts +0 -8
- package/build/es/src/table-reservations-v1-time-slot.public.js +0 -9
- package/build/es/src/table-reservations-v1-time-slot.public.js.map +0 -1
- package/build/es/src/table-reservations-v1-time-slot.types.d.ts +0 -137
- package/build/es/src/table-reservations-v1-time-slot.types.js +0 -29
- package/build/es/src/table-reservations-v1-time-slot.types.js.map +0 -1
- package/build/es/src/table-reservations-v1-time-slot.universal.d.ts +0 -178
- package/build/es/src/table-reservations-v1-time-slot.universal.js +0 -139
- package/build/es/src/table-reservations-v1-time-slot.universal.js.map +0 -1
package/build/cjs/context.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * as reservations from '
|
|
2
|
-
export * as reservationLocations from '
|
|
3
|
-
export * as timeSlots from '
|
|
1
|
+
export * as reservations from '@wix/table-reservations_reservations/context';
|
|
2
|
+
export * as reservationLocations from '@wix/table-reservations_reservation-locations/context';
|
|
3
|
+
export * as timeSlots from '@wix/table-reservations_time-slots/context';
|
package/build/cjs/context.js
CHANGED
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.timeSlots = exports.reservationLocations = exports.reservations = void 0;
|
|
27
|
-
exports.reservations = __importStar(require("
|
|
28
|
-
exports.reservationLocations = __importStar(require("
|
|
29
|
-
exports.timeSlots = __importStar(require("
|
|
27
|
+
exports.reservations = __importStar(require("@wix/table-reservations_reservations/context"));
|
|
28
|
+
exports.reservationLocations = __importStar(require("@wix/table-reservations_reservation-locations/context"));
|
|
29
|
+
exports.timeSlots = __importStar(require("@wix/table-reservations_time-slots/context"));
|
|
30
30
|
//# sourceMappingURL=context.js.map
|
package/build/cjs/context.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6FAA6E;AAC7E,8GAA8F;AAC9F,wFAAwE"}
|
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * as reservations from '
|
|
2
|
-
export * as reservationLocations from '
|
|
3
|
-
export * as timeSlots from '
|
|
1
|
+
export * as reservations from '@wix/table-reservations_reservations';
|
|
2
|
+
export * as reservationLocations from '@wix/table-reservations_reservation-locations';
|
|
3
|
+
export * as timeSlots from '@wix/table-reservations_time-slots';
|
package/build/cjs/index.js
CHANGED
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.timeSlots = exports.reservationLocations = exports.reservations = void 0;
|
|
27
|
-
exports.reservations = __importStar(require("
|
|
28
|
-
exports.reservationLocations = __importStar(require("
|
|
29
|
-
exports.timeSlots = __importStar(require("
|
|
27
|
+
exports.reservations = __importStar(require("@wix/table-reservations_reservations"));
|
|
28
|
+
exports.reservationLocations = __importStar(require("@wix/table-reservations_reservation-locations"));
|
|
29
|
+
exports.timeSlots = __importStar(require("@wix/table-reservations_time-slots"));
|
|
30
30
|
//# sourceMappingURL=index.js.map
|
package/build/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qFAAqE;AACrE,sGAAsF;AACtF,gFAAgE"}
|
package/build/cjs/meta.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * as reservations from '
|
|
2
|
-
export * as reservationLocations from '
|
|
3
|
-
export * as timeSlots from '
|
|
1
|
+
export * as reservations from '@wix/table-reservations_reservations/meta';
|
|
2
|
+
export * as reservationLocations from '@wix/table-reservations_reservation-locations/meta';
|
|
3
|
+
export * as timeSlots from '@wix/table-reservations_time-slots/meta';
|
package/build/cjs/meta.js
CHANGED
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.timeSlots = exports.reservationLocations = exports.reservations = void 0;
|
|
27
|
-
exports.reservations = __importStar(require("
|
|
28
|
-
exports.reservationLocations = __importStar(require("
|
|
29
|
-
exports.timeSlots = __importStar(require("
|
|
27
|
+
exports.reservations = __importStar(require("@wix/table-reservations_reservations/meta"));
|
|
28
|
+
exports.reservationLocations = __importStar(require("@wix/table-reservations_reservation-locations/meta"));
|
|
29
|
+
exports.timeSlots = __importStar(require("@wix/table-reservations_time-slots/meta"));
|
|
30
30
|
//# sourceMappingURL=meta.js.map
|
package/build/cjs/meta.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0FAA0E;AAC1E,2GAA2F;AAC3F,qFAAqE"}
|
package/build/es/context.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * as reservations from '
|
|
2
|
-
export * as reservationLocations from '
|
|
3
|
-
export * as timeSlots from '
|
|
1
|
+
export * as reservations from '@wix/table-reservations_reservations/context';
|
|
2
|
+
export * as reservationLocations from '@wix/table-reservations_reservation-locations/context';
|
|
3
|
+
export * as timeSlots from '@wix/table-reservations_time-slots/context';
|
package/build/es/context.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * as reservations from '
|
|
2
|
-
export * as reservationLocations from '
|
|
3
|
-
export * as timeSlots from '
|
|
1
|
+
export * as reservations from '@wix/table-reservations_reservations/context';
|
|
2
|
+
export * as reservationLocations from '@wix/table-reservations_reservation-locations/context';
|
|
3
|
+
export * as timeSlots from '@wix/table-reservations_time-slots/context';
|
|
4
4
|
//# sourceMappingURL=context.js.map
|
package/build/es/context.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,8CAA8C,CAAC;AAC7E,OAAO,KAAK,oBAAoB,MAAM,uDAAuD,CAAC;AAC9F,OAAO,KAAK,SAAS,MAAM,4CAA4C,CAAC"}
|
package/build/es/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * as reservations from '
|
|
2
|
-
export * as reservationLocations from '
|
|
3
|
-
export * as timeSlots from '
|
|
1
|
+
export * as reservations from '@wix/table-reservations_reservations';
|
|
2
|
+
export * as reservationLocations from '@wix/table-reservations_reservation-locations';
|
|
3
|
+
export * as timeSlots from '@wix/table-reservations_time-slots';
|
package/build/es/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * as reservations from '
|
|
2
|
-
export * as reservationLocations from '
|
|
3
|
-
export * as timeSlots from '
|
|
1
|
+
export * as reservations from '@wix/table-reservations_reservations';
|
|
2
|
+
export * as reservationLocations from '@wix/table-reservations_reservation-locations';
|
|
3
|
+
export * as timeSlots from '@wix/table-reservations_time-slots';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/build/es/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,sCAAsC,CAAC;AACrE,OAAO,KAAK,oBAAoB,MAAM,+CAA+C,CAAC;AACtF,OAAO,KAAK,SAAS,MAAM,oCAAoC,CAAC"}
|
package/build/es/meta.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * as reservations from '
|
|
2
|
-
export * as reservationLocations from '
|
|
3
|
-
export * as timeSlots from '
|
|
1
|
+
export * as reservations from '@wix/table-reservations_reservations/meta';
|
|
2
|
+
export * as reservationLocations from '@wix/table-reservations_reservation-locations/meta';
|
|
3
|
+
export * as timeSlots from '@wix/table-reservations_time-slots/meta';
|
package/build/es/meta.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * as reservations from '
|
|
2
|
-
export * as reservationLocations from '
|
|
3
|
-
export * as timeSlots from '
|
|
1
|
+
export * as reservations from '@wix/table-reservations_reservations/meta';
|
|
2
|
+
export * as reservationLocations from '@wix/table-reservations_reservation-locations/meta';
|
|
3
|
+
export * as timeSlots from '@wix/table-reservations_time-slots/meta';
|
|
4
4
|
//# sourceMappingURL=meta.js.map
|
package/build/es/meta.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,2CAA2C,CAAC;AAC1E,OAAO,KAAK,oBAAoB,MAAM,oDAAoD,CAAC;AAC3F,OAAO,KAAK,SAAS,MAAM,yCAAyC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/table-reservations",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.79",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -16,14 +16,13 @@
|
|
|
16
16
|
"context"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@wix/
|
|
20
|
-
"@wix/
|
|
21
|
-
"@wix/
|
|
22
|
-
"@wix/motion-edm-autogen-query-wrapper": "^1.0.37"
|
|
19
|
+
"@wix/table-reservations_reservation-locations": "1.0.14",
|
|
20
|
+
"@wix/table-reservations_reservations": "1.0.11",
|
|
21
|
+
"@wix/table-reservations_time-slots": "1.0.11"
|
|
23
22
|
},
|
|
24
23
|
"devDependencies": {
|
|
25
|
-
"
|
|
26
|
-
"
|
|
24
|
+
"@wix/sdk": "https://cdn.dev.wixpress.com/@wix/sdk/02e8069ab2fd783e0e6a080fc7d590e76cb26ab93c8389574286305b.tar.gz",
|
|
25
|
+
"typescript": "^5.3.2"
|
|
27
26
|
},
|
|
28
27
|
"scripts": {
|
|
29
28
|
"build": "tsc -b tsconfig.json tsconfig.esm.json",
|
|
@@ -31,9 +30,14 @@
|
|
|
31
30
|
},
|
|
32
31
|
"wix": {
|
|
33
32
|
"artifact": {
|
|
33
|
+
"groupId": "com.wixpress.public-sdk-autogen",
|
|
34
34
|
"artifactId": "table-reservations-public-sdk-autogen",
|
|
35
|
-
"
|
|
35
|
+
"isRootPublicSdk": true
|
|
36
|
+
},
|
|
37
|
+
"sdkDependency": {
|
|
38
|
+
"fqdnNamespace": "",
|
|
39
|
+
"fqdn": ""
|
|
36
40
|
}
|
|
37
41
|
},
|
|
38
|
-
"falconPackageHash": "
|
|
42
|
+
"falconPackageHash": "503408b013bd87e7d1891738c406f9efdc8bf5f977d709ed70dd0102"
|
|
39
43
|
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.timeSlots = exports.reservationLocations = exports.reservations = void 0;
|
|
27
|
-
exports.reservations = __importStar(require("./src/table-reservations-v1-reservation.universal"));
|
|
28
|
-
exports.reservationLocations = __importStar(require("./src/table-reservations-v1-reservation-location.universal"));
|
|
29
|
-
exports.timeSlots = __importStar(require("./src/table-reservations-v1-time-slot.universal"));
|
|
30
|
-
//# sourceMappingURL=index.typings.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kGAAkF;AAClF,mHAAmG;AACnG,6FAA6E"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { getReservationLocation as publicGetReservationLocation, updateReservationLocation as publicUpdateReservationLocation, queryReservationLocations as publicQueryReservationLocations, listReservationLocations as publicListReservationLocations } from './table-reservations-v1-reservation-location.public';
|
|
2
|
-
import { BuildRESTFunction } from '@wix/sdk-types';
|
|
3
|
-
export declare const getReservationLocation: BuildRESTFunction<typeof publicGetReservationLocation>;
|
|
4
|
-
export declare const updateReservationLocation: BuildRESTFunction<typeof publicUpdateReservationLocation>;
|
|
5
|
-
export declare const queryReservationLocations: BuildRESTFunction<typeof publicQueryReservationLocations>;
|
|
6
|
-
export declare const listReservationLocations: BuildRESTFunction<typeof publicListReservationLocations>;
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.listReservationLocations = exports.queryReservationLocations = exports.updateReservationLocation = exports.getReservationLocation = void 0;
|
|
4
|
-
const table_reservations_v1_reservation_location_public_1 = require("./table-reservations-v1-reservation-location.public");
|
|
5
|
-
const getReservationLocation = (...args) => {
|
|
6
|
-
var _a;
|
|
7
|
-
const context =
|
|
8
|
-
// @ts-expect-error
|
|
9
|
-
typeof $wixContext !== 'undefined'
|
|
10
|
-
? // @ts-expect-error
|
|
11
|
-
$wixContext
|
|
12
|
-
: // @ts-expect-error
|
|
13
|
-
globalThis.__wix_context__;
|
|
14
|
-
if (!context) {
|
|
15
|
-
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
16
|
-
}
|
|
17
|
-
return context
|
|
18
|
-
.initWixModules(table_reservations_v1_reservation_location_public_1.getReservationLocation, ((_a = args[1]) === null || _a === void 0 ? void 0 : _a.supressAuth) ? true : false)
|
|
19
|
-
.apply(undefined, args);
|
|
20
|
-
};
|
|
21
|
-
exports.getReservationLocation = getReservationLocation;
|
|
22
|
-
const updateReservationLocation = (...args) => {
|
|
23
|
-
var _a;
|
|
24
|
-
const context =
|
|
25
|
-
// @ts-expect-error
|
|
26
|
-
typeof $wixContext !== 'undefined'
|
|
27
|
-
? // @ts-expect-error
|
|
28
|
-
$wixContext
|
|
29
|
-
: // @ts-expect-error
|
|
30
|
-
globalThis.__wix_context__;
|
|
31
|
-
if (!context) {
|
|
32
|
-
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
33
|
-
}
|
|
34
|
-
return context
|
|
35
|
-
.initWixModules(table_reservations_v1_reservation_location_public_1.updateReservationLocation, ((_a = args[1]) === null || _a === void 0 ? void 0 : _a.supressAuth) ? true : false)
|
|
36
|
-
.apply(undefined, args);
|
|
37
|
-
};
|
|
38
|
-
exports.updateReservationLocation = updateReservationLocation;
|
|
39
|
-
const queryReservationLocations = (...args) => {
|
|
40
|
-
var _a;
|
|
41
|
-
const context =
|
|
42
|
-
// @ts-expect-error
|
|
43
|
-
typeof $wixContext !== 'undefined'
|
|
44
|
-
? // @ts-expect-error
|
|
45
|
-
$wixContext
|
|
46
|
-
: // @ts-expect-error
|
|
47
|
-
globalThis.__wix_context__;
|
|
48
|
-
if (!context) {
|
|
49
|
-
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
50
|
-
}
|
|
51
|
-
return context
|
|
52
|
-
.initWixModules(table_reservations_v1_reservation_location_public_1.queryReservationLocations, ((_a = args[1]) === null || _a === void 0 ? void 0 : _a.supressAuth) ? true : false)
|
|
53
|
-
.apply(undefined, args);
|
|
54
|
-
};
|
|
55
|
-
exports.queryReservationLocations = queryReservationLocations;
|
|
56
|
-
const listReservationLocations = (...args) => {
|
|
57
|
-
var _a;
|
|
58
|
-
const context =
|
|
59
|
-
// @ts-expect-error
|
|
60
|
-
typeof $wixContext !== 'undefined'
|
|
61
|
-
? // @ts-expect-error
|
|
62
|
-
$wixContext
|
|
63
|
-
: // @ts-expect-error
|
|
64
|
-
globalThis.__wix_context__;
|
|
65
|
-
if (!context) {
|
|
66
|
-
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
67
|
-
}
|
|
68
|
-
return context
|
|
69
|
-
.initWixModules(table_reservations_v1_reservation_location_public_1.listReservationLocations, ((_a = args[1]) === null || _a === void 0 ? void 0 : _a.supressAuth) ? true : false)
|
|
70
|
-
.apply(undefined, args);
|
|
71
|
-
};
|
|
72
|
-
exports.listReservationLocations = listReservationLocations;
|
|
73
|
-
//# sourceMappingURL=table-reservations-v1-reservation-location.context.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-reservations-v1-reservation-location.context.js","sourceRoot":"","sources":["../../../src/table-reservations-v1-reservation-location.context.ts"],"names":[],"mappings":";;;AAAA,2HAK6D;AAGtD,MAAM,sBAAsB,GAE/B,CAAC,GAAG,IAAS,EAAE,EAAE;;IACnB,MAAM,OAAO;IACX,mBAAmB;IACnB,OAAO,WAAW,KAAK,WAAW;QAChC,CAAC,CAAC,mBAAmB;YACnB,WAAW;QACb,CAAC,CAAC,mBAAmB;YACnB,UAAU,CAAC,eAAe,CAAC;IACjC,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,OAAO,OAAO;SACX,cAAc,CACb,0EAA4B,EAC5B,CAAA,MAAA,IAAI,CAAC,CAAC,CAAC,0CAAE,WAAW,EAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CACpC;SACA,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AArBW,QAAA,sBAAsB,0BAqBjC;AACK,MAAM,yBAAyB,GAElC,CAAC,GAAG,IAAS,EAAE,EAAE;;IACnB,MAAM,OAAO;IACX,mBAAmB;IACnB,OAAO,WAAW,KAAK,WAAW;QAChC,CAAC,CAAC,mBAAmB;YACnB,WAAW;QACb,CAAC,CAAC,mBAAmB;YACnB,UAAU,CAAC,eAAe,CAAC;IACjC,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,OAAO,OAAO;SACX,cAAc,CACb,6EAA+B,EAC/B,CAAA,MAAA,IAAI,CAAC,CAAC,CAAC,0CAAE,WAAW,EAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CACpC;SACA,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AArBW,QAAA,yBAAyB,6BAqBpC;AACK,MAAM,yBAAyB,GAElC,CAAC,GAAG,IAAS,EAAE,EAAE;;IACnB,MAAM,OAAO;IACX,mBAAmB;IACnB,OAAO,WAAW,KAAK,WAAW;QAChC,CAAC,CAAC,mBAAmB;YACnB,WAAW;QACb,CAAC,CAAC,mBAAmB;YACnB,UAAU,CAAC,eAAe,CAAC;IACjC,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,OAAO,OAAO;SACX,cAAc,CACb,6EAA+B,EAC/B,CAAA,MAAA,IAAI,CAAC,CAAC,CAAC,0CAAE,WAAW,EAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CACpC;SACA,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AArBW,QAAA,yBAAyB,6BAqBpC;AACK,MAAM,wBAAwB,GAEjC,CAAC,GAAG,IAAS,EAAE,EAAE;;IACnB,MAAM,OAAO;IACX,mBAAmB;IACnB,OAAO,WAAW,KAAK,WAAW;QAChC,CAAC,CAAC,mBAAmB;YACnB,WAAW;QACb,CAAC,CAAC,mBAAmB;YACnB,UAAU,CAAC,eAAe,CAAC;IACjC,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,OAAO,OAAO;SACX,cAAc,CACb,4EAA8B,EAC9B,CAAA,MAAA,IAAI,CAAC,CAAC,CAAC,0CAAE,WAAW,EAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CACpC;SACA,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AArBW,QAAA,wBAAwB,4BAqBnC"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
|
-
/**
|
|
3
|
-
* Retrieves a reservation location by ID.
|
|
4
|
-
*
|
|
5
|
-
* The `FULL` fieldset can only be retrieved by users with the `READ RESERVATION LOCATIONS (FULL)` or `MANAGE RESERVATION LOCATIONS` permission scopes.
|
|
6
|
-
*/
|
|
7
|
-
export declare function getReservationLocation(payload: object): RequestOptionsFactory<any>;
|
|
8
|
-
/**
|
|
9
|
-
* Updates a reservation location. Supports partial updates.
|
|
10
|
-
*
|
|
11
|
-
* Each time the reservation location is updated, `revision` increments by 1. The existing revision must be included when updating the reservation location. This ensures you're working with the latest reservation location information, and it prevents unintended overwrites.
|
|
12
|
-
*
|
|
13
|
-
* You cannot use this endpoint to change a reservation location's `location` object. Attempting to do so will cause the server to return an application error.
|
|
14
|
-
*/
|
|
15
|
-
export declare function updateReservationLocation(payload: object): RequestOptionsFactory<any>;
|
|
16
|
-
/**
|
|
17
|
-
* Creates a query to retrieve a list of reservation locations.
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* The `queryReservationLocations()` function builds a query to retrieve a list of reservation locations and returns a [`ReservationLocationsQueryBuilder`](#ReservationLocationsQueryBuilder) object.
|
|
21
|
-
*
|
|
22
|
-
* The returned object contains the query definition, which is used to run the query using the [find()](#ReservationLocationsQueryBuilder/find) function.
|
|
23
|
-
*
|
|
24
|
-
* You can refine the query by chaining `ReservationLocationsQueryBuilder` functions onto the query. `ReservationLocationsQueryBuilder` functions enable you to filter, sort, and control the results that `queryReservationLocations()` returns.
|
|
25
|
-
*
|
|
26
|
-
* `queryReservationLocations()` runs with the following `ReservationLocationsQueryBuilder` defaults, which you can override:
|
|
27
|
-
*
|
|
28
|
-
* * [`skip(0)`](#ReservationLocationsQueryBuilder/skip)
|
|
29
|
-
* * [`limit(50)`](#ReservationLocationsQueryBuilder/limit)
|
|
30
|
-
* * [`descending('_createdDate')`](#ReservationLocationsQueryBuilder/descending)
|
|
31
|
-
*
|
|
32
|
-
* The following `ReservationLocationsQueryBuilder` functions are supported for `queryReservationLocations()`. For a full description of the reservation location object, see the object returned for the [`items`](#ReservationLocationsQueryResult/items) property in [`ReservationLocationsQueryResult`](#ReservationLocationsQueryResult).
|
|
33
|
-
*/
|
|
34
|
-
export declare function queryReservationLocations(payload: object): RequestOptionsFactory<any>;
|
|
35
|
-
/**
|
|
36
|
-
* Retrieves a list of up to 100 reservation locations.
|
|
37
|
-
*
|
|
38
|
-
* The `FULL` fieldset can only be retrieved by users with the `READ RESERVATION LOCATIONS (FULL)` or `MANAGE RESERVATION LOCATIONS` permission scopes.
|
|
39
|
-
*/
|
|
40
|
-
export declare function listReservationLocations(payload: object): RequestOptionsFactory<any>;
|
|
@@ -1,266 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.listReservationLocations = exports.queryReservationLocations = exports.updateReservationLocation = exports.getReservationLocation = void 0;
|
|
4
|
-
const metro_runtime_1 = require("@wix/metro-runtime");
|
|
5
|
-
const float_1 = require("@wix/sdk-runtime/transformations/float");
|
|
6
|
-
const float_2 = require("@wix/sdk-runtime/transformations/float");
|
|
7
|
-
const timestamp_1 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
8
|
-
const timestamp_2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
9
|
-
const field_mask_1 = require("@wix/sdk-runtime/transformations/field-mask");
|
|
10
|
-
const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
11
|
-
const metro_runtime_2 = require("@wix/metro-runtime");
|
|
12
|
-
function resolveWixTableReservationsReservationLocationV1ReservationLocationsServiceUrl(opts) {
|
|
13
|
-
const domainToMappings = {
|
|
14
|
-
'www.wixapis.com': [
|
|
15
|
-
{
|
|
16
|
-
srcPath: '/table-reservations/reservation-locations',
|
|
17
|
-
destPath: '',
|
|
18
|
-
},
|
|
19
|
-
],
|
|
20
|
-
'www._base_domain_': [
|
|
21
|
-
{
|
|
22
|
-
srcPath: '/_api/table-reservations/reservation-locations',
|
|
23
|
-
destPath: '',
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
'manage._base_domain_': [
|
|
27
|
-
{
|
|
28
|
-
srcPath: '/_api/table-reservations/reservation-locations',
|
|
29
|
-
destPath: '',
|
|
30
|
-
},
|
|
31
|
-
],
|
|
32
|
-
'editor.wixapps.net': [
|
|
33
|
-
{
|
|
34
|
-
srcPath: '/_api/table-reservations/reservation-locations',
|
|
35
|
-
destPath: '',
|
|
36
|
-
},
|
|
37
|
-
],
|
|
38
|
-
'editor._base_domain_': [
|
|
39
|
-
{
|
|
40
|
-
srcPath: '/_api/table-reservations/reservation-locations',
|
|
41
|
-
destPath: '',
|
|
42
|
-
},
|
|
43
|
-
],
|
|
44
|
-
'blocks._base_domain_': [
|
|
45
|
-
{
|
|
46
|
-
srcPath: '/_api/table-reservations/reservation-locations',
|
|
47
|
-
destPath: '',
|
|
48
|
-
},
|
|
49
|
-
],
|
|
50
|
-
'create.editorx': [
|
|
51
|
-
{
|
|
52
|
-
srcPath: '/_api/table-reservations/reservation-locations',
|
|
53
|
-
destPath: '',
|
|
54
|
-
},
|
|
55
|
-
],
|
|
56
|
-
_: [
|
|
57
|
-
{
|
|
58
|
-
srcPath: '/_api/table-reservations/reservation-locations',
|
|
59
|
-
destPath: '',
|
|
60
|
-
},
|
|
61
|
-
],
|
|
62
|
-
'*.dev.wix-code.com': [
|
|
63
|
-
{
|
|
64
|
-
srcPath: '/_api/table-reservations/reservation-locations',
|
|
65
|
-
destPath: '',
|
|
66
|
-
},
|
|
67
|
-
],
|
|
68
|
-
};
|
|
69
|
-
return (0, metro_runtime_2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Retrieves a reservation location by ID.
|
|
73
|
-
*
|
|
74
|
-
* The `FULL` fieldset can only be retrieved by users with the `READ RESERVATION LOCATIONS (FULL)` or `MANAGE RESERVATION LOCATIONS` permission scopes.
|
|
75
|
-
*/
|
|
76
|
-
function getReservationLocation(payload) {
|
|
77
|
-
function __getReservationLocation({ host }) {
|
|
78
|
-
const metadata = {
|
|
79
|
-
entityFqdn: 'wix.table_reservations.v1.reservation_location',
|
|
80
|
-
method: 'GET',
|
|
81
|
-
methodFqn: 'wix.table_reservations.reservation_location.v1.ReservationLocationsService.GetReservationLocation',
|
|
82
|
-
url: resolveWixTableReservationsReservationLocationV1ReservationLocationsServiceUrl({
|
|
83
|
-
protoPath: '/v1/reservation-locations/{reservationLocationId}',
|
|
84
|
-
data: payload,
|
|
85
|
-
host,
|
|
86
|
-
}),
|
|
87
|
-
params: (0, metro_runtime_1.toURLSearchParams)(payload),
|
|
88
|
-
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
89
|
-
{
|
|
90
|
-
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
91
|
-
paths: [
|
|
92
|
-
{ path: 'reservationLocation.createdDate' },
|
|
93
|
-
{ path: 'reservationLocation.updatedDate' },
|
|
94
|
-
],
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
transformFn: float_2.transformRESTFloatToSDKFloat,
|
|
98
|
-
paths: [
|
|
99
|
-
{ path: 'reservationLocation.location.address.geocode.latitude' },
|
|
100
|
-
{
|
|
101
|
-
path: 'reservationLocation.location.address.geocode.longitude',
|
|
102
|
-
},
|
|
103
|
-
],
|
|
104
|
-
},
|
|
105
|
-
]),
|
|
106
|
-
};
|
|
107
|
-
return metadata;
|
|
108
|
-
}
|
|
109
|
-
return __getReservationLocation;
|
|
110
|
-
}
|
|
111
|
-
exports.getReservationLocation = getReservationLocation;
|
|
112
|
-
/**
|
|
113
|
-
* Updates a reservation location. Supports partial updates.
|
|
114
|
-
*
|
|
115
|
-
* Each time the reservation location is updated, `revision` increments by 1. The existing revision must be included when updating the reservation location. This ensures you're working with the latest reservation location information, and it prevents unintended overwrites.
|
|
116
|
-
*
|
|
117
|
-
* You cannot use this endpoint to change a reservation location's `location` object. Attempting to do so will cause the server to return an application error.
|
|
118
|
-
*/
|
|
119
|
-
function updateReservationLocation(payload) {
|
|
120
|
-
function __updateReservationLocation({ host }) {
|
|
121
|
-
const serializedData = (0, transform_paths_1.transformPaths)(payload, [
|
|
122
|
-
{
|
|
123
|
-
transformFn: field_mask_1.transformSDKFieldMaskToRESTFieldMask,
|
|
124
|
-
paths: [{ path: 'mask' }],
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
transformFn: timestamp_1.transformSDKTimestampToRESTTimestamp,
|
|
128
|
-
paths: [
|
|
129
|
-
{ path: 'reservationLocation.createdDate' },
|
|
130
|
-
{ path: 'reservationLocation.updatedDate' },
|
|
131
|
-
],
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
transformFn: float_1.transformSDKFloatToRESTFloat,
|
|
135
|
-
paths: [
|
|
136
|
-
{ path: 'reservationLocation.location.address.geocode.latitude' },
|
|
137
|
-
{ path: 'reservationLocation.location.address.geocode.longitude' },
|
|
138
|
-
],
|
|
139
|
-
},
|
|
140
|
-
]);
|
|
141
|
-
const metadata = {
|
|
142
|
-
entityFqdn: 'wix.table_reservations.v1.reservation_location',
|
|
143
|
-
method: 'PATCH',
|
|
144
|
-
methodFqn: 'wix.table_reservations.reservation_location.v1.ReservationLocationsService.UpdateReservationLocation',
|
|
145
|
-
url: resolveWixTableReservationsReservationLocationV1ReservationLocationsServiceUrl({
|
|
146
|
-
protoPath: '/v1/reservation-locations/{reservationLocation.id}',
|
|
147
|
-
data: serializedData,
|
|
148
|
-
host,
|
|
149
|
-
}),
|
|
150
|
-
data: serializedData,
|
|
151
|
-
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
152
|
-
{
|
|
153
|
-
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
154
|
-
paths: [
|
|
155
|
-
{ path: 'reservationLocation.createdDate' },
|
|
156
|
-
{ path: 'reservationLocation.updatedDate' },
|
|
157
|
-
],
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
transformFn: float_2.transformRESTFloatToSDKFloat,
|
|
161
|
-
paths: [
|
|
162
|
-
{ path: 'reservationLocation.location.address.geocode.latitude' },
|
|
163
|
-
{
|
|
164
|
-
path: 'reservationLocation.location.address.geocode.longitude',
|
|
165
|
-
},
|
|
166
|
-
],
|
|
167
|
-
},
|
|
168
|
-
]),
|
|
169
|
-
};
|
|
170
|
-
return metadata;
|
|
171
|
-
}
|
|
172
|
-
return __updateReservationLocation;
|
|
173
|
-
}
|
|
174
|
-
exports.updateReservationLocation = updateReservationLocation;
|
|
175
|
-
/**
|
|
176
|
-
* Creates a query to retrieve a list of reservation locations.
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
* The `queryReservationLocations()` function builds a query to retrieve a list of reservation locations and returns a [`ReservationLocationsQueryBuilder`](#ReservationLocationsQueryBuilder) object.
|
|
180
|
-
*
|
|
181
|
-
* The returned object contains the query definition, which is used to run the query using the [find()](#ReservationLocationsQueryBuilder/find) function.
|
|
182
|
-
*
|
|
183
|
-
* You can refine the query by chaining `ReservationLocationsQueryBuilder` functions onto the query. `ReservationLocationsQueryBuilder` functions enable you to filter, sort, and control the results that `queryReservationLocations()` returns.
|
|
184
|
-
*
|
|
185
|
-
* `queryReservationLocations()` runs with the following `ReservationLocationsQueryBuilder` defaults, which you can override:
|
|
186
|
-
*
|
|
187
|
-
* * [`skip(0)`](#ReservationLocationsQueryBuilder/skip)
|
|
188
|
-
* * [`limit(50)`](#ReservationLocationsQueryBuilder/limit)
|
|
189
|
-
* * [`descending('_createdDate')`](#ReservationLocationsQueryBuilder/descending)
|
|
190
|
-
*
|
|
191
|
-
* The following `ReservationLocationsQueryBuilder` functions are supported for `queryReservationLocations()`. For a full description of the reservation location object, see the object returned for the [`items`](#ReservationLocationsQueryResult/items) property in [`ReservationLocationsQueryResult`](#ReservationLocationsQueryResult).
|
|
192
|
-
*/
|
|
193
|
-
function queryReservationLocations(payload) {
|
|
194
|
-
function __queryReservationLocations({ host }) {
|
|
195
|
-
const metadata = {
|
|
196
|
-
entityFqdn: 'wix.table_reservations.v1.reservation_location',
|
|
197
|
-
method: 'POST',
|
|
198
|
-
methodFqn: 'wix.table_reservations.reservation_location.v1.ReservationLocationsService.QueryReservationLocations',
|
|
199
|
-
url: resolveWixTableReservationsReservationLocationV1ReservationLocationsServiceUrl({ protoPath: '/v1/reservation-locations/query', data: payload, host }),
|
|
200
|
-
data: payload,
|
|
201
|
-
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
202
|
-
{
|
|
203
|
-
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
204
|
-
paths: [
|
|
205
|
-
{ path: 'reservationLocations.createdDate' },
|
|
206
|
-
{ path: 'reservationLocations.updatedDate' },
|
|
207
|
-
],
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
transformFn: float_2.transformRESTFloatToSDKFloat,
|
|
211
|
-
paths: [
|
|
212
|
-
{
|
|
213
|
-
path: 'reservationLocations.location.address.geocode.latitude',
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
path: 'reservationLocations.location.address.geocode.longitude',
|
|
217
|
-
},
|
|
218
|
-
],
|
|
219
|
-
},
|
|
220
|
-
]),
|
|
221
|
-
};
|
|
222
|
-
return metadata;
|
|
223
|
-
}
|
|
224
|
-
return __queryReservationLocations;
|
|
225
|
-
}
|
|
226
|
-
exports.queryReservationLocations = queryReservationLocations;
|
|
227
|
-
/**
|
|
228
|
-
* Retrieves a list of up to 100 reservation locations.
|
|
229
|
-
*
|
|
230
|
-
* The `FULL` fieldset can only be retrieved by users with the `READ RESERVATION LOCATIONS (FULL)` or `MANAGE RESERVATION LOCATIONS` permission scopes.
|
|
231
|
-
*/
|
|
232
|
-
function listReservationLocations(payload) {
|
|
233
|
-
function __listReservationLocations({ host }) {
|
|
234
|
-
const metadata = {
|
|
235
|
-
entityFqdn: 'wix.table_reservations.v1.reservation_location',
|
|
236
|
-
method: 'GET',
|
|
237
|
-
methodFqn: 'wix.table_reservations.reservation_location.v1.ReservationLocationsService.ListReservationLocations',
|
|
238
|
-
url: resolveWixTableReservationsReservationLocationV1ReservationLocationsServiceUrl({ protoPath: '/v1/reservation-locations', data: payload, host }),
|
|
239
|
-
params: (0, metro_runtime_1.toURLSearchParams)(payload),
|
|
240
|
-
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
|
|
241
|
-
{
|
|
242
|
-
transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
|
|
243
|
-
paths: [
|
|
244
|
-
{ path: 'reservationLocations.createdDate' },
|
|
245
|
-
{ path: 'reservationLocations.updatedDate' },
|
|
246
|
-
],
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
transformFn: float_2.transformRESTFloatToSDKFloat,
|
|
250
|
-
paths: [
|
|
251
|
-
{
|
|
252
|
-
path: 'reservationLocations.location.address.geocode.latitude',
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
path: 'reservationLocations.location.address.geocode.longitude',
|
|
256
|
-
},
|
|
257
|
-
],
|
|
258
|
-
},
|
|
259
|
-
]),
|
|
260
|
-
};
|
|
261
|
-
return metadata;
|
|
262
|
-
}
|
|
263
|
-
return __listReservationLocations;
|
|
264
|
-
}
|
|
265
|
-
exports.listReservationLocations = listReservationLocations;
|
|
266
|
-
//# sourceMappingURL=table-reservations-v1-reservation-location.http.js.map
|