@wix/auto_sdk_table-reservations_reservations 1.0.70 → 1.0.71
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 +22 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +22 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +129 -2
- package/build/cjs/meta.js +22 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/{table-reservations-v1-reservation-reservations.universal-dRJkta2b.d.ts → table-reservations-v1-reservation-reservations.universal-BIOtx_qX.d.ts} +128 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +19 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +19 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +129 -2
- package/build/es/meta.mjs +19 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/{table-reservations-v1-reservation-reservations.universal-dRJkta2b.d.mts → table-reservations-v1-reservation-reservations.universal-BIOtx_qX.d.mts} +128 -1
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +22 -0
- 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 +22 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +129 -2
- package/build/internal/cjs/meta.js +22 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/{table-reservations-v1-reservation-reservations.universal-dRJkta2b.d.ts → table-reservations-v1-reservation-reservations.universal-BIOtx_qX.d.ts} +128 -1
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs +19 -0
- 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 +19 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +129 -2
- package/build/internal/es/meta.mjs +19 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/{table-reservations-v1-reservation-reservations.universal-dRJkta2b.d.mts → table-reservations-v1-reservation-reservations.universal-BIOtx_qX.d.mts} +128 -1
- package/package.json +2 -2
|
@@ -267,6 +267,133 @@ interface ExtendedFields {
|
|
|
267
267
|
*/
|
|
268
268
|
namespaces?: Record<string, Record<string, any>>;
|
|
269
269
|
}
|
|
270
|
+
/**
|
|
271
|
+
* Cancellation policy configuration for a reservation location.
|
|
272
|
+
*
|
|
273
|
+
* Defines the payment method and fee terms applied to reservations. When a reservation is created,
|
|
274
|
+
* the current policy is copied onto the reservation. Changes to the location's policy do not affect
|
|
275
|
+
* existing reservations.
|
|
276
|
+
*/
|
|
277
|
+
interface CancellationPolicy {
|
|
278
|
+
/** Payment method for this policy. */
|
|
279
|
+
paymentMethod?: PaymentMethodWithLiterals;
|
|
280
|
+
/** Prepayment terms. Only populated when `payment_method` is `PREPAYMENT`. */
|
|
281
|
+
prepayment?: Prepayment;
|
|
282
|
+
/** Cancellation and no-show fee terms. Only populated when `payment_method` is `CARD_GUARANTEE`. */
|
|
283
|
+
cancellationFee?: CancellationFee;
|
|
284
|
+
/** Guest-facing policy text or URL shown to the guest before they confirm their reservation. */
|
|
285
|
+
guestPolicy?: GuestPolicy;
|
|
286
|
+
}
|
|
287
|
+
declare enum FeeUnit {
|
|
288
|
+
/** Amount is calculated for each guest in the reservation. */
|
|
289
|
+
PER_GUEST = "PER_GUEST",
|
|
290
|
+
/** Amount is calculated once for the reservation. */
|
|
291
|
+
PER_RESERVATION = "PER_RESERVATION"
|
|
292
|
+
}
|
|
293
|
+
/** @enumType */
|
|
294
|
+
type FeeUnitWithLiterals = FeeUnit | 'PER_GUEST' | 'PER_RESERVATION';
|
|
295
|
+
/** Free-cancellation window before the reservation start time. */
|
|
296
|
+
interface FreeCancellationWindow {
|
|
297
|
+
/**
|
|
298
|
+
* Duration of the window expressed in the chosen `unit`. The normalized window must be between 1 hour and 180 days.
|
|
299
|
+
* @min 1
|
|
300
|
+
* @max 4320
|
|
301
|
+
*/
|
|
302
|
+
value?: number;
|
|
303
|
+
/** Time unit for the window duration. */
|
|
304
|
+
unit?: WindowUnitWithLiterals;
|
|
305
|
+
}
|
|
306
|
+
declare enum WindowUnit {
|
|
307
|
+
/** Window is measured in hours. */
|
|
308
|
+
HOURS = "HOURS",
|
|
309
|
+
/** Window is measured in days. */
|
|
310
|
+
DAYS = "DAYS"
|
|
311
|
+
}
|
|
312
|
+
/** @enumType */
|
|
313
|
+
type WindowUnitWithLiterals = WindowUnit | 'HOURS' | 'DAYS';
|
|
314
|
+
declare enum PaymentMethod {
|
|
315
|
+
/** Payment protection and cancellation fees are disabled for new reservations. */
|
|
316
|
+
NO_PAYMENT_METHOD = "NO_PAYMENT_METHOD",
|
|
317
|
+
/** Guest pays before the reservation becomes confirmed. */
|
|
318
|
+
PREPAYMENT = "PREPAYMENT",
|
|
319
|
+
/** Guest provides a payment method that may be charged after late cancellation or no-show. */
|
|
320
|
+
CARD_GUARANTEE = "CARD_GUARANTEE"
|
|
321
|
+
}
|
|
322
|
+
/** @enumType */
|
|
323
|
+
type PaymentMethodWithLiterals = PaymentMethod | 'NO_PAYMENT_METHOD' | 'PREPAYMENT' | 'CARD_GUARANTEE';
|
|
324
|
+
/** Prepayment calculation terms. */
|
|
325
|
+
interface Prepayment {
|
|
326
|
+
/**
|
|
327
|
+
* Monetary amount to collect per unit. Must be a decimal string with a period as a decimal separator. For example, `"3.99"`.
|
|
328
|
+
* @decimalValue options { gt:0.000, maxScale:3 }
|
|
329
|
+
*/
|
|
330
|
+
amount?: string;
|
|
331
|
+
/** Unit used to calculate the total prepayment amount. */
|
|
332
|
+
unit?: FeeUnitWithLiterals;
|
|
333
|
+
/**
|
|
334
|
+
* Minimum party size required for prepayment to apply.
|
|
335
|
+
* @min 1
|
|
336
|
+
* @max 1000
|
|
337
|
+
*/
|
|
338
|
+
minPartySize?: number;
|
|
339
|
+
}
|
|
340
|
+
/** Cancellation and no-show fee calculation terms. */
|
|
341
|
+
interface CancellationFee {
|
|
342
|
+
/**
|
|
343
|
+
* Monetary amount to charge or retain per unit. Must be a decimal string with a period as a decimal separator. For example, `"3.99"`.
|
|
344
|
+
* @decimalValue options { gt:0.000, maxScale:3 }
|
|
345
|
+
*/
|
|
346
|
+
amount?: string;
|
|
347
|
+
/** Unit used to calculate the total fee amount. */
|
|
348
|
+
unit?: FeeUnitWithLiterals;
|
|
349
|
+
/**
|
|
350
|
+
* Minimum party size required for the fee to apply.
|
|
351
|
+
* @min 1
|
|
352
|
+
* @max 1000
|
|
353
|
+
*/
|
|
354
|
+
minPartySize?: number;
|
|
355
|
+
/**
|
|
356
|
+
* Period before the reservation start time during which cancellation is free.
|
|
357
|
+
* When absent, all cancellations incur the fee.
|
|
358
|
+
*/
|
|
359
|
+
freeCancellationWindow?: FreeCancellationWindow;
|
|
360
|
+
}
|
|
361
|
+
/** Guest-facing policy disclosure. */
|
|
362
|
+
interface GuestPolicy extends GuestPolicyValueOneOf {
|
|
363
|
+
/**
|
|
364
|
+
* Exact policy text shown to the guest.
|
|
365
|
+
* @maxLength 1000000
|
|
366
|
+
*/
|
|
367
|
+
text?: string | null;
|
|
368
|
+
/**
|
|
369
|
+
* Exact policy URL shown to the guest. The content behind the URL is not archived by Wix.
|
|
370
|
+
* @maxLength 2048
|
|
371
|
+
*/
|
|
372
|
+
url?: string | null;
|
|
373
|
+
/** Whether this policy text was generated by an AI assistant and accepted by the restaurant owner. */
|
|
374
|
+
generated?: boolean;
|
|
375
|
+
}
|
|
376
|
+
/** @oneof */
|
|
377
|
+
interface GuestPolicyValueOneOf {
|
|
378
|
+
/**
|
|
379
|
+
* Exact policy text shown to the guest.
|
|
380
|
+
* @maxLength 1000000
|
|
381
|
+
*/
|
|
382
|
+
text?: string | null;
|
|
383
|
+
/**
|
|
384
|
+
* Exact policy URL shown to the guest. The content behind the URL is not archived by Wix.
|
|
385
|
+
* @maxLength 2048
|
|
386
|
+
*/
|
|
387
|
+
url?: string | null;
|
|
388
|
+
}
|
|
389
|
+
/** Compact cancellation or no-show fee action state for a reservation. */
|
|
390
|
+
interface CancellationFeeState {
|
|
391
|
+
/**
|
|
392
|
+
* Whether an applicable fee should currently be offered to the owner.
|
|
393
|
+
* @readonly
|
|
394
|
+
*/
|
|
395
|
+
required?: boolean | null;
|
|
396
|
+
}
|
|
270
397
|
interface ReservationDelayedDomainEvent extends ReservationDelayedDomainEventBodyTypeOneOf {
|
|
271
398
|
/** Body of a created reservation event. */
|
|
272
399
|
reservationCreated?: ReservationCreated;
|
|
@@ -2464,4 +2591,4 @@ declare function bulkArchiveReservations(reservationIds: string[]): Promise<NonN
|
|
|
2464
2591
|
*/
|
|
2465
2592
|
declare function bulkUnarchiveReservations(reservationIds: string[]): Promise<NonNullablePaths<BulkUnarchiveReservationsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
2466
2593
|
|
|
2467
|
-
export {
|
|
2594
|
+
export { WebhookIdentityType as $, ExperienceConflictType as A, type BulkArchiveReservationsResponse as B, type CreateReservationOptions as C, ExperienceBlockingConflictType as D, ExperienceTableCombinationConflictType as E, FeeUnit as F, type GetReservationOptions as G, type HeldReservationDetails as H, IgnoreConflictsType as I, Type as J, Set as K, type ListReservationsOptions as L, SortOrder as M, SortType as N, SortDirection as O, PaymentStatus as P, MissingValues as Q, type Reservation as R, type SearchReservationsResponse as S, TableCombinationConflictType as T, type UpdateReservation as U, ScalarType as V, WindowUnit as W, NestedAggregationType as X, Interval as Y, AggregationType as Z, Mode as _, type CreateReservationApplicationErrors as a, type NestedAggregationItem as a$, type Tables as a0, type Details as a1, type ReservedBy as a2, type MigrationNote as a3, type TableWithReservationConflicts as a4, type ExtendedFields as a5, type CancellationPolicy as a6, type FreeCancellationWindow as a7, type Prepayment as a8, type CancellationFee as a9, type GetReservationRequest as aA, type GetReservationResponse as aB, type UpdateReservationRequest as aC, type UpdateReservationResponse as aD, type CreateHeldReservationRequest as aE, type ReserveReservationRequest as aF, type CancelReservationRequest as aG, type ReservationCanceled as aH, type DeleteReservationRequest as aI, type DeleteReservationResponse as aJ, type ListReservationsRequest as aK, type CursorPaging as aL, type Sorting as aM, type CursorPagingMetadata as aN, type Cursors as aO, type SearchReservationsRequest as aP, type CursorSearch as aQ, type CursorSearchPagingMethodOneOf as aR, type Aggregation as aS, type AggregationKindOneOf as aT, type RangeBucket as aU, type IncludeMissingValuesOptions as aV, type ValueAggregation as aW, type ValueAggregationOptionsOneOf as aX, type RangeAggregation as aY, type ScalarAggregation as aZ, type DateHistogramAggregation as a_, type GuestPolicy as aa, type GuestPolicyValueOneOf as ab, type CancellationFeeState as ac, type ReservationDelayedDomainEvent as ad, type ReservationDelayedDomainEventBodyTypeOneOf as ae, type ReservationCreated as af, type ReservationUpdated as ag, type ReservationDelayedDomainEventReservationCanceled as ah, type CreateReservationRequest as ai, type IgnoreConflicts as aj, type IgnoreConflictsIgnoreConflictsOptionsOneOf as ak, type StandardOptions as al, type ExperienceOptions as am, type CreateReservationResponse as an, type ReservationDetailsConflicts as ao, type TableCombinationConflict as ap, type ReservationLocationConflict as aq, type ExperienceBlockingConflict as ar, type ExperienceTableCombinationConflict as as, type ExperienceConflict as at, type ConflictsStandardOptions as au, type ConflictsExperienceOptions as av, type Conflicts as aw, type ConflictsOptionsOneOf as ax, type CreateGoogleReservationRequest as ay, type CreateGoogleReservationResponse as az, type CreateReservationValidationErrors as b, type StatusWithLiterals as b$, type NestedAggregationItemKindOneOf as b0, type NestedAggregation as b1, type SearchDetails as b2, type AggregationData as b3, type ValueAggregationResult as b4, type RangeAggregationResult as b5, type NestedAggregationResults as b6, type NestedAggregationResultsResultOneOf as b7, type ValueResults as b8, type RangeResults as b9, type BulkUnarchiveReservationsResult as bA, type DomainEvent as bB, type DomainEventBodyOneOf as bC, type EntityCreatedEvent as bD, type RestoreInfo as bE, type EntityUpdatedEvent as bF, type EntityDeletedEvent as bG, type ActionEvent as bH, type Empty as bI, type RemoveReservationMigrationNotesRequest as bJ, type RemoveReservationMigrationNotesResponse as bK, type RawHttpRequest as bL, type PathParametersEntry as bM, type QueryParametersEntry as bN, type HeadersEntry as bO, type RawHttpResponse as bP, type MessageEnvelope as bQ, type IdentificationData as bR, type IdentificationDataIdOneOf as bS, type AccountInfo as bT, type BaseEventMetadata as bU, type EventMetadata as bV, type AccountInfoMetadata as bW, type ReservationSearchSpec as bX, type ReservationsQueryResult as bY, type ReservationQuerySpec as bZ, utils as b_, type AggregationResultsScalarResult as ba, type NestedValueAggregationResult as bb, type ValueResult as bc, type RangeResult as bd, type ScalarResult as be, type ScalarDateResult as bf, type NestedResultValue as bg, type NestedResultValueResultOneOf as bh, type Results as bi, type DateHistogramResult as bj, type GroupByValueResults as bk, type DateHistogramResults as bl, type NestedResults as bm, type AggregationResultsScalarDateResult as bn, type AggregationResults as bo, type AggregationResultsResultOneOf as bp, type QueryReservationsRequest as bq, type CursorQuery as br, type CursorQueryPagingMethodOneOf as bs, type QueryReservationsResponse as bt, type BulkArchiveReservationsRequest as bu, type BulkArchiveReservationsResult as bv, type ItemMetadata as bw, type ApplicationError as bx, type BulkActionMetadata as by, type BulkUnarchiveReservationsRequest as bz, type UpdateReservationOptions as c, type SourceWithLiterals as c0, type PaymentStatusWithLiterals as c1, type FeeUnitWithLiterals as c2, type WindowUnitWithLiterals as c3, type PaymentMethodWithLiterals as c4, type TableCombinationConflictTypeWithLiterals as c5, type ReservationLocationConflictTypeWithLiterals as c6, type ExperienceTableCombinationConflictTypeWithLiterals as c7, type ExperienceConflictTypeWithLiterals as c8, type ExperienceBlockingConflictTypeWithLiterals as c9, queryReservations as cA, bulkArchiveReservations as cB, bulkUnarchiveReservations as cC, type IgnoreConflictsTypeWithLiterals as ca, type TypeWithLiterals as cb, type SetWithLiterals as cc, type SortOrderWithLiterals as cd, type SortTypeWithLiterals as ce, type SortDirectionWithLiterals as cf, type MissingValuesWithLiterals as cg, type ScalarTypeWithLiterals as ch, type NestedAggregationTypeWithLiterals as ci, type IntervalWithLiterals as cj, type AggregationTypeWithLiterals as ck, type ModeWithLiterals as cl, type WebhookIdentityTypeWithLiterals as cm, type CommonSearchWithEntityContext as cn, type CommonQueryWithEntityContext as co, onReservationCreated as cp, onReservationDeleted as cq, onReservationUpdated as cr, createReservation as cs, getReservation as ct, updateReservation as cu, createHeldReservation as cv, reserveReservation as cw, cancelReservation as cx, deleteReservation as cy, listReservations as cz, type UpdateReservationApplicationErrors as d, type UpdateReservationValidationErrors as e, type CreateHeldReservationResponse as f, type CreateHeldReservationApplicationErrors as g, type Reservee as h, type ReserveReservationResponse as i, type ReserveReservationApplicationErrors as j, type CancelReservationOptions as k, type CancelReservationResponse as l, type CancelReservationApplicationErrors as m, type ListReservationsResponse as n, type ReservationSearch as o, type BulkUnarchiveReservationsResponse as p, type ReservationCreatedEnvelope as q, type ReservationDeletedEnvelope as r, type ReservationUpdatedEnvelope as s, type ReservationsQueryBuilder as t, type ReservationQuery as u, typedQueryReservations as v, Status as w, Source as x, PaymentMethod as y, ReservationLocationConflictType as z };
|
|
@@ -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 ReservationQuery, v as typedQueryReservations } from './table-reservations-v1-reservation-reservations.universal-
|
|
3
|
-
export {
|
|
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-BIOtx_qX.js';
|
|
3
|
+
export { bT as AccountInfo, bW as AccountInfoMetadata, bH as ActionEvent, aS as Aggregation, b3 as AggregationData, aT as AggregationKindOneOf, bo as AggregationResults, bp as AggregationResultsResultOneOf, bn as AggregationResultsScalarDateResult, ba as AggregationResultsScalarResult, Z as AggregationType, ck as AggregationTypeWithLiterals, bx as ApplicationError, bU as BaseEventMetadata, by as BulkActionMetadata, bu as BulkArchiveReservationsRequest, bv as BulkArchiveReservationsResult, bz as BulkUnarchiveReservationsRequest, bA as BulkUnarchiveReservationsResult, aG as CancelReservationRequest, a9 as CancellationFee, ac as CancellationFeeState, a6 as CancellationPolicy, co as CommonQueryWithEntityContext, cn as CommonSearchWithEntityContext, aw as Conflicts, av as ConflictsExperienceOptions, ax as ConflictsOptionsOneOf, au as ConflictsStandardOptions, ay as CreateGoogleReservationRequest, az as CreateGoogleReservationResponse, aE as CreateHeldReservationRequest, ai as CreateReservationRequest, an as CreateReservationResponse, aL as CursorPaging, aN as CursorPagingMetadata, br as CursorQuery, bs as CursorQueryPagingMethodOneOf, aQ as CursorSearch, aR as CursorSearchPagingMethodOneOf, aO as Cursors, a_ as DateHistogramAggregation, bj as DateHistogramResult, bl as DateHistogramResults, aI as DeleteReservationRequest, aJ as DeleteReservationResponse, a1 as Details, bB as DomainEvent, bC as DomainEventBodyOneOf, bI as Empty, bD as EntityCreatedEvent, bG as EntityDeletedEvent, bF as EntityUpdatedEvent, bV as EventMetadata, ar as ExperienceBlockingConflict, D as ExperienceBlockingConflictType, c9 as ExperienceBlockingConflictTypeWithLiterals, at as ExperienceConflict, A as ExperienceConflictType, c8 as ExperienceConflictTypeWithLiterals, am as ExperienceOptions, as as ExperienceTableCombinationConflict, E as ExperienceTableCombinationConflictType, c7 as ExperienceTableCombinationConflictTypeWithLiterals, a5 as ExtendedFields, F as FeeUnit, c2 as FeeUnitWithLiterals, a7 as FreeCancellationWindow, aA as GetReservationRequest, aB as GetReservationResponse, bk as GroupByValueResults, aa as GuestPolicy, ab as GuestPolicyValueOneOf, bO as HeadersEntry, bR as IdentificationData, bS as IdentificationDataIdOneOf, aj as IgnoreConflicts, ak as IgnoreConflictsIgnoreConflictsOptionsOneOf, I as IgnoreConflictsType, ca as IgnoreConflictsTypeWithLiterals, aV as IncludeMissingValuesOptions, Y as Interval, cj as IntervalWithLiterals, bw as ItemMetadata, aK as ListReservationsRequest, bQ as MessageEnvelope, a3 as MigrationNote, Q as MissingValues, cg as MissingValuesWithLiterals, _ as Mode, cl as ModeWithLiterals, b1 as NestedAggregation, a$ as NestedAggregationItem, b0 as NestedAggregationItemKindOneOf, b6 as NestedAggregationResults, b7 as NestedAggregationResultsResultOneOf, X as NestedAggregationType, ci as NestedAggregationTypeWithLiterals, bg as NestedResultValue, bh as NestedResultValueResultOneOf, bm as NestedResults, bb as NestedValueAggregationResult, bM as PathParametersEntry, y as PaymentMethod, c4 as PaymentMethodWithLiterals, P as PaymentStatus, c1 as PaymentStatusWithLiterals, a8 as Prepayment, bN as QueryParametersEntry, bq as QueryReservationsRequest, bt as QueryReservationsResponse, aY as RangeAggregation, b5 as RangeAggregationResult, aU as RangeBucket, bd as RangeResult, b9 as RangeResults, bL as RawHttpRequest, bP as RawHttpResponse, bJ as RemoveReservationMigrationNotesRequest, bK as RemoveReservationMigrationNotesResponse, aH as ReservationCanceled, af as ReservationCreated, ad as ReservationDelayedDomainEvent, ae as ReservationDelayedDomainEventBodyTypeOneOf, ah as ReservationDelayedDomainEventReservationCanceled, ao as ReservationDetailsConflicts, aq as ReservationLocationConflict, z as ReservationLocationConflictType, c6 as ReservationLocationConflictTypeWithLiterals, bZ as ReservationQuerySpec, bX as ReservationSearchSpec, ag as ReservationUpdated, bY as ReservationsQueryResult, aF as ReserveReservationRequest, a2 as ReservedBy, bE as RestoreInfo, bi as Results, aZ as ScalarAggregation, bf as ScalarDateResult, be as ScalarResult, V as ScalarType, ch as ScalarTypeWithLiterals, b2 as SearchDetails, aP as SearchReservationsRequest, K as Set, cc as SetWithLiterals, O as SortDirection, cf as SortDirectionWithLiterals, M as SortOrder, cd as SortOrderWithLiterals, N as SortType, ce as SortTypeWithLiterals, aM as Sorting, x as Source, c0 as SourceWithLiterals, al as StandardOptions, w as Status, b$ as StatusWithLiterals, ap as TableCombinationConflict, T as TableCombinationConflictType, c5 as TableCombinationConflictTypeWithLiterals, a4 as TableWithReservationConflicts, a0 as Tables, J as Type, cb as TypeWithLiterals, aC as UpdateReservationRequest, aD as UpdateReservationResponse, aW as ValueAggregation, aX as ValueAggregationOptionsOneOf, b4 as ValueAggregationResult, bc as ValueResult, b8 as ValueResults, $ as WebhookIdentityType, cm as WebhookIdentityTypeWithLiterals, W as WindowUnit, c3 as WindowUnitWithLiterals, b_ as utils } from './table-reservations-v1-reservation-reservations.universal-BIOtx_qX.js';
|
|
4
4
|
|
|
5
5
|
declare function createReservation$1(httpClient: HttpClient): CreateReservationSignature;
|
|
6
6
|
interface CreateReservationSignature {
|
|
@@ -24,11 +24,13 @@ __export(index_exports, {
|
|
|
24
24
|
ExperienceBlockingConflictType: () => ExperienceBlockingConflictType,
|
|
25
25
|
ExperienceConflictType: () => ExperienceConflictType,
|
|
26
26
|
ExperienceTableCombinationConflictType: () => ExperienceTableCombinationConflictType,
|
|
27
|
+
FeeUnit: () => FeeUnit,
|
|
27
28
|
IgnoreConflictsType: () => IgnoreConflictsType,
|
|
28
29
|
Interval: () => Interval,
|
|
29
30
|
MissingValues: () => MissingValues,
|
|
30
31
|
Mode: () => Mode,
|
|
31
32
|
NestedAggregationType: () => NestedAggregationType,
|
|
33
|
+
PaymentMethod: () => PaymentMethod,
|
|
32
34
|
PaymentStatus: () => PaymentStatus,
|
|
33
35
|
ReservationLocationConflictType: () => ReservationLocationConflictType,
|
|
34
36
|
ScalarType: () => ScalarType,
|
|
@@ -41,6 +43,7 @@ __export(index_exports, {
|
|
|
41
43
|
TableCombinationConflictType: () => TableCombinationConflictType,
|
|
42
44
|
Type: () => Type,
|
|
43
45
|
WebhookIdentityType: () => WebhookIdentityType,
|
|
46
|
+
WindowUnit: () => WindowUnit,
|
|
44
47
|
bulkArchiveReservations: () => bulkArchiveReservations4,
|
|
45
48
|
bulkUnarchiveReservations: () => bulkUnarchiveReservations4,
|
|
46
49
|
cancelReservation: () => cancelReservation4,
|
|
@@ -638,6 +641,22 @@ var PaymentStatus = /* @__PURE__ */ ((PaymentStatus2) => {
|
|
|
638
641
|
PaymentStatus2["PARTIALLY_PAID"] = "PARTIALLY_PAID";
|
|
639
642
|
return PaymentStatus2;
|
|
640
643
|
})(PaymentStatus || {});
|
|
644
|
+
var FeeUnit = /* @__PURE__ */ ((FeeUnit2) => {
|
|
645
|
+
FeeUnit2["PER_GUEST"] = "PER_GUEST";
|
|
646
|
+
FeeUnit2["PER_RESERVATION"] = "PER_RESERVATION";
|
|
647
|
+
return FeeUnit2;
|
|
648
|
+
})(FeeUnit || {});
|
|
649
|
+
var WindowUnit = /* @__PURE__ */ ((WindowUnit2) => {
|
|
650
|
+
WindowUnit2["HOURS"] = "HOURS";
|
|
651
|
+
WindowUnit2["DAYS"] = "DAYS";
|
|
652
|
+
return WindowUnit2;
|
|
653
|
+
})(WindowUnit || {});
|
|
654
|
+
var PaymentMethod = /* @__PURE__ */ ((PaymentMethod2) => {
|
|
655
|
+
PaymentMethod2["NO_PAYMENT_METHOD"] = "NO_PAYMENT_METHOD";
|
|
656
|
+
PaymentMethod2["PREPAYMENT"] = "PREPAYMENT";
|
|
657
|
+
PaymentMethod2["CARD_GUARANTEE"] = "CARD_GUARANTEE";
|
|
658
|
+
return PaymentMethod2;
|
|
659
|
+
})(PaymentMethod || {});
|
|
641
660
|
var TableCombinationConflictType = /* @__PURE__ */ ((TableCombinationConflictType2) => {
|
|
642
661
|
TableCombinationConflictType2["UNKNOWN"] = "UNKNOWN";
|
|
643
662
|
TableCombinationConflictType2["RESERVED"] = "RESERVED";
|
|
@@ -1356,11 +1375,13 @@ var onReservationUpdated2 = (0, import_event_definition_modules.createEventModul
|
|
|
1356
1375
|
ExperienceBlockingConflictType,
|
|
1357
1376
|
ExperienceConflictType,
|
|
1358
1377
|
ExperienceTableCombinationConflictType,
|
|
1378
|
+
FeeUnit,
|
|
1359
1379
|
IgnoreConflictsType,
|
|
1360
1380
|
Interval,
|
|
1361
1381
|
MissingValues,
|
|
1362
1382
|
Mode,
|
|
1363
1383
|
NestedAggregationType,
|
|
1384
|
+
PaymentMethod,
|
|
1364
1385
|
PaymentStatus,
|
|
1365
1386
|
ReservationLocationConflictType,
|
|
1366
1387
|
ScalarType,
|
|
@@ -1373,6 +1394,7 @@ var onReservationUpdated2 = (0, import_event_definition_modules.createEventModul
|
|
|
1373
1394
|
TableCombinationConflictType,
|
|
1374
1395
|
Type,
|
|
1375
1396
|
WebhookIdentityType,
|
|
1397
|
+
WindowUnit,
|
|
1376
1398
|
bulkArchiveReservations,
|
|
1377
1399
|
bulkUnarchiveReservations,
|
|
1378
1400
|
cancelReservation,
|