@wix/auto_sdk_table-reservations_reservations 1.0.24 → 1.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +13 -10
- package/build/cjs/index.js +11 -11
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +8 -8
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +17 -14
- package/build/cjs/meta.js +8 -8
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/{table-reservations-v1-reservation-reservations.universal-BtPRFS9k.d.ts → table-reservations-v1-reservation-reservations.universal-CFbgZcWS.d.ts} +32 -17
- package/build/es/index.d.mts +13 -10
- package/build/es/index.mjs +10 -10
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +7 -7
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +17 -14
- package/build/es/meta.mjs +7 -7
- package/build/es/meta.mjs.map +1 -1
- package/build/es/{table-reservations-v1-reservation-reservations.universal-BtPRFS9k.d.mts → table-reservations-v1-reservation-reservations.universal-CFbgZcWS.d.mts} +32 -17
- package/build/internal/cjs/index.d.ts +13 -10
- package/build/internal/cjs/index.js +11 -11
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js +8 -8
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +17 -14
- package/build/internal/cjs/meta.js +8 -8
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/{table-reservations-v1-reservation-reservations.universal-BtPRFS9k.d.ts → table-reservations-v1-reservation-reservations.universal-CFbgZcWS.d.ts} +32 -17
- package/build/internal/es/index.d.mts +13 -10
- package/build/internal/es/index.mjs +10 -10
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs +7 -7
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +17 -14
- package/build/internal/es/meta.mjs +7 -7
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/{table-reservations-v1-reservation-reservations.universal-BtPRFS9k.d.mts → table-reservations-v1-reservation-reservations.universal-CFbgZcWS.d.mts} +32 -17
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { aq as CursorSearch, S as SearchReservationsResponse } from './table-reservations-v1-reservation-reservations.universal-
|
|
2
|
-
export { bb as ActionEvent, as as Aggregation, aF as AggregationData, at as AggregationKindOneOf, aY as AggregationResults, aZ as AggregationResultsResultOneOf, aM as AggregationResultsScalarResult, E as AggregationType, bE as AggregationTypeWithLiterals, b1 as ApplicationError, bn as BaseEventMetadata, b2 as BulkActionMetadata, a_ as BulkArchiveReservationsRequest, B as BulkArchiveReservationsResponse, a$ as BulkArchiveReservationsResult, b3 as
|
|
1
|
+
import { aq as CursorSearch, S as SearchReservationsResponse } from './table-reservations-v1-reservation-reservations.universal-CFbgZcWS.mjs';
|
|
2
|
+
export { bb as ActionEvent, as as Aggregation, aF as AggregationData, at as AggregationKindOneOf, aY as AggregationResults, aZ as AggregationResultsResultOneOf, aM as AggregationResultsScalarResult, E as AggregationType, bE as AggregationTypeWithLiterals, b1 as ApplicationError, bn as BaseEventMetadata, b2 as BulkActionMetadata, a_ as BulkArchiveReservationsRequest, B as BulkArchiveReservationsResponse, a$ as BulkArchiveReservationsResult, b3 as BulkUnarchiveReservationsRequest, q as BulkUnarchiveReservationsResponse, b4 as BulkUnarchiveReservationsResult, m as CancelReservationApplicationErrors, k as CancelReservationOptions, ac as CancelReservationRequest, l as CancelReservationResponse, bT as CommonSearchWithEntityContext, g as CreateHeldReservationApplicationErrors, aa as CreateHeldReservationRequest, f as CreateHeldReservationResponse, a as CreateReservationApplicationErrors, C as CreateReservationOptions, a1 as CreateReservationRequest, a2 as CreateReservationResponse, b as CreateReservationValidationErrors, ah as CursorPaging, aj as CursorPagingMetadata, am as CursorQuery, an as CursorQueryPagingMethodOneOf, ar as CursorSearchPagingMethodOneOf, ak as Cursors, aA as DateHistogramAggregation, aU as DateHistogramResult, aW as DateHistogramResults, ae as DeleteReservationRequest, af as DeleteReservationResponse, K as Details, b5 as DomainEvent, b6 as DomainEventBodyOneOf, bc as Empty, b7 as EntityCreatedEvent, ba as EntityDeletedEvent, b9 as EntityUpdatedEvent, bo as EventMetadata, X as ExtendedFields, G as GetReservationOptions, a6 as GetReservationRequest, a7 as GetReservationResponse, aV as GroupByValueResults, bi as HeadersEntry, H as HeldReservationDetails, bl as IdentificationData, bm as IdentificationDataIdOneOf, av as IncludeMissingValuesOptions, I as Interval, bD as IntervalWithLiterals, b0 as ItemMetadata, L as ListReservationsOptions, ag as ListReservationsRequest, n as ListReservationsResponse, bk as MessageEnvelope, Q as MigrationNote, M as MissingValues, bA as MissingValuesWithLiterals, F as Mode, bF as ModeWithLiterals, aD as NestedAggregation, aB as NestedAggregationItem, aC as NestedAggregationItemKindOneOf, aI as NestedAggregationResults, aJ as NestedAggregationResultsResultOneOf, N as NestedAggregationType, bC as NestedAggregationTypeWithLiterals, aR as NestedResultValue, aS as NestedResultValueResultOneOf, aX as NestedResults, aN as NestedValueAggregationResult, bg as PathParametersEntry, P as PaymentStatus, bt as PaymentStatusWithLiterals, bh as QueryParametersEntry, al as QueryReservationsRequest, ao as QueryReservationsResponse, ay as RangeAggregation, aH as RangeAggregationResult, au as RangeBucket, aP as RangeResult, aL as RangeResults, bf as RawHttpRequest, bj as RawHttpResponse, bd as RemoveReservationMigrationNotesRequest, be as RemoveReservationMigrationNotesResponse, R as Reservation, ad as ReservationCanceled, _ as ReservationCreated, r as ReservationCreatedEnvelope, Y as ReservationDelayedDomainEvent, Z as ReservationDelayedDomainEventBodyTypeOneOf, a0 as ReservationDelayedDomainEventReservationCanceled, s as ReservationDeletedEnvelope, a3 as ReservationDetailsConflicts, a5 as ReservationLocationConflict, bq as ReservationSearchSpec, $ as ReservationUpdated, t as ReservationUpdatedEnvelope, o as ReservationsQueryBuilder, bp as ReservationsQueryResult, j as ReserveReservationApplicationErrors, ab as ReserveReservationRequest, i as ReserveReservationResponse, O as ReservedBy, h as Reservee, b8 as RestoreInfo, aT as Results, az as ScalarAggregation, aQ as ScalarResult, D as ScalarType, bB as ScalarTypeWithLiterals, aE as SearchDetails, ap as SearchReservationsRequest, x as Set, bw as SetWithLiterals, A as SortDirection, bz as SortDirectionWithLiterals, y as SortOrder, bx as SortOrderWithLiterals, z as SortType, by as SortTypeWithLiterals, ai as Sorting, v as Source, bs as SourceWithLiterals, u as Status, br as StatusWithLiterals, a4 as TableCombinationConflict, T as TableCombinationConflictType, bu as TableCombinationConflictTypeWithLiterals, V as TableWithReservationConflicts, J as Tables, w as Type, bv as TypeWithLiterals, U as UpdateReservation, d as UpdateReservationApplicationErrors, c as UpdateReservationOptions, a8 as UpdateReservationRequest, a9 as UpdateReservationResponse, e as UpdateReservationValidationErrors, aw as ValueAggregation, ax as ValueAggregationOptionsOneOf, aG as ValueAggregationResult, aO as ValueResult, aK as ValueResults, W as WebhookIdentityType, bG as WebhookIdentityTypeWithLiterals, bU as bulkArchiveReservations, bV as bulkUnarchiveReservations, bP as cancelReservation, bN as createHeldReservation, bK as createReservation, bQ as deleteReservation, bL as getReservation, bR as listReservations, bH as onReservationCreated, bI as onReservationDeleted, bJ as onReservationUpdated, bS as queryReservations, bO as reserveReservation, bM as updateReservation } from './table-reservations-v1-reservation-reservations.universal-CFbgZcWS.mjs';
|
|
3
3
|
import '@wix/sdk-types';
|
|
4
4
|
|
|
5
5
|
/** @hidden */
|
|
@@ -487,12 +487,12 @@ function bulkArchiveReservations(payload) {
|
|
|
487
487
|
}
|
|
488
488
|
return __bulkArchiveReservations;
|
|
489
489
|
}
|
|
490
|
-
function
|
|
491
|
-
function
|
|
490
|
+
function bulkUnarchiveReservations(payload) {
|
|
491
|
+
function __bulkUnarchiveReservations({ host }) {
|
|
492
492
|
const metadata = {
|
|
493
493
|
entityFqdn: "wix.table_reservations.v1.reservation",
|
|
494
494
|
method: "POST",
|
|
495
|
-
methodFqn: "wix.table_reservations.reservation.v1.ReservationsService.
|
|
495
|
+
methodFqn: "wix.table_reservations.reservation.v1.ReservationsService.BulkUnarchiveReservations",
|
|
496
496
|
packageName: PACKAGE_NAME,
|
|
497
497
|
url: resolveWixTableReservationsReservationV1ReservationsServiceUrl({
|
|
498
498
|
protoPath: "/v1/bulk/reservations/unarchive",
|
|
@@ -503,7 +503,7 @@ function bulkUnArchiveReservations(payload) {
|
|
|
503
503
|
};
|
|
504
504
|
return metadata;
|
|
505
505
|
}
|
|
506
|
-
return
|
|
506
|
+
return __bulkUnarchiveReservations;
|
|
507
507
|
}
|
|
508
508
|
|
|
509
509
|
// src/table-reservations-v1-reservation-reservations.universal.ts
|
|
@@ -957,12 +957,12 @@ async function bulkArchiveReservations2(reservationIds) {
|
|
|
957
957
|
throw transformedError;
|
|
958
958
|
}
|
|
959
959
|
}
|
|
960
|
-
async function
|
|
960
|
+
async function bulkUnarchiveReservations2(reservationIds) {
|
|
961
961
|
const { httpClient, sideEffects } = arguments[1];
|
|
962
962
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
963
963
|
reservationIds
|
|
964
964
|
});
|
|
965
|
-
const reqOpts =
|
|
965
|
+
const reqOpts = bulkUnarchiveReservations(
|
|
966
966
|
payload
|
|
967
967
|
);
|
|
968
968
|
sideEffects?.onSiteCall?.();
|
|
@@ -1002,7 +1002,7 @@ export {
|
|
|
1002
1002
|
Type,
|
|
1003
1003
|
WebhookIdentityType,
|
|
1004
1004
|
bulkArchiveReservations2 as bulkArchiveReservations,
|
|
1005
|
-
|
|
1005
|
+
bulkUnarchiveReservations2 as bulkUnarchiveReservations,
|
|
1006
1006
|
cancelReservation2 as cancelReservation,
|
|
1007
1007
|
createHeldReservation2 as createHeldReservation,
|
|
1008
1008
|
createReservation2 as createReservation,
|