@wix/auto_sdk_table-reservations_reservations 1.0.37 → 1.0.39

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 (41) hide show
  1. package/build/cjs/index.d.ts +3 -3
  2. package/build/cjs/index.js +8 -5
  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 +8 -5
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +31 -13
  8. package/build/cjs/meta.js +0 -1
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/{table-reservations-v1-reservation-reservations.universal-BiohAEHh.d.ts → table-reservations-v1-reservation-reservations.universal-nFEfinIM.d.ts} +51 -17
  11. package/build/es/index.d.mts +3 -3
  12. package/build/es/index.mjs +8 -5
  13. package/build/es/index.mjs.map +1 -1
  14. package/build/es/index.typings.d.mts +2 -2
  15. package/build/es/index.typings.mjs +8 -5
  16. package/build/es/index.typings.mjs.map +1 -1
  17. package/build/es/meta.d.mts +31 -13
  18. package/build/es/meta.mjs +0 -1
  19. package/build/es/meta.mjs.map +1 -1
  20. package/build/es/{table-reservations-v1-reservation-reservations.universal-BiohAEHh.d.mts → table-reservations-v1-reservation-reservations.universal-nFEfinIM.d.mts} +51 -17
  21. package/build/internal/cjs/index.d.ts +3 -3
  22. package/build/internal/cjs/index.js +8 -5
  23. package/build/internal/cjs/index.js.map +1 -1
  24. package/build/internal/cjs/index.typings.d.ts +2 -2
  25. package/build/internal/cjs/index.typings.js +8 -5
  26. package/build/internal/cjs/index.typings.js.map +1 -1
  27. package/build/internal/cjs/meta.d.ts +31 -13
  28. package/build/internal/cjs/meta.js +0 -1
  29. package/build/internal/cjs/meta.js.map +1 -1
  30. package/build/internal/cjs/{table-reservations-v1-reservation-reservations.universal-BiohAEHh.d.ts → table-reservations-v1-reservation-reservations.universal-nFEfinIM.d.ts} +51 -17
  31. package/build/internal/es/index.d.mts +3 -3
  32. package/build/internal/es/index.mjs +8 -5
  33. package/build/internal/es/index.mjs.map +1 -1
  34. package/build/internal/es/index.typings.d.mts +2 -2
  35. package/build/internal/es/index.typings.mjs +8 -5
  36. package/build/internal/es/index.typings.mjs.map +1 -1
  37. package/build/internal/es/meta.d.mts +31 -13
  38. package/build/internal/es/meta.mjs +0 -1
  39. package/build/internal/es/meta.mjs.map +1 -1
  40. package/build/internal/es/{table-reservations-v1-reservation-reservations.universal-BiohAEHh.d.mts → table-reservations-v1-reservation-reservations.universal-nFEfinIM.d.mts} +51 -17
  41. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
- import { aE as CursorSearch, S as SearchReservationsResponse } from './table-reservations-v1-reservation-reservations.universal-BiohAEHh.mjs';
2
- 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, B as BulkArchiveReservationsResponse, bd as BulkArchiveReservationsResult, bh as BulkUnarchiveReservationsRequest, q as BulkUnarchiveReservationsResponse, bi as BulkUnarchiveReservationsResult, m as CancelReservationApplicationErrors, k as CancelReservationOptions, aq as CancelReservationRequest, l as CancelReservationResponse, bZ as CommonSearchWithEntityContext, ai as Conflicts, ah as ConflictsExperienceOptions, aj as ConflictsOptionsOneOf, ag as ConflictsStandardOptions, g as CreateHeldReservationApplicationErrors, ao as CreateHeldReservationRequest, f as CreateHeldReservationResponse, a as CreateReservationApplicationErrors, C as CreateReservationOptions, a5 as CreateReservationRequest, aa as CreateReservationResponse, b as CreateReservationValidationErrors, av as CursorPaging, ax as CursorPagingMetadata, aA as CursorQuery, aB as CursorQueryPagingMethodOneOf, 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, G as GetReservationOptions, ak as GetReservationRequest, al as GetReservationResponse, b7 as GroupByValueResults, bw as HeadersEntry, H as HeldReservationDetails, 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, L as ListReservationsOptions, au as ListReservationsRequest, n as ListReservationsResponse, 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, R as Reservation, ar as ReservationCanceled, a2 as ReservationCreated, r as ReservationCreatedEnvelope, a0 as ReservationDelayedDomainEvent, a1 as ReservationDelayedDomainEventBodyTypeOneOf, a4 as ReservationDelayedDomainEventReservationCanceled, s as ReservationDeletedEnvelope, ab as ReservationDetailsConflicts, ad as ReservationLocationConflict, w as ReservationLocationConflictType, bJ as ReservationLocationConflictTypeWithLiterals, bE as ReservationSearchSpec, a3 as ReservationUpdated, t as ReservationUpdatedEnvelope, o as ReservationsQueryBuilder, bD as ReservationsQueryResult, j as ReserveReservationApplicationErrors, ap as ReserveReservationRequest, i as ReserveReservationResponse, Y as ReservedBy, h as Reservee, 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, U as UpdateReservation, d as UpdateReservationApplicationErrors, c as UpdateReservationOptions, am as UpdateReservationRequest, an as UpdateReservationResponse, e as UpdateReservationValidationErrors, aK as ValueAggregation, aL as ValueAggregationOptionsOneOf, aU as ValueAggregationResult, b0 as ValueResult, aY as ValueResults, W as WebhookIdentityType, bY as WebhookIdentityTypeWithLiterals, ca as bulkArchiveReservations, cb as bulkUnarchiveReservations, c6 as cancelReservation, c4 as createHeldReservation, c1 as createReservation, c7 as deleteReservation, c2 as getReservation, c8 as listReservations, b_ as onReservationCreated, b$ as onReservationDeleted, c0 as onReservationUpdated, c9 as queryReservations, c5 as reserveReservation, c3 as updateReservation } from './table-reservations-v1-reservation-reservations.universal-BiohAEHh.mjs';
1
+ import { aE as CursorSearch, S as SearchReservationsResponse } from './table-reservations-v1-reservation-reservations.universal-nFEfinIM.mjs';
2
+ 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, B as BulkArchiveReservationsResponse, bd as BulkArchiveReservationsResult, bh as BulkUnarchiveReservationsRequest, q as BulkUnarchiveReservationsResponse, bi as BulkUnarchiveReservationsResult, m as CancelReservationApplicationErrors, k as CancelReservationOptions, aq as CancelReservationRequest, l as CancelReservationResponse, bZ as CommonSearchWithEntityContext, ai as Conflicts, ah as ConflictsExperienceOptions, aj as ConflictsOptionsOneOf, ag as ConflictsStandardOptions, g as CreateHeldReservationApplicationErrors, ao as CreateHeldReservationRequest, f as CreateHeldReservationResponse, a as CreateReservationApplicationErrors, C as CreateReservationOptions, a5 as CreateReservationRequest, aa as CreateReservationResponse, b as CreateReservationValidationErrors, av as CursorPaging, ax as CursorPagingMetadata, aA as CursorQuery, aB as CursorQueryPagingMethodOneOf, 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, G as GetReservationOptions, ak as GetReservationRequest, al as GetReservationResponse, b7 as GroupByValueResults, bw as HeadersEntry, H as HeldReservationDetails, 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, L as ListReservationsOptions, au as ListReservationsRequest, n as ListReservationsResponse, 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, R as Reservation, ar as ReservationCanceled, a2 as ReservationCreated, r as ReservationCreatedEnvelope, a0 as ReservationDelayedDomainEvent, a1 as ReservationDelayedDomainEventBodyTypeOneOf, a4 as ReservationDelayedDomainEventReservationCanceled, s as ReservationDeletedEnvelope, ab as ReservationDetailsConflicts, ad as ReservationLocationConflict, w as ReservationLocationConflictType, bJ as ReservationLocationConflictTypeWithLiterals, bE as ReservationSearchSpec, a3 as ReservationUpdated, t as ReservationUpdatedEnvelope, o as ReservationsQueryBuilder, bD as ReservationsQueryResult, j as ReserveReservationApplicationErrors, ap as ReserveReservationRequest, i as ReserveReservationResponse, Y as ReservedBy, h as Reservee, 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, U as UpdateReservation, d as UpdateReservationApplicationErrors, c as UpdateReservationOptions, am as UpdateReservationRequest, an as UpdateReservationResponse, e as UpdateReservationValidationErrors, aK as ValueAggregation, aL as ValueAggregationOptionsOneOf, aU as ValueAggregationResult, b0 as ValueResult, aY as ValueResults, W as WebhookIdentityType, bY as WebhookIdentityTypeWithLiterals, ca as bulkArchiveReservations, cb as bulkUnarchiveReservations, c6 as cancelReservation, c4 as createHeldReservation, c1 as createReservation, c7 as deleteReservation, c2 as getReservation, c8 as listReservations, b_ as onReservationCreated, b$ as onReservationDeleted, c0 as onReservationUpdated, c9 as queryReservations, c5 as reserveReservation, c3 as updateReservation } from './table-reservations-v1-reservation-reservations.universal-nFEfinIM.mjs';
3
3
  import '@wix/sdk-types';
4
4
 
5
5
  /** @hidden */
@@ -554,7 +554,6 @@ var Status = /* @__PURE__ */ ((Status2) => {
554
554
  Status2["SEATED"] = "SEATED";
555
555
  Status2["REQUESTED"] = "REQUESTED";
556
556
  Status2["DECLINED"] = "DECLINED";
557
- Status2["PAYMENT_PENDING"] = "PAYMENT_PENDING";
558
557
  Status2["PAYMENT_INFORMATION_PENDING"] = "PAYMENT_INFORMATION_PENDING";
559
558
  return Status2;
560
559
  })(Status || {});
@@ -691,7 +690,8 @@ async function createReservation2(reservation, options) {
691
690
  const payload = renameKeysFromSDKRequestToRESTRequest({
692
691
  reservation,
693
692
  ignoreTableCombinationConflicts: options?.ignoreTableCombinationConflicts,
694
- ignoreReservationLocationConflicts: options?.ignoreReservationLocationConflicts
693
+ ignoreReservationLocationConflicts: options?.ignoreReservationLocationConflicts,
694
+ ignoreConflicts: options?.ignoreConflicts
695
695
  });
696
696
  const reqOpts = createReservation(payload);
697
697
  sideEffects?.onSiteCall?.();
@@ -707,7 +707,8 @@ async function createReservation2(reservation, options) {
707
707
  explicitPathsToArguments: {
708
708
  reservation: "$[0]",
709
709
  ignoreTableCombinationConflicts: "$[1].ignoreTableCombinationConflicts",
710
- ignoreReservationLocationConflicts: "$[1].ignoreReservationLocationConflicts"
710
+ ignoreReservationLocationConflicts: "$[1].ignoreReservationLocationConflicts",
711
+ ignoreConflicts: "$[1].ignoreConflicts"
711
712
  },
712
713
  singleArgumentUnchanged: false
713
714
  },
@@ -751,7 +752,8 @@ async function updateReservation2(_id, reservation, options) {
751
752
  const payload = renameKeysFromSDKRequestToRESTRequest({
752
753
  reservation: { ...reservation, id: _id },
753
754
  ignoreTableCombinationConflicts: options?.ignoreTableCombinationConflicts,
754
- ignoreReservationLocationConflicts: options?.ignoreReservationLocationConflicts
755
+ ignoreReservationLocationConflicts: options?.ignoreReservationLocationConflicts,
756
+ ignoreConflicts: options?.ignoreConflicts
755
757
  });
756
758
  const reqOpts = updateReservation(payload);
757
759
  sideEffects?.onSiteCall?.();
@@ -767,7 +769,8 @@ async function updateReservation2(_id, reservation, options) {
767
769
  explicitPathsToArguments: {
768
770
  "reservation.id": "$[0]",
769
771
  ignoreTableCombinationConflicts: "$[2].ignoreTableCombinationConflicts",
770
- ignoreReservationLocationConflicts: "$[2].ignoreReservationLocationConflicts"
772
+ ignoreReservationLocationConflicts: "$[2].ignoreReservationLocationConflicts",
773
+ ignoreConflicts: "$[2].ignoreConflicts"
771
774
  },
772
775
  singleArgumentUnchanged: false
773
776
  },