@voyantjs/bookings 0.6.9 → 0.8.0
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/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/products-ref.d.ts +93 -1
- package/dist/products-ref.d.ts.map +1 -1
- package/dist/products-ref.js +12 -1
- package/dist/routes-public.d.ts +5 -5
- package/dist/routes-shared.d.ts +2 -1
- package/dist/routes-shared.d.ts.map +1 -1
- package/dist/routes.d.ts +88 -6
- package/dist/routes.d.ts.map +1 -1
- package/dist/routes.js +25 -8
- package/dist/schema-items.d.ts +2 -2
- package/dist/service-public.d.ts +67 -14
- package/dist/service-public.d.ts.map +1 -1
- package/dist/service-public.js +13 -1
- package/dist/service.d.ts +108 -13
- package/dist/service.d.ts.map +1 -1
- package/dist/service.js +209 -22
- package/dist/validation-public.d.ts +11 -11
- package/dist/validation-shared.d.ts +2 -2
- package/dist/validation.d.ts +27 -8
- package/dist/validation.d.ts.map +1 -1
- package/dist/validation.js +19 -0
- package/package.json +6 -6
package/dist/service-public.d.ts
CHANGED
|
@@ -1,5 +1,58 @@
|
|
|
1
1
|
import type { PostgresJsDatabase } from "drizzle-orm/postgres-js";
|
|
2
2
|
import type { InternalBookingOverviewLookupQuery, PublicBookingOverviewLookupQuery, PublicBookingSessionMutationInput, PublicBookingSessionRepriceInput, PublicCreateBookingSessionInput, PublicUpdateBookingSessionInput, PublicUpsertBookingSessionStateInput } from "./validation-public.js";
|
|
3
|
+
/**
|
|
4
|
+
* Resolves the catalog-scoped pricing snapshot for a product (options → option
|
|
5
|
+
* price rules → per-unit price rules → tiers). The snapshot is the same data
|
|
6
|
+
* the storefront booking session uses to compute a total — exposing it as a
|
|
7
|
+
* standalone admin preview lets operator dialogs, tour-sheet exports, and
|
|
8
|
+
* reconciliation flows see the same numbers the customer would see, without
|
|
9
|
+
* creating a throwaway session.
|
|
10
|
+
*
|
|
11
|
+
* Returns `null` when the product isn't publicly visible or there's no active
|
|
12
|
+
* catalog / matching option (caller can decide whether to 404 or surface a
|
|
13
|
+
* "pricing unavailable for this selection" message).
|
|
14
|
+
*/
|
|
15
|
+
export declare function resolveSessionPricingSnapshot(db: PostgresJsDatabase, productId: string, input: {
|
|
16
|
+
catalogId?: string | undefined;
|
|
17
|
+
optionId?: string | undefined;
|
|
18
|
+
}): Promise<{
|
|
19
|
+
catalog: {
|
|
20
|
+
id: string;
|
|
21
|
+
currencyCode: string | null;
|
|
22
|
+
};
|
|
23
|
+
options: {
|
|
24
|
+
id: string;
|
|
25
|
+
name: string;
|
|
26
|
+
isDefault: boolean;
|
|
27
|
+
}[];
|
|
28
|
+
rules: {
|
|
29
|
+
id: string;
|
|
30
|
+
optionId: string;
|
|
31
|
+
pricingMode: string;
|
|
32
|
+
baseSellAmountCents: number | null;
|
|
33
|
+
isDefault: boolean;
|
|
34
|
+
}[];
|
|
35
|
+
unitPrices: {
|
|
36
|
+
tiers: {
|
|
37
|
+
id: string;
|
|
38
|
+
optionUnitPriceRuleId: string;
|
|
39
|
+
minQuantity: number;
|
|
40
|
+
maxQuantity: number | null;
|
|
41
|
+
sellAmountCents: number | null;
|
|
42
|
+
sortOrder: number;
|
|
43
|
+
}[];
|
|
44
|
+
id: string;
|
|
45
|
+
optionPriceRuleId: string;
|
|
46
|
+
unitId: string;
|
|
47
|
+
unitName: string;
|
|
48
|
+
unitType: string | null;
|
|
49
|
+
pricingCategoryId: string | null;
|
|
50
|
+
pricingMode: string;
|
|
51
|
+
sellAmountCents: number | null;
|
|
52
|
+
minQuantity: number | null;
|
|
53
|
+
maxQuantity: number | null;
|
|
54
|
+
}[];
|
|
55
|
+
} | null>;
|
|
3
56
|
export declare const publicBookingsService: {
|
|
4
57
|
createSession(db: PostgresJsDatabase, input: PublicCreateBookingSessionInput, userId?: string): Promise<{
|
|
5
58
|
status: Exclude<string, "ok">;
|
|
@@ -39,7 +92,7 @@ export declare const publicBookingsService: {
|
|
|
39
92
|
id: string;
|
|
40
93
|
title: string;
|
|
41
94
|
description: string | null;
|
|
42
|
-
itemType: "service" | "
|
|
95
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
43
96
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
44
97
|
serviceDate: string | null;
|
|
45
98
|
startsAt: string | null;
|
|
@@ -72,7 +125,7 @@ export declare const publicBookingsService: {
|
|
|
72
125
|
pricingCategoryId: string | null;
|
|
73
126
|
availabilitySlotId: string | null;
|
|
74
127
|
quantity: number;
|
|
75
|
-
allocationType: "
|
|
128
|
+
allocationType: "unit" | "resource" | "pickup";
|
|
76
129
|
status: "cancelled" | "confirmed" | "expired" | "fulfilled" | "held" | "released";
|
|
77
130
|
holdExpiresAt: string | null;
|
|
78
131
|
confirmedAt: string | null;
|
|
@@ -131,7 +184,7 @@ export declare const publicBookingsService: {
|
|
|
131
184
|
id: string;
|
|
132
185
|
title: string;
|
|
133
186
|
description: string | null;
|
|
134
|
-
itemType: "service" | "
|
|
187
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
135
188
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
136
189
|
serviceDate: string | null;
|
|
137
190
|
startsAt: string | null;
|
|
@@ -164,7 +217,7 @@ export declare const publicBookingsService: {
|
|
|
164
217
|
pricingCategoryId: string | null;
|
|
165
218
|
availabilitySlotId: string | null;
|
|
166
219
|
quantity: number;
|
|
167
|
-
allocationType: "
|
|
220
|
+
allocationType: "unit" | "resource" | "pickup";
|
|
168
221
|
status: "cancelled" | "confirmed" | "expired" | "fulfilled" | "held" | "released";
|
|
169
222
|
holdExpiresAt: string | null;
|
|
170
223
|
confirmedAt: string | null;
|
|
@@ -252,7 +305,7 @@ export declare const publicBookingsService: {
|
|
|
252
305
|
id: string;
|
|
253
306
|
title: string;
|
|
254
307
|
description: string | null;
|
|
255
|
-
itemType: "service" | "
|
|
308
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
256
309
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
257
310
|
serviceDate: string | null;
|
|
258
311
|
startsAt: string | null;
|
|
@@ -285,7 +338,7 @@ export declare const publicBookingsService: {
|
|
|
285
338
|
pricingCategoryId: string | null;
|
|
286
339
|
availabilitySlotId: string | null;
|
|
287
340
|
quantity: number;
|
|
288
|
-
allocationType: "
|
|
341
|
+
allocationType: "unit" | "resource" | "pickup";
|
|
289
342
|
status: "cancelled" | "confirmed" | "expired" | "fulfilled" | "held" | "released";
|
|
290
343
|
holdExpiresAt: string | null;
|
|
291
344
|
confirmedAt: string | null;
|
|
@@ -385,7 +438,7 @@ export declare const publicBookingsService: {
|
|
|
385
438
|
id: string;
|
|
386
439
|
title: string;
|
|
387
440
|
description: string | null;
|
|
388
|
-
itemType: "service" | "
|
|
441
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
389
442
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
390
443
|
serviceDate: string | null;
|
|
391
444
|
startsAt: string | null;
|
|
@@ -418,7 +471,7 @@ export declare const publicBookingsService: {
|
|
|
418
471
|
pricingCategoryId: string | null;
|
|
419
472
|
availabilitySlotId: string | null;
|
|
420
473
|
quantity: number;
|
|
421
|
-
allocationType: "
|
|
474
|
+
allocationType: "unit" | "resource" | "pickup";
|
|
422
475
|
status: "cancelled" | "confirmed" | "expired" | "fulfilled" | "held" | "released";
|
|
423
476
|
holdExpiresAt: string | null;
|
|
424
477
|
confirmedAt: string | null;
|
|
@@ -481,7 +534,7 @@ export declare const publicBookingsService: {
|
|
|
481
534
|
id: string;
|
|
482
535
|
title: string;
|
|
483
536
|
description: string | null;
|
|
484
|
-
itemType: "service" | "
|
|
537
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
485
538
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
486
539
|
serviceDate: string | null;
|
|
487
540
|
startsAt: string | null;
|
|
@@ -514,7 +567,7 @@ export declare const publicBookingsService: {
|
|
|
514
567
|
pricingCategoryId: string | null;
|
|
515
568
|
availabilitySlotId: string | null;
|
|
516
569
|
quantity: number;
|
|
517
|
-
allocationType: "
|
|
570
|
+
allocationType: "unit" | "resource" | "pickup";
|
|
518
571
|
status: "cancelled" | "confirmed" | "expired" | "fulfilled" | "held" | "released";
|
|
519
572
|
holdExpiresAt: string | null;
|
|
520
573
|
confirmedAt: string | null;
|
|
@@ -577,7 +630,7 @@ export declare const publicBookingsService: {
|
|
|
577
630
|
id: string;
|
|
578
631
|
title: string;
|
|
579
632
|
description: string | null;
|
|
580
|
-
itemType: "service" | "
|
|
633
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
581
634
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
582
635
|
serviceDate: string | null;
|
|
583
636
|
startsAt: string | null;
|
|
@@ -610,7 +663,7 @@ export declare const publicBookingsService: {
|
|
|
610
663
|
pricingCategoryId: string | null;
|
|
611
664
|
availabilitySlotId: string | null;
|
|
612
665
|
quantity: number;
|
|
613
|
-
allocationType: "
|
|
666
|
+
allocationType: "unit" | "resource" | "pickup";
|
|
614
667
|
status: "cancelled" | "confirmed" | "expired" | "fulfilled" | "held" | "released";
|
|
615
668
|
holdExpiresAt: string | null;
|
|
616
669
|
confirmedAt: string | null;
|
|
@@ -658,7 +711,7 @@ export declare const publicBookingsService: {
|
|
|
658
711
|
id: string;
|
|
659
712
|
title: string;
|
|
660
713
|
description: string | null;
|
|
661
|
-
itemType: "service" | "
|
|
714
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
662
715
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
663
716
|
serviceDate: string | null;
|
|
664
717
|
startsAt: string | null;
|
|
@@ -722,7 +775,7 @@ export declare const publicBookingsService: {
|
|
|
722
775
|
id: string;
|
|
723
776
|
title: string;
|
|
724
777
|
description: string | null;
|
|
725
|
-
itemType: "service" | "
|
|
778
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
726
779
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
727
780
|
serviceDate: string | null;
|
|
728
781
|
startsAt: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-public.d.ts","sourceRoot":"","sources":["../src/service-public.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAoBjE,OAAO,KAAK,EACV,kCAAkC,EAClC,gCAAgC,EAChC,iCAAiC,EACjC,gCAAgC,EAEhC,+BAA+B,EAC/B,+BAA+B,EAC/B,oCAAoC,EACrC,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"service-public.d.ts","sourceRoot":"","sources":["../src/service-public.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAoBjE,OAAO,KAAK,EACV,kCAAkC,EAClC,gCAAgC,EAChC,iCAAiC,EACjC,gCAAgC,EAEhC,+BAA+B,EAC/B,+BAA+B,EAC/B,oCAAoC,EACrC,MAAM,wBAAwB,CAAA;AA4d/B;;;;;;;;;;;GAWG;AACH,wBAAsB,6BAA6B,CACjD,EAAE,EAAE,kBAAkB,EACtB,SAAS,EAAE,MAAM,EACjB,KAAK,EAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAtYd,MAAM;gCACE,MAAM;0BACZ,MAAM;+BACD,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAynBhB,kBAAkB,aACX,MAAM,SACV,iCAAiC,WAC/B,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA/nBT,MAAM;gCACE,MAAM;0BACZ,MAAM;+BACD,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAwoBhB,kBAAkB,aACX,MAAM,SACV,iCAAiC,WAC/B,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA9oBT,MAAM;gCACE,MAAM;0BACZ,MAAM;+BACD,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAspBA,kBAAkB,SAAS,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAl/BzE,MAAM;4BACE,MAAM;sBACZ,MAAM;2BACD,OAAO;;;;;;;;;;;;;;;;;;;;4BAm/BQ,kBAAkB,SAAS,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAt/BnF,MAAM;4BACE,MAAM;sBACZ,MAAM;2BACD,OAAO;;;;;;;;;;;;;;;;;;;;CAs/BvB,CAAA"}
|
package/dist/service-public.js
CHANGED
|
@@ -313,7 +313,19 @@ function buildUnitWarnings(unit, quantity, sessionPax) {
|
|
|
313
313
|
}
|
|
314
314
|
return warnings;
|
|
315
315
|
}
|
|
316
|
-
|
|
316
|
+
/**
|
|
317
|
+
* Resolves the catalog-scoped pricing snapshot for a product (options → option
|
|
318
|
+
* price rules → per-unit price rules → tiers). The snapshot is the same data
|
|
319
|
+
* the storefront booking session uses to compute a total — exposing it as a
|
|
320
|
+
* standalone admin preview lets operator dialogs, tour-sheet exports, and
|
|
321
|
+
* reconciliation flows see the same numbers the customer would see, without
|
|
322
|
+
* creating a throwaway session.
|
|
323
|
+
*
|
|
324
|
+
* Returns `null` when the product isn't publicly visible or there's no active
|
|
325
|
+
* catalog / matching option (caller can decide whether to 404 or surface a
|
|
326
|
+
* "pricing unavailable for this selection" message).
|
|
327
|
+
*/
|
|
328
|
+
export async function resolveSessionPricingSnapshot(db, productId, input) {
|
|
317
329
|
const [product] = await db
|
|
318
330
|
.select({
|
|
319
331
|
id: productsRef.id,
|
package/dist/service.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import type { EventBus } from "@voyantjs/core";
|
|
1
2
|
import type { PostgresJsDatabase } from "drizzle-orm/postgres-js";
|
|
2
3
|
import type { z } from "zod";
|
|
4
|
+
import { bookings } from "./schema.js";
|
|
3
5
|
import type { bookingListQuerySchema, cancelBookingSchema, confirmBookingSchema, convertProductSchema, expireBookingSchema, expireStaleBookingsSchema, extendBookingHoldSchema, insertBookingDocumentSchema, insertBookingFulfillmentSchema, insertBookingItemParticipantSchema, insertBookingItemSchema, insertBookingNoteSchema, insertBookingSchema, insertTravelerRecordSchema, insertTravelerSchema, recordBookingRedemptionSchema, reserveBookingFromTransactionSchema, reserveBookingSchema, updateBookingFulfillmentSchema, updateBookingItemSchema, updateBookingSchema, updateBookingStatusSchema, updateTravelerRecordSchema, updateTravelerSchema } from "./validation.js";
|
|
4
6
|
type BookingListQuery = z.infer<typeof bookingListQuerySchema>;
|
|
5
7
|
type ConvertProductInput = z.infer<typeof convertProductSchema>;
|
|
@@ -43,6 +45,18 @@ export interface ConvertProductData {
|
|
|
43
45
|
id: string;
|
|
44
46
|
name: string;
|
|
45
47
|
} | null;
|
|
48
|
+
/**
|
|
49
|
+
* Availability slot the caller chose, if any. When set, the resulting booking
|
|
50
|
+
* pins its startDate/endDate to the slot so recurring/scheduled products don't
|
|
51
|
+
* land with null dates.
|
|
52
|
+
*/
|
|
53
|
+
slot?: {
|
|
54
|
+
id: string;
|
|
55
|
+
dateLocal: string;
|
|
56
|
+
startsAt: Date;
|
|
57
|
+
endsAt: Date | null;
|
|
58
|
+
timezone: string;
|
|
59
|
+
} | null;
|
|
46
60
|
dayServices: Array<{
|
|
47
61
|
supplierServiceId: string | null;
|
|
48
62
|
name: string;
|
|
@@ -59,7 +73,85 @@ export interface ConvertProductData {
|
|
|
59
73
|
sortOrder: number;
|
|
60
74
|
}>;
|
|
61
75
|
}
|
|
76
|
+
/**
|
|
77
|
+
* Optional runtime hooks for status-transition flows. Keeps the service
|
|
78
|
+
* decoupled from delivery concerns — bookings only has to emit, never know
|
|
79
|
+
* what listens.
|
|
80
|
+
*/
|
|
81
|
+
export interface BookingServiceRuntime {
|
|
82
|
+
eventBus?: EventBus;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Payload shape for `booking.confirmed`. Subscribers should treat unknown
|
|
86
|
+
* fields as forward-compatible additions.
|
|
87
|
+
*/
|
|
88
|
+
export interface BookingConfirmedEvent {
|
|
89
|
+
bookingId: string;
|
|
90
|
+
bookingNumber: string;
|
|
91
|
+
actorId: string | null;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Payload for `booking.cancelled`. `previousStatus` is the state the booking
|
|
95
|
+
* transitioned *out of* — useful for subscribers that care about cancelling a
|
|
96
|
+
* confirmed booking (refund flow) vs cancelling a draft/hold (no side effects).
|
|
97
|
+
*/
|
|
98
|
+
export interface BookingCancelledEvent {
|
|
99
|
+
bookingId: string;
|
|
100
|
+
bookingNumber: string;
|
|
101
|
+
previousStatus: "draft" | "on_hold" | "confirmed" | "in_progress";
|
|
102
|
+
actorId: string | null;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Payload for `booking.expired`. Fires when an on-hold booking's timer runs
|
|
106
|
+
* out. `cause` flags whether it was the explicit route call or the sweep job —
|
|
107
|
+
* subscribers that want to email the customer should probably skip
|
|
108
|
+
* sweep-originated events to avoid pager noise during backfills.
|
|
109
|
+
*/
|
|
110
|
+
export interface BookingExpiredEvent {
|
|
111
|
+
bookingId: string;
|
|
112
|
+
bookingNumber: string;
|
|
113
|
+
cause: "route" | "sweep";
|
|
114
|
+
actorId: string | null;
|
|
115
|
+
}
|
|
116
|
+
type BookingStatus = (typeof bookings.$inferSelect)["status"];
|
|
117
|
+
export interface BookingAggregates {
|
|
118
|
+
/** Total bookings across all statuses in range. */
|
|
119
|
+
total: number;
|
|
120
|
+
/** One row per booking status (including zero counts for active statuses). */
|
|
121
|
+
countsByStatus: Array<{
|
|
122
|
+
status: BookingStatus;
|
|
123
|
+
count: number;
|
|
124
|
+
}>;
|
|
125
|
+
/** Booking counts bucketed by YYYY-MM (UTC), oldest first. */
|
|
126
|
+
monthlyCounts: Array<{
|
|
127
|
+
yearMonth: string;
|
|
128
|
+
count: number;
|
|
129
|
+
}>;
|
|
130
|
+
/**
|
|
131
|
+
* Sell revenue bucketed by YYYY-MM (UTC), grouped by currency. Null currency
|
|
132
|
+
* rows are dropped since a booking without a sell currency is malformed.
|
|
133
|
+
*/
|
|
134
|
+
monthlyRevenue: Array<{
|
|
135
|
+
yearMonth: string;
|
|
136
|
+
currency: string;
|
|
137
|
+
sellAmountCents: number;
|
|
138
|
+
}>;
|
|
139
|
+
/** Count of active bookings with `startDate >= today`. */
|
|
140
|
+
upcomingDepartures: number;
|
|
141
|
+
}
|
|
62
142
|
export declare const bookingsService: {
|
|
143
|
+
/**
|
|
144
|
+
* Pre-aggregated dashboard numbers for the admin bookings surface. Replaces
|
|
145
|
+
* the pattern of fetching a large `listBookings` page and deriving KPIs
|
|
146
|
+
* client-side — which broke past the page limit and disagreed across apps
|
|
147
|
+
* on which statuses count.
|
|
148
|
+
*
|
|
149
|
+
* All ranges are UTC-based.
|
|
150
|
+
*/
|
|
151
|
+
getBookingAggregates(db: PostgresJsDatabase, options?: {
|
|
152
|
+
from?: string;
|
|
153
|
+
to?: string;
|
|
154
|
+
}): Promise<BookingAggregates>;
|
|
63
155
|
listBookings(db: PostgresJsDatabase, query: BookingListQuery): Promise<{
|
|
64
156
|
data: {
|
|
65
157
|
id: string;
|
|
@@ -380,7 +472,7 @@ export declare const bookingsService: {
|
|
|
380
472
|
tableName: "booking_allocations";
|
|
381
473
|
dataType: "string";
|
|
382
474
|
columnType: "PgEnumColumn";
|
|
383
|
-
data: "
|
|
475
|
+
data: "unit" | "resource" | "pickup";
|
|
384
476
|
driverParam: string;
|
|
385
477
|
notNull: true;
|
|
386
478
|
hasDefault: true;
|
|
@@ -523,7 +615,7 @@ export declare const bookingsService: {
|
|
|
523
615
|
pricingCategoryId: string | null;
|
|
524
616
|
availabilitySlotId: string | null;
|
|
525
617
|
quantity: number;
|
|
526
|
-
allocationType: "
|
|
618
|
+
allocationType: "unit" | "resource" | "pickup";
|
|
527
619
|
status: "cancelled" | "confirmed" | "expired" | "fulfilled" | "held" | "released";
|
|
528
620
|
holdExpiresAt: Date | null;
|
|
529
621
|
confirmedAt: Date | null;
|
|
@@ -690,7 +782,7 @@ export declare const bookingsService: {
|
|
|
690
782
|
tableName: "booking_allocations";
|
|
691
783
|
dataType: "string";
|
|
692
784
|
columnType: "PgEnumColumn";
|
|
693
|
-
data: "
|
|
785
|
+
data: "unit" | "resource" | "pickup";
|
|
694
786
|
driverParam: string;
|
|
695
787
|
notNull: true;
|
|
696
788
|
hasDefault: true;
|
|
@@ -955,10 +1047,10 @@ export declare const bookingsService: {
|
|
|
955
1047
|
deleteBooking(db: PostgresJsDatabase, id: string): Promise<{
|
|
956
1048
|
id: string;
|
|
957
1049
|
} | null>;
|
|
958
|
-
updateBookingStatus(db: PostgresJsDatabase, id: string, data: UpdateBookingStatusInput, userId?: string): Promise<{
|
|
1050
|
+
updateBookingStatus(db: PostgresJsDatabase, id: string, data: UpdateBookingStatusInput, userId?: string, runtime?: BookingServiceRuntime): Promise<{
|
|
959
1051
|
status: Exclude<string, "ok">;
|
|
960
1052
|
}>;
|
|
961
|
-
confirmBooking(db: PostgresJsDatabase, id: string, data: ConfirmBookingInput, userId?: string): Promise<{
|
|
1053
|
+
confirmBooking(db: PostgresJsDatabase, id: string, data: ConfirmBookingInput, userId?: string, runtime?: BookingServiceRuntime): Promise<{
|
|
962
1054
|
status: "ok";
|
|
963
1055
|
booking: {
|
|
964
1056
|
id: string;
|
|
@@ -1046,7 +1138,9 @@ export declare const bookingsService: {
|
|
|
1046
1138
|
} | {
|
|
1047
1139
|
status: Exclude<string, "ok">;
|
|
1048
1140
|
}>;
|
|
1049
|
-
expireBooking(db: PostgresJsDatabase, id: string, data: ExpireBookingInput, userId?: string
|
|
1141
|
+
expireBooking(db: PostgresJsDatabase, id: string, data: ExpireBookingInput, userId?: string, runtime?: BookingServiceRuntime & {
|
|
1142
|
+
cause?: "route" | "sweep";
|
|
1143
|
+
}): Promise<{
|
|
1050
1144
|
status: "ok";
|
|
1051
1145
|
booking: {
|
|
1052
1146
|
id: string;
|
|
@@ -1090,12 +1184,12 @@ export declare const bookingsService: {
|
|
|
1090
1184
|
} | {
|
|
1091
1185
|
status: Exclude<string, "ok">;
|
|
1092
1186
|
}>;
|
|
1093
|
-
expireStaleBookings(db: PostgresJsDatabase, data: ExpireStaleBookingsInput, userId?: string): Promise<{
|
|
1187
|
+
expireStaleBookings(db: PostgresJsDatabase, data: ExpireStaleBookingsInput, userId?: string, runtime?: BookingServiceRuntime): Promise<{
|
|
1094
1188
|
expiredIds: string[];
|
|
1095
1189
|
count: number;
|
|
1096
1190
|
cutoff: Date;
|
|
1097
1191
|
}>;
|
|
1098
|
-
cancelBooking(db: PostgresJsDatabase, id: string, data: CancelBookingInput, userId?: string): Promise<{
|
|
1192
|
+
cancelBooking(db: PostgresJsDatabase, id: string, data: CancelBookingInput, userId?: string, runtime?: BookingServiceRuntime): Promise<{
|
|
1099
1193
|
status: "ok";
|
|
1100
1194
|
booking: {
|
|
1101
1195
|
id: string;
|
|
@@ -1138,6 +1232,7 @@ export declare const bookingsService: {
|
|
|
1138
1232
|
} | null;
|
|
1139
1233
|
} | {
|
|
1140
1234
|
status: Exclude<string, "ok">;
|
|
1235
|
+
booking?: undefined;
|
|
1141
1236
|
}>;
|
|
1142
1237
|
listTravelerRecords(db: PostgresJsDatabase, bookingId: string): Omit<import("drizzle-orm/pg-core").PgSelectBase<"booking_travelers", {
|
|
1143
1238
|
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
@@ -1888,7 +1983,7 @@ export declare const bookingsService: {
|
|
|
1888
1983
|
tableName: "booking_items";
|
|
1889
1984
|
dataType: "string";
|
|
1890
1985
|
columnType: "PgEnumColumn";
|
|
1891
|
-
data: "service" | "
|
|
1986
|
+
data: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
1892
1987
|
driverParam: string;
|
|
1893
1988
|
notNull: true;
|
|
1894
1989
|
hasDefault: true;
|
|
@@ -2264,7 +2359,7 @@ export declare const bookingsService: {
|
|
|
2264
2359
|
bookingId: string;
|
|
2265
2360
|
title: string;
|
|
2266
2361
|
description: string | null;
|
|
2267
|
-
itemType: "service" | "
|
|
2362
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
2268
2363
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
2269
2364
|
serviceDate: string | null;
|
|
2270
2365
|
startsAt: Date | null;
|
|
@@ -2360,7 +2455,7 @@ export declare const bookingsService: {
|
|
|
2360
2455
|
tableName: "booking_items";
|
|
2361
2456
|
dataType: "string";
|
|
2362
2457
|
columnType: "PgEnumColumn";
|
|
2363
|
-
data: "service" | "
|
|
2458
|
+
data: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
2364
2459
|
driverParam: string;
|
|
2365
2460
|
notNull: true;
|
|
2366
2461
|
hasDefault: true;
|
|
@@ -2748,7 +2843,7 @@ export declare const bookingsService: {
|
|
|
2748
2843
|
bookingId: string;
|
|
2749
2844
|
optionUnitId: string | null;
|
|
2750
2845
|
title: string;
|
|
2751
|
-
itemType: "service" | "
|
|
2846
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
2752
2847
|
serviceDate: string | null;
|
|
2753
2848
|
quantity: number;
|
|
2754
2849
|
unitSellAmountCents: number | null;
|
|
@@ -2765,7 +2860,7 @@ export declare const bookingsService: {
|
|
|
2765
2860
|
bookingId: string;
|
|
2766
2861
|
title: string;
|
|
2767
2862
|
description: string | null;
|
|
2768
|
-
itemType: "service" | "
|
|
2863
|
+
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
2769
2864
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
2770
2865
|
serviceDate: string | null;
|
|
2771
2866
|
startsAt: Date | null;
|
package/dist/service.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AACjE,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAyC5B,OAAO,KAAK,EACV,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,yBAAyB,EACzB,uBAAuB,EACvB,2BAA2B,EAC3B,8BAA8B,EAC9B,kCAAkC,EAClC,uBAAuB,EACvB,uBAAuB,EACvB,mBAAmB,EACnB,0BAA0B,EAC1B,oBAAoB,EACpB,6BAA6B,EAC7B,mCAAmC,EACnC,oBAAoB,EACpB,8BAA8B,EAC9B,uBAAuB,EACvB,mBAAmB,EACnB,yBAAyB,EACzB,0BAA0B,EAC1B,oBAAoB,EACrB,MAAM,iBAAiB,CAAA;AAExB,KAAK,gBAAg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