@voyant-travel/finance 0.161.0 → 0.162.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/README.md CHANGED
@@ -117,11 +117,11 @@ Booking creation UIs can show the same tax line that booking finalization will
117
117
  persist by mounting the booking-tax extension:
118
118
 
119
119
  ```typescript
120
- import { createBookingTaxHonoExtension } from "@voyant-travel/finance/booking-tax"
120
+ import { createBookingTaxApiExtension } from "@voyant-travel/finance/booking-tax"
121
121
 
122
122
  createApp({
123
123
  extensions: [
124
- createBookingTaxHonoExtension({
124
+ createBookingTaxApiExtension({
125
125
  resolveBookingTaxSettings: async (db) => {
126
126
  const settings = await getTaxSettings(db)
127
127
  return {
@@ -140,7 +140,7 @@ store, while `@voyant-travel/finance` owns the tax policy rule walker, tax-regim
140
140
  lookup, product tax-class fallback, and inclusive/exclusive math.
141
141
 
142
142
  Templates that already mount custom routes can call `mountBookingTaxRoutes(...)`
143
- from the same entrypoint instead of using the Hono extension.
143
+ from the same entrypoint instead of using the API extension.
144
144
 
145
145
  Mounting this route registers:
146
146
 
@@ -172,11 +172,11 @@ exchange-rate resolver:
172
172
 
173
173
  ```typescript
174
174
  import {
175
- createFinanceHonoModule,
175
+ createFinanceApiModule,
176
176
  createVoyantDataFxExchangeRateResolver,
177
177
  } from "@voyant-travel/finance"
178
178
 
179
- createFinanceHonoModule({
179
+ createFinanceApiModule({
180
180
  invoiceFxSettings: {
181
181
  baseCurrency: "RON",
182
182
  fxCommissionBps: 200,
@@ -1,5 +1,5 @@
1
1
  import { OpenAPIHono } from "@hono/zod-openapi";
2
- import type { HonoExtension } from "@voyant-travel/hono/module";
2
+ import type { ApiExtension } from "@voyant-travel/hono/module";
3
3
  import type { PostgresJsDatabase } from "drizzle-orm/postgres-js";
4
4
  import type { Hono } from "hono";
5
5
  export type ProductTaxFacts = {
@@ -129,5 +129,5 @@ export declare function createBookingTaxRoutes(options?: BookingTaxRouteOptions)
129
129
  };
130
130
  }, "/">;
131
131
  export declare function mountBookingTaxRoutes(hono: Hono, options?: BookingTaxRouteOptions): void;
132
- export declare function createBookingTaxHonoExtension(options?: BookingTaxRouteOptions): HonoExtension;
133
- export declare const createBookingTaxVoyantRuntime: import("@voyant-travel/core/project").VoyantGraphRuntimeFactory<HonoExtension>;
132
+ export declare function createBookingTaxApiExtension(options?: BookingTaxRouteOptions): ApiExtension;
133
+ export declare const createBookingTaxVoyantRuntime: import("@voyant-travel/core/project").VoyantGraphRuntimeFactory<ApiExtension>;
@@ -320,7 +320,7 @@ export function createBookingTaxRoutes(options = {}) {
320
320
  export function mountBookingTaxRoutes(hono, options = {}) {
321
321
  hono.route("/v1/admin/bookings", createBookingTaxRoutes(options));
322
322
  }
323
- export function createBookingTaxHonoExtension(options = {}) {
323
+ export function createBookingTaxApiExtension(options = {}) {
324
324
  const extension = {
325
325
  name: "booking-tax",
326
326
  module: "bookings",
@@ -331,5 +331,5 @@ export function createBookingTaxHonoExtension(options = {}) {
331
331
  };
332
332
  }
333
333
  export const createBookingTaxVoyantRuntime = defineGraphRuntimeFactory(async ({ getPort }) => {
334
- return createBookingTaxHonoExtension(createFinanceBookingTaxRuntime(await getPort(financeOperatorSettingsRuntimePort)));
334
+ return createBookingTaxApiExtension(createFinanceBookingTaxRuntime(await getPort(financeOperatorSettingsRuntimePort)));
335
335
  });
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { Module } from "@voyant-travel/core";
2
- import type { HonoModule } from "@voyant-travel/hono/module";
2
+ import type { ApiModule } from "@voyant-travel/hono/module";
3
3
  import { type BookingTaxRouteOptions } from "./booking-tax.js";
4
4
  import { type CheckoutRoutesOptions } from "./checkout-routes.js";
5
5
  import { type FinanceRuntimeOptions } from "./route-runtime.js";
@@ -18,21 +18,21 @@ export { createPublicFinanceRoutes, type PublicFinanceRouteOptions, publicFinanc
18
18
  export { type SupplierInvoiceRoutes, supplierInvoiceRoutes, } from "./routes-supplier-invoices.js";
19
19
  export { type PublicFinanceRuntimeOptions, publicFinanceService } from "./service-public.js";
20
20
  export declare const financeModule: Module;
21
- export interface FinanceHonoModuleOptions extends FinanceRuntimeOptions, PublicFinanceRouteOptions, CheckoutRoutesOptions, BookingTaxRouteOptions {
21
+ export interface FinanceApiModuleOptions extends FinanceRuntimeOptions, PublicFinanceRouteOptions, CheckoutRoutesOptions, BookingTaxRouteOptions {
22
22
  }
23
- export declare function createFinanceHonoModule(options?: FinanceHonoModuleOptions): HonoModule;
24
- export declare const financeHonoModule: HonoModule;
25
- export declare const createFinanceVoyantRuntime: import("@voyant-travel/core/project").VoyantGraphRuntimeFactory<HonoModule>;
23
+ export declare function createFinanceApiModule(options?: FinanceApiModuleOptions): ApiModule;
24
+ export declare const financeApiModule: ApiModule;
25
+ export declare const createFinanceVoyantRuntime: import("@voyant-travel/core/project").VoyantGraphRuntimeFactory<ApiModule>;
26
26
  export { type BookingCancellationSettlementInput, buildPaidBookingCancellationSettlementNote, closeTerminalBookingPaymentSchedules, financeBookingLifecycle, recordPaidBookingCancellationSettlement, } from "./booking-lifecycle.js";
27
- export { type BookingTaxRouteOptions, type BookingTaxSettings, computeBookingItemTaxLine, createBookingTaxHonoExtension, createBookingTaxRoutes, createBookingTaxVoyantRuntime, loadProductTaxFacts, matchesTaxPolicyCondition, mountBookingTaxRoutes, type ProductTaxFacts, type ResolveBookingSellTaxRateOptions, type ResolveBookingTaxSettings, type ResolvedBookingSellTaxRate, resolveBookingSellTaxRate, type TaxPolicyCondition, type UpdateBookingTaxSettings, } from "./booking-tax.js";
27
+ export { type BookingTaxRouteOptions, type BookingTaxSettings, computeBookingItemTaxLine, createBookingTaxApiExtension, createBookingTaxRoutes, createBookingTaxVoyantRuntime, loadProductTaxFacts, matchesTaxPolicyCondition, mountBookingTaxRoutes, type ProductTaxFacts, type ResolveBookingSellTaxRateOptions, type ResolveBookingTaxSettings, type ResolvedBookingSellTaxRate, resolveBookingSellTaxRate, type TaxPolicyCondition, type UpdateBookingTaxSettings, } from "./booking-tax.js";
28
28
  export type { CardPaymentBilling, CardPaymentStartArgs, CardPaymentStarter, CardPaymentStartResult, } from "./card-payment.js";
29
29
  export { type DocumentDownloadEnvelope, type DocumentDownloadResolution, type DocumentDownloadResolver, resolveStoredDocumentDownload, type StoredDocumentReference, } from "./document-download.js";
30
- export { createInvoiceFxHonoExtension, createInvoiceFxRoutes, createVoyantDataFxExchangeRateResolver, type InvoiceExchangeRateResolution, type InvoiceFxContext, type InvoiceFxOptions, type InvoiceFxRouteOptions, type InvoiceFxSettings, mountInvoiceFxRoutes, type ResolvedInvoiceFxSettings, type ResolveInvoiceExchangeRate, type ResolveInvoiceExchangeRateInput, type ResolveInvoiceFxSettings, resolveInvoiceFxContext, resolveInvoiceFxSettingsOrDefault, type UpdateInvoiceFxSettings, type VoyantDataFxResolverOptions, } from "./invoice-fx.js";
30
+ export { createInvoiceFxApiExtension, createInvoiceFxRoutes, createVoyantDataFxExchangeRateResolver, type InvoiceExchangeRateResolution, type InvoiceFxContext, type InvoiceFxOptions, type InvoiceFxRouteOptions, type InvoiceFxSettings, mountInvoiceFxRoutes, type ResolvedInvoiceFxSettings, type ResolveInvoiceExchangeRate, type ResolveInvoiceExchangeRateInput, type ResolveInvoiceFxSettings, resolveInvoiceFxContext, resolveInvoiceFxSettingsOrDefault, type UpdateInvoiceFxSettings, type VoyantDataFxResolverOptions, } from "./invoice-fx.js";
31
31
  export { type CreateOrderPaymentSessionsOptions, createOrderPaymentSessions, type EnsureOrderSessionParams, type OrderPaymentSessionSummary, type OrderPaymentSessions, type OrderPaymentSessionTargetType, type StartOrderPaymentProvider, } from "./order-payment-sessions.js";
32
32
  export type { ComputedScheduleEntry, ComputeScheduleInput, DepositKind, DepositRule, PaymentPolicy, PaymentPolicyCascadeLayers, PaymentPolicySource, PaymentScheduleEntryType, ResolvedPaymentPolicy, } from "./payment-policy.js";
33
33
  export { computePaymentSchedule, isPaymentPolicyEmpty, noDepositPolicy, normalizePaymentPolicy, policyShouldRequireFullPayment, resolveEffectivePaymentPolicy, } from "./payment-policy.js";
34
34
  export { createPaymentPolicyCascade, type PaymentPolicyCascade, type PaymentPolicyCascadeOptions, type PaymentPolicyCascadeReaders, readPolicySourceFromInternalNotes, stampPolicySourceOnBooking, } from "./payment-policy-cascade.js";
35
- export { type BookingScheduleRoutesOptions, createBookingScheduleAdminRoutes, createBookingScheduleHonoExtension, createBookingScheduleVoyantRuntime, createPaymentPolicyPublicRoutes, generatePaymentScheduleForBooking, type PaymentPolicyEntityContext, } from "./payment-schedule/routes.js";
35
+ export { type BookingScheduleRoutesOptions, createBookingScheduleAdminRoutes, createBookingScheduleApiExtension, createBookingScheduleVoyantRuntime, createPaymentPolicyPublicRoutes, generatePaymentScheduleForBooking, type PaymentPolicyEntityContext, } from "./payment-schedule/routes.js";
36
36
  export { buildFinanceRouteRuntime, FINANCE_ROUTE_RUNTIME_CONTAINER_KEY, type FinanceRouteRuntime, type FinanceRuntimeOptions, } from "./route-runtime.js";
37
37
  export { bookingsCreateExtension } from "./routes-booking-create.js";
38
38
  export { createFinanceAdminDocumentRoutes, type FinanceDocumentRouteOptions, } from "./routes-documents.js";
package/dist/index.js CHANGED
@@ -30,7 +30,7 @@ export const financeModule = {
30
30
  linkable: financeLinkable,
31
31
  requiresTransactionalDb: true,
32
32
  };
33
- export function createFinanceHonoModule(options = {}) {
33
+ export function createFinanceApiModule(options = {}) {
34
34
  const adminRoutes = stampOpenApiRegistryApiId(new OpenAPIHono()
35
35
  .route("/", financeRoutes)
36
36
  .route("/", createFinanceCheckoutAdminRoutes(options))
@@ -63,9 +63,9 @@ export function createFinanceHonoModule(options = {}) {
63
63
  publicRoutes,
64
64
  };
65
65
  }
66
- export const financeHonoModule = createFinanceHonoModule();
66
+ export const financeApiModule = createFinanceApiModule();
67
67
  export const createFinanceVoyantRuntime = defineGraphRuntimeFactory(async ({ api, getPort, getPorts, hasPort }) => {
68
- const configured = createFinanceHonoModule(createFinanceRuntime(await getPort(financeHostRuntimePort), await getPort(financeNotificationsRuntimePort), hasPort(financeCheckoutPaymentStartersRuntimePort)
68
+ const configured = createFinanceApiModule(createFinanceRuntime(await getPort(financeHostRuntimePort), await getPort(financeNotificationsRuntimePort), hasPort(financeCheckoutPaymentStartersRuntimePort)
69
69
  ? await getPort(financeCheckoutPaymentStartersRuntimePort)
70
70
  : undefined, await getPorts(financeInvoiceSettlementPollerRuntimePort)));
71
71
  const bootstrap = configured.module.bootstrap;
@@ -87,13 +87,13 @@ export const createFinanceVoyantRuntime = defineGraphRuntimeFactory(async ({ api
87
87
  return selected;
88
88
  });
89
89
  export { buildPaidBookingCancellationSettlementNote, closeTerminalBookingPaymentSchedules, financeBookingLifecycle, recordPaidBookingCancellationSettlement, } from "./booking-lifecycle.js";
90
- export { computeBookingItemTaxLine, createBookingTaxHonoExtension, createBookingTaxRoutes, createBookingTaxVoyantRuntime, loadProductTaxFacts, matchesTaxPolicyCondition, mountBookingTaxRoutes, resolveBookingSellTaxRate, } from "./booking-tax.js";
90
+ export { computeBookingItemTaxLine, createBookingTaxApiExtension, createBookingTaxRoutes, createBookingTaxVoyantRuntime, loadProductTaxFacts, matchesTaxPolicyCondition, mountBookingTaxRoutes, resolveBookingSellTaxRate, } from "./booking-tax.js";
91
91
  export { resolveStoredDocumentDownload, } from "./document-download.js";
92
- export { createInvoiceFxHonoExtension, createInvoiceFxRoutes, createVoyantDataFxExchangeRateResolver, mountInvoiceFxRoutes, resolveInvoiceFxContext, resolveInvoiceFxSettingsOrDefault, } from "./invoice-fx.js";
92
+ export { createInvoiceFxApiExtension, createInvoiceFxRoutes, createVoyantDataFxExchangeRateResolver, mountInvoiceFxRoutes, resolveInvoiceFxContext, resolveInvoiceFxSettingsOrDefault, } from "./invoice-fx.js";
93
93
  export { createOrderPaymentSessions, } from "./order-payment-sessions.js";
94
94
  export { computePaymentSchedule, isPaymentPolicyEmpty, noDepositPolicy, normalizePaymentPolicy, policyShouldRequireFullPayment, resolveEffectivePaymentPolicy, } from "./payment-policy.js";
95
95
  export { createPaymentPolicyCascade, readPolicySourceFromInternalNotes, stampPolicySourceOnBooking, } from "./payment-policy-cascade.js";
96
- export { createBookingScheduleAdminRoutes, createBookingScheduleHonoExtension, createBookingScheduleVoyantRuntime, createPaymentPolicyPublicRoutes, generatePaymentScheduleForBooking, } from "./payment-schedule/routes.js";
96
+ export { createBookingScheduleAdminRoutes, createBookingScheduleApiExtension, createBookingScheduleVoyantRuntime, createPaymentPolicyPublicRoutes, generatePaymentScheduleForBooking, } from "./payment-schedule/routes.js";
97
97
  export { buildFinanceRouteRuntime, FINANCE_ROUTE_RUNTIME_CONTAINER_KEY, } from "./route-runtime.js";
98
98
  export { bookingsCreateExtension } from "./routes-booking-create.js";
99
99
  export { createFinanceAdminDocumentRoutes, } from "./routes-documents.js";
@@ -1,5 +1,5 @@
1
1
  import type { ModuleContainer } from "@voyant-travel/core";
2
- import type { HonoExtension } from "@voyant-travel/hono/module";
2
+ import type { ApiExtension } from "@voyant-travel/hono/module";
3
3
  import type { PostgresJsDatabase } from "drizzle-orm/postgres-js";
4
4
  import type { Hono } from "hono";
5
5
  import type { Env } from "./routes-shared.js";
@@ -129,5 +129,5 @@ export declare function createInvoiceFxRoutes(options?: InvoiceFxRouteOptions):
129
129
  };
130
130
  }, "/", "/invoice-fx-rate">;
131
131
  export declare function mountInvoiceFxRoutes(hono: Hono, options?: InvoiceFxRouteOptions): Hono;
132
- export declare function createInvoiceFxHonoExtension(options?: InvoiceFxRouteOptions): HonoExtension;
132
+ export declare function createInvoiceFxApiExtension(options?: InvoiceFxRouteOptions): ApiExtension;
133
133
  export {};
@@ -174,7 +174,7 @@ export function mountInvoiceFxRoutes(hono, options = {}) {
174
174
  hono.route("/v1/admin/finance", createInvoiceFxRoutes(options));
175
175
  return hono;
176
176
  }
177
- export function createInvoiceFxHonoExtension(options = {}) {
177
+ export function createInvoiceFxApiExtension(options = {}) {
178
178
  const extension = {
179
179
  name: "finance.invoice-fx",
180
180
  module: "finance",
@@ -23,7 +23,7 @@
23
23
  * `booking-schedule.ts`.
24
24
  */
25
25
  import { OpenAPIHono } from "@hono/zod-openapi";
26
- import type { HonoExtension } from "@voyant-travel/hono/module";
26
+ import type { ApiExtension } from "@voyant-travel/hono/module";
27
27
  import type { PostgresJsDatabase } from "drizzle-orm/postgres-js";
28
28
  import type { Context } from "hono";
29
29
  import { type PaymentPolicy, type PaymentPolicySource } from "../payment-policy.js";
@@ -155,5 +155,5 @@ export declare function createPaymentPolicyPublicRoutes(options: BookingSchedule
155
155
  };
156
156
  }, "/">;
157
157
  /** Package-owned extension descriptor; deployments inject the policy cascade readers. */
158
- export declare function createBookingScheduleHonoExtension(options: BookingScheduleRoutesOptions): HonoExtension;
159
- export declare const createBookingScheduleVoyantRuntime: import("@voyant-travel/core/project").VoyantGraphRuntimeFactory<HonoExtension>;
158
+ export declare function createBookingScheduleApiExtension(options: BookingScheduleRoutesOptions): ApiExtension;
159
+ export declare const createBookingScheduleVoyantRuntime: import("@voyant-travel/core/project").VoyantGraphRuntimeFactory<ApiExtension>;
@@ -363,7 +363,7 @@ export function createPaymentPolicyPublicRoutes(options) {
363
363
  return new OpenAPIHono({ defaultHook: openApiValidationHook }).openapi(resolvePolicyRoute, (c) => asRouteResponse(handleResolvePolicy(c, options, c.req.valid("json"))));
364
364
  }
365
365
  /** Package-owned extension descriptor; deployments inject the policy cascade readers. */
366
- export function createBookingScheduleHonoExtension(options) {
366
+ export function createBookingScheduleApiExtension(options) {
367
367
  return {
368
368
  extension: { name: "booking-schedule", module: "bookings" },
369
369
  lazyAdminRoutes: async () => createBookingScheduleAdminRoutes(options),
@@ -374,7 +374,7 @@ export function createBookingScheduleHonoExtension(options) {
374
374
  }
375
375
  export const createBookingScheduleVoyantRuntime = defineGraphRuntimeFactory(async ({ api, getPort }) => {
376
376
  const provider = createFinanceBookingScheduleRuntime(await getPort(financeHostRuntimePort), await getPort(financeOperatorSettingsRuntimePort), await getPort(financeDistributionPaymentPolicyRuntimePort), await getPort(financeAccommodationsPaymentPolicyRuntimePort), await getPort(financeCruisesPaymentPolicyRuntimePort), await getPort(financeInventoryPaymentPolicyRuntimePort));
377
- const configured = createBookingScheduleHonoExtension(provider.options);
377
+ const configured = createBookingScheduleApiExtension(provider.options);
378
378
  const selected = {
379
379
  extension: {
380
380
  ...configured.extension,
@@ -1,2 +1,2 @@
1
- import type { HonoExtension } from "@voyant-travel/hono/module";
2
- export declare const bookingsCreateExtension: HonoExtension;
1
+ import type { ApiExtension } from "@voyant-travel/hono/module";
2
+ export declare const bookingsCreateExtension: ApiExtension;
package/dist/runtime.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import type { FinanceHonoModuleOptions } from "./index.js";
1
+ import type { FinanceApiModuleOptions } from "./index.js";
2
2
  import type { FinanceAccommodationsPaymentPolicyRuntime, FinanceBookingScheduleRuntime, FinanceCheckoutPaymentStartersRuntime, FinanceCruisesPaymentPolicyRuntime, FinanceDistributionPaymentPolicyRuntime, FinanceHostRuntime, FinanceInventoryPaymentPolicyRuntime, FinanceInvoiceSettlementPollerProvider, FinanceNotificationsRuntime, FinanceOperatorSettingsRuntime } from "./runtime-port.js";
3
3
  import type { InvoiceSettlementPoller } from "./service-settlement.js";
4
4
  /** Compose Finance's main HTTP runtime from generic host and selected providers. */
5
- export declare function createFinanceRuntime(host: FinanceHostRuntime, notifications: FinanceNotificationsRuntime, checkoutPaymentStarters?: FinanceCheckoutPaymentStartersRuntime, invoiceSettlementPollerProviders?: readonly FinanceInvoiceSettlementPollerProvider[]): FinanceHonoModuleOptions;
5
+ export declare function createFinanceRuntime(host: FinanceHostRuntime, notifications: FinanceNotificationsRuntime, checkoutPaymentStarters?: FinanceCheckoutPaymentStartersRuntime, invoiceSettlementPollerProviders?: readonly FinanceInvoiceSettlementPollerProvider[]): FinanceApiModuleOptions;
6
6
  /** Compose Finance's payment schedule from statically selected domain providers. */
7
7
  export declare function createFinanceBookingScheduleRuntime(host: FinanceHostRuntime, settings: FinanceOperatorSettingsRuntime, distribution: FinanceDistributionPaymentPolicyRuntime, accommodations: FinanceAccommodationsPaymentPolicyRuntime, cruises: FinanceCruisesPaymentPolicyRuntime, inventory: FinanceInventoryPaymentPolicyRuntime): FinanceBookingScheduleRuntime;
8
- export declare function createFinanceBookingTaxRuntime(settings: FinanceOperatorSettingsRuntime): FinanceHonoModuleOptions;
8
+ export declare function createFinanceBookingTaxRuntime(settings: FinanceOperatorSettingsRuntime): FinanceApiModuleOptions;
9
9
  export declare function aggregateFinanceInvoiceSettlementPollers(providers: readonly FinanceInvoiceSettlementPollerProvider[]): Readonly<Record<string, InvoiceSettlementPoller>>;
@@ -347,7 +347,7 @@ export const bookingCreateSubSchema = bookingCreateBaseSchema
347
347
  * from `@voyant-travel/bookings` (invoices-from-bookings, travel credit service, payment
348
348
  * schedules all sit here), so this is the one place that can compose the
349
349
  * three packages without creating a new workspace dep cycle. The route wires
350
- * it under `/v1/admin/bookings/create` via a HonoExtension whose
350
+ * it under `/v1/admin/bookings/create` via a ApiExtension whose
351
351
  * `module` targets `"bookings"`.
352
352
  */
353
353
  /**
package/dist/voyant.js CHANGED
@@ -36,7 +36,7 @@ export const financeVoyantModule = defineModule({
36
36
  transactional: true,
37
37
  runtime: {
38
38
  entry: "@voyant-travel/finance",
39
- export: "createFinanceHonoModule",
39
+ export: "createFinanceApiModule",
40
40
  },
41
41
  },
42
42
  {
@@ -54,7 +54,7 @@ export const financeVoyantModule = defineModule({
54
54
  transactional: true,
55
55
  runtime: {
56
56
  entry: "@voyant-travel/finance",
57
- export: "createFinanceHonoModule",
57
+ export: "createFinanceApiModule",
58
58
  },
59
59
  },
60
60
  ],
@@ -377,7 +377,7 @@ export const financeBookingTaxVoyantPlugin = defineExtension({
377
377
  transactional: true,
378
378
  runtime: {
379
379
  entry: "@voyant-travel/finance",
380
- export: "createBookingTaxHonoExtension",
380
+ export: "createBookingTaxApiExtension",
381
381
  },
382
382
  },
383
383
  ],
@@ -460,7 +460,7 @@ export const financeBookingScheduleVoyantPlugin = defineExtension({
460
460
  transactional: true,
461
461
  runtime: {
462
462
  entry: "@voyant-travel/finance",
463
- export: "createBookingScheduleHonoExtension",
463
+ export: "createBookingScheduleApiExtension",
464
464
  },
465
465
  },
466
466
  {
@@ -471,7 +471,7 @@ export const financeBookingScheduleVoyantPlugin = defineExtension({
471
471
  anonymous: true,
472
472
  runtime: {
473
473
  entry: "@voyant-travel/finance",
474
- export: "createBookingScheduleHonoExtension",
474
+ export: "createBookingScheduleApiExtension",
475
475
  },
476
476
  },
477
477
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyant-travel/finance",
3
- "version": "0.161.0",
3
+ "version": "0.162.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -145,17 +145,17 @@
145
145
  "fflate": "^0.8.2",
146
146
  "hono": "^4.12.27",
147
147
  "zod": "^4.4.3",
148
- "@voyant-travel/action-ledger": "^0.109.1",
149
- "@voyant-travel/bookings": "^0.161.0",
148
+ "@voyant-travel/action-ledger": "^0.110.0",
149
+ "@voyant-travel/bookings": "^0.162.0",
150
150
  "@voyant-travel/core": "^0.124.0",
151
- "@voyant-travel/db": "^0.114.7",
151
+ "@voyant-travel/db": "^0.114.8",
152
152
  "@voyant-travel/types": "^0.109.2",
153
153
  "@voyant-travel/finance-contracts": "^0.106.1",
154
- "@voyant-travel/hono": "^0.127.2",
155
- "@voyant-travel/public-document-delivery": "^0.3.7",
156
- "@voyant-travel/storage": "^0.110.2",
154
+ "@voyant-travel/hono": "^0.128.0",
157
155
  "@voyant-travel/utils": "^0.107.1",
158
- "@voyant-travel/tools": "^0.3.0"
156
+ "@voyant-travel/public-document-delivery": "^0.4.0",
157
+ "@voyant-travel/tools": "^0.3.0",
158
+ "@voyant-travel/storage": "^0.111.0"
159
159
  },
160
160
  "devDependencies": {
161
161
  "drizzle-kit": "^0.31.10",