@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.
Files changed (133) hide show
  1. package/build/cjs/context.d.ts +3 -3
  2. package/build/cjs/context.js +3 -3
  3. package/build/cjs/context.js.map +1 -1
  4. package/build/cjs/index.d.ts +3 -3
  5. package/build/cjs/index.js +3 -3
  6. package/build/cjs/index.js.map +1 -1
  7. package/build/cjs/meta.d.ts +3 -3
  8. package/build/cjs/meta.js +3 -3
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/context.d.ts +3 -3
  11. package/build/es/context.js +3 -3
  12. package/build/es/context.js.map +1 -1
  13. package/build/es/index.d.ts +3 -3
  14. package/build/es/index.js +3 -3
  15. package/build/es/index.js.map +1 -1
  16. package/build/es/meta.d.ts +3 -3
  17. package/build/es/meta.js +3 -3
  18. package/build/es/meta.js.map +1 -1
  19. package/package.json +13 -9
  20. package/build/cjs/index.typings.d.ts +0 -3
  21. package/build/cjs/index.typings.js +0 -30
  22. package/build/cjs/index.typings.js.map +0 -1
  23. package/build/cjs/src/table-reservations-v1-reservation-location.context.d.ts +0 -6
  24. package/build/cjs/src/table-reservations-v1-reservation-location.context.js +0 -73
  25. package/build/cjs/src/table-reservations-v1-reservation-location.context.js.map +0 -1
  26. package/build/cjs/src/table-reservations-v1-reservation-location.http.d.ts +0 -40
  27. package/build/cjs/src/table-reservations-v1-reservation-location.http.js +0 -266
  28. package/build/cjs/src/table-reservations-v1-reservation-location.http.js.map +0 -1
  29. package/build/cjs/src/table-reservations-v1-reservation-location.meta.d.ts +0 -20
  30. package/build/cjs/src/table-reservations-v1-reservation-location.meta.js +0 -106
  31. package/build/cjs/src/table-reservations-v1-reservation-location.meta.js.map +0 -1
  32. package/build/cjs/src/table-reservations-v1-reservation-location.public.d.ts +0 -178
  33. package/build/cjs/src/table-reservations-v1-reservation-location.public.js +0 -48
  34. package/build/cjs/src/table-reservations-v1-reservation-location.public.js.map +0 -1
  35. package/build/cjs/src/table-reservations-v1-reservation-location.types.d.ts +0 -2260
  36. package/build/cjs/src/table-reservations-v1-reservation-location.types.js +0 -187
  37. package/build/cjs/src/table-reservations-v1-reservation-location.types.js.map +0 -1
  38. package/build/cjs/src/table-reservations-v1-reservation-location.universal.d.ts +0 -2333
  39. package/build/cjs/src/table-reservations-v1-reservation-location.universal.js +0 -613
  40. package/build/cjs/src/table-reservations-v1-reservation-location.universal.js.map +0 -1
  41. package/build/cjs/src/table-reservations-v1-reservation.context.d.ts +0 -11
  42. package/build/cjs/src/table-reservations-v1-reservation.context.js +0 -158
  43. package/build/cjs/src/table-reservations-v1-reservation.context.js.map +0 -1
  44. package/build/cjs/src/table-reservations-v1-reservation.http.d.ts +0 -89
  45. package/build/cjs/src/table-reservations-v1-reservation.http.js +0 -508
  46. package/build/cjs/src/table-reservations-v1-reservation.http.js.map +0 -1
  47. package/build/cjs/src/table-reservations-v1-reservation.meta.d.ts +0 -29
  48. package/build/cjs/src/table-reservations-v1-reservation.meta.js +0 -199
  49. package/build/cjs/src/table-reservations-v1-reservation.meta.js.map +0 -1
  50. package/build/cjs/src/table-reservations-v1-reservation.public.d.ts +0 -26
  51. package/build/cjs/src/table-reservations-v1-reservation.public.js +0 -78
  52. package/build/cjs/src/table-reservations-v1-reservation.public.js.map +0 -1
  53. package/build/cjs/src/table-reservations-v1-reservation.types.d.ts +0 -976
  54. package/build/cjs/src/table-reservations-v1-reservation.types.js +0 -119
  55. package/build/cjs/src/table-reservations-v1-reservation.types.js.map +0 -1
  56. package/build/cjs/src/table-reservations-v1-reservation.universal.d.ts +0 -1382
  57. package/build/cjs/src/table-reservations-v1-reservation.universal.js +0 -872
  58. package/build/cjs/src/table-reservations-v1-reservation.universal.js.map +0 -1
  59. package/build/cjs/src/table-reservations-v1-time-slot.context.d.ts +0 -3
  60. package/build/cjs/src/table-reservations-v1-time-slot.context.js +0 -22
  61. package/build/cjs/src/table-reservations-v1-time-slot.context.js.map +0 -1
  62. package/build/cjs/src/table-reservations-v1-time-slot.http.d.ts +0 -13
  63. package/build/cjs/src/table-reservations-v1-time-slot.http.js +0 -126
  64. package/build/cjs/src/table-reservations-v1-time-slot.http.js.map +0 -1
  65. package/build/cjs/src/table-reservations-v1-time-slot.meta.d.ts +0 -13
  66. package/build/cjs/src/table-reservations-v1-time-slot.meta.js +0 -47
  67. package/build/cjs/src/table-reservations-v1-time-slot.meta.js.map +0 -1
  68. package/build/cjs/src/table-reservations-v1-time-slot.public.d.ts +0 -8
  69. package/build/cjs/src/table-reservations-v1-time-slot.public.js +0 -17
  70. package/build/cjs/src/table-reservations-v1-time-slot.public.js.map +0 -1
  71. package/build/cjs/src/table-reservations-v1-time-slot.types.d.ts +0 -137
  72. package/build/cjs/src/table-reservations-v1-time-slot.types.js +0 -32
  73. package/build/cjs/src/table-reservations-v1-time-slot.types.js.map +0 -1
  74. package/build/cjs/src/table-reservations-v1-time-slot.universal.d.ts +0 -178
  75. package/build/cjs/src/table-reservations-v1-time-slot.universal.js +0 -166
  76. package/build/cjs/src/table-reservations-v1-time-slot.universal.js.map +0 -1
  77. package/build/es/index.typings.d.ts +0 -3
  78. package/build/es/index.typings.js +0 -4
  79. package/build/es/index.typings.js.map +0 -1
  80. package/build/es/src/table-reservations-v1-reservation-location.context.d.ts +0 -6
  81. package/build/es/src/table-reservations-v1-reservation-location.context.js +0 -66
  82. package/build/es/src/table-reservations-v1-reservation-location.context.js.map +0 -1
  83. package/build/es/src/table-reservations-v1-reservation-location.http.d.ts +0 -40
  84. package/build/es/src/table-reservations-v1-reservation-location.http.js +0 -259
  85. package/build/es/src/table-reservations-v1-reservation-location.http.js.map +0 -1
  86. package/build/es/src/table-reservations-v1-reservation-location.meta.d.ts +0 -20
  87. package/build/es/src/table-reservations-v1-reservation-location.meta.js +0 -76
  88. package/build/es/src/table-reservations-v1-reservation-location.meta.js.map +0 -1
  89. package/build/es/src/table-reservations-v1-reservation-location.public.d.ts +0 -178
  90. package/build/es/src/table-reservations-v1-reservation-location.public.js +0 -25
  91. package/build/es/src/table-reservations-v1-reservation-location.public.js.map +0 -1
  92. package/build/es/src/table-reservations-v1-reservation-location.types.d.ts +0 -2260
  93. package/build/es/src/table-reservations-v1-reservation-location.types.js +0 -184
  94. package/build/es/src/table-reservations-v1-reservation-location.types.js.map +0 -1
  95. package/build/es/src/table-reservations-v1-reservation-location.universal.d.ts +0 -2333
  96. package/build/es/src/table-reservations-v1-reservation-location.universal.js +0 -583
  97. package/build/es/src/table-reservations-v1-reservation-location.universal.js.map +0 -1
  98. package/build/es/src/table-reservations-v1-reservation.context.d.ts +0 -11
  99. package/build/es/src/table-reservations-v1-reservation.context.js +0 -146
  100. package/build/es/src/table-reservations-v1-reservation.context.js.map +0 -1
  101. package/build/es/src/table-reservations-v1-reservation.http.d.ts +0 -89
  102. package/build/es/src/table-reservations-v1-reservation.http.js +0 -496
  103. package/build/es/src/table-reservations-v1-reservation.http.js.map +0 -1
  104. package/build/es/src/table-reservations-v1-reservation.meta.d.ts +0 -29
  105. package/build/es/src/table-reservations-v1-reservation.meta.js +0 -164
  106. package/build/es/src/table-reservations-v1-reservation.meta.js.map +0 -1
  107. package/build/es/src/table-reservations-v1-reservation.public.d.ts +0 -26
  108. package/build/es/src/table-reservations-v1-reservation.public.js +0 -50
  109. package/build/es/src/table-reservations-v1-reservation.public.js.map +0 -1
  110. package/build/es/src/table-reservations-v1-reservation.types.d.ts +0 -976
  111. package/build/es/src/table-reservations-v1-reservation.types.js +0 -116
  112. package/build/es/src/table-reservations-v1-reservation.types.js.map +0 -1
  113. package/build/es/src/table-reservations-v1-reservation.universal.d.ts +0 -1382
  114. package/build/es/src/table-reservations-v1-reservation.universal.js +0 -837
  115. package/build/es/src/table-reservations-v1-reservation.universal.js.map +0 -1
  116. package/build/es/src/table-reservations-v1-time-slot.context.d.ts +0 -3
  117. package/build/es/src/table-reservations-v1-time-slot.context.js +0 -18
  118. package/build/es/src/table-reservations-v1-time-slot.context.js.map +0 -1
  119. package/build/es/src/table-reservations-v1-time-slot.http.d.ts +0 -13
  120. package/build/es/src/table-reservations-v1-time-slot.http.js +0 -122
  121. package/build/es/src/table-reservations-v1-time-slot.http.js.map +0 -1
  122. package/build/es/src/table-reservations-v1-time-slot.meta.d.ts +0 -13
  123. package/build/es/src/table-reservations-v1-time-slot.meta.js +0 -20
  124. package/build/es/src/table-reservations-v1-time-slot.meta.js.map +0 -1
  125. package/build/es/src/table-reservations-v1-time-slot.public.d.ts +0 -8
  126. package/build/es/src/table-reservations-v1-time-slot.public.js +0 -9
  127. package/build/es/src/table-reservations-v1-time-slot.public.js.map +0 -1
  128. package/build/es/src/table-reservations-v1-time-slot.types.d.ts +0 -137
  129. package/build/es/src/table-reservations-v1-time-slot.types.js +0 -29
  130. package/build/es/src/table-reservations-v1-time-slot.types.js.map +0 -1
  131. package/build/es/src/table-reservations-v1-time-slot.universal.d.ts +0 -178
  132. package/build/es/src/table-reservations-v1-time-slot.universal.js +0 -139
  133. package/build/es/src/table-reservations-v1-time-slot.universal.js.map +0 -1
@@ -1,613 +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
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
26
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
27
- return new (P || (P = Promise))(function (resolve, reject) {
28
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
29
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
30
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
31
- step((generator = generator.apply(thisArg, _arguments || [])).next());
32
- });
33
- };
34
- Object.defineProperty(exports, "__esModule", { value: true });
35
- exports.listReservationLocations = exports.queryReservationLocations = exports.updateReservationLocation = exports.getReservationLocation = 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 = void 0;
36
- const velo_1 = require("@wix/metro-runtime/velo");
37
- const transform_error_1 = require("@wix/sdk-runtime/transform-error");
38
- const sdk_types_1 = require("@wix/sdk-types");
39
- const ambassadorWixTableReservationsV1ReservationLocation = __importStar(require("./table-reservations-v1-reservation-location.http"));
40
- // @ts-ignore
41
- const motion_edm_autogen_query_wrapper_1 = require("@wix/motion-edm-autogen-query-wrapper");
42
- const _toVeloEntity = '$';
43
- const _fromVeloEntity = '$';
44
- /** Enumerates the days of the week. */
45
- var DayOfWeek;
46
- (function (DayOfWeek) {
47
- DayOfWeek["MONDAY"] = "MONDAY";
48
- DayOfWeek["TUESDAY"] = "TUESDAY";
49
- DayOfWeek["WEDNESDAY"] = "WEDNESDAY";
50
- DayOfWeek["THURSDAY"] = "THURSDAY";
51
- DayOfWeek["FRIDAY"] = "FRIDAY";
52
- DayOfWeek["SATURDAY"] = "SATURDAY";
53
- DayOfWeek["SUNDAY"] = "SUNDAY";
54
- })(DayOfWeek || (exports.DayOfWeek = DayOfWeek = {}));
55
- var Unit;
56
- (function (Unit) {
57
- Unit["UNKNOWN"] = "UNKNOWN";
58
- Unit["MINUTES"] = "MINUTES";
59
- Unit["HOURS"] = "HOURS";
60
- Unit["DAYS"] = "DAYS";
61
- })(Unit || (exports.Unit = Unit = {}));
62
- /** Type of the field. */
63
- var FieldType;
64
- (function (FieldType) {
65
- FieldType["UNKNOWN"] = "UNKNOWN";
66
- FieldType["TABLE"] = "TABLE";
67
- FieldType["START_DATE"] = "START_DATE";
68
- FieldType["END_DATE"] = "END_DATE";
69
- FieldType["CREATED_DATE"] = "CREATED_DATE";
70
- FieldType["UPDATED_DATE"] = "UPDATED_DATE";
71
- FieldType["PARTY_SIZE"] = "PARTY_SIZE";
72
- FieldType["FIRST_NAME"] = "FIRST_NAME";
73
- FieldType["LAST_NAME"] = "LAST_NAME";
74
- FieldType["EMAIL"] = "EMAIL";
75
- FieldType["PHONE"] = "PHONE";
76
- FieldType["ADDITIONAL_INFO"] = "ADDITIONAL_INFO";
77
- FieldType["TEAM_MESSAGE"] = "TEAM_MESSAGE";
78
- FieldType["CUSTOM_FIELD"] = "CUSTOM_FIELD";
79
- FieldType["STATUS"] = "STATUS";
80
- })(FieldType || (exports.FieldType = FieldType = {}));
81
- var Set;
82
- (function (Set) {
83
- Set["PUBLIC"] = "PUBLIC";
84
- Set["FULL"] = "FULL";
85
- })(Set || (exports.Set = Set = {}));
86
- var SortOrder;
87
- (function (SortOrder) {
88
- SortOrder["ASC"] = "ASC";
89
- SortOrder["DESC"] = "DESC";
90
- })(SortOrder || (exports.SortOrder = SortOrder = {}));
91
- var Mode;
92
- (function (Mode) {
93
- /** DRY RUN. */
94
- Mode["UNDEFINED"] = "UNDEFINED";
95
- Mode["DRY_RUN"] = "DRY_RUN";
96
- Mode["MIGRATE"] = "MIGRATE";
97
- Mode["FORCE_MIGRATE"] = "FORCE_MIGRATE";
98
- })(Mode || (exports.Mode = Mode = {}));
99
- var State;
100
- (function (State) {
101
- State["UNKNOWN"] = "UNKNOWN";
102
- State["ENABLED"] = "ENABLED";
103
- State["DISABLED"] = "DISABLED";
104
- State["PENDING"] = "PENDING";
105
- State["DEMO"] = "DEMO";
106
- })(State || (exports.State = State = {}));
107
- var SiteCreatedContext;
108
- (function (SiteCreatedContext) {
109
- /** A valid option, we don't expose all reasons why site might be created. */
110
- SiteCreatedContext["OTHER"] = "OTHER";
111
- /** A meta site was created from template. */
112
- SiteCreatedContext["FROM_TEMPLATE"] = "FROM_TEMPLATE";
113
- /** A meta site was created by copying of the transfferred meta site. */
114
- SiteCreatedContext["DUPLICATE_BY_SITE_TRANSFER"] = "DUPLICATE_BY_SITE_TRANSFER";
115
- /** A copy of existing meta site. */
116
- SiteCreatedContext["DUPLICATE"] = "DUPLICATE";
117
- /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */
118
- SiteCreatedContext["OLD_SITE_TRANSFER"] = "OLD_SITE_TRANSFER";
119
- /** deprecated A meta site was created for Flash editor. */
120
- SiteCreatedContext["FLASH"] = "FLASH";
121
- })(SiteCreatedContext || (exports.SiteCreatedContext = SiteCreatedContext = {}));
122
- var Namespace;
123
- (function (Namespace) {
124
- Namespace["UNKNOWN_NAMESPACE"] = "UNKNOWN_NAMESPACE";
125
- /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
126
- Namespace["WIX"] = "WIX";
127
- /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */
128
- Namespace["SHOUT_OUT"] = "SHOUT_OUT";
129
- /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */
130
- Namespace["ALBUMS"] = "ALBUMS";
131
- /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */
132
- Namespace["WIX_STORES_TEST_DRIVE"] = "WIX_STORES_TEST_DRIVE";
133
- /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
134
- Namespace["HOTELS"] = "HOTELS";
135
- /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
136
- Namespace["CLUBS"] = "CLUBS";
137
- /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
138
- Namespace["ONBOARDING_DRAFT"] = "ONBOARDING_DRAFT";
139
- /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
140
- Namespace["DEV_SITE"] = "DEV_SITE";
141
- /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
142
- Namespace["LOGOS"] = "LOGOS";
143
- /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
144
- Namespace["VIDEO_MAKER"] = "VIDEO_MAKER";
145
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
146
- Namespace["PARTNER_DASHBOARD"] = "PARTNER_DASHBOARD";
147
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
148
- Namespace["DEV_CENTER_COMPANY"] = "DEV_CENTER_COMPANY";
149
- /**
150
- * A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
151
- *
152
- * Meta site with this namespace will *not* be shown in a user's site list by default.
153
- */
154
- Namespace["HTML_DRAFT"] = "HTML_DRAFT";
155
- /**
156
- * the user-journey for Fitness users who want to start from managing their business instead of designing their website.
157
- * Will be accessible from Site List and will not have a website app.
158
- * Once the user attaches a site, the site will become a regular wixsite.
159
- */
160
- Namespace["SITELESS_BUSINESS"] = "SITELESS_BUSINESS";
161
- /** Belongs to "strategic products" company. Supports new product in the creator's economy space. */
162
- Namespace["CREATOR_ECONOMY"] = "CREATOR_ECONOMY";
163
- /** It is to be used in the Business First efforts. */
164
- Namespace["DASHBOARD_FIRST"] = "DASHBOARD_FIRST";
165
- /** Bookings business flow with no site. */
166
- Namespace["ANYWHERE"] = "ANYWHERE";
167
- /** Namespace for Headless Backoffice with no editor */
168
- Namespace["HEADLESS"] = "HEADLESS";
169
- /**
170
- * Namespace for master site that will exist in parent account that will be referenced by subaccounts
171
- * The site will be used for account level CSM feature for enterprise
172
- */
173
- Namespace["ACCOUNT_MASTER_CMS"] = "ACCOUNT_MASTER_CMS";
174
- /** Rise.ai Siteless account management for Gift Cards and Store Credit. */
175
- Namespace["RISE"] = "RISE";
176
- /**
177
- * As part of the branded app new funnel, users now can create a meta site that will be branded app first.
178
- * There's a blank site behind the scene but it's blank).
179
- * The Mobile company will be the owner of this namespace.
180
- */
181
- Namespace["BRANDED_FIRST"] = "BRANDED_FIRST";
182
- })(Namespace || (exports.Namespace = Namespace = {}));
183
- var DeleteStatus;
184
- (function (DeleteStatus) {
185
- DeleteStatus["UNKNOWN"] = "UNKNOWN";
186
- DeleteStatus["TRASH"] = "TRASH";
187
- DeleteStatus["DELETED"] = "DELETED";
188
- DeleteStatus["PENDING_PURGE"] = "PENDING_PURGE";
189
- })(DeleteStatus || (exports.DeleteStatus = DeleteStatus = {}));
190
- /** Where the extra text should be displayed: before, after or instead of the actual address. */
191
- var PlacementType;
192
- (function (PlacementType) {
193
- PlacementType["BEFORE"] = "BEFORE";
194
- PlacementType["AFTER"] = "AFTER";
195
- PlacementType["REPLACE"] = "REPLACE";
196
- })(PlacementType || (exports.PlacementType = PlacementType = {}));
197
- /** Enumerates the days of the week. */
198
- var V4DayOfWeek;
199
- (function (V4DayOfWeek) {
200
- V4DayOfWeek["MONDAY"] = "MONDAY";
201
- V4DayOfWeek["TUESDAY"] = "TUESDAY";
202
- V4DayOfWeek["WEDNESDAY"] = "WEDNESDAY";
203
- V4DayOfWeek["THURSDAY"] = "THURSDAY";
204
- V4DayOfWeek["FRIDAY"] = "FRIDAY";
205
- V4DayOfWeek["SATURDAY"] = "SATURDAY";
206
- V4DayOfWeek["SUNDAY"] = "SUNDAY";
207
- })(V4DayOfWeek || (exports.V4DayOfWeek = V4DayOfWeek = {}));
208
- var ResolutionMethod;
209
- (function (ResolutionMethod) {
210
- ResolutionMethod["QUERY_PARAM"] = "QUERY_PARAM";
211
- ResolutionMethod["SUBDOMAIN"] = "SUBDOMAIN";
212
- ResolutionMethod["SUBDIRECTORY"] = "SUBDIRECTORY";
213
- })(ResolutionMethod || (exports.ResolutionMethod = ResolutionMethod = {}));
214
- /** Determines the reset cycle of the feature usage. */
215
- var FeaturePeriod;
216
- (function (FeaturePeriod) {
217
- FeaturePeriod["NO_PERIOD"] = "NO_PERIOD";
218
- FeaturePeriod["MILLISECOND"] = "MILLISECOND";
219
- FeaturePeriod["SECOND"] = "SECOND";
220
- FeaturePeriod["MINUTE"] = "MINUTE";
221
- FeaturePeriod["HOUR"] = "HOUR";
222
- FeaturePeriod["DAY"] = "DAY";
223
- FeaturePeriod["WEEK"] = "WEEK";
224
- FeaturePeriod["MONTH"] = "MONTH";
225
- FeaturePeriod["YEAR"] = "YEAR";
226
- })(FeaturePeriod || (exports.FeaturePeriod = FeaturePeriod = {}));
227
- const _configuration = { reservationForm: '_reservationForm' };
228
- const _getReservationLocationRequest = {};
229
- const _getReservationLocationResponse = {
230
- reservationLocation: '_reservationLocation',
231
- };
232
- const _listReservationLocationsRequest = {};
233
- const _listReservationLocationsResponse = {
234
- reservationLocations: '_reservationLocation',
235
- };
236
- const _location = { address: 'wix.common.Address' };
237
- const _privacyPolicy = { url: 'wix.common.PageUrlV2' };
238
- const _queryReservationLocationsRequest = {};
239
- const _queryReservationLocationsResponse = {
240
- reservationLocations: '_reservationLocation',
241
- };
242
- const _reservationForm = {
243
- termsAndConditions: '_termsAndConditions',
244
- privacyPolicy: '_privacyPolicy',
245
- };
246
- const _reservationLocation = {
247
- location: '_location',
248
- configuration: '_configuration',
249
- };
250
- const _termsAndConditions = { url: 'wix.common.PageUrlV2' };
251
- const _updateReservationLocationRequest = {
252
- reservationLocation: '_reservationLocation',
253
- };
254
- const _updateReservationLocationResponse = {
255
- reservationLocation: '_reservationLocation',
256
- };
257
- exports.onReservationLocationUpdated = (0, sdk_types_1.EventDefinition)('wix.table_reservations.v1.reservation_location_updated', true, {
258
- rootSchema: _reservationLocation,
259
- depSchemas: {
260
- _configuration,
261
- _location,
262
- _privacyPolicy,
263
- _reservationForm,
264
- _termsAndConditions,
265
- },
266
- })();
267
- exports.onReservationLocationCreated = (0, sdk_types_1.EventDefinition)('wix.table_reservations.v1.reservation_location_created', true, {
268
- rootSchema: _reservationLocation,
269
- depSchemas: {
270
- _configuration,
271
- _location,
272
- _privacyPolicy,
273
- _reservationForm,
274
- _termsAndConditions,
275
- },
276
- })();
277
- /**
278
- * Retrieves a reservation location by ID.
279
- *
280
- * The `FULL` fieldset can only be retrieved by users with the `READ RESERVATION LOCATIONS (FULL)` or `MANAGE RESERVATION LOCATIONS` permission scopes.
281
- * @param reservationLocationId - ID of the ReservationLocation to retrieve.
282
- * @public
283
- * @documentationMaturity preview
284
- * @requiredField reservationLocationId
285
- * @param options - An object representing the available options for retrieving a reservation location.
286
- * @permissionScope Read Reservation Locations (Basic)
287
- * @permissionScopeId SCOPE.DC-RESERVATIONS.READ-LOCATIONS-BASIC
288
- * @permissionScope Read Reservation Locations (Full)
289
- * @permissionScopeId SCOPE.DC-RESERVATIONS.READ-LOCATIONS-FULL
290
- * @permissionScope Manage Reservation Locations
291
- * @permissionScopeId SCOPE.DC-RESERVATIONS.MANAGE-LOCATIONS
292
- * @permissionScope Read Reservation Locations (Full)
293
- * @permissionScopeId SCOPE.DC-RESERVATIONS.READ-LOCATIONS-FULL
294
- * @permissionScope Manage Reservation Locations
295
- * @permissionScopeId SCOPE.DC-RESERVATIONS.MANAGE-LOCATIONS
296
- * @applicableIdentity APP
297
- * @applicableIdentity MEMBER
298
- * @applicableIdentity VISITOR
299
- * @returns The retrieved reservation location.
300
- */
301
- function getReservationLocation(reservationLocationId, options) {
302
- var _a, _b, _c;
303
- return __awaiter(this, arguments, void 0, function* () {
304
- const requestTransformation = {
305
- reservationLocationId: '$[0]',
306
- fieldsets: '$[1].fieldsets',
307
- };
308
- const responseTransformation = '$.reservationLocation';
309
- // @ts-ignore
310
- const { httpClient, sideEffects } = arguments[2];
311
- const { toAmbassadorRequest } = (0, velo_1.serializer)({
312
- rootSchema: _getReservationLocationRequest,
313
- depSchemas: {},
314
- fqdnTransformation: {
315
- paths: [],
316
- transformation: _fromVeloEntity,
317
- },
318
- customTransformation: requestTransformation,
319
- });
320
- const { fromJSON } = (0, velo_1.serializer)({
321
- rootSchema: _getReservationLocationResponse,
322
- depSchemas: {
323
- _configuration,
324
- _location,
325
- _privacyPolicy,
326
- _reservationForm,
327
- _reservationLocation,
328
- _termsAndConditions,
329
- },
330
- fqdnTransformation: {
331
- paths: [...['reservationLocation']],
332
- transformation: _toVeloEntity,
333
- },
334
- customTransformation: responseTransformation,
335
- });
336
- const payload = toAmbassadorRequest([reservationLocationId, options]);
337
- const reqOpts = ambassadorWixTableReservationsV1ReservationLocation.getReservationLocation(payload);
338
- (_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
339
- try {
340
- const result = yield httpClient.request(reqOpts);
341
- (_b = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSuccess) === null || _b === void 0 ? void 0 : _b.call(sideEffects, result);
342
- return fromJSON(result.data);
343
- }
344
- catch (err) {
345
- const transformedError = (0, transform_error_1.transformError)(err, {
346
- spreadPathsToArguments: {},
347
- explicitPathsToArguments: {
348
- reservationLocationId: '$[0]',
349
- fieldsets: '$[1].fieldsets',
350
- },
351
- singleArgumentUnchanged: false,
352
- }, ['reservationLocationId', 'options']);
353
- (_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
354
- throw transformedError;
355
- }
356
- });
357
- }
358
- exports.getReservationLocation = getReservationLocation;
359
- /**
360
- * Updates a reservation location. Supports partial updates.
361
- *
362
- * 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.
363
- *
364
- * 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.
365
- * @param _id - Reservation location ID.
366
- * @public
367
- * @documentationMaturity preview
368
- * @requiredField _id
369
- * @requiredField reservationLocation
370
- * @requiredField reservationLocation.configuration.onlineReservations.manualApproval
371
- * @requiredField reservationLocation.revision
372
- * @param reservationLocation - Reservation location information to update.
373
- * @permissionScope Manage Reservation Locations
374
- * @permissionScopeId SCOPE.DC-RESERVATIONS.MANAGE-LOCATIONS
375
- * @applicableIdentity APP
376
- * @returns The updated reservation location.
377
- */
378
- function updateReservationLocation(_id, reservationLocation) {
379
- var _a, _b, _c;
380
- return __awaiter(this, arguments, void 0, function* () {
381
- const requestTransformation = {
382
- reservationLocation: { '*': '$[1]', id: '$[0]' },
383
- };
384
- const responseTransformation = '$.reservationLocation';
385
- // @ts-ignore
386
- const { httpClient, sideEffects } = arguments[2];
387
- const { toAmbassadorRequest } = (0, velo_1.serializer)({
388
- rootSchema: _updateReservationLocationRequest,
389
- depSchemas: {
390
- _configuration,
391
- _location,
392
- _privacyPolicy,
393
- _reservationForm,
394
- _reservationLocation,
395
- _termsAndConditions,
396
- },
397
- fqdnTransformation: {
398
- paths: [...['reservationLocation']],
399
- transformation: _fromVeloEntity,
400
- },
401
- customTransformation: requestTransformation,
402
- });
403
- const { fromJSON } = (0, velo_1.serializer)({
404
- rootSchema: _updateReservationLocationResponse,
405
- depSchemas: {
406
- _configuration,
407
- _location,
408
- _privacyPolicy,
409
- _reservationForm,
410
- _reservationLocation,
411
- _termsAndConditions,
412
- },
413
- fqdnTransformation: {
414
- paths: [...['reservationLocation']],
415
- transformation: _toVeloEntity,
416
- },
417
- customTransformation: responseTransformation,
418
- });
419
- const payload = toAmbassadorRequest([_id, reservationLocation]);
420
- const reqOpts = ambassadorWixTableReservationsV1ReservationLocation.updateReservationLocation(payload);
421
- (_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
422
- try {
423
- const result = yield httpClient.request(reqOpts);
424
- (_b = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSuccess) === null || _b === void 0 ? void 0 : _b.call(sideEffects, result);
425
- return fromJSON(result.data);
426
- }
427
- catch (err) {
428
- const transformedError = (0, transform_error_1.transformError)(err, {
429
- spreadPathsToArguments: { reservationLocation: '$[1]' },
430
- explicitPathsToArguments: { 'reservationLocation.id': '$[0]' },
431
- singleArgumentUnchanged: false,
432
- }, ['_id', 'reservationLocation']);
433
- (_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
434
- throw transformedError;
435
- }
436
- });
437
- }
438
- exports.updateReservationLocation = updateReservationLocation;
439
- /**
440
- * Creates a query to retrieve a list of reservation locations.
441
- *
442
- *
443
- * The `queryReservationLocations()` function builds a query to retrieve a list of reservation locations and returns a [`ReservationLocationsQueryBuilder`](#ReservationLocationsQueryBuilder) object.
444
- *
445
- * The returned object contains the query definition, which is used to run the query using the [find()](#ReservationLocationsQueryBuilder/find) function.
446
- *
447
- * 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.
448
- *
449
- * `queryReservationLocations()` runs with the following `ReservationLocationsQueryBuilder` defaults, which you can override:
450
- *
451
- * * [`skip(0)`](#ReservationLocationsQueryBuilder/skip)
452
- * * [`limit(50)`](#ReservationLocationsQueryBuilder/limit)
453
- * * [`descending('_createdDate')`](#ReservationLocationsQueryBuilder/descending)
454
- *
455
- * 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).
456
- * @public
457
- * @documentationMaturity preview
458
- * @param options - An object representing the available options for querying reservation locations.
459
- * @permissionScope Read Reservation Locations (Basic)
460
- * @permissionScopeId SCOPE.DC-RESERVATIONS.READ-LOCATIONS-BASIC
461
- * @permissionScope Read Reservation Locations (Full)
462
- * @permissionScopeId SCOPE.DC-RESERVATIONS.READ-LOCATIONS-FULL
463
- * @permissionScope Manage Reservation Locations
464
- * @permissionScopeId SCOPE.DC-RESERVATIONS.MANAGE-LOCATIONS
465
- * @permissionScope Read Reservation Locations (Full)
466
- * @permissionScopeId SCOPE.DC-RESERVATIONS.READ-LOCATIONS-FULL
467
- * @permissionScope Manage Reservation Locations
468
- * @permissionScopeId SCOPE.DC-RESERVATIONS.MANAGE-LOCATIONS
469
- * @applicableIdentity APP
470
- * @applicableIdentity MEMBER
471
- * @applicableIdentity VISITOR
472
- */
473
- function queryReservationLocations(options) {
474
- const requestTransformation = { '*': '$[1]', query: '$[0]' };
475
- const responseTransformation = {
476
- items: '$.reservationLocations',
477
- pagingMetadata: '$.pagingMetadata',
478
- };
479
- // @ts-ignore
480
- const { httpClient, sideEffects } = arguments[1];
481
- const { toAmbassadorRequest } = (0, velo_1.serializer)({
482
- rootSchema: _queryReservationLocationsRequest,
483
- depSchemas: {},
484
- fqdnTransformation: {
485
- paths: [],
486
- transformation: _fromVeloEntity,
487
- },
488
- customTransformation: requestTransformation,
489
- });
490
- const { fromJSON } = (0, velo_1.serializer)({
491
- rootSchema: _queryReservationLocationsResponse,
492
- depSchemas: {
493
- _configuration,
494
- _location,
495
- _privacyPolicy,
496
- _reservationForm,
497
- _reservationLocation,
498
- _termsAndConditions,
499
- },
500
- fqdnTransformation: {
501
- paths: [...['Array#reservationLocations']],
502
- transformation: _toVeloEntity,
503
- },
504
- customTransformation: responseTransformation,
505
- });
506
- return (0, motion_edm_autogen_query_wrapper_1.wrapWithQueryBuilder)({
507
- func: (payload) => __awaiter(this, void 0, void 0, function* () {
508
- var _a, _b, _c;
509
- const reqOpts = ambassadorWixTableReservationsV1ReservationLocation.queryReservationLocations(Object.assign(Object.assign({}, payload), (options !== null && options !== void 0 ? options : {})));
510
- (_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
511
- try {
512
- const result = yield httpClient.request(reqOpts);
513
- (_b = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSuccess) === null || _b === void 0 ? void 0 : _b.call(sideEffects, result);
514
- return result;
515
- }
516
- catch (err) {
517
- (_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
518
- throw err;
519
- }
520
- }),
521
- requestTransformer: (...args) => toAmbassadorRequest(args),
522
- responseTransformer: ({ data }) => fromJSON(data),
523
- errorTransformer: (err) => {
524
- const transformedError = (0, velo_1.transformError)(err, requestTransformation);
525
- throw transformedError;
526
- },
527
- pagingMethod: 'CURSOR',
528
- transformationPaths: (0, velo_1.resolveQueryFieldsTransformationPaths)(_toVeloEntity),
529
- })({ cursorWithEmptyFilterAndSort: true });
530
- }
531
- exports.queryReservationLocations = queryReservationLocations;
532
- /**
533
- * Retrieves a list of up to 100 reservation locations.
534
- *
535
- * The `FULL` fieldset can only be retrieved by users with the `READ RESERVATION LOCATIONS (FULL)` or `MANAGE RESERVATION LOCATIONS` permission scopes.
536
- * @public
537
- * @documentationMaturity preview
538
- * @param options - An object representing the available options for listing reservation locations.
539
- * @permissionScope Read Reservation Locations (Basic)
540
- * @permissionScopeId SCOPE.DC-RESERVATIONS.READ-LOCATIONS-BASIC
541
- * @permissionScope Read Reservation Locations (Full)
542
- * @permissionScopeId SCOPE.DC-RESERVATIONS.READ-LOCATIONS-FULL
543
- * @permissionScope Manage Reservation Locations
544
- * @permissionScopeId SCOPE.DC-RESERVATIONS.MANAGE-LOCATIONS
545
- * @permissionScope Read Reservation Locations (Full)
546
- * @permissionScopeId SCOPE.DC-RESERVATIONS.READ-LOCATIONS-FULL
547
- * @permissionScope Manage Reservation Locations
548
- * @permissionScopeId SCOPE.DC-RESERVATIONS.MANAGE-LOCATIONS
549
- * @applicableIdentity APP
550
- * @applicableIdentity MEMBER
551
- * @applicableIdentity VISITOR
552
- */
553
- function listReservationLocations(options) {
554
- var _a, _b, _c;
555
- return __awaiter(this, arguments, void 0, function* () {
556
- const requestTransformation = {
557
- paging: '$[0].paging',
558
- sort: '$[0].sort',
559
- fieldsets: '$[0].fieldsets',
560
- };
561
- const responseTransformation = '$';
562
- // @ts-ignore
563
- const { httpClient, sideEffects } = arguments[1];
564
- const { toAmbassadorRequest } = (0, velo_1.serializer)({
565
- rootSchema: _listReservationLocationsRequest,
566
- depSchemas: {},
567
- fqdnTransformation: {
568
- paths: [],
569
- transformation: _fromVeloEntity,
570
- },
571
- customTransformation: requestTransformation,
572
- });
573
- const { fromJSON } = (0, velo_1.serializer)({
574
- rootSchema: _listReservationLocationsResponse,
575
- depSchemas: {
576
- _configuration,
577
- _location,
578
- _privacyPolicy,
579
- _reservationForm,
580
- _reservationLocation,
581
- _termsAndConditions,
582
- },
583
- fqdnTransformation: {
584
- paths: [...['Array#reservationLocations']],
585
- transformation: _toVeloEntity,
586
- },
587
- customTransformation: responseTransformation,
588
- });
589
- const payload = toAmbassadorRequest([options]);
590
- const reqOpts = ambassadorWixTableReservationsV1ReservationLocation.listReservationLocations(payload);
591
- (_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
592
- try {
593
- const result = yield httpClient.request(reqOpts);
594
- (_b = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSuccess) === null || _b === void 0 ? void 0 : _b.call(sideEffects, result);
595
- return fromJSON(result.data);
596
- }
597
- catch (err) {
598
- const transformedError = (0, transform_error_1.transformError)(err, {
599
- spreadPathsToArguments: {},
600
- explicitPathsToArguments: {
601
- paging: '$[0].paging',
602
- sort: '$[0].sort',
603
- fieldsets: '$[0].fieldsets',
604
- },
605
- singleArgumentUnchanged: false,
606
- }, ['options']);
607
- (_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
608
- throw transformedError;
609
- }
610
- });
611
- }
612
- exports.listReservationLocations = listReservationLocations;
613
- //# sourceMappingURL=table-reservations-v1-reservation-location.universal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"table-reservations-v1-reservation-location.universal.js","sourceRoot":"","sources":["../../../src/table-reservations-v1-reservation-location.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AACjC,sEAAuF;AACvF,8CAA6D;AAC7D,uIAAyH;AACzH,aAAa;AACb,4FAA6E;AAE7E,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAoH5B,uCAAuC;AACvC,IAAY,SAQX;AARD,WAAY,SAAS;IACnB,8BAAiB,CAAA;IACjB,gCAAmB,CAAA;IACnB,oCAAuB,CAAA;IACvB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;AACnB,CAAC,EARW,SAAS,yBAAT,SAAS,QAQpB;AA8CD,IAAY,IAKX;AALD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,2BAAmB,CAAA;IACnB,uBAAe,CAAA;IACf,qBAAa,CAAA;AACf,CAAC,EALW,IAAI,oBAAJ,IAAI,QAKf;AAiGD,yBAAyB;AACzB,IAAY,SAgBX;AAhBD,WAAY,SAAS;IACnB,gCAAmB,CAAA;IACnB,4BAAe,CAAA;IACf,sCAAyB,CAAA;IACzB,kCAAqB,CAAA;IACrB,0CAA6B,CAAA;IAC7B,0CAA6B,CAAA;IAC7B,sCAAyB,CAAA;IACzB,sCAAyB,CAAA;IACzB,oCAAuB,CA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QAC5B,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,4DAAG,MAAM,CAAC,CAAC;YAEjC,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;QACtC,CAAC;QAAC,OAAO,GAAQ,EAAE,CAAC;YAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;gBACE,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE;oBACxB,MAAM,EAAE,aAAa;oBACrB,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,gBAAgB;iBAC5B;gBACD,uBAAuB,EAAE,KAAK;aAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;YACF,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,4DAAG,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;QACzB,CAAC;;CACF;AA7ED,4DA6EC"}
@@ -1,11 +0,0 @@
1
- import { createReservation as publicCreateReservation, getReservation as publicGetReservation, updateReservation as publicUpdateReservation, createHeldReservation as publicCreateHeldReservation, reserveReservation as publicReserveReservation, cancelReservation as publicCancelReservation, listReservations as publicListReservations, queryReservations as publicQueryReservations, searchReservations as publicSearchReservations } from './table-reservations-v1-reservation.public';
2
- import { BuildRESTFunction } from '@wix/sdk-types';
3
- export declare const createReservation: BuildRESTFunction<typeof publicCreateReservation>;
4
- export declare const getReservation: BuildRESTFunction<typeof publicGetReservation>;
5
- export declare const updateReservation: BuildRESTFunction<typeof publicUpdateReservation>;
6
- export declare const createHeldReservation: BuildRESTFunction<typeof publicCreateHeldReservation>;
7
- export declare const reserveReservation: BuildRESTFunction<typeof publicReserveReservation>;
8
- export declare const cancelReservation: BuildRESTFunction<typeof publicCancelReservation>;
9
- export declare const listReservations: BuildRESTFunction<typeof publicListReservations>;
10
- export declare const queryReservations: BuildRESTFunction<typeof publicQueryReservations>;
11
- export declare const searchReservations: BuildRESTFunction<typeof publicSearchReservations>;