@wix/auto_sdk_seatings_seating-reservation 1.0.0
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/index.d.ts +1 -0
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +18 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.context.d.ts +17 -0
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.context.js +28 -0
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.context.js.map +1 -0
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.http.d.ts +11 -0
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.http.js +232 -0
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.http.js.map +1 -0
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.d.ts +24 -0
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.js +142 -0
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.js.map +1 -0
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.public.d.ts +50 -0
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.public.js +67 -0
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.public.js.map +1 -0
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.types.d.ts +923 -0
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.types.js +77 -0
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.types.js.map +1 -0
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.d.ts +1098 -0
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.js +330 -0
- package/build/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.context.d.ts +17 -0
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.context.js +17 -0
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.context.js.map +1 -0
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.http.d.ts +11 -0
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.http.js +223 -0
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.http.js.map +1 -0
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.meta.d.ts +24 -0
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.meta.js +110 -0
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.meta.js.map +1 -0
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.public.d.ts +50 -0
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.public.js +50 -0
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.public.js.map +1 -0
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.types.d.ts +923 -0
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.types.js +74 -0
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.types.js.map +1 -0
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.universal.d.ts +1098 -0
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.universal.js +298 -0
- package/build/es/src/seating-v1-seating-reservation-seating-reservation.universal.js.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -0
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +1 -0
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -0
- package/build/internal/cjs/meta.js +18 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.context.d.ts +17 -0
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.context.js +28 -0
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.context.js.map +1 -0
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.http.d.ts +11 -0
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.http.js +232 -0
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.http.js.map +1 -0
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.d.ts +24 -0
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.js +142 -0
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.meta.js.map +1 -0
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.public.d.ts +50 -0
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.public.js +67 -0
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.public.js.map +1 -0
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.types.d.ts +923 -0
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.types.js +77 -0
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.types.js.map +1 -0
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.d.ts +1098 -0
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.js +330 -0
- package/build/internal/cjs/src/seating-v1-seating-reservation-seating-reservation.universal.js.map +1 -0
- package/build/internal/es/index.d.ts +1 -0
- package/build/internal/es/index.js +2 -0
- package/build/internal/es/index.js.map +1 -0
- package/build/internal/es/index.typings.d.ts +1 -0
- package/build/internal/es/index.typings.js +2 -0
- package/build/internal/es/index.typings.js.map +1 -0
- package/build/internal/es/meta.d.ts +1 -0
- package/build/internal/es/meta.js +2 -0
- package/build/internal/es/meta.js.map +1 -0
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.context.d.ts +17 -0
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.context.js +17 -0
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.context.js.map +1 -0
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.http.d.ts +11 -0
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.http.js +223 -0
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.http.js.map +1 -0
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.meta.d.ts +24 -0
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.meta.js +110 -0
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.meta.js.map +1 -0
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.public.d.ts +50 -0
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.public.js +50 -0
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.public.js.map +1 -0
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.types.d.ts +923 -0
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.types.js +74 -0
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.types.js.map +1 -0
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.universal.d.ts +1098 -0
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.universal.js +298 -0
- package/build/internal/es/src/seating-v1-seating-reservation-seating-reservation.universal.js.map +1 -0
- package/meta/package.json +3 -0
- package/package.json +52 -0
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WebhookIdentityType = exports.Type = exports.SortOrder = exports.ShapeTypeEnumType = exports.Position = exports.PlaceTypeEnumType = exports.Numbering = exports.Icon = exports.onSeatingReservationDeleted = exports.onSeatingReservationCreated = exports.getSeatingReservationSummary = exports.getSeatingCategorySummary = exports.deleteSeatingReservation = exports.querySeatingReservation = exports.getReservation = exports.createSeatingReservation = exports.__metadata = void 0;
|
|
4
|
+
const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
5
|
+
const timestamp_1 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
6
|
+
const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
7
|
+
const sdk_types_1 = require("@wix/sdk-types");
|
|
8
|
+
const seating_v1_seating_reservation_seating_reservation_universal_js_1 = require("./seating-v1-seating-reservation-seating-reservation.universal.js");
|
|
9
|
+
exports.__metadata = { PACKAGE_NAME: '@wix/seatings' };
|
|
10
|
+
function createSeatingReservation(httpClient) {
|
|
11
|
+
return (options) => (0, seating_v1_seating_reservation_seating_reservation_universal_js_1.createSeatingReservation)(options,
|
|
12
|
+
// @ts-ignore
|
|
13
|
+
{ httpClient });
|
|
14
|
+
}
|
|
15
|
+
exports.createSeatingReservation = createSeatingReservation;
|
|
16
|
+
function getReservation(httpClient) {
|
|
17
|
+
return (_id) => (0, seating_v1_seating_reservation_seating_reservation_universal_js_1.getReservation)(_id,
|
|
18
|
+
// @ts-ignore
|
|
19
|
+
{ httpClient });
|
|
20
|
+
}
|
|
21
|
+
exports.getReservation = getReservation;
|
|
22
|
+
function querySeatingReservation(httpClient) {
|
|
23
|
+
return () => (0, seating_v1_seating_reservation_seating_reservation_universal_js_1.querySeatingReservation)(
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
{ httpClient });
|
|
26
|
+
}
|
|
27
|
+
exports.querySeatingReservation = querySeatingReservation;
|
|
28
|
+
function deleteSeatingReservation(httpClient) {
|
|
29
|
+
return (_id) => (0, seating_v1_seating_reservation_seating_reservation_universal_js_1.deleteSeatingReservation)(_id,
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
{ httpClient });
|
|
32
|
+
}
|
|
33
|
+
exports.deleteSeatingReservation = deleteSeatingReservation;
|
|
34
|
+
function getSeatingCategorySummary(httpClient) {
|
|
35
|
+
return (options) => (0, seating_v1_seating_reservation_seating_reservation_universal_js_1.getSeatingCategorySummary)(options,
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
{ httpClient });
|
|
38
|
+
}
|
|
39
|
+
exports.getSeatingCategorySummary = getSeatingCategorySummary;
|
|
40
|
+
function getSeatingReservationSummary(httpClient) {
|
|
41
|
+
return (externalId) => (0, seating_v1_seating_reservation_seating_reservation_universal_js_1.getSeatingReservationSummary)(externalId,
|
|
42
|
+
// @ts-ignore
|
|
43
|
+
{ httpClient });
|
|
44
|
+
}
|
|
45
|
+
exports.getSeatingReservationSummary = getSeatingReservationSummary;
|
|
46
|
+
exports.onSeatingReservationCreated = (0, sdk_types_1.EventDefinition)('wix.seating.v1.seating_reservation_created', true, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
|
|
47
|
+
{
|
|
48
|
+
transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
|
|
49
|
+
paths: [{ path: 'metadata.eventTime' }],
|
|
50
|
+
},
|
|
51
|
+
])))();
|
|
52
|
+
exports.onSeatingReservationDeleted = (0, sdk_types_1.EventDefinition)('wix.seating.v1.seating_reservation_deleted', true, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
|
|
53
|
+
{
|
|
54
|
+
transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
|
|
55
|
+
paths: [{ path: 'metadata.eventTime' }],
|
|
56
|
+
},
|
|
57
|
+
])))();
|
|
58
|
+
var seating_v1_seating_reservation_seating_reservation_universal_js_2 = require("./seating-v1-seating-reservation-seating-reservation.universal.js");
|
|
59
|
+
Object.defineProperty(exports, "Icon", { enumerable: true, get: function () { return seating_v1_seating_reservation_seating_reservation_universal_js_2.Icon; } });
|
|
60
|
+
Object.defineProperty(exports, "Numbering", { enumerable: true, get: function () { return seating_v1_seating_reservation_seating_reservation_universal_js_2.Numbering; } });
|
|
61
|
+
Object.defineProperty(exports, "PlaceTypeEnumType", { enumerable: true, get: function () { return seating_v1_seating_reservation_seating_reservation_universal_js_2.PlaceTypeEnumType; } });
|
|
62
|
+
Object.defineProperty(exports, "Position", { enumerable: true, get: function () { return seating_v1_seating_reservation_seating_reservation_universal_js_2.Position; } });
|
|
63
|
+
Object.defineProperty(exports, "ShapeTypeEnumType", { enumerable: true, get: function () { return seating_v1_seating_reservation_seating_reservation_universal_js_2.ShapeTypeEnumType; } });
|
|
64
|
+
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return seating_v1_seating_reservation_seating_reservation_universal_js_2.SortOrder; } });
|
|
65
|
+
Object.defineProperty(exports, "Type", { enumerable: true, get: function () { return seating_v1_seating_reservation_seating_reservation_universal_js_2.Type; } });
|
|
66
|
+
Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return seating_v1_seating_reservation_seating_reservation_universal_js_2.WebhookIdentityType; } });
|
|
67
|
+
//# sourceMappingURL=seating-v1-seating-reservation-seating-reservation.public.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"seating-v1-seating-reservation-seating-reservation.public.js","sourceRoot":"","sources":["../../../src/seating-v1-seating-reservation-seating-reservation.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,0EAAkG;AAClG,sFAAkF;AAClF,8CAA6D;AAC7D,uJAmB2E;AAE9D,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,SAAgB,wBAAwB,CACtC,UAAsB;IAEtB,OAAO,CAAC,OAAyC,EAAE,EAAE,CACnD,IAAA,0FAAiC,EAC/B,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAT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