@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.js';
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.js';
1
+ import { aE as CursorSearch, S as SearchReservationsResponse } from './table-reservations-v1-reservation-reservations.universal-nFEfinIM.js';
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.js';
3
3
  import '@wix/sdk-types';
4
4
 
5
5
  /** @hidden */
@@ -608,7 +608,6 @@ var Status = /* @__PURE__ */ ((Status2) => {
608
608
  Status2["SEATED"] = "SEATED";
609
609
  Status2["REQUESTED"] = "REQUESTED";
610
610
  Status2["DECLINED"] = "DECLINED";
611
- Status2["PAYMENT_PENDING"] = "PAYMENT_PENDING";
612
611
  Status2["PAYMENT_INFORMATION_PENDING"] = "PAYMENT_INFORMATION_PENDING";
613
612
  return Status2;
614
613
  })(Status || {});
@@ -745,7 +744,8 @@ async function createReservation2(reservation, options) {
745
744
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
746
745
  reservation,
747
746
  ignoreTableCombinationConflicts: options?.ignoreTableCombinationConflicts,
748
- ignoreReservationLocationConflicts: options?.ignoreReservationLocationConflicts
747
+ ignoreReservationLocationConflicts: options?.ignoreReservationLocationConflicts,
748
+ ignoreConflicts: options?.ignoreConflicts
749
749
  });
750
750
  const reqOpts = createReservation(payload);
751
751
  sideEffects?.onSiteCall?.();
@@ -761,7 +761,8 @@ async function createReservation2(reservation, options) {
761
761
  explicitPathsToArguments: {
762
762
  reservation: "$[0]",
763
763
  ignoreTableCombinationConflicts: "$[1].ignoreTableCombinationConflicts",
764
- ignoreReservationLocationConflicts: "$[1].ignoreReservationLocationConflicts"
764
+ ignoreReservationLocationConflicts: "$[1].ignoreReservationLocationConflicts",
765
+ ignoreConflicts: "$[1].ignoreConflicts"
765
766
  },
766
767
  singleArgumentUnchanged: false
767
768
  },
@@ -805,7 +806,8 @@ async function updateReservation2(_id, reservation, options) {
805
806
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
806
807
  reservation: { ...reservation, id: _id },
807
808
  ignoreTableCombinationConflicts: options?.ignoreTableCombinationConflicts,
808
- ignoreReservationLocationConflicts: options?.ignoreReservationLocationConflicts
809
+ ignoreReservationLocationConflicts: options?.ignoreReservationLocationConflicts,
810
+ ignoreConflicts: options?.ignoreConflicts
809
811
  });
810
812
  const reqOpts = updateReservation(payload);
811
813
  sideEffects?.onSiteCall?.();
@@ -821,7 +823,8 @@ async function updateReservation2(_id, reservation, options) {
821
823
  explicitPathsToArguments: {
822
824
  "reservation.id": "$[0]",
823
825
  ignoreTableCombinationConflicts: "$[2].ignoreTableCombinationConflicts",
824
- ignoreReservationLocationConflicts: "$[2].ignoreReservationLocationConflicts"
826
+ ignoreReservationLocationConflicts: "$[2].ignoreReservationLocationConflicts",
827
+ ignoreConflicts: "$[2].ignoreConflicts"
825
828
  },
826
829
  singleArgumentUnchanged: false
827
830
  },