@wix/auto_sdk_table-reservations_reservations 1.0.32 → 1.0.34
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 +5 -5
- package/build/cjs/index.js +22 -8
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +13 -5
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -1
- package/build/cjs/{table-reservations-v1-reservation-reservations.universal-B8Z4sNjN.d.ts → table-reservations-v1-reservation-reservations.universal-DbgmieCp.d.ts} +56 -4
- package/build/es/index.d.mts +5 -5
- package/build/es/index.mjs +21 -8
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +12 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1 -1
- package/build/es/{table-reservations-v1-reservation-reservations.universal-B8Z4sNjN.d.mts → table-reservations-v1-reservation-reservations.universal-DbgmieCp.d.mts} +56 -4
- package/build/internal/cjs/index.d.ts +5 -5
- package/build/internal/cjs/index.js +22 -8
- 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 +13 -5
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +1 -1
- package/build/internal/cjs/{table-reservations-v1-reservation-reservations.universal-B8Z4sNjN.d.ts → table-reservations-v1-reservation-reservations.universal-DbgmieCp.d.ts} +56 -4
- package/build/internal/es/index.d.mts +5 -5
- package/build/internal/es/index.mjs +21 -8
- 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 +12 -5
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +1 -1
- package/build/internal/es/{table-reservations-v1-reservation-reservations.universal-B8Z4sNjN.d.mts → table-reservations-v1-reservation-reservations.universal-DbgmieCp.d.mts} +56 -4
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -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-
|
|
3
|
-
export {
|
|
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-DbgmieCp.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-DbgmieCp.js';
|
|
4
4
|
|
|
5
5
|
declare function createReservation$1(httpClient: HttpClient): CreateReservationSignature;
|
|
6
6
|
interface CreateReservationSignature {
|
|
@@ -204,14 +204,14 @@ declare const bulkUnarchiveReservations: MaybeContext<BuildRESTFunction<typeof b
|
|
|
204
204
|
/**
|
|
205
205
|
* Triggered when a held reservation is created.
|
|
206
206
|
*/
|
|
207
|
-
declare const onReservationCreated: BuildEventDefinition<typeof onReservationCreated$1
|
|
207
|
+
declare const onReservationCreated: BuildEventDefinition<typeof onReservationCreated$1> & typeof onReservationCreated$1;
|
|
208
208
|
/**
|
|
209
209
|
* Triggered when a reservation is deleted.
|
|
210
210
|
*/
|
|
211
|
-
declare const onReservationDeleted: BuildEventDefinition<typeof onReservationDeleted$1
|
|
211
|
+
declare const onReservationDeleted: BuildEventDefinition<typeof onReservationDeleted$1> & typeof onReservationDeleted$1;
|
|
212
212
|
/**
|
|
213
213
|
* Triggered when a reservation is canceled.
|
|
214
214
|
*/
|
|
215
|
-
declare const onReservationUpdated: BuildEventDefinition<typeof onReservationUpdated$1
|
|
215
|
+
declare const onReservationUpdated: BuildEventDefinition<typeof onReservationUpdated$1> & typeof onReservationUpdated$1;
|
|
216
216
|
|
|
217
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 };
|
package/build/cjs/index.js
CHANGED
|
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
AggregationType: () => AggregationType,
|
|
24
|
+
ExperienceConflictType: () => ExperienceConflictType,
|
|
24
25
|
ExperienceTableCombinationConflictType: () => ExperienceTableCombinationConflictType,
|
|
25
26
|
IgnoreConflictsType: () => IgnoreConflictsType,
|
|
26
27
|
Interval: () => Interval,
|
|
@@ -622,17 +623,23 @@ var ExperienceTableCombinationConflictType = /* @__PURE__ */ ((ExperienceTableCo
|
|
|
622
623
|
ExperienceTableCombinationConflictType2["TOO_SMALL"] = "TOO_SMALL";
|
|
623
624
|
return ExperienceTableCombinationConflictType2;
|
|
624
625
|
})(ExperienceTableCombinationConflictType || {});
|
|
625
|
-
var
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
return
|
|
629
|
-
})(
|
|
626
|
+
var ExperienceConflictType = /* @__PURE__ */ ((ExperienceConflictType2) => {
|
|
627
|
+
ExperienceConflictType2["UNKNOWN"] = "UNKNOWN";
|
|
628
|
+
ExperienceConflictType2["MAXIMUM_NUMBER_OF_GUESTS"] = "MAXIMUM_NUMBER_OF_GUESTS";
|
|
629
|
+
return ExperienceConflictType2;
|
|
630
|
+
})(ExperienceConflictType || {});
|
|
630
631
|
var IgnoreConflictsType = /* @__PURE__ */ ((IgnoreConflictsType2) => {
|
|
631
632
|
IgnoreConflictsType2["UNKNOWN_IGNORE_CONFLICTS_TYPE"] = "UNKNOWN_IGNORE_CONFLICTS_TYPE";
|
|
632
633
|
IgnoreConflictsType2["STANDARD"] = "STANDARD";
|
|
633
634
|
IgnoreConflictsType2["EXPERIENCE"] = "EXPERIENCE";
|
|
634
635
|
return IgnoreConflictsType2;
|
|
635
636
|
})(IgnoreConflictsType || {});
|
|
637
|
+
var Type = /* @__PURE__ */ ((Type2) => {
|
|
638
|
+
Type2["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
|
|
639
|
+
Type2["STANDARD"] = "STANDARD";
|
|
640
|
+
Type2["EXPERIENCE"] = "EXPERIENCE";
|
|
641
|
+
return Type2;
|
|
642
|
+
})(Type || {});
|
|
636
643
|
var Set = /* @__PURE__ */ ((Set2) => {
|
|
637
644
|
Set2["PUBLIC"] = "PUBLIC";
|
|
638
645
|
Set2["FULL"] = "FULL";
|
|
@@ -1228,12 +1235,19 @@ var queryReservations4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModu
|
|
|
1228
1235
|
var searchReservations4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(searchReservations3);
|
|
1229
1236
|
var bulkArchiveReservations4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkArchiveReservations3);
|
|
1230
1237
|
var bulkUnarchiveReservations4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkUnarchiveReservations3);
|
|
1231
|
-
var onReservationCreated2 = (0, import_event_definition_modules.createEventModule)(
|
|
1232
|
-
|
|
1233
|
-
|
|
1238
|
+
var onReservationCreated2 = (0, import_event_definition_modules.createEventModule)(
|
|
1239
|
+
onReservationCreated
|
|
1240
|
+
);
|
|
1241
|
+
var onReservationDeleted2 = (0, import_event_definition_modules.createEventModule)(
|
|
1242
|
+
onReservationDeleted
|
|
1243
|
+
);
|
|
1244
|
+
var onReservationUpdated2 = (0, import_event_definition_modules.createEventModule)(
|
|
1245
|
+
onReservationUpdated
|
|
1246
|
+
);
|
|
1234
1247
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1235
1248
|
0 && (module.exports = {
|
|
1236
1249
|
AggregationType,
|
|
1250
|
+
ExperienceConflictType,
|
|
1237
1251
|
ExperienceTableCombinationConflictType,
|
|
1238
1252
|
IgnoreConflictsType,
|
|
1239
1253
|
Interval,
|