@wix/auto_sdk_table-reservations_reservations 1.0.44 → 1.0.46

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 +4 -4
  2. package/build/cjs/index.js +12 -1
  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 +7 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +28 -2
  8. package/build/cjs/meta.js +1 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/{table-reservations-v1-reservation-reservations.universal-DSZ1uOIi.d.ts → table-reservations-v1-reservation-reservations.universal-Dp63cwTD.d.ts} +119 -6
  11. package/build/es/index.d.mts +4 -4
  12. package/build/es/index.mjs +12 -1
  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 +7 -0
  16. package/build/es/index.typings.mjs.map +1 -1
  17. package/build/es/meta.d.mts +28 -2
  18. package/build/es/meta.mjs +1 -0
  19. package/build/es/meta.mjs.map +1 -1
  20. package/build/es/{table-reservations-v1-reservation-reservations.universal-DSZ1uOIi.d.mts → table-reservations-v1-reservation-reservations.universal-Dp63cwTD.d.mts} +119 -6
  21. package/build/internal/cjs/index.d.ts +4 -4
  22. package/build/internal/cjs/index.js +12 -1
  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 +7 -0
  26. package/build/internal/cjs/index.typings.js.map +1 -1
  27. package/build/internal/cjs/meta.d.ts +28 -2
  28. package/build/internal/cjs/meta.js +1 -0
  29. package/build/internal/cjs/meta.js.map +1 -1
  30. package/build/internal/cjs/{table-reservations-v1-reservation-reservations.universal-DSZ1uOIi.d.ts → table-reservations-v1-reservation-reservations.universal-Dp63cwTD.d.ts} +119 -6
  31. package/build/internal/es/index.d.mts +4 -4
  32. package/build/internal/es/index.mjs +12 -1
  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 +7 -0
  36. package/build/internal/es/index.typings.mjs.map +1 -1
  37. package/build/internal/es/meta.d.mts +28 -2
  38. package/build/internal/es/meta.mjs +1 -0
  39. package/build/internal/es/meta.mjs.map +1 -1
  40. package/build/internal/es/{table-reservations-v1-reservation-reservations.universal-DSZ1uOIi.d.mts → table-reservations-v1-reservation-reservations.universal-Dp63cwTD.d.mts} +119 -6
  41. package/package.json +3 -3
@@ -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 ReservationSearch, S as SearchReservationsResponse, B as BulkArchiveReservationsResponse, p as BulkUnarchiveReservationsResponse, q as ReservationCreatedEnvelope, r as ReservationDeletedEnvelope, s as ReservationUpdatedEnvelope, t as ReservationsQueryBuilder, u as CursorQuery, v as typedQueryReservations } from './table-reservations-v1-reservation-reservations.universal-DSZ1uOIi.js';
3
- export { bs as ActionEvent, aH as Aggregation, aU as AggregationData, aI as AggregationKindOneOf, bd as AggregationResults, be as AggregationResultsResultOneOf, bc as AggregationResultsScalarDateResult, a$ as AggregationResultsScalarResult, V as AggregationType, bZ as AggregationTypeWithLiterals, bi as ApplicationError, bE as BaseEventMetadata, bj as BulkActionMetadata, bf as BulkArchiveReservationsRequest, bg as BulkArchiveReservationsResult, bk as BulkUnarchiveReservationsRequest, bl as BulkUnarchiveReservationsResult, as as CancelReservationRequest, c0 as CommonSearchWithEntityContext, ak as Conflicts, aj as ConflictsExperienceOptions, al as ConflictsOptionsOneOf, ai as ConflictsStandardOptions, aq as CreateHeldReservationRequest, a7 as CreateReservationRequest, ac as CreateReservationResponse, ax as CursorPaging, az as CursorPagingMetadata, aC as CursorQueryPagingMethodOneOf, aF as CursorSearch, aG as CursorSearchPagingMethodOneOf, aA as Cursors, aP as DateHistogramAggregation, b8 as DateHistogramResult, ba as DateHistogramResults, au as DeleteReservationRequest, av as DeleteReservationResponse, Z as Details, bm as DomainEvent, bn as DomainEventBodyOneOf, bt as Empty, bo as EntityCreatedEvent, br as EntityDeletedEvent, bq as EntityUpdatedEvent, bF as EventMetadata, ah as ExperienceConflict, z as ExperienceConflictType, bO as ExperienceConflictTypeWithLiterals, ab as ExperienceOptions, ag as ExperienceTableCombinationConflict, E as ExperienceTableCombinationConflictType, bN as ExperienceTableCombinationConflictTypeWithLiterals, a1 as ExtendedFields, am as GetReservationRequest, an as GetReservationResponse, b9 as GroupByValueResults, bz as HeadersEntry, bC as IdentificationData, bD as IdentificationDataIdOneOf, a8 as IgnoreConflicts, a9 as IgnoreConflictsIgnoreConflictsOptionsOneOf, I as IgnoreConflictsType, bP as IgnoreConflictsTypeWithLiterals, aK as IncludeMissingValuesOptions, Q as Interval, bY as IntervalWithLiterals, bh as ItemMetadata, aw as ListReservationsRequest, bB as MessageEnvelope, $ as MigrationNote, M as MissingValues, bV as MissingValuesWithLiterals, W as Mode, b_ as ModeWithLiterals, aS as NestedAggregation, aQ as NestedAggregationItem, aR as NestedAggregationItemKindOneOf, aX as NestedAggregationResults, aY as NestedAggregationResultsResultOneOf, O as NestedAggregationType, bX as NestedAggregationTypeWithLiterals, b5 as NestedResultValue, b6 as NestedResultValueResultOneOf, bb as NestedResults, b0 as NestedValueAggregationResult, bx as PathParametersEntry, P as PaymentStatus, bK as PaymentStatusWithLiterals, by as QueryParametersEntry, aB as QueryReservationsRequest, aD as QueryReservationsResponse, aN as RangeAggregation, aW as RangeAggregationResult, aJ as RangeBucket, b2 as RangeResult, a_ as RangeResults, bw as RawHttpRequest, bA as RawHttpResponse, bu as RemoveReservationMigrationNotesRequest, bv as RemoveReservationMigrationNotesResponse, at as ReservationCanceled, a4 as ReservationCreated, a2 as ReservationDelayedDomainEvent, a3 as ReservationDelayedDomainEventBodyTypeOneOf, a6 as ReservationDelayedDomainEventReservationCanceled, ad as ReservationDetailsConflicts, af as ReservationLocationConflict, y as ReservationLocationConflictType, bM as ReservationLocationConflictTypeWithLiterals, bH as ReservationSearchSpec, a5 as ReservationUpdated, bG as ReservationsQueryResult, ar as ReserveReservationRequest, _ as ReservedBy, bp as RestoreInfo, b7 as Results, aO as ScalarAggregation, b4 as ScalarDateResult, b3 as ScalarResult, N as ScalarType, bW as ScalarTypeWithLiterals, aT as SearchDetails, aE as SearchReservationsRequest, D as Set, bR as SetWithLiterals, K as SortDirection, bU as SortDirectionWithLiterals, F as SortOrder, bS as SortOrderWithLiterals, J as SortType, bT as SortTypeWithLiterals, ay as Sorting, x as Source, bJ as SourceWithLiterals, aa as StandardOptions, w as Status, bI as StatusWithLiterals, ae as TableCombinationConflict, T as TableCombinationConflictType, bL as TableCombinationConflictTypeWithLiterals, a0 as TableWithReservationConflicts, Y as Tables, A as Type, bQ as TypeWithLiterals, ao as UpdateReservationRequest, ap as UpdateReservationResponse, aL as ValueAggregation, aM as ValueAggregationOptionsOneOf, aV as ValueAggregationResult, b1 as ValueResult, aZ as ValueResults, X as WebhookIdentityType, b$ as WebhookIdentityTypeWithLiterals } from './table-reservations-v1-reservation-reservations.universal-DSZ1uOIi.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 ReservationSearch, S as SearchReservationsResponse, B as BulkArchiveReservationsResponse, p as BulkUnarchiveReservationsResponse, q as ReservationCreatedEnvelope, r as ReservationDeletedEnvelope, s as ReservationUpdatedEnvelope, t as ReservationsQueryBuilder, u as ReservationQuery, v as typedQueryReservations } from './table-reservations-v1-reservation-reservations.universal-Dp63cwTD.js';
3
+ export { bt as ActionEvent, aI as Aggregation, aV as AggregationData, aJ as AggregationKindOneOf, be as AggregationResults, bf as AggregationResultsResultOneOf, bd as AggregationResultsScalarDateResult, b0 as AggregationResultsScalarResult, V as AggregationType, b$ as AggregationTypeWithLiterals, bj as ApplicationError, bF as BaseEventMetadata, bk as BulkActionMetadata, bg as BulkArchiveReservationsRequest, bh as BulkArchiveReservationsResult, bl as BulkUnarchiveReservationsRequest, bm as BulkUnarchiveReservationsResult, as as CancelReservationRequest, c2 as CommonQueryWithEntityContext, c3 as CommonSearchWithEntityContext, ak as Conflicts, aj as ConflictsExperienceOptions, al as ConflictsOptionsOneOf, ai as ConflictsStandardOptions, aq as CreateHeldReservationRequest, a7 as CreateReservationRequest, ac as CreateReservationResponse, ax as CursorPaging, az as CursorPagingMetadata, aC as CursorQuery, aD as CursorQueryPagingMethodOneOf, aG as CursorSearch, aH as CursorSearchPagingMethodOneOf, aA as Cursors, aQ as DateHistogramAggregation, b9 as DateHistogramResult, bb as DateHistogramResults, au as DeleteReservationRequest, av as DeleteReservationResponse, Z as Details, bn as DomainEvent, bo as DomainEventBodyOneOf, bu as Empty, bp as EntityCreatedEvent, bs as EntityDeletedEvent, br as EntityUpdatedEvent, bG as EventMetadata, ah as ExperienceConflict, z as ExperienceConflictType, bQ as ExperienceConflictTypeWithLiterals, ab as ExperienceOptions, ag as ExperienceTableCombinationConflict, E as ExperienceTableCombinationConflictType, bP as ExperienceTableCombinationConflictTypeWithLiterals, a1 as ExtendedFields, am as GetReservationRequest, an as GetReservationResponse, ba as GroupByValueResults, bA as HeadersEntry, bD as IdentificationData, bE as IdentificationDataIdOneOf, a8 as IgnoreConflicts, a9 as IgnoreConflictsIgnoreConflictsOptionsOneOf, I as IgnoreConflictsType, bR as IgnoreConflictsTypeWithLiterals, aL as IncludeMissingValuesOptions, Q as Interval, b_ as IntervalWithLiterals, bi as ItemMetadata, aw as ListReservationsRequest, bC as MessageEnvelope, $ as MigrationNote, M as MissingValues, bX as MissingValuesWithLiterals, W as Mode, c0 as ModeWithLiterals, aT as NestedAggregation, aR as NestedAggregationItem, aS as NestedAggregationItemKindOneOf, aY as NestedAggregationResults, aZ as NestedAggregationResultsResultOneOf, O as NestedAggregationType, bZ as NestedAggregationTypeWithLiterals, b6 as NestedResultValue, b7 as NestedResultValueResultOneOf, bc as NestedResults, b1 as NestedValueAggregationResult, by as PathParametersEntry, P as PaymentStatus, bM as PaymentStatusWithLiterals, bz as QueryParametersEntry, aB as QueryReservationsRequest, aE as QueryReservationsResponse, aO as RangeAggregation, aX as RangeAggregationResult, aK as RangeBucket, b3 as RangeResult, a$ as RangeResults, bx as RawHttpRequest, bB as RawHttpResponse, bv as RemoveReservationMigrationNotesRequest, bw as RemoveReservationMigrationNotesResponse, at as ReservationCanceled, a4 as ReservationCreated, a2 as ReservationDelayedDomainEvent, a3 as ReservationDelayedDomainEventBodyTypeOneOf, a6 as ReservationDelayedDomainEventReservationCanceled, ad as ReservationDetailsConflicts, af as ReservationLocationConflict, y as ReservationLocationConflictType, bO as ReservationLocationConflictTypeWithLiterals, bI as ReservationQuerySpec, bJ as ReservationSearchSpec, a5 as ReservationUpdated, bH as ReservationsQueryResult, ar as ReserveReservationRequest, _ as ReservedBy, bq as RestoreInfo, b8 as Results, aP as ScalarAggregation, b5 as ScalarDateResult, b4 as ScalarResult, N as ScalarType, bY as ScalarTypeWithLiterals, aU as SearchDetails, aF as SearchReservationsRequest, D as Set, bT as SetWithLiterals, K as SortDirection, bW as SortDirectionWithLiterals, F as SortOrder, bU as SortOrderWithLiterals, J as SortType, bV as SortTypeWithLiterals, ay as Sorting, x as Source, bL as SourceWithLiterals, aa as StandardOptions, w as Status, bK as StatusWithLiterals, ae as TableCombinationConflict, T as TableCombinationConflictType, bN as TableCombinationConflictTypeWithLiterals, a0 as TableWithReservationConflicts, Y as Tables, A as Type, bS as TypeWithLiterals, ao as UpdateReservationRequest, ap as UpdateReservationResponse, aM as ValueAggregation, aN as ValueAggregationOptionsOneOf, aW as ValueAggregationResult, b2 as ValueResult, a_ as ValueResults, X as WebhookIdentityType, c1 as WebhookIdentityTypeWithLiterals } from './table-reservations-v1-reservation-reservations.universal-Dp63cwTD.js';
4
4
 
5
5
  declare function createReservation$1(httpClient: HttpClient): CreateReservationSignature;
6
6
  interface CreateReservationSignature {
@@ -171,7 +171,7 @@ declare const onReservationUpdated$1: EventDefinition<ReservationUpdatedEnvelope
171
171
 
172
172
  declare function customQueryReservations(httpClient: HttpClient): {
173
173
  (): ReservationsQueryBuilder;
174
- (query: CursorQuery): ReturnType<typeof typedQueryReservations>;
174
+ (query: ReservationQuery): ReturnType<typeof typedQueryReservations>;
175
175
  };
176
176
  declare const createReservation: MaybeContext<BuildRESTFunction<typeof createReservation$1> & typeof createReservation$1>;
177
177
  declare const getReservation: MaybeContext<BuildRESTFunction<typeof getReservation$1> & typeof getReservation$1>;
@@ -198,4 +198,4 @@ declare const onReservationDeleted: BuildEventDefinition<typeof onReservationDel
198
198
  */
199
199
  declare const onReservationUpdated: BuildEventDefinition<typeof onReservationUpdated$1> & typeof onReservationUpdated$1;
200
200
 
201
- export { BulkArchiveReservationsResponse, BulkUnarchiveReservationsResponse, CancelReservationApplicationErrors, CancelReservationOptions, CancelReservationResponse, CreateHeldReservationApplicationErrors, CreateHeldReservationResponse, CreateReservationApplicationErrors, CreateReservationOptions, CreateReservationValidationErrors, CursorQuery, 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 };
201
+ export { BulkArchiveReservationsResponse, BulkUnarchiveReservationsResponse, CancelReservationApplicationErrors, CancelReservationOptions, CancelReservationResponse, CreateHeldReservationApplicationErrors, CreateHeldReservationResponse, CreateReservationApplicationErrors, CreateReservationOptions, CreateReservationValidationErrors, GetReservationOptions, HeldReservationDetails, ListReservationsOptions, ListReservationsResponse, Reservation, ReservationCreatedEnvelope, ReservationDeletedEnvelope, ReservationQuery, 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 };
@@ -617,6 +617,7 @@ 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";
620
621
  Status2["PAYMENT_INFORMATION_PENDING"] = "PAYMENT_INFORMATION_PENDING";
621
622
  return Status2;
622
623
  })(Status || {});
@@ -752,6 +753,7 @@ async function createReservation2(reservation, options) {
752
753
  const { httpClient, sideEffects } = arguments[2];
753
754
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
754
755
  reservation,
756
+ force: options?.force,
755
757
  ignoreTableCombinationConflicts: options?.ignoreTableCombinationConflicts,
756
758
  ignoreReservationLocationConflicts: options?.ignoreReservationLocationConflicts,
757
759
  ignoreConflicts: options?.ignoreConflicts
@@ -769,6 +771,7 @@ async function createReservation2(reservation, options) {
769
771
  spreadPathsToArguments: {},
770
772
  explicitPathsToArguments: {
771
773
  reservation: "$[0]",
774
+ force: "$[1].force",
772
775
  ignoreTableCombinationConflicts: "$[1].ignoreTableCombinationConflicts",
773
776
  ignoreReservationLocationConflicts: "$[1].ignoreReservationLocationConflicts",
774
777
  ignoreConflicts: "$[1].ignoreConflicts"
@@ -785,6 +788,7 @@ async function getReservation2(reservationId, options) {
785
788
  const { httpClient, sideEffects } = arguments[2];
786
789
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
787
790
  reservationId,
791
+ fieldSet: options?.fieldSet,
788
792
  fieldsets: options?.fieldsets
789
793
  });
790
794
  const reqOpts = getReservation(payload);
@@ -800,6 +804,7 @@ async function getReservation2(reservationId, options) {
800
804
  spreadPathsToArguments: {},
801
805
  explicitPathsToArguments: {
802
806
  reservationId: "$[0]",
807
+ fieldSet: "$[1].fieldSet",
803
808
  fieldsets: "$[1].fieldsets"
804
809
  },
805
810
  singleArgumentUnchanged: false
@@ -814,6 +819,7 @@ async function updateReservation2(_id, reservation, options) {
814
819
  const { httpClient, sideEffects } = arguments[3];
815
820
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
816
821
  reservation: { ...reservation, id: _id },
822
+ force: options?.force,
817
823
  ignoreTableCombinationConflicts: options?.ignoreTableCombinationConflicts,
818
824
  ignoreReservationLocationConflicts: options?.ignoreReservationLocationConflicts,
819
825
  ignoreConflicts: options?.ignoreConflicts
@@ -831,6 +837,7 @@ async function updateReservation2(_id, reservation, options) {
831
837
  spreadPathsToArguments: { reservation: "$[1]" },
832
838
  explicitPathsToArguments: {
833
839
  "reservation.id": "$[0]",
840
+ force: "$[2].force",
834
841
  ignoreTableCombinationConflicts: "$[2].ignoreTableCombinationConflicts",
835
842
  ignoreReservationLocationConflicts: "$[2].ignoreReservationLocationConflicts",
836
843
  ignoreConflicts: "$[2].ignoreConflicts"
@@ -1282,7 +1289,11 @@ var onReservationUpdated = (0, import_sdk_types.EventDefinition)(
1282
1289
  { path: "entity.updatedDate" },
1283
1290
  { path: "entity.details.startDate" },
1284
1291
  { path: "entity.details.endDate" },
1285
- { path: "metadata.eventTime" }
1292
+ { path: "metadata.eventTime" },
1293
+ { path: "modifiedFields.createdDate" },
1294
+ { path: "modifiedFields.updatedDate" },
1295
+ { path: "modifiedFields.details.startDate" },
1296
+ { path: "modifiedFields.details.endDate" }
1286
1297
  ]
1287
1298
  }
1288
1299
  ])