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