@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,199 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.searchReservations = exports.queryReservations = exports.listReservations = exports.cancelReservation = exports.reserveReservation = exports.createHeldReservation = exports.updateReservation = exports.getReservation = exports.createReservation = void 0;
27
- const ambassadorWixTableReservationsV1Reservation = __importStar(require("./table-reservations-v1-reservation.http"));
28
- function createReservation() {
29
- const payload = {};
30
- const getRequestOptions = ambassadorWixTableReservationsV1Reservation.createReservation(payload);
31
- const getUrl = (context) => {
32
- const { url } = getRequestOptions(context);
33
- return url;
34
- };
35
- return {
36
- getUrl,
37
- httpMethod: 'POST',
38
- path: '/v1/reservations',
39
- pathParams: {},
40
- __requestType: null,
41
- __originalRequestType: null,
42
- __responseType: null,
43
- __originalResponseType: null,
44
- };
45
- }
46
- exports.createReservation = createReservation;
47
- function getReservation() {
48
- const payload = { reservationId: ':reservationId' };
49
- const getRequestOptions = ambassadorWixTableReservationsV1Reservation.getReservation(payload);
50
- const getUrl = (context) => {
51
- const { url } = getRequestOptions(context);
52
- return url;
53
- };
54
- return {
55
- getUrl,
56
- httpMethod: 'GET',
57
- path: '/v1/reservations/{reservationId}',
58
- pathParams: { reservationId: 'reservationId' },
59
- __requestType: null,
60
- __originalRequestType: null,
61
- __responseType: null,
62
- __originalResponseType: null,
63
- };
64
- }
65
- exports.getReservation = getReservation;
66
- function updateReservation() {
67
- const payload = { reservation: { id: ':reservationId' } };
68
- const getRequestOptions = ambassadorWixTableReservationsV1Reservation.updateReservation(payload);
69
- const getUrl = (context) => {
70
- const { url } = getRequestOptions(context);
71
- return url;
72
- };
73
- return {
74
- getUrl,
75
- httpMethod: 'PATCH',
76
- path: '/v1/reservations/{reservation.id}',
77
- pathParams: { reservationId: 'reservationId' },
78
- __requestType: null,
79
- __originalRequestType: null,
80
- __responseType: null,
81
- __originalResponseType: null,
82
- };
83
- }
84
- exports.updateReservation = updateReservation;
85
- function createHeldReservation() {
86
- const payload = {};
87
- const getRequestOptions = ambassadorWixTableReservationsV1Reservation.createHeldReservation(payload);
88
- const getUrl = (context) => {
89
- const { url } = getRequestOptions(context);
90
- return url;
91
- };
92
- return {
93
- getUrl,
94
- httpMethod: 'POST',
95
- path: '/v1/reservations/hold',
96
- pathParams: {},
97
- __requestType: null,
98
- __originalRequestType: null,
99
- __responseType: null,
100
- __originalResponseType: null,
101
- };
102
- }
103
- exports.createHeldReservation = createHeldReservation;
104
- function reserveReservation() {
105
- const payload = { reservationId: ':reservationId' };
106
- const getRequestOptions = ambassadorWixTableReservationsV1Reservation.reserveReservation(payload);
107
- const getUrl = (context) => {
108
- const { url } = getRequestOptions(context);
109
- return url;
110
- };
111
- return {
112
- getUrl,
113
- httpMethod: 'POST',
114
- path: '/v1/reservations/{reservationId}/reserve',
115
- pathParams: { reservationId: 'reservationId' },
116
- __requestType: null,
117
- __originalRequestType: null,
118
- __responseType: null,
119
- __originalResponseType: null,
120
- };
121
- }
122
- exports.reserveReservation = reserveReservation;
123
- function cancelReservation() {
124
- const payload = { reservationId: ':reservationId' };
125
- const getRequestOptions = ambassadorWixTableReservationsV1Reservation.cancelReservation(payload);
126
- const getUrl = (context) => {
127
- const { url } = getRequestOptions(context);
128
- return url;
129
- };
130
- return {
131
- getUrl,
132
- httpMethod: 'POST',
133
- path: '/v1/reservations/{reservationId}/cancel',
134
- pathParams: { reservationId: 'reservationId' },
135
- __requestType: null,
136
- __originalRequestType: null,
137
- __responseType: null,
138
- __originalResponseType: null,
139
- };
140
- }
141
- exports.cancelReservation = cancelReservation;
142
- function listReservations() {
143
- const payload = {};
144
- const getRequestOptions = ambassadorWixTableReservationsV1Reservation.listReservations(payload);
145
- const getUrl = (context) => {
146
- const { url } = getRequestOptions(context);
147
- return url;
148
- };
149
- return {
150
- getUrl,
151
- httpMethod: 'GET',
152
- path: '/v1/reservations',
153
- pathParams: {},
154
- __requestType: null,
155
- __originalRequestType: null,
156
- __responseType: null,
157
- __originalResponseType: null,
158
- };
159
- }
160
- exports.listReservations = listReservations;
161
- function queryReservations() {
162
- const payload = {};
163
- const getRequestOptions = ambassadorWixTableReservationsV1Reservation.queryReservations(payload);
164
- const getUrl = (context) => {
165
- const { url } = getRequestOptions(context);
166
- return url;
167
- };
168
- return {
169
- getUrl,
170
- httpMethod: 'POST',
171
- path: '/v1/reservations/query',
172
- pathParams: {},
173
- __requestType: null,
174
- __originalRequestType: null,
175
- __responseType: null,
176
- __originalResponseType: null,
177
- };
178
- }
179
- exports.queryReservations = queryReservations;
180
- function searchReservations() {
181
- const payload = {};
182
- const getRequestOptions = ambassadorWixTableReservationsV1Reservation.searchReservations(payload);
183
- const getUrl = (context) => {
184
- const { url } = getRequestOptions(context);
185
- return url;
186
- };
187
- return {
188
- getUrl,
189
- httpMethod: 'POST',
190
- path: '/v1/reservations/search',
191
- pathParams: {},
192
- __requestType: null,
193
- __originalRequestType: null,
194
- __responseType: null,
195
- __originalResponseType: null,
196
- };
197
- }
198
- exports.searchReservations = searchReservations;
199
- //# sourceMappingURL=table-reservations-v1-reservation.meta.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"table-reservations-v1-reservation.meta.js","sourceRoot":"","sources":["../../../src/table-reservations-v1-reservation.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sHAAwG;AAsBxG,SAAgB,iBAAiB;IAU/B,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,2CAA2C,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;IAEzE,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,kBAAkB;QACxB,UAAU,EAAE,EAAE;QACd,aAAa,EA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GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,wBAAwB;QAC9B,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA9BD,8CA8BC;AAED,SAAgB,kBAAkB;IAUhC,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,2CAA2C,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;IAE1E,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,yBAAyB;QAC/B,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA9BD,gDA8BC"}
@@ -1,26 +0,0 @@
1
- import { HttpClient } from '@wix/sdk-types';
2
- import { Reservation, UpdateReservation, HeldReservationDetails, Reservee, CursorSearch, CancelReservationOptions, CreateReservationOptions, GetReservationOptions, ListReservationsOptions, UpdateReservationOptions } from './table-reservations-v1-reservation.universal';
3
- export declare const __metadata: {
4
- PACKAGE_NAME: string;
5
- };
6
- export declare function createReservation(httpClient: HttpClient): (reservation: Reservation, options?: CreateReservationOptions) => Promise<Reservation & {
7
- status: import("./table-reservations-v1-reservation.universal").Status;
8
- source: import("./table-reservations-v1-reservation.universal").Source;
9
- }>;
10
- export declare function getReservation(httpClient: HttpClient): (reservationId: string, options?: GetReservationOptions) => Promise<Reservation & {
11
- status: import("./table-reservations-v1-reservation.universal").Status;
12
- source: import("./table-reservations-v1-reservation.universal").Source;
13
- }>;
14
- export declare function updateReservation(httpClient: HttpClient): (_id: string | null, reservation: UpdateReservation, options?: UpdateReservationOptions) => Promise<Reservation & {
15
- status: import("./table-reservations-v1-reservation.universal").Status;
16
- source: import("./table-reservations-v1-reservation.universal").Source;
17
- }>;
18
- export declare function createHeldReservation(httpClient: HttpClient): (reservationDetails: HeldReservationDetails) => Promise<import("./table-reservations-v1-reservation.universal").CreateHeldReservationResponse & import("./table-reservations-v1-reservation.universal").CreateHeldReservationResponseNonNullableFields>;
19
- export declare function reserveReservation(httpClient: HttpClient): (reservationId: string, reservee: Reservee, revision: string | null) => Promise<import("./table-reservations-v1-reservation.universal").ReserveReservationResponse & import("./table-reservations-v1-reservation.universal").ReserveReservationResponseNonNullableFields>;
20
- export declare function cancelReservation(httpClient: HttpClient): (reservationId: string, revision: string | null, options?: CancelReservationOptions) => Promise<import("./table-reservations-v1-reservation.universal").CancelReservationResponse & import("./table-reservations-v1-reservation.universal").CancelReservationResponseNonNullableFields>;
21
- export declare function listReservations(httpClient: HttpClient): (options?: ListReservationsOptions) => Promise<import("./table-reservations-v1-reservation.universal").ListReservationsResponse & import("./table-reservations-v1-reservation.universal").ListReservationsResponseNonNullableFields>;
22
- export declare function queryReservations(httpClient: HttpClient): () => import("./table-reservations-v1-reservation.universal").ReservationsQueryBuilder;
23
- export declare function searchReservations(httpClient: HttpClient): (search: CursorSearch) => Promise<import("./table-reservations-v1-reservation.universal").SearchReservationsResponse & import("./table-reservations-v1-reservation.universal").SearchReservationsResponseNonNullableFields>;
24
- export { Status, Source, TableCombinationConflictType, Type, Set, SortOrder, SortType, SortDirection, MissingValues, ScalarType, NestedAggregationType, Interval, AggregationType, Mode, } from './table-reservations-v1-reservation.universal';
25
- export { Reservation, Details, Reservee, ReservedBy, MigrationNote, TableWithReservationConflicts, CreateReservationRequest, CreateReservationResponse, ReservationDetailsConflicts, TableCombinationConflict, ReservationLocationConflict, GetReservationRequest, GetReservationResponse, UpdateReservationRequest, UpdateReservationResponse, ReservationDataUpdated, CreateHeldReservationRequest, HeldReservationDetails, CreateHeldReservationResponse, ReserveReservationRequest, ReserveReservationResponse, ReservationReserved, CancelReservationRequest, CancelReservationResponse, ReservationCanceled, DeleteReservationRequest, DeleteReservationResponse, ListReservationsRequest, CursorPaging, Sorting, ListReservationsResponse, CursorPagingMetadata, Cursors, QueryReservationsRequest, CursorQuery, CursorQueryPagingMethodOneOf, QueryReservationsResponse, SearchReservationsRequest, CursorSearch, CursorSearchPagingMethodOneOf, Aggregation, AggregationKindOneOf, RangeBucket, IncludeMissingValuesOptions, ValueAggregation, ValueAggregationOptionsOneOf, RangeAggregation, ScalarAggregation, DateHistogramAggregation, NestedAggregationItem, NestedAggregationItemKindOneOf, NestedAggregation, GroupByAggregation, GroupByAggregationKindOneOf, SearchDetails, SearchReservationsResponse, AggregationData, ValueAggregationResult, RangeAggregationResult, NestedAggregationResults, NestedAggregationResultsResultOneOf, ValueResults, RangeResults, ScalarResult, NestedValueAggregationResult, ValueResult, RangeResult, NestedResultsScalarResult, NestedResultValue, NestedResultValueResultOneOf, Results, DateHistogramResult, GroupByValueResults, DateHistogramResults, NestedResults, AggregationResults, AggregationResultsResultOneOf, DomainEvent, DomainCreatedEvent, DomainDeletedEvent, DomainUpdatedEvent, DomainActionEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, Empty, RemoveReservationMigrationNotesRequest, RemoveReservationMigrationNotesResponse, CreateReservationResponseNonNullableFields, GetReservationResponseNonNullableFields, UpdateReservationResponseNonNullableFields, CreateHeldReservationResponseNonNullableFields, ReserveReservationResponseNonNullableFields, CancelReservationResponseNonNullableFields, ListReservationsResponseNonNullableFields, QueryReservationsResponseNonNullableFields, SearchReservationsResponseNonNullableFields, CreateReservationOptions, GetReservationOptions, UpdateReservation, UpdateReservationOptions, CancelReservationOptions, ListReservationsOptions, ReservationsQueryResult, ReservationsQueryBuilder, } from './table-reservations-v1-reservation.universal';
26
- export { onReservationCreated, onReservationUpdated, } from './table-reservations-v1-reservation.universal';
@@ -1,78 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.onReservationUpdated = exports.onReservationCreated = exports.Mode = exports.AggregationType = exports.Interval = exports.NestedAggregationType = exports.ScalarType = exports.MissingValues = exports.SortDirection = exports.SortType = exports.SortOrder = exports.Set = exports.Type = exports.TableCombinationConflictType = exports.Source = exports.Status = exports.searchReservations = exports.queryReservations = exports.listReservations = exports.cancelReservation = exports.reserveReservation = exports.createHeldReservation = exports.updateReservation = exports.getReservation = exports.createReservation = exports.__metadata = void 0;
4
- const table_reservations_v1_reservation_universal_1 = require("./table-reservations-v1-reservation.universal");
5
- exports.__metadata = { PACKAGE_NAME: '@wix/table-reservations' };
6
- function createReservation(httpClient) {
7
- return (reservation, options) => (0, table_reservations_v1_reservation_universal_1.createReservation)(reservation, options,
8
- // @ts-ignore
9
- { httpClient });
10
- }
11
- exports.createReservation = createReservation;
12
- function getReservation(httpClient) {
13
- return (reservationId, options) => (0, table_reservations_v1_reservation_universal_1.getReservation)(reservationId, options,
14
- // @ts-ignore
15
- { httpClient });
16
- }
17
- exports.getReservation = getReservation;
18
- function updateReservation(httpClient) {
19
- return (_id, reservation, options) => (0, table_reservations_v1_reservation_universal_1.updateReservation)(_id, reservation, options,
20
- // @ts-ignore
21
- { httpClient });
22
- }
23
- exports.updateReservation = updateReservation;
24
- function createHeldReservation(httpClient) {
25
- return (reservationDetails) => (0, table_reservations_v1_reservation_universal_1.createHeldReservation)(reservationDetails,
26
- // @ts-ignore
27
- { httpClient });
28
- }
29
- exports.createHeldReservation = createHeldReservation;
30
- function reserveReservation(httpClient) {
31
- return (reservationId, reservee, revision) => (0, table_reservations_v1_reservation_universal_1.reserveReservation)(reservationId, reservee, revision,
32
- // @ts-ignore
33
- { httpClient });
34
- }
35
- exports.reserveReservation = reserveReservation;
36
- function cancelReservation(httpClient) {
37
- return (reservationId, revision, options) => (0, table_reservations_v1_reservation_universal_1.cancelReservation)(reservationId, revision, options,
38
- // @ts-ignore
39
- { httpClient });
40
- }
41
- exports.cancelReservation = cancelReservation;
42
- function listReservations(httpClient) {
43
- return (options) => (0, table_reservations_v1_reservation_universal_1.listReservations)(options,
44
- // @ts-ignore
45
- { httpClient });
46
- }
47
- exports.listReservations = listReservations;
48
- function queryReservations(httpClient) {
49
- return () => (0, table_reservations_v1_reservation_universal_1.queryReservations)(
50
- // @ts-ignore
51
- { httpClient });
52
- }
53
- exports.queryReservations = queryReservations;
54
- function searchReservations(httpClient) {
55
- return (search) => (0, table_reservations_v1_reservation_universal_1.searchReservations)(search,
56
- // @ts-ignore
57
- { httpClient });
58
- }
59
- exports.searchReservations = searchReservations;
60
- var table_reservations_v1_reservation_universal_2 = require("./table-reservations-v1-reservation.universal");
61
- Object.defineProperty(exports, "Status", { enumerable: true, get: function () { return table_reservations_v1_reservation_universal_2.Status; } });
62
- Object.defineProperty(exports, "Source", { enumerable: true, get: function () { return table_reservations_v1_reservation_universal_2.Source; } });
63
- Object.defineProperty(exports, "TableCombinationConflictType", { enumerable: true, get: function () { return table_reservations_v1_reservation_universal_2.TableCombinationConflictType; } });
64
- Object.defineProperty(exports, "Type", { enumerable: true, get: function () { return table_reservations_v1_reservation_universal_2.Type; } });
65
- Object.defineProperty(exports, "Set", { enumerable: true, get: function () { return table_reservations_v1_reservation_universal_2.Set; } });
66
- Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return table_reservations_v1_reservation_universal_2.SortOrder; } });
67
- Object.defineProperty(exports, "SortType", { enumerable: true, get: function () { return table_reservations_v1_reservation_universal_2.SortType; } });
68
- Object.defineProperty(exports, "SortDirection", { enumerable: true, get: function () { return table_reservations_v1_reservation_universal_2.SortDirection; } });
69
- Object.defineProperty(exports, "MissingValues", { enumerable: true, get: function () { return table_reservations_v1_reservation_universal_2.MissingValues; } });
70
- Object.defineProperty(exports, "ScalarType", { enumerable: true, get: function () { return table_reservations_v1_reservation_universal_2.ScalarType; } });
71
- Object.defineProperty(exports, "NestedAggregationType", { enumerable: true, get: function () { return table_reservations_v1_reservation_universal_2.NestedAggregationType; } });
72
- Object.defineProperty(exports, "Interval", { enumerable: true, get: function () { return table_reservations_v1_reservation_universal_2.Interval; } });
73
- Object.defineProperty(exports, "AggregationType", { enumerable: true, get: function () { return table_reservations_v1_reservation_universal_2.AggregationType; } });
74
- Object.defineProperty(exports, "Mode", { enumerable: true, get: function () { return table_reservations_v1_reservation_universal_2.Mode; } });
75
- var table_reservations_v1_reservation_universal_3 = require("./table-reservations-v1-reservation.universal");
76
- Object.defineProperty(exports, "onReservationCreated", { enumerable: true, get: function () { return table_reservations_v1_reservation_universal_3.onReservationCreated; } });
77
- Object.defineProperty(exports, "onReservationUpdated", { enumerable: true, get: function () { return table_reservations_v1_reservation_universal_3.onReservationUpdated; } });
78
- //# sourceMappingURL=table-reservations-v1-reservation.public.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"table-reservations-v1-reservation.public.js","sourceRoot":"","sources":["../../../src/table-reservations-v1-reservation.public.ts"],"names":[],"mappings":";;;AACA,+GAoBuD;AAE1C,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,yBAAyB,EAAE,CAAC;AAEtE,SAAgB,iBAAiB,CAAC,UAAsB;IACtD,OAAO,CAAC,WAAwB,EAAE,OAAkC,EAAE,EAAE,CACtE,IAAA,+DAA0B,EACxB,WAAW,EACX,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,8CAQC;AAED,SAAgB,cAAc,CAAC,UAAsB;IACnD,OAAO,CAAC,aAAqB,EAAE,OAA+B,EAAE,EAAE,CAChE,IAAA,4DAAu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