@wix/auto_sdk_table-reservations_reservations 1.0.37 → 1.0.38
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 +2 -2
- package/build/cjs/index.js +8 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +8 -4
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +26 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/{table-reservations-v1-reservation-reservations.universal-BiohAEHh.d.ts → table-reservations-v1-reservation-reservations.universal-CcXYY8jn.d.ts} +44 -2
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +8 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +8 -4
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +26 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/es/{table-reservations-v1-reservation-reservations.universal-BiohAEHh.d.mts → table-reservations-v1-reservation-reservations.universal-CcXYY8jn.d.mts} +44 -2
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +8 -4
- 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 +8 -4
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +26 -2
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/{table-reservations-v1-reservation-reservations.universal-BiohAEHh.d.ts → table-reservations-v1-reservation-reservations.universal-CcXYY8jn.d.ts} +44 -2
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs +8 -4
- 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 +8 -4
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +26 -2
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/{table-reservations-v1-reservation-reservations.universal-BiohAEHh.d.mts → table-reservations-v1-reservation-reservations.universal-CcXYY8jn.d.mts} +44 -2
- 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 { 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-
|
|
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-CcXYY8jn.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-CcXYY8jn.js';
|
|
4
4
|
|
|
5
5
|
declare function createReservation$1(httpClient: HttpClient): CreateReservationSignature;
|
|
6
6
|
interface CreateReservationSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -754,7 +754,8 @@ async function createReservation2(reservation, options) {
|
|
|
754
754
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
755
755
|
reservation,
|
|
756
756
|
ignoreTableCombinationConflicts: options?.ignoreTableCombinationConflicts,
|
|
757
|
-
ignoreReservationLocationConflicts: options?.ignoreReservationLocationConflicts
|
|
757
|
+
ignoreReservationLocationConflicts: options?.ignoreReservationLocationConflicts,
|
|
758
|
+
ignoreConflicts: options?.ignoreConflicts
|
|
758
759
|
});
|
|
759
760
|
const reqOpts = createReservation(payload);
|
|
760
761
|
sideEffects?.onSiteCall?.();
|
|
@@ -770,7 +771,8 @@ async function createReservation2(reservation, options) {
|
|
|
770
771
|
explicitPathsToArguments: {
|
|
771
772
|
reservation: "$[0]",
|
|
772
773
|
ignoreTableCombinationConflicts: "$[1].ignoreTableCombinationConflicts",
|
|
773
|
-
ignoreReservationLocationConflicts: "$[1].ignoreReservationLocationConflicts"
|
|
774
|
+
ignoreReservationLocationConflicts: "$[1].ignoreReservationLocationConflicts",
|
|
775
|
+
ignoreConflicts: "$[1].ignoreConflicts"
|
|
774
776
|
},
|
|
775
777
|
singleArgumentUnchanged: false
|
|
776
778
|
},
|
|
@@ -814,7 +816,8 @@ async function updateReservation2(_id, reservation, options) {
|
|
|
814
816
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
815
817
|
reservation: { ...reservation, id: _id },
|
|
816
818
|
ignoreTableCombinationConflicts: options?.ignoreTableCombinationConflicts,
|
|
817
|
-
ignoreReservationLocationConflicts: options?.ignoreReservationLocationConflicts
|
|
819
|
+
ignoreReservationLocationConflicts: options?.ignoreReservationLocationConflicts,
|
|
820
|
+
ignoreConflicts: options?.ignoreConflicts
|
|
818
821
|
});
|
|
819
822
|
const reqOpts = updateReservation(payload);
|
|
820
823
|
sideEffects?.onSiteCall?.();
|
|
@@ -830,7 +833,8 @@ async function updateReservation2(_id, reservation, options) {
|
|
|
830
833
|
explicitPathsToArguments: {
|
|
831
834
|
"reservation.id": "$[0]",
|
|
832
835
|
ignoreTableCombinationConflicts: "$[2].ignoreTableCombinationConflicts",
|
|
833
|
-
ignoreReservationLocationConflicts: "$[2].ignoreReservationLocationConflicts"
|
|
836
|
+
ignoreReservationLocationConflicts: "$[2].ignoreReservationLocationConflicts",
|
|
837
|
+
ignoreConflicts: "$[2].ignoreConflicts"
|
|
834
838
|
},
|
|
835
839
|
singleArgumentUnchanged: false
|
|
836
840
|
},
|