Kaizen
Browse modulesBookingsbookings/serverInterfaces

Interface: CreateBookingServicesOptions

Defined in: server/bookings/factory.ts:22

Properties

attendance?

optional attendance?: AttendancePort;

Defined in: server/bookings/factory.ts:30

Required only for automatic no-show classification.


clock?

optional clock?: ClockPort;

Defined in: server/bookings/factory.ts:32

Injected clock so structural guards and tests control "now".


getActorId

getActorId: () => string | null;

Defined in: server/bookings/factory.ts:24

Returns the current actor's ID for audit fields, or null for system/anonymous.

Returns

string | null


notify?

optional notify?: NotificationPort;

Defined in: server/bookings/factory.ts:28

Post-commit offer, confirmation, and reminder delivery.


payments?

optional payments?: PaymentPort;

Defined in: server/bookings/factory.ts:26

Payment seam (§9). Defaults to the fully-functional payment-free no-op.


policyRules?

optional policyRules?: BookingPolicyRulesOptions;

Defined in: server/bookings/factory.ts:38

Rules-engine policy-guard wiring (§8.3/§8.4): extra scope-mapping entries + consumer custom conditions. Optional — domain: "bookings" rules are evaluated with the default scope mapping either way.


pricing?

optional pricing?: BookingPricingOptions;

Defined in: server/bookings/factory.ts:44

Pricing-glue scope-mapping extensions (§8.3) — the symmetric seam to policyRules. Optional — domain: "pricing" rules are evaluated at terms-pin with the default mapping either way.


serviceFactory?

optional serviceFactory?: (deps: BookingFeatureDeps) => WaitlistService;

Defined in: server/bookings/factory.ts:46

Optional subclass assembly; all workers and series share this instance.

Parameters

ParameterType
depsBookingFeatureDeps

Returns

WaitlistService

On this page