@wix/auto_sdk_table-reservations_reservations 1.0.39 → 1.0.41

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 (33) hide show
  1. package/build/cjs/index.d.ts +8 -24
  2. package/build/cjs/index.js +43 -1
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +2 -2
  5. package/build/cjs/index.typings.js +25 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +1 -1
  8. package/build/cjs/{table-reservations-v1-reservation-reservations.universal-nFEfinIM.d.ts → table-reservations-v1-reservation-reservations.universal-C2uTyE02.d.ts} +7 -1
  9. package/build/es/index.d.mts +8 -24
  10. package/build/es/index.mjs +43 -1
  11. package/build/es/index.mjs.map +1 -1
  12. package/build/es/index.typings.d.mts +2 -2
  13. package/build/es/index.typings.mjs +24 -0
  14. package/build/es/index.typings.mjs.map +1 -1
  15. package/build/es/meta.d.mts +1 -1
  16. package/build/es/{table-reservations-v1-reservation-reservations.universal-nFEfinIM.d.mts → table-reservations-v1-reservation-reservations.universal-C2uTyE02.d.mts} +7 -1
  17. package/build/internal/cjs/index.d.ts +8 -24
  18. package/build/internal/cjs/index.js +43 -1
  19. package/build/internal/cjs/index.js.map +1 -1
  20. package/build/internal/cjs/index.typings.d.ts +2 -2
  21. package/build/internal/cjs/index.typings.js +25 -0
  22. package/build/internal/cjs/index.typings.js.map +1 -1
  23. package/build/internal/cjs/meta.d.ts +1 -1
  24. package/build/internal/cjs/{table-reservations-v1-reservation-reservations.universal-nFEfinIM.d.ts → table-reservations-v1-reservation-reservations.universal-C2uTyE02.d.ts} +7 -1
  25. package/build/internal/es/index.d.mts +8 -24
  26. package/build/internal/es/index.mjs +43 -1
  27. package/build/internal/es/index.mjs.map +1 -1
  28. package/build/internal/es/index.typings.d.mts +2 -2
  29. package/build/internal/es/index.typings.mjs +24 -0
  30. package/build/internal/es/index.typings.mjs.map +1 -1
  31. package/build/internal/es/meta.d.mts +1 -1
  32. package/build/internal/es/{table-reservations-v1-reservation-reservations.universal-nFEfinIM.d.mts → table-reservations-v1-reservation-reservations.universal-C2uTyE02.d.mts} +7 -1
  33. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { R as Reservation, C as CreateReservationOptions, a as CreateReservationApplicationErrors, b as CreateReservationValidationErrors, G as GetReservationOptions, U as UpdateReservation, c as UpdateReservationOptions, d as UpdateReservationApplicationErrors, e as UpdateReservationValidationErrors, H as HeldReservationDetails, f as CreateHeldReservationResponse, g as CreateHeldReservationApplicationErrors, h as Reservee, i as ReserveReservationResponse, j as ReserveReservationApplicationErrors, k as CancelReservationOptions, l as CancelReservationResponse, m as CancelReservationApplicationErrors, L as ListReservationsOptions, n as ListReservationsResponse, o as ReservationsQueryBuilder, p as ReservationSearch, S as SearchReservationsResponse, B as BulkArchiveReservationsResponse, q as BulkUnarchiveReservationsResponse, r as ReservationCreatedEnvelope, s as ReservationDeletedEnvelope, t as ReservationUpdatedEnvelope } from './table-reservations-v1-reservation-reservations.universal-nFEfinIM.js';
3
- export { bp as ActionEvent, aG as Aggregation, aT as AggregationData, aH as AggregationKindOneOf, ba as AggregationResults, bb as AggregationResultsResultOneOf, a_ as AggregationResultsScalarResult, O as AggregationType, bW as AggregationTypeWithLiterals, bf as ApplicationError, bB as BaseEventMetadata, bg as BulkActionMetadata, bc as BulkArchiveReservationsRequest, bd as BulkArchiveReservationsResult, bh as BulkUnarchiveReservationsRequest, bi as BulkUnarchiveReservationsResult, aq as CancelReservationRequest, bZ as CommonSearchWithEntityContext, ai as Conflicts, ah as ConflictsExperienceOptions, aj as ConflictsOptionsOneOf, ag as ConflictsStandardOptions, ao as CreateHeldReservationRequest, a5 as CreateReservationRequest, aa as CreateReservationResponse, av as CursorPaging, ax as CursorPagingMetadata, aA as CursorQuery, aB as CursorQueryPagingMethodOneOf, aE as CursorSearch, aF as CursorSearchPagingMethodOneOf, ay as Cursors, aO as DateHistogramAggregation, b6 as DateHistogramResult, b8 as DateHistogramResults, as as DeleteReservationRequest, at as DeleteReservationResponse, X as Details, bj as DomainEvent, bk as DomainEventBodyOneOf, bq as Empty, bl as EntityCreatedEvent, bo as EntityDeletedEvent, bn as EntityUpdatedEvent, bC as EventMetadata, af as ExperienceConflict, x as ExperienceConflictType, bL as ExperienceConflictTypeWithLiterals, a9 as ExperienceOptions, ae as ExperienceTableCombinationConflict, E as ExperienceTableCombinationConflictType, bK as ExperienceTableCombinationConflictTypeWithLiterals, $ as ExtendedFields, ak as GetReservationRequest, al as GetReservationResponse, b7 as GroupByValueResults, bw as HeadersEntry, bz as IdentificationData, bA as IdentificationDataIdOneOf, a6 as IgnoreConflicts, a7 as IgnoreConflictsIgnoreConflictsOptionsOneOf, I as IgnoreConflictsType, bM as IgnoreConflictsTypeWithLiterals, aJ as IncludeMissingValuesOptions, K as Interval, bV as IntervalWithLiterals, be as ItemMetadata, au as ListReservationsRequest, by as MessageEnvelope, Z as MigrationNote, M as MissingValues, bS as MissingValuesWithLiterals, Q as Mode, bX as ModeWithLiterals, aR as NestedAggregation, aP as NestedAggregationItem, aQ as NestedAggregationItemKindOneOf, aW as NestedAggregationResults, aX as NestedAggregationResultsResultOneOf, N as NestedAggregationType, bU as NestedAggregationTypeWithLiterals, b3 as NestedResultValue, b4 as NestedResultValueResultOneOf, b9 as NestedResults, a$ as NestedValueAggregationResult, bu as PathParametersEntry, P as PaymentStatus, bH as PaymentStatusWithLiterals, bv as QueryParametersEntry, az as QueryReservationsRequest, aC as QueryReservationsResponse, aM as RangeAggregation, aV as RangeAggregationResult, aI as RangeBucket, b1 as RangeResult, aZ as RangeResults, bt as RawHttpRequest, bx as RawHttpResponse, br as RemoveReservationMigrationNotesRequest, bs as RemoveReservationMigrationNotesResponse, ar as ReservationCanceled, a2 as ReservationCreated, a0 as ReservationDelayedDomainEvent, a1 as ReservationDelayedDomainEventBodyTypeOneOf, a4 as ReservationDelayedDomainEventReservationCanceled, ab as ReservationDetailsConflicts, ad as ReservationLocationConflict, w as ReservationLocationConflictType, bJ as ReservationLocationConflictTypeWithLiterals, bE as ReservationSearchSpec, a3 as ReservationUpdated, bD as ReservationsQueryResult, ap as ReserveReservationRequest, Y as ReservedBy, bm as RestoreInfo, b5 as Results, aN as ScalarAggregation, b2 as ScalarResult, J as ScalarType, bT as ScalarTypeWithLiterals, aS as SearchDetails, aD as SearchReservationsRequest, z as Set, bO as SetWithLiterals, F as SortDirection, bR as SortDirectionWithLiterals, A as SortOrder, bP as SortOrderWithLiterals, D as SortType, bQ as SortTypeWithLiterals, aw as Sorting, v as Source, bG as SourceWithLiterals, a8 as StandardOptions, u as Status, bF as StatusWithLiterals, ac as TableCombinationConflict, T as TableCombinationConflictType, bI as TableCombinationConflictTypeWithLiterals, _ as TableWithReservationConflicts, V as Tables, y as Type, bN as TypeWithLiterals, am as UpdateReservationRequest, an as UpdateReservationResponse, aK as ValueAggregation, aL as ValueAggregationOptionsOneOf, aU as ValueAggregationResult, b0 as ValueResult, aY as ValueResults, W as WebhookIdentityType, bY as WebhookIdentityTypeWithLiterals } from './table-reservations-v1-reservation-reservations.universal-nFEfinIM.js';
2
+ import { R as Reservation, C as CreateReservationOptions, a as CreateReservationApplicationErrors, b as CreateReservationValidationErrors, G as GetReservationOptions, U as UpdateReservation, c as UpdateReservationOptions, d as UpdateReservationApplicationErrors, e as UpdateReservationValidationErrors, H as HeldReservationDetails, f as CreateHeldReservationResponse, g as CreateHeldReservationApplicationErrors, h as Reservee, i as ReserveReservationResponse, j as ReserveReservationApplicationErrors, k as CancelReservationOptions, l as CancelReservationResponse, m as CancelReservationApplicationErrors, L as ListReservationsOptions, n as ListReservationsResponse, o as ReservationSearch, S as SearchReservationsResponse, B as BulkArchiveReservationsResponse, p as BulkUnarchiveReservationsResponse, q as ReservationCreatedEnvelope, r as ReservationDeletedEnvelope, s as ReservationUpdatedEnvelope, t as ReservationsQueryBuilder, u as CursorQuery, v as typedQueryReservations } from './table-reservations-v1-reservation-reservations.universal-C2uTyE02.js';
3
+ export { bq as ActionEvent, aH as Aggregation, aU as AggregationData, aI as AggregationKindOneOf, bb as AggregationResults, bc as AggregationResultsResultOneOf, a$ as AggregationResultsScalarResult, V as AggregationType, bX as AggregationTypeWithLiterals, bg as ApplicationError, bC as BaseEventMetadata, bh as BulkActionMetadata, bd as BulkArchiveReservationsRequest, be as BulkArchiveReservationsResult, bi as BulkUnarchiveReservationsRequest, bj as BulkUnarchiveReservationsResult, as as CancelReservationRequest, b_ as CommonSearchWithEntityContext, ak as Conflicts, aj as ConflictsExperienceOptions, al as ConflictsOptionsOneOf, ai as ConflictsStandardOptions, aq as CreateHeldReservationRequest, a7 as CreateReservationRequest, ac as CreateReservationResponse, ax as CursorPaging, az as CursorPagingMetadata, aC as CursorQueryPagingMethodOneOf, aF as CursorSearch, aG as CursorSearchPagingMethodOneOf, aA as Cursors, aP as DateHistogramAggregation, b7 as DateHistogramResult, b9 as DateHistogramResults, au as DeleteReservationRequest, av as DeleteReservationResponse, Z as Details, bk as DomainEvent, bl as DomainEventBodyOneOf, br as Empty, bm as EntityCreatedEvent, bp as EntityDeletedEvent, bo as EntityUpdatedEvent, bD as EventMetadata, ah as ExperienceConflict, z as ExperienceConflictType, bM as ExperienceConflictTypeWithLiterals, ab as ExperienceOptions, ag as ExperienceTableCombinationConflict, E as ExperienceTableCombinationConflictType, bL as ExperienceTableCombinationConflictTypeWithLiterals, a1 as ExtendedFields, am as GetReservationRequest, an as GetReservationResponse, b8 as GroupByValueResults, bx as HeadersEntry, bA as IdentificationData, bB as IdentificationDataIdOneOf, a8 as IgnoreConflicts, a9 as IgnoreConflictsIgnoreConflictsOptionsOneOf, I as IgnoreConflictsType, bN as IgnoreConflictsTypeWithLiterals, aK as IncludeMissingValuesOptions, Q as Interval, bW as IntervalWithLiterals, bf as ItemMetadata, aw as ListReservationsRequest, bz as MessageEnvelope, $ as MigrationNote, M as MissingValues, bT as MissingValuesWithLiterals, W as Mode, bY as ModeWithLiterals, aS as NestedAggregation, aQ as NestedAggregationItem, aR as NestedAggregationItemKindOneOf, aX as NestedAggregationResults, aY as NestedAggregationResultsResultOneOf, O as NestedAggregationType, bV as NestedAggregationTypeWithLiterals, b4 as NestedResultValue, b5 as NestedResultValueResultOneOf, ba as NestedResults, b0 as NestedValueAggregationResult, bv as PathParametersEntry, P as PaymentStatus, bI as PaymentStatusWithLiterals, bw as QueryParametersEntry, aB as QueryReservationsRequest, aD as QueryReservationsResponse, aN as RangeAggregation, aW as RangeAggregationResult, aJ as RangeBucket, b2 as RangeResult, a_ as RangeResults, bu as RawHttpRequest, by as RawHttpResponse, bs as RemoveReservationMigrationNotesRequest, bt as RemoveReservationMigrationNotesResponse, at as ReservationCanceled, a4 as ReservationCreated, a2 as ReservationDelayedDomainEvent, a3 as ReservationDelayedDomainEventBodyTypeOneOf, a6 as ReservationDelayedDomainEventReservationCanceled, ad as ReservationDetailsConflicts, af as ReservationLocationConflict, y as ReservationLocationConflictType, bK as ReservationLocationConflictTypeWithLiterals, bF as ReservationSearchSpec, a5 as ReservationUpdated, bE as ReservationsQueryResult, ar as ReserveReservationRequest, _ as ReservedBy, bn as RestoreInfo, b6 as Results, aO as ScalarAggregation, b3 as ScalarResult, N as ScalarType, bU as ScalarTypeWithLiterals, aT as SearchDetails, aE as SearchReservationsRequest, D as Set, bP as SetWithLiterals, K as SortDirection, bS as SortDirectionWithLiterals, F as SortOrder, bQ as SortOrderWithLiterals, J as SortType, bR as SortTypeWithLiterals, ay as Sorting, x as Source, bH as SourceWithLiterals, aa as StandardOptions, w as Status, bG as StatusWithLiterals, ae as TableCombinationConflict, T as TableCombinationConflictType, bJ as TableCombinationConflictTypeWithLiterals, a0 as TableWithReservationConflicts, Y as Tables, A as Type, bO as TypeWithLiterals, ao as UpdateReservationRequest, ap as UpdateReservationResponse, aL as ValueAggregation, aM as ValueAggregationOptionsOneOf, aV as ValueAggregationResult, b1 as ValueResult, aZ as ValueResults, X as WebhookIdentityType, bZ as WebhookIdentityTypeWithLiterals } from './table-reservations-v1-reservation-reservations.universal-C2uTyE02.js';
4
4
 
5
5
  declare function createReservation$1(httpClient: HttpClient): CreateReservationSignature;
6
6
  interface CreateReservationSignature {
@@ -135,26 +135,6 @@ interface ListReservationsSignature {
135
135
  */
136
136
  (options?: ListReservationsOptions): Promise<NonNullablePaths<ListReservationsResponse, `reservations` | `reservations.${number}.status` | `reservations.${number}.source` | `reservations.${number}.paymentStatus`, 4>>;
137
137
  }
138
- declare function queryReservations$1(httpClient: HttpClient): QueryReservationsSignature;
139
- interface QueryReservationsSignature {
140
- /**
141
- * Creates a query to retrieve a list of reservations.
142
- *
143
- * The `queryReservations()` function builds a query to retrieve a list of reservations and returns a `ReservationsQueryBuilder` object.
144
- *
145
- * The returned object contains the query definition, which is used to run the query using the [find()](/reservations/reservations-query-builder/find) function.
146
- *
147
- * You can refine the query by chaining `ReservationsQueryBuilder` functions onto the query. `ReservationsQueryBuilder` functions enable you to filter, sort, and control the results that `queryReservations()` returns.
148
- *
149
- * `queryReservations()` runs with the following `ReservationsQueryBuilder` defaults, which you can override:
150
- *
151
- * * [`limit(50)`](/reservations/reservations-query-builder/limit)
152
- * * [`descending('_createdDate')`](/reservations/reservations-query-builder/descending)
153
- *
154
- * The following `ReservationsQueryBuilder` functions are supported for `queryReservations()`. For a full description of the reservation object, see the object returned for the [`items`](/reservations/reservations-query-result/items) property in [`ReservationsQueryResult`](/reservations/reservations-query-result).
155
- */
156
- (): ReservationsQueryBuilder;
157
- }
158
138
  declare function searchReservations$1(httpClient: HttpClient): SearchReservationsSignature;
159
139
  interface SearchReservationsSignature {
160
140
  /**
@@ -189,6 +169,10 @@ declare const onReservationCreated$1: EventDefinition<ReservationCreatedEnvelope
189
169
  declare const onReservationDeleted$1: EventDefinition<ReservationDeletedEnvelope, "wix.table_reservations.v1.reservation_deleted">;
190
170
  declare const onReservationUpdated$1: EventDefinition<ReservationUpdatedEnvelope, "wix.table_reservations.v1.reservation_updated">;
191
171
 
172
+ declare function customQueryReservations(httpClient: HttpClient): {
173
+ (): ReservationsQueryBuilder;
174
+ (query: CursorQuery): ReturnType<typeof typedQueryReservations>;
175
+ };
192
176
  declare const createReservation: MaybeContext<BuildRESTFunction<typeof createReservation$1> & typeof createReservation$1>;
193
177
  declare const getReservation: MaybeContext<BuildRESTFunction<typeof getReservation$1> & typeof getReservation$1>;
194
178
  declare const updateReservation: MaybeContext<BuildRESTFunction<typeof updateReservation$1> & typeof updateReservation$1>;
@@ -197,10 +181,10 @@ declare const reserveReservation: MaybeContext<BuildRESTFunction<typeof reserveR
197
181
  declare const cancelReservation: MaybeContext<BuildRESTFunction<typeof cancelReservation$1> & typeof cancelReservation$1>;
198
182
  declare const deleteReservation: MaybeContext<BuildRESTFunction<typeof deleteReservation$1> & typeof deleteReservation$1>;
199
183
  declare const listReservations: MaybeContext<BuildRESTFunction<typeof listReservations$1> & typeof listReservations$1>;
200
- declare const queryReservations: MaybeContext<BuildRESTFunction<typeof queryReservations$1> & typeof queryReservations$1>;
201
184
  declare const searchReservations: MaybeContext<BuildRESTFunction<typeof searchReservations$1> & typeof searchReservations$1>;
202
185
  declare const bulkArchiveReservations: MaybeContext<BuildRESTFunction<typeof bulkArchiveReservations$1> & typeof bulkArchiveReservations$1>;
203
186
  declare const bulkUnarchiveReservations: MaybeContext<BuildRESTFunction<typeof bulkUnarchiveReservations$1> & typeof bulkUnarchiveReservations$1>;
187
+ declare const queryReservations: MaybeContext<BuildRESTFunction<typeof customQueryReservations> & typeof customQueryReservations>;
204
188
  /**
205
189
  * Triggered when a reservation is created.
206
190
  */
@@ -214,4 +198,4 @@ declare const onReservationDeleted: BuildEventDefinition<typeof onReservationDel
214
198
  */
215
199
  declare const onReservationUpdated: BuildEventDefinition<typeof onReservationUpdated$1> & typeof onReservationUpdated$1;
216
200
 
217
- export { BulkArchiveReservationsResponse, BulkUnarchiveReservationsResponse, CancelReservationApplicationErrors, CancelReservationOptions, CancelReservationResponse, CreateHeldReservationApplicationErrors, CreateHeldReservationResponse, CreateReservationApplicationErrors, CreateReservationOptions, CreateReservationValidationErrors, GetReservationOptions, HeldReservationDetails, ListReservationsOptions, ListReservationsResponse, Reservation, ReservationCreatedEnvelope, ReservationDeletedEnvelope, ReservationSearch, ReservationUpdatedEnvelope, ReservationsQueryBuilder, ReserveReservationApplicationErrors, ReserveReservationResponse, Reservee, SearchReservationsResponse, UpdateReservation, UpdateReservationApplicationErrors, UpdateReservationOptions, UpdateReservationValidationErrors, bulkArchiveReservations, bulkUnarchiveReservations, cancelReservation, createHeldReservation, createReservation, deleteReservation, getReservation, listReservations, onReservationCreated, onReservationDeleted, onReservationUpdated, queryReservations, reserveReservation, searchReservations, updateReservation };
201
+ export { BulkArchiveReservationsResponse, BulkUnarchiveReservationsResponse, CancelReservationApplicationErrors, CancelReservationOptions, CancelReservationResponse, CreateHeldReservationApplicationErrors, CreateHeldReservationResponse, CreateReservationApplicationErrors, CreateReservationOptions, CreateReservationValidationErrors, CursorQuery, GetReservationOptions, HeldReservationDetails, ListReservationsOptions, ListReservationsResponse, Reservation, ReservationCreatedEnvelope, ReservationDeletedEnvelope, ReservationSearch, ReservationUpdatedEnvelope, ReservationsQueryBuilder, ReserveReservationApplicationErrors, ReserveReservationResponse, Reservee, SearchReservationsResponse, UpdateReservation, UpdateReservationApplicationErrors, UpdateReservationOptions, UpdateReservationValidationErrors, bulkArchiveReservations, bulkUnarchiveReservations, cancelReservation, createHeldReservation, createReservation, deleteReservation, getReservation, listReservations, onReservationCreated, onReservationDeleted, onReservationUpdated, queryReservations, reserveReservation, searchReservations, updateReservation };
@@ -1034,6 +1034,29 @@ function queryReservations2() {
1034
1034
  transformationPaths: {}
1035
1035
  });
1036
1036
  }
1037
+ async function typedQueryReservations(query) {
1038
+ const { httpClient, sideEffects } = arguments[1];
1039
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ query });
1040
+ const reqOpts = queryReservations(payload);
1041
+ sideEffects?.onSiteCall?.();
1042
+ try {
1043
+ const result = await httpClient.request(reqOpts);
1044
+ sideEffects?.onSuccess?.(result);
1045
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
1046
+ } catch (err) {
1047
+ const transformedError = (0, import_transform_error.transformError)(
1048
+ err,
1049
+ {
1050
+ spreadPathsToArguments: {},
1051
+ explicitPathsToArguments: { query: "$[0]" },
1052
+ singleArgumentUnchanged: false
1053
+ },
1054
+ ["query"]
1055
+ );
1056
+ sideEffects?.onError?.(err);
1057
+ throw transformedError;
1058
+ }
1059
+ }
1037
1060
  async function searchReservations2(search) {
1038
1061
  const { httpClient, sideEffects } = arguments[1];
1039
1062
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ search });
@@ -1183,6 +1206,13 @@ function queryReservations3(httpClient) {
1183
1206
  { httpClient }
1184
1207
  );
1185
1208
  }
1209
+ function typedQueryReservations2(httpClient) {
1210
+ return (query) => typedQueryReservations(
1211
+ query,
1212
+ // @ts-ignore
1213
+ { httpClient }
1214
+ );
1215
+ }
1186
1216
  function searchReservations3(httpClient) {
1187
1217
  return (search) => searchReservations2(
1188
1218
  search,
@@ -1262,6 +1292,18 @@ var onReservationUpdated = (0, import_sdk_types.EventDefinition)(
1262
1292
  // src/table-reservations-v1-reservation-reservations.context.ts
1263
1293
  var import_rest_modules3 = require("@wix/sdk-runtime/rest-modules");
1264
1294
  var import_event_definition_modules = require("@wix/sdk-runtime/event-definition-modules");
1295
+ var import_query_method_router = require("@wix/sdk-runtime/query-method-router");
1296
+ function customQueryReservations(httpClient) {
1297
+ const router = (0, import_query_method_router.createQueryOverloadRouter)({
1298
+ builderQueryFunction: () => queryReservations3(httpClient)(),
1299
+ typedQueryFunction: (query) => typedQueryReservations2(httpClient)(query),
1300
+ hasOptionsParameter: false
1301
+ });
1302
+ function overloadedQuery(query) {
1303
+ return router(...arguments);
1304
+ }
1305
+ return overloadedQuery;
1306
+ }
1265
1307
  var createReservation4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(createReservation3);
1266
1308
  var getReservation4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getReservation3);
1267
1309
  var updateReservation4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(updateReservation3);
@@ -1270,10 +1312,10 @@ var reserveReservation4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTMod
1270
1312
  var cancelReservation4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(cancelReservation3);
1271
1313
  var deleteReservation4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(deleteReservation3);
1272
1314
  var listReservations4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(listReservations3);
1273
- var queryReservations4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(queryReservations3);
1274
1315
  var searchReservations4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(searchReservations3);
1275
1316
  var bulkArchiveReservations4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkArchiveReservations3);
1276
1317
  var bulkUnarchiveReservations4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkUnarchiveReservations3);
1318
+ var queryReservations4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(customQueryReservations);
1277
1319
  var onReservationCreated2 = (0, import_event_definition_modules.createEventModule)(
1278
1320
  onReservationCreated
1279
1321
  );