@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,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-BiohAEHh.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-BiohAEHh.js';
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-nFEfinIM.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-nFEfinIM.js';
4
4
 
5
5
  declare function createReservation$1(httpClient: HttpClient): CreateReservationSignature;
6
6
  interface CreateReservationSignature {
@@ -202,7 +202,7 @@ declare const searchReservations: MaybeContext<BuildRESTFunction<typeof searchRe
202
202
  declare const bulkArchiveReservations: MaybeContext<BuildRESTFunction<typeof bulkArchiveReservations$1> & typeof bulkArchiveReservations$1>;
203
203
  declare const bulkUnarchiveReservations: MaybeContext<BuildRESTFunction<typeof bulkUnarchiveReservations$1> & typeof bulkUnarchiveReservations$1>;
204
204
  /**
205
- * Triggered when a held reservation is created.
205
+ * Triggered when a reservation is created.
206
206
  */
207
207
  declare const onReservationCreated: BuildEventDefinition<typeof onReservationCreated$1> & typeof onReservationCreated$1;
208
208
  /**
@@ -617,7 +617,6 @@ var Status = /* @__PURE__ */ ((Status2) => {
617
617
  Status2["SEATED"] = "SEATED";
618
618
  Status2["REQUESTED"] = "REQUESTED";
619
619
  Status2["DECLINED"] = "DECLINED";
620
- Status2["PAYMENT_PENDING"] = "PAYMENT_PENDING";
621
620
  Status2["PAYMENT_INFORMATION_PENDING"] = "PAYMENT_INFORMATION_PENDING";
622
621
  return Status2;
623
622
  })(Status || {});
@@ -754,7 +753,8 @@ async function createReservation2(reservation, options) {
754
753
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
755
754
  reservation,
756
755
  ignoreTableCombinationConflicts: options?.ignoreTableCombinationConflicts,
757
- ignoreReservationLocationConflicts: options?.ignoreReservationLocationConflicts
756
+ ignoreReservationLocationConflicts: options?.ignoreReservationLocationConflicts,
757
+ ignoreConflicts: options?.ignoreConflicts
758
758
  });
759
759
  const reqOpts = createReservation(payload);
760
760
  sideEffects?.onSiteCall?.();
@@ -770,7 +770,8 @@ async function createReservation2(reservation, options) {
770
770
  explicitPathsToArguments: {
771
771
  reservation: "$[0]",
772
772
  ignoreTableCombinationConflicts: "$[1].ignoreTableCombinationConflicts",
773
- ignoreReservationLocationConflicts: "$[1].ignoreReservationLocationConflicts"
773
+ ignoreReservationLocationConflicts: "$[1].ignoreReservationLocationConflicts",
774
+ ignoreConflicts: "$[1].ignoreConflicts"
774
775
  },
775
776
  singleArgumentUnchanged: false
776
777
  },
@@ -814,7 +815,8 @@ async function updateReservation2(_id, reservation, options) {
814
815
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
815
816
  reservation: { ...reservation, id: _id },
816
817
  ignoreTableCombinationConflicts: options?.ignoreTableCombinationConflicts,
817
- ignoreReservationLocationConflicts: options?.ignoreReservationLocationConflicts
818
+ ignoreReservationLocationConflicts: options?.ignoreReservationLocationConflicts,
819
+ ignoreConflicts: options?.ignoreConflicts
818
820
  });
819
821
  const reqOpts = updateReservation(payload);
820
822
  sideEffects?.onSiteCall?.();
@@ -830,7 +832,8 @@ async function updateReservation2(_id, reservation, options) {
830
832
  explicitPathsToArguments: {
831
833
  "reservation.id": "$[0]",
832
834
  ignoreTableCombinationConflicts: "$[2].ignoreTableCombinationConflicts",
833
- ignoreReservationLocationConflicts: "$[2].ignoreReservationLocationConflicts"
835
+ ignoreReservationLocationConflicts: "$[2].ignoreReservationLocationConflicts",
836
+ ignoreConflicts: "$[2].ignoreConflicts"
834
837
  },
835
838
  singleArgumentUnchanged: false
836
839
  },