@wix/table-reservations 1.0.77 → 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 -26
- package/build/cjs/src/table-reservations-v1-reservation.public.js +0 -78
- 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 -976
- package/build/cjs/src/table-reservations-v1-reservation.types.js +0 -119
- 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 -1382
- package/build/cjs/src/table-reservations-v1-reservation.universal.js +0 -872
- 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 -26
- 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 -976
- package/build/es/src/table-reservations-v1-reservation.types.js +0 -116
- 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 -1382
- package/build/es/src/table-reservations-v1-reservation.universal.js +0 -837
- 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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-reservations-v1-reservation-location.http.js","sourceRoot":"","sources":["../../../src/table-reservations-v1-reservation-location.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,kEAAsF;AACtF,kEAAsF;AACtF,0EAAkG;AAClG,0EAAkG;AAClG,4EAAmG;AACnG,sFAAkF;AAClF,sDAAgD;AAIhD,SAAS,8EAA8E,CACrF,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,iBAAiB,EAAE;YACjB;gBACE,OAAO,EAAE,2CAA2C;gBACpD,QAAQ,EAAE,EAAE;aACb;SACF;QACD,mBAAmB,EAAE;YACnB;gBACE,OAAO,EAAE,gDAAgD;gBACzD,QAAQ,EAAE,EAAE;aACb;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,gDAAgD;gBACzD,QAAQ,EAAE,EAAE;aACb;SACF;QACD,oBAAoB,EAAE;YACpB;gBACE,OAAO,EAAE,gDAAgD;gBACzD,QAAQ,EAAE,EAAE;aACb;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,gDAAgD;gBACzD,QAAQ,EAAE,EAAE;aACb;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,gDAAgD;gBACzD,QAAQ,EAAE,EAAE;aACb;SACF;QACD,gBAAgB,EAAE;YAChB;gBACE,OAAO,EAAE,gDAAgD;gBACzD,QAAQ,EAAE,E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AE,gDAAoC;oBACjD,KAAK,EAAE;wBACL,EAAE,IAAI,EAAE,kCAAkC,EAAE;wBAC5C,EAAE,IAAI,EAAE,kCAAkC,EAAE;qBAC7C;iBACF;gBACD;oBACE,WAAW,EAAE,oCAA4B;oBACzC,KAAK,EAAE;wBACL;4BACE,IAAI,EAAE,wDAAwD;yBAC/D;wBACD;4BACE,IAAI,EAAE,yDAAyD;yBAChE;qBACF;iBACF;aACF,CAAC;SACL,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,0BAA0B,CAAC;AACpC,CAAC;AAxCD,4DAwCC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as ambassadorWixTableReservationsV1ReservationLocationTypes from './table-reservations-v1-reservation-location.types';
|
|
2
|
-
import * as ambassadorWixTableReservationsV1ReservationLocationUniversalTypes from './table-reservations-v1-reservation-location.universal';
|
|
3
|
-
export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
4
|
-
getUrl: (context: any) => string;
|
|
5
|
-
httpMethod: K;
|
|
6
|
-
path: string;
|
|
7
|
-
pathParams: M;
|
|
8
|
-
__requestType: T;
|
|
9
|
-
__originalRequestType: S;
|
|
10
|
-
__responseType: Q;
|
|
11
|
-
__originalResponseType: R;
|
|
12
|
-
};
|
|
13
|
-
export declare function getReservationLocation(): __PublicMethodMetaInfo<'GET', {
|
|
14
|
-
reservationLocationId: string;
|
|
15
|
-
}, ambassadorWixTableReservationsV1ReservationLocationUniversalTypes.GetReservationLocationRequest, ambassadorWixTableReservationsV1ReservationLocationTypes.GetReservationLocationRequest, ambassadorWixTableReservationsV1ReservationLocationUniversalTypes.GetReservationLocationResponse & ambassadorWixTableReservationsV1ReservationLocationUniversalTypes.GetReservationLocationResponseNonNullableFields, ambassadorWixTableReservationsV1ReservationLocationTypes.GetReservationLocationResponse & ambassadorWixTableReservationsV1ReservationLocationTypes.GetReservationLocationResponseNonNullableFields>;
|
|
16
|
-
export declare function updateReservationLocation(): __PublicMethodMetaInfo<'PATCH', {
|
|
17
|
-
reservationLocationId: string;
|
|
18
|
-
}, ambassadorWixTableReservationsV1ReservationLocationUniversalTypes.UpdateReservationLocationRequest, ambassadorWixTableReservationsV1ReservationLocationTypes.UpdateReservationLocationRequest, ambassadorWixTableReservationsV1ReservationLocationUniversalTypes.UpdateReservationLocationResponse & ambassadorWixTableReservationsV1ReservationLocationUniversalTypes.UpdateReservationLocationResponseNonNullableFields, ambassadorWixTableReservationsV1ReservationLocationTypes.UpdateReservationLocationResponse & ambassadorWixTableReservationsV1ReservationLocationTypes.UpdateReservationLocationResponseNonNullableFields>;
|
|
19
|
-
export declare function queryReservationLocations(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixTableReservationsV1ReservationLocationUniversalTypes.QueryReservationLocationsRequest, ambassadorWixTableReservationsV1ReservationLocationTypes.QueryReservationLocationsRequest, ambassadorWixTableReservationsV1ReservationLocationUniversalTypes.QueryReservationLocationsResponse & ambassadorWixTableReservationsV1ReservationLocationUniversalTypes.QueryReservationLocationsResponseNonNullableFields, ambassadorWixTableReservationsV1ReservationLocationTypes.QueryReservationLocationsResponse & ambassadorWixTableReservationsV1ReservationLocationTypes.QueryReservationLocationsResponseNonNullableFields>;
|
|
20
|
-
export declare function listReservationLocations(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixTableReservationsV1ReservationLocationUniversalTypes.ListReservationLocationsRequest, ambassadorWixTableReservationsV1ReservationLocationTypes.ListReservationLocationsRequest, ambassadorWixTableReservationsV1ReservationLocationUniversalTypes.ListReservationLocationsResponse & ambassadorWixTableReservationsV1ReservationLocationUniversalTypes.ListReservationLocationsResponseNonNullableFields, ambassadorWixTableReservationsV1ReservationLocationTypes.ListReservationLocationsResponse & ambassadorWixTableReservationsV1ReservationLocationTypes.ListReservationLocationsResponseNonNullableFields>;
|
|
@@ -1,106 +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.listReservationLocations = exports.queryReservationLocations = exports.updateReservationLocation = exports.getReservationLocation = void 0;
|
|
27
|
-
const ambassadorWixTableReservationsV1ReservationLocation = __importStar(require("./table-reservations-v1-reservation-location.http"));
|
|
28
|
-
function getReservationLocation() {
|
|
29
|
-
const payload = { reservationLocationId: ':reservationLocationId' };
|
|
30
|
-
const getRequestOptions = ambassadorWixTableReservationsV1ReservationLocation.getReservationLocation(payload);
|
|
31
|
-
const getUrl = (context) => {
|
|
32
|
-
const { url } = getRequestOptions(context);
|
|
33
|
-
return url;
|
|
34
|
-
};
|
|
35
|
-
return {
|
|
36
|
-
getUrl,
|
|
37
|
-
httpMethod: 'GET',
|
|
38
|
-
path: '/v1/reservation-locations/{reservationLocationId}',
|
|
39
|
-
pathParams: { reservationLocationId: 'reservationLocationId' },
|
|
40
|
-
__requestType: null,
|
|
41
|
-
__originalRequestType: null,
|
|
42
|
-
__responseType: null,
|
|
43
|
-
__originalResponseType: null,
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
exports.getReservationLocation = getReservationLocation;
|
|
47
|
-
function updateReservationLocation() {
|
|
48
|
-
const payload = {
|
|
49
|
-
reservationLocation: { id: ':reservationLocationId' },
|
|
50
|
-
};
|
|
51
|
-
const getRequestOptions = ambassadorWixTableReservationsV1ReservationLocation.updateReservationLocation(payload);
|
|
52
|
-
const getUrl = (context) => {
|
|
53
|
-
const { url } = getRequestOptions(context);
|
|
54
|
-
return url;
|
|
55
|
-
};
|
|
56
|
-
return {
|
|
57
|
-
getUrl,
|
|
58
|
-
httpMethod: 'PATCH',
|
|
59
|
-
path: '/v1/reservation-locations/{reservationLocation.id}',
|
|
60
|
-
pathParams: { reservationLocationId: 'reservationLocationId' },
|
|
61
|
-
__requestType: null,
|
|
62
|
-
__originalRequestType: null,
|
|
63
|
-
__responseType: null,
|
|
64
|
-
__originalResponseType: null,
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
exports.updateReservationLocation = updateReservationLocation;
|
|
68
|
-
function queryReservationLocations() {
|
|
69
|
-
const payload = {};
|
|
70
|
-
const getRequestOptions = ambassadorWixTableReservationsV1ReservationLocation.queryReservationLocations(payload);
|
|
71
|
-
const getUrl = (context) => {
|
|
72
|
-
const { url } = getRequestOptions(context);
|
|
73
|
-
return url;
|
|
74
|
-
};
|
|
75
|
-
return {
|
|
76
|
-
getUrl,
|
|
77
|
-
httpMethod: 'POST',
|
|
78
|
-
path: '/v1/reservation-locations/query',
|
|
79
|
-
pathParams: {},
|
|
80
|
-
__requestType: null,
|
|
81
|
-
__originalRequestType: null,
|
|
82
|
-
__responseType: null,
|
|
83
|
-
__originalResponseType: null,
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
exports.queryReservationLocations = queryReservationLocations;
|
|
87
|
-
function listReservationLocations() {
|
|
88
|
-
const payload = {};
|
|
89
|
-
const getRequestOptions = ambassadorWixTableReservationsV1ReservationLocation.listReservationLocations(payload);
|
|
90
|
-
const getUrl = (context) => {
|
|
91
|
-
const { url } = getRequestOptions(context);
|
|
92
|
-
return url;
|
|
93
|
-
};
|
|
94
|
-
return {
|
|
95
|
-
getUrl,
|
|
96
|
-
httpMethod: 'GET',
|
|
97
|
-
path: '/v1/reservation-locations',
|
|
98
|
-
pathParams: {},
|
|
99
|
-
__requestType: null,
|
|
100
|
-
__originalRequestType: null,
|
|
101
|
-
__responseType: null,
|
|
102
|
-
__originalResponseType: null,
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
exports.listReservationLocations = listReservationLocations;
|
|
106
|
-
//# sourceMappingURL=table-reservations-v1-reservation-location.meta.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-reservations-v1-reservation-location.meta.js","sourceRoot":"","sources":["../../../src/table-reservations-v1-reservation-location.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uIAAyH;AAsBzH,SAAgB,sBAAsB;IAUpC,MAAM,OAAO,GAAG,EAAE,qBAAqB,EAAE,wBAAwB,EAAS,CAAC;IAE3E,MAAM,iBAAiB,GACrB,mDAAmD,CAAC,sBAAsB,CACxE,OAAO,CACR,CAAC;IAEJ,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,mDAAmD;QACzD,UAAU,EAAE,EAAE,qBAAqB,EAAE,uBAAuB,EAAE;QAC9D,a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E,IAAW;KACpC,CAAC;AACJ,CAAC;AAhCD,8DAgCC;AAED,SAAgB,wBAAwB;IAUtC,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,mDAAmD,CAAC,wBAAwB,CAC1E,OAAO,CACR,CAAC;IAEJ,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,2BAA2B;QACjC,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AAhCD,4DAgCC"}
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@wix/sdk-types';
|
|
2
|
-
import { UpdateReservationLocation, GetReservationLocationOptions, ListReservationLocationsOptions, QueryReservationLocationsOptions } from './table-reservations-v1-reservation-location.universal';
|
|
3
|
-
export declare const __metadata: {
|
|
4
|
-
PACKAGE_NAME: string;
|
|
5
|
-
};
|
|
6
|
-
export declare function getReservationLocation(httpClient: HttpClient): (reservationLocationId: string, options?: GetReservationLocationOptions) => Promise<import("./table-reservations-v1-reservation-location.universal").ReservationLocation & {
|
|
7
|
-
configuration?: {
|
|
8
|
-
onlineReservations?: {
|
|
9
|
-
seatPacing?: {
|
|
10
|
-
number: number;
|
|
11
|
-
enabled: boolean;
|
|
12
|
-
} | undefined;
|
|
13
|
-
partyPacing?: {
|
|
14
|
-
number: number;
|
|
15
|
-
enabled: boolean;
|
|
16
|
-
} | undefined;
|
|
17
|
-
partySize?: {
|
|
18
|
-
min: number;
|
|
19
|
-
max: number;
|
|
20
|
-
} | undefined;
|
|
21
|
-
minimumReservationNotice?: {
|
|
22
|
-
number: number;
|
|
23
|
-
unit: import("./table-reservations-v1-reservation-location.universal").Unit;
|
|
24
|
-
} | undefined;
|
|
25
|
-
turnoverTimeRules: {
|
|
26
|
-
seatsMin: number;
|
|
27
|
-
seatsMax: number;
|
|
28
|
-
minutes: number;
|
|
29
|
-
}[];
|
|
30
|
-
businessSchedule?: {
|
|
31
|
-
periods: {
|
|
32
|
-
openDay: import("./table-reservations-v1-reservation-location.universal").DayOfWeek;
|
|
33
|
-
openTime: string;
|
|
34
|
-
closeDay: import("./table-reservations-v1-reservation-location.universal").DayOfWeek;
|
|
35
|
-
closeTime: string;
|
|
36
|
-
}[];
|
|
37
|
-
specialHourPeriod: {
|
|
38
|
-
startDate: string;
|
|
39
|
-
endDate: string;
|
|
40
|
-
isClosed: boolean;
|
|
41
|
-
comment: string;
|
|
42
|
-
}[];
|
|
43
|
-
} | undefined;
|
|
44
|
-
manualApproval?: {
|
|
45
|
-
partySizeThreshold: number;
|
|
46
|
-
customApprovalsProviderId: string;
|
|
47
|
-
enabled: boolean;
|
|
48
|
-
} | undefined;
|
|
49
|
-
} | undefined;
|
|
50
|
-
reservationForm?: {
|
|
51
|
-
termsAndConditions?: {
|
|
52
|
-
url: string;
|
|
53
|
-
enabled: boolean;
|
|
54
|
-
} | undefined;
|
|
55
|
-
privacyPolicy?: {
|
|
56
|
-
url: string;
|
|
57
|
-
enabled: boolean;
|
|
58
|
-
} | undefined;
|
|
59
|
-
customFieldDefinitions: {
|
|
60
|
-
name: string;
|
|
61
|
-
required: boolean;
|
|
62
|
-
}[];
|
|
63
|
-
emailMarketingCheckbox?: {
|
|
64
|
-
enabled: boolean;
|
|
65
|
-
checkedByDefault: boolean;
|
|
66
|
-
} | undefined;
|
|
67
|
-
} | undefined;
|
|
68
|
-
myReservationsFields: {
|
|
69
|
-
fieldType: import("./table-reservations-v1-reservation-location.universal").FieldType;
|
|
70
|
-
shown: boolean;
|
|
71
|
-
}[];
|
|
72
|
-
tableManagement?: {
|
|
73
|
-
tableDefinitions: {
|
|
74
|
-
name: string;
|
|
75
|
-
seatsMin: number;
|
|
76
|
-
seatsMax: number;
|
|
77
|
-
}[];
|
|
78
|
-
deletedTableDefinitions: {
|
|
79
|
-
name: string;
|
|
80
|
-
seatsMin: number;
|
|
81
|
-
seatsMax: number;
|
|
82
|
-
}[];
|
|
83
|
-
tableCombinations: {
|
|
84
|
-
seatsMin: number;
|
|
85
|
-
seatsMax: number;
|
|
86
|
-
}[];
|
|
87
|
-
} | undefined;
|
|
88
|
-
} | undefined;
|
|
89
|
-
}>;
|
|
90
|
-
export declare function updateReservationLocation(httpClient: HttpClient): (_id: string | null, reservationLocation: UpdateReservationLocation) => Promise<import("./table-reservations-v1-reservation-location.universal").ReservationLocation & {
|
|
91
|
-
configuration?: {
|
|
92
|
-
onlineReservations?: {
|
|
93
|
-
seatPacing?: {
|
|
94
|
-
number: number;
|
|
95
|
-
enabled: boolean;
|
|
96
|
-
} | undefined;
|
|
97
|
-
partyPacing?: {
|
|
98
|
-
number: number;
|
|
99
|
-
enabled: boolean;
|
|
100
|
-
} | undefined;
|
|
101
|
-
partySize?: {
|
|
102
|
-
min: number;
|
|
103
|
-
max: number;
|
|
104
|
-
} | undefined;
|
|
105
|
-
minimumReservationNotice?: {
|
|
106
|
-
number: number;
|
|
107
|
-
unit: import("./table-reservations-v1-reservation-location.universal").Unit;
|
|
108
|
-
} | undefined;
|
|
109
|
-
turnoverTimeRules: {
|
|
110
|
-
seatsMin: number;
|
|
111
|
-
seatsMax: number;
|
|
112
|
-
minutes: number;
|
|
113
|
-
}[];
|
|
114
|
-
businessSchedule?: {
|
|
115
|
-
periods: {
|
|
116
|
-
openDay: import("./table-reservations-v1-reservation-location.universal").DayOfWeek;
|
|
117
|
-
openTime: string;
|
|
118
|
-
closeDay: import("./table-reservations-v1-reservation-location.universal").DayOfWeek;
|
|
119
|
-
closeTime: string;
|
|
120
|
-
}[];
|
|
121
|
-
specialHourPeriod: {
|
|
122
|
-
startDate: string;
|
|
123
|
-
endDate: string;
|
|
124
|
-
isClosed: boolean;
|
|
125
|
-
comment: string;
|
|
126
|
-
}[];
|
|
127
|
-
} | undefined;
|
|
128
|
-
manualApproval?: {
|
|
129
|
-
partySizeThreshold: number;
|
|
130
|
-
customApprovalsProviderId: string;
|
|
131
|
-
enabled: boolean;
|
|
132
|
-
} | undefined;
|
|
133
|
-
} | undefined;
|
|
134
|
-
reservationForm?: {
|
|
135
|
-
termsAndConditions?: {
|
|
136
|
-
url: string;
|
|
137
|
-
enabled: boolean;
|
|
138
|
-
} | undefined;
|
|
139
|
-
privacyPolicy?: {
|
|
140
|
-
url: string;
|
|
141
|
-
enabled: boolean;
|
|
142
|
-
} | undefined;
|
|
143
|
-
customFieldDefinitions: {
|
|
144
|
-
name: string;
|
|
145
|
-
required: boolean;
|
|
146
|
-
}[];
|
|
147
|
-
emailMarketingCheckbox?: {
|
|
148
|
-
enabled: boolean;
|
|
149
|
-
checkedByDefault: boolean;
|
|
150
|
-
} | undefined;
|
|
151
|
-
} | undefined;
|
|
152
|
-
myReservationsFields: {
|
|
153
|
-
fieldType: import("./table-reservations-v1-reservation-location.universal").FieldType;
|
|
154
|
-
shown: boolean;
|
|
155
|
-
}[];
|
|
156
|
-
tableManagement?: {
|
|
157
|
-
tableDefinitions: {
|
|
158
|
-
name: string;
|
|
159
|
-
seatsMin: number;
|
|
160
|
-
seatsMax: number;
|
|
161
|
-
}[];
|
|
162
|
-
deletedTableDefinitions: {
|
|
163
|
-
name: string;
|
|
164
|
-
seatsMin: number;
|
|
165
|
-
seatsMax: number;
|
|
166
|
-
}[];
|
|
167
|
-
tableCombinations: {
|
|
168
|
-
seatsMin: number;
|
|
169
|
-
seatsMax: number;
|
|
170
|
-
}[];
|
|
171
|
-
} | undefined;
|
|
172
|
-
} | undefined;
|
|
173
|
-
}>;
|
|
174
|
-
export declare function queryReservationLocations(httpClient: HttpClient): (options?: QueryReservationLocationsOptions) => import("./table-reservations-v1-reservation-location.universal").ReservationLocationsQueryBuilder;
|
|
175
|
-
export declare function listReservationLocations(httpClient: HttpClient): (options?: ListReservationLocationsOptions) => Promise<import("./table-reservations-v1-reservation-location.universal").ListReservationLocationsResponse & import("./table-reservations-v1-reservation-location.universal").ListReservationLocationsResponseNonNullableFields>;
|
|
176
|
-
export { DayOfWeek, Unit, FieldType, Set, SortOrder, Mode, State, SiteCreatedContext, Namespace, DeleteStatus, PlacementType, V4DayOfWeek, ResolutionMethod, FeaturePeriod, } from './table-reservations-v1-reservation-location.universal';
|
|
177
|
-
export { ReservationLocation, StreetAddress, AddressLocation, Address, BusinessSchedule, TimePeriod, SpecialHourPeriod, TableDefinition, TableCombination, SeatPacing, PartyPacing, PartiesSize, PartySize, NoticePeriod, TurnoverTimeRule, TurnoverRule, ManualApproval, ManualApprovalValueOneOf, TermsAndConditions, TermsAndConditionsValueOneOf, PrivacyPolicy, PrivacyPolicyValueOneOf, CustomFieldDefinition, EmailMarketingCheckbox, OnlineReservations, ReservationForm, MyReservationsField, TableManagement, ReservationPayment, Location, Configuration, InvalidateCache, InvalidateCacheGetByOneOf, App, Page, URI, GetReservationLocationRequest, GetReservationLocationResponse, UpdateReservationLocationRequest, UpdateReservationLocationResponse, TablesDeleted, QueryReservationLocationsRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QueryReservationLocationsResponse, PagingMetadataV2, Cursors, ListReservationLocationsRequest, ListReservationLocationsResponse, CursorPagingMetadata, DeleteOrphanReservationLocationRequest, DeleteOrphanReservationLocationResponse, MigrateOldRestaurantSettingsRequest, MigrateOldRestaurantSettingsResponse, ParsedSettings, OldScheduleInterval, OldCustomField, OldPolicy, OldTerms, OldScheduleException, OldInstant, MigrationParsingError, MigrationResult, CheckReservationLocationsCreatedRequest, CheckReservationLocationsCreatedResponse, DomainEvent, DomainCreatedEvent, DomainDeletedEvent, DomainUpdatedEvent, DomainActionEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, Empty, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Asset, SiteCreated, SiteTransferred, SiteDeleted, DeleteContext, SiteUndeleted, SitePublished, SiteUnpublished, SiteMarkedAsTemplate, SiteMarkedAsWixSite, ServiceProvisioned, ServiceRemoved, SiteRenamed, SiteHardDeleted, NamespaceChanged, StudioAssigned, StudioUnassigned, SitePropertiesNotification, SitePropertiesEvent, Properties, Categories, Locale, V4Address, AddressHint, GeoCoordinates, V4BusinessSchedule, V4TimePeriod, V4SpecialHourPeriod, Multilingual, SupportedLanguage, ConsentPolicy, Translation, ChangeContext, ChangeContextPayloadOneOf, PropertiesChange, V4SiteCreated, SiteCloned, FeatureEvent, FeatureEventEventOneOf, FeatureEnabled, FeatureEnabledReasonOneOf, Feature, FeatureQuantityInfoOneOf, FeatureContext, BooleanFeature, QuotaFeature, QuotaInfo, TransferredFromAnotherAccountReason, ReassignedFromSiteReason, AssignedFromFloatingReason, NewFeatureReason, ContractSwitchedReason, ManualFeatureCreationReason, MigratedFromLegacyReason, FeatureDisabled, FeatureDisabledReasonOneOf, UnAssingedToFloatingReason, ReplacedByAnotherSubscriptionReason, ReassignedToAnotherSiteReason, FeatureUpdated, FeatureUpdatedPreviousQuantityInfoOneOf, FeatureUpdatedReasonOneOf, FeatureCancelled, FeatureCancelledReasonOneOf, TransferredToAnotherAccountReason, CancelRequestedReason, GetReservationLocationResponseNonNullableFields, UpdateReservationLocationResponseNonNullableFields, QueryReservationLocationsResponseNonNullableFields, ListReservationLocationsResponseNonNullableFields, GetReservationLocationOptions, UpdateReservationLocation, QueryReservationLocationsOptions, ReservationLocationsQueryResult, ReservationLocationsQueryBuilder, ListReservationLocationsOptions, } from './table-reservations-v1-reservation-location.universal';
|
|
178
|
-
export { onReservationLocationUpdated, onReservationLocationCreated, } from './table-reservations-v1-reservation-location.universal';
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.onReservationLocationCreated = exports.onReservationLocationUpdated = exports.FeaturePeriod = exports.ResolutionMethod = exports.V4DayOfWeek = exports.PlacementType = exports.DeleteStatus = exports.Namespace = exports.SiteCreatedContext = exports.State = exports.Mode = exports.SortOrder = exports.Set = exports.FieldType = exports.Unit = exports.DayOfWeek = exports.listReservationLocations = exports.queryReservationLocations = exports.updateReservationLocation = exports.getReservationLocation = exports.__metadata = void 0;
|
|
4
|
-
const table_reservations_v1_reservation_location_universal_1 = require("./table-reservations-v1-reservation-location.universal");
|
|
5
|
-
exports.__metadata = { PACKAGE_NAME: '@wix/table-reservations' };
|
|
6
|
-
function getReservationLocation(httpClient) {
|
|
7
|
-
return (reservationLocationId, options) => (0, table_reservations_v1_reservation_location_universal_1.getReservationLocation)(reservationLocationId, options,
|
|
8
|
-
// @ts-ignore
|
|
9
|
-
{ httpClient });
|
|
10
|
-
}
|
|
11
|
-
exports.getReservationLocation = getReservationLocation;
|
|
12
|
-
function updateReservationLocation(httpClient) {
|
|
13
|
-
return (_id, reservationLocation) => (0, table_reservations_v1_reservation_location_universal_1.updateReservationLocation)(_id, reservationLocation,
|
|
14
|
-
// @ts-ignore
|
|
15
|
-
{ httpClient });
|
|
16
|
-
}
|
|
17
|
-
exports.updateReservationLocation = updateReservationLocation;
|
|
18
|
-
function queryReservationLocations(httpClient) {
|
|
19
|
-
return (options) => (0, table_reservations_v1_reservation_location_universal_1.queryReservationLocations)(options,
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
{ httpClient });
|
|
22
|
-
}
|
|
23
|
-
exports.queryReservationLocations = queryReservationLocations;
|
|
24
|
-
function listReservationLocations(httpClient) {
|
|
25
|
-
return (options) => (0, table_reservations_v1_reservation_location_universal_1.listReservationLocations)(options,
|
|
26
|
-
// @ts-ignore
|
|
27
|
-
{ httpClient });
|
|
28
|
-
}
|
|
29
|
-
exports.listReservationLocations = listReservationLocations;
|
|
30
|
-
var table_reservations_v1_reservation_location_universal_2 = require("./table-reservations-v1-reservation-location.universal");
|
|
31
|
-
Object.defineProperty(exports, "DayOfWeek", { enumerable: true, get: function () { return table_reservations_v1_reservation_location_universal_2.DayOfWeek; } });
|
|
32
|
-
Object.defineProperty(exports, "Unit", { enumerable: true, get: function () { return table_reservations_v1_reservation_location_universal_2.Unit; } });
|
|
33
|
-
Object.defineProperty(exports, "FieldType", { enumerable: true, get: function () { return table_reservations_v1_reservation_location_universal_2.FieldType; } });
|
|
34
|
-
Object.defineProperty(exports, "Set", { enumerable: true, get: function () { return table_reservations_v1_reservation_location_universal_2.Set; } });
|
|
35
|
-
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return table_reservations_v1_reservation_location_universal_2.SortOrder; } });
|
|
36
|
-
Object.defineProperty(exports, "Mode", { enumerable: true, get: function () { return table_reservations_v1_reservation_location_universal_2.Mode; } });
|
|
37
|
-
Object.defineProperty(exports, "State", { enumerable: true, get: function () { return table_reservations_v1_reservation_location_universal_2.State; } });
|
|
38
|
-
Object.defineProperty(exports, "SiteCreatedContext", { enumerable: true, get: function () { return table_reservations_v1_reservation_location_universal_2.SiteCreatedContext; } });
|
|
39
|
-
Object.defineProperty(exports, "Namespace", { enumerable: true, get: function () { return table_reservations_v1_reservation_location_universal_2.Namespace; } });
|
|
40
|
-
Object.defineProperty(exports, "DeleteStatus", { enumerable: true, get: function () { return table_reservations_v1_reservation_location_universal_2.DeleteStatus; } });
|
|
41
|
-
Object.defineProperty(exports, "PlacementType", { enumerable: true, get: function () { return table_reservations_v1_reservation_location_universal_2.PlacementType; } });
|
|
42
|
-
Object.defineProperty(exports, "V4DayOfWeek", { enumerable: true, get: function () { return table_reservations_v1_reservation_location_universal_2.V4DayOfWeek; } });
|
|
43
|
-
Object.defineProperty(exports, "ResolutionMethod", { enumerable: true, get: function () { return table_reservations_v1_reservation_location_universal_2.ResolutionMethod; } });
|
|
44
|
-
Object.defineProperty(exports, "FeaturePeriod", { enumerable: true, get: function () { return table_reservations_v1_reservation_location_universal_2.FeaturePeriod; } });
|
|
45
|
-
var table_reservations_v1_reservation_location_universal_3 = require("./table-reservations-v1-reservation-location.universal");
|
|
46
|
-
Object.defineProperty(exports, "onReservationLocationUpdated", { enumerable: true, get: function () { return table_reservations_v1_reservation_location_universal_3.onReservationLocationUpdated; } });
|
|
47
|
-
Object.defineProperty(exports, "onReservationLocationCreated", { enumerable: true, get: function () { return table_reservations_v1_reservation_location_universal_3.onReservationLocationCreated; } });
|
|
48
|
-
//# sourceMappingURL=table-reservations-v1-reservation-location.public.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"table-reservations-v1-reservation-location.public.js","sourceRoot":"","sources":["../../../src/table-reservations-v1-reservation-location.public.ts"],"names":[],"mappings":";;;AACA,iIASgE;AAEnD,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,yBAAyB,EAAE,CAAC;AAEtE,SAAgB,sBAAsB,CAAC,UAAsB;IAC3D,OAAO,CACL,qBAA6B,EAC7B,OAAuC,EACvC,EAAE,CACF,IAAA,6EAA+B,EAC7B,qBAAqB,EACrB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAXD,wDAWC;AAED,SAAgB,yBAAyB,CAAC,UAAsB;IAC9D,OAAO,CAAC,GAAkB,EAAE,mBAA8C,EAAE,EAAE,CAC5E,IAAA,gFAAkC,EAChC,GAAG,EACH,mBAAmB;IACnB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,8DAQC;AAED,SAAgB,yBAAyB,CAAC,UAAsB;IAC9D,OAAO,CAAC,OAA0C,EAAE,EAAE,CACpD,IAAA,gFAAkC,EAChC,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,8DAOC;AAED,SAAgB,wBAAwB,CAAC,UAAsB;IAC7D,OAAO,CAAC,OAAyC,EAAE,EAAE,CACnD,IAAA,+EAAiC,EAC/B,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