@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.js';
|
|
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.js';
|
|
3
3
|
import '@wix/sdk-types';
|
|
4
4
|
|
|
5
5
|
/** @hidden */
|
|
@@ -37,7 +37,7 @@ __export(index_typings_exports, {
|
|
|
37
37
|
Type: () => Type,
|
|
38
38
|
WebhookIdentityType: () => WebhookIdentityType,
|
|
39
39
|
bulkArchiveReservations: () => bulkArchiveReservations2,
|
|
40
|
-
|
|
40
|
+
bulkUnarchiveReservations: () => bulkUnarchiveReservations2,
|
|
41
41
|
cancelReservation: () => cancelReservation2,
|
|
42
42
|
createHeldReservation: () => createHeldReservation2,
|
|
43
43
|
createReservation: () => createReservation2,
|
|
@@ -537,12 +537,12 @@ function bulkArchiveReservations(payload) {
|
|
|
537
537
|
}
|
|
538
538
|
return __bulkArchiveReservations;
|
|
539
539
|
}
|
|
540
|
-
function
|
|
541
|
-
function
|
|
540
|
+
function bulkUnarchiveReservations(payload) {
|
|
541
|
+
function __bulkUnarchiveReservations({ host }) {
|
|
542
542
|
const metadata = {
|
|
543
543
|
entityFqdn: "wix.table_reservations.v1.reservation",
|
|
544
544
|
method: "POST",
|
|
545
|
-
methodFqn: "wix.table_reservations.reservation.v1.ReservationsService.
|
|
545
|
+
methodFqn: "wix.table_reservations.reservation.v1.ReservationsService.BulkUnarchiveReservations",
|
|
546
546
|
packageName: PACKAGE_NAME,
|
|
547
547
|
url: resolveWixTableReservationsReservationV1ReservationsServiceUrl({
|
|
548
548
|
protoPath: "/v1/bulk/reservations/unarchive",
|
|
@@ -553,7 +553,7 @@ function bulkUnArchiveReservations(payload) {
|
|
|
553
553
|
};
|
|
554
554
|
return metadata;
|
|
555
555
|
}
|
|
556
|
-
return
|
|
556
|
+
return __bulkUnarchiveReservations;
|
|
557
557
|
}
|
|
558
558
|
|
|
559
559
|
// src/table-reservations-v1-reservation-reservations.universal.ts
|
|
@@ -1007,12 +1007,12 @@ async function bulkArchiveReservations2(reservationIds) {
|
|
|
1007
1007
|
throw transformedError;
|
|
1008
1008
|
}
|
|
1009
1009
|
}
|
|
1010
|
-
async function
|
|
1010
|
+
async function bulkUnarchiveReservations2(reservationIds) {
|
|
1011
1011
|
const { httpClient, sideEffects } = arguments[1];
|
|
1012
1012
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1013
1013
|
reservationIds
|
|
1014
1014
|
});
|
|
1015
|
-
const reqOpts =
|
|
1015
|
+
const reqOpts = bulkUnarchiveReservations(
|
|
1016
1016
|
payload
|
|
1017
1017
|
);
|
|
1018
1018
|
sideEffects?.onSiteCall?.();
|
|
@@ -1053,7 +1053,7 @@ async function bulkUnArchiveReservations2(reservationIds) {
|
|
|
1053
1053
|
Type,
|
|
1054
1054
|
WebhookIdentityType,
|
|
1055
1055
|
bulkArchiveReservations,
|
|
1056
|
-
|
|
1056
|
+
bulkUnarchiveReservations,
|
|
1057
1057
|
cancelReservation,
|
|
1058
1058
|
createHeldReservation,
|
|
1059
1059
|
createReservation,
|