@voyant-travel/finance 0.155.2 → 0.156.1
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/action-ledger-drift.d.ts +0 -1
- package/dist/booking-lifecycle.d.ts +0 -1
- package/dist/booking-schedule/subscriber-runtime.d.ts +0 -1
- package/dist/booking-tax.d.ts +0 -1
- package/dist/card-payment.d.ts +0 -1
- package/dist/checkout-routes.d.ts +4 -5
- package/dist/checkout-service-plan.d.ts +1 -2
- package/dist/checkout-service.d.ts +0 -1
- package/dist/checkout-validation.d.ts +13 -14
- package/dist/document-download.d.ts +0 -1
- package/dist/fx-money.d.ts +0 -1
- package/dist/index.d.ts +5 -7
- package/dist/index.js +3 -4
- package/dist/invoice-fx.d.ts +0 -1
- package/dist/invoice-number-errors.d.ts +0 -1
- package/dist/linkables.d.ts +0 -1
- package/dist/markets-ref.d.ts +0 -1
- package/dist/mcp-runtime.d.ts +0 -1
- package/dist/order-payment-sessions.d.ts +0 -1
- package/dist/payment-link.d.ts +0 -1
- package/dist/payment-policy-cascade.d.ts +0 -1
- package/dist/payment-policy.d.ts +0 -1
- package/dist/payment-schedule/routes.d.ts +0 -1
- package/dist/route-runtime.d.ts +0 -1
- package/dist/routes-action-ledger.d.ts +0 -1
- package/dist/routes-booking-billing.d.ts +22 -23
- package/dist/routes-booking-create.d.ts +0 -1
- package/dist/routes-booking-create.js +26 -26
- package/dist/routes-booking-reads.d.ts +2 -3
- package/dist/routes-documents.d.ts +0 -1
- package/dist/routes-invoice-core.d.ts +11 -12
- package/dist/routes-invoice-documents.d.ts +0 -1
- package/dist/routes-invoice-issue.d.ts +0 -1
- package/dist/routes-invoice-schemas.d.ts +2 -3
- package/dist/routes-invoice-schemas.js +1 -1
- package/dist/routes-payment-processing.d.ts +24 -25
- package/dist/routes-payment-schemas.d.ts +58 -13
- package/dist/routes-payment-schemas.js +21 -16
- package/dist/routes-payments.d.ts +18 -19
- package/dist/routes-public-accountant.d.ts +161 -0
- package/dist/routes-public-accountant.js +196 -0
- package/dist/routes-public.d.ts +42 -49
- package/dist/routes-public.js +13 -218
- package/dist/routes-reference-data.d.ts +0 -1
- package/dist/routes-reports.d.ts +0 -1
- package/dist/routes-runtime.d.ts +0 -1
- package/dist/routes-settlement.d.ts +0 -1
- package/dist/routes-shared.d.ts +0 -1
- package/dist/routes-supplier-invoices.d.ts +6 -7
- package/dist/routes-supplier-invoices.js +1 -1
- package/dist/{routes-vouchers.d.ts → routes-travel-credits.d.ts} +36 -21
- package/dist/routes-travel-credits.js +182 -0
- package/dist/routes.d.ts +108 -93
- package/dist/routes.js +2 -2
- package/dist/runtime-contributor.d.ts +0 -1
- package/dist/runtime-port.d.ts +0 -1
- package/dist/runtime.d.ts +0 -1
- package/dist/schema/booking-billing.d.ts +1 -2
- package/dist/schema/enums.d.ts +4 -5
- package/dist/schema/enums.js +11 -5
- package/dist/schema/invoice-documents.d.ts +0 -1
- package/dist/schema/payment-instruments.d.ts +2 -3
- package/dist/schema/payment-processing.d.ts +0 -1
- package/dist/schema/payment-sessions.d.ts +2 -3
- package/dist/schema/receivables.d.ts +2 -3
- package/dist/schema/relations.d.ts +4 -5
- package/dist/schema/relations.js +7 -7
- package/dist/schema/supplier-invoices.d.ts +2 -3
- package/dist/schema/tax.d.ts +0 -1
- package/dist/schema/{vouchers.d.ts → travel-credits.d.ts} +53 -37
- package/dist/schema/travel-credits.js +68 -0
- package/dist/schema.d.ts +1 -2
- package/dist/schema.js +1 -1
- package/dist/service-accountant-shares.d.ts +0 -1
- package/dist/service-action-ledger-accounting.d.ts +0 -1
- package/dist/service-action-ledger-booking-payments.d.ts +0 -1
- package/dist/service-action-ledger-bookings.d.ts +1 -2
- package/dist/service-action-ledger-bookings.js +1 -1
- package/dist/service-action-ledger-payment-authorizations.d.ts +0 -1
- package/dist/service-action-ledger-payment-sessions.d.ts +0 -1
- package/dist/service-action-ledger-supplier-invoices.d.ts +0 -1
- package/dist/service-action-ledger-supplier-payments.d.ts +0 -1
- package/dist/service-action-ledger.d.ts +0 -1
- package/dist/service-aggregates.d.ts +0 -1
- package/dist/service-booking-billing.d.ts +8 -9
- package/dist/service-booking-create.d.ts +14 -15
- package/dist/service-booking-create.js +47 -45
- package/dist/service-booking-guarantees.d.ts +6 -7
- package/dist/service-booking-item-billing.d.ts +0 -1
- package/dist/service-booking-payment-schedules.d.ts +2 -3
- package/dist/service-bookings-dual-create.d.ts +4 -5
- package/dist/service-boundary-sql.d.ts +0 -1
- package/dist/service-cost-categories.d.ts +0 -1
- package/dist/service-documents.d.ts +0 -1
- package/dist/service-invoice-artifacts.d.ts +0 -1
- package/dist/service-invoice-core.d.ts +0 -1
- package/dist/service-invoice-credit-notes.d.ts +0 -1
- package/dist/service-invoice-from-booking.d.ts +0 -1
- package/dist/service-invoice-line-items.d.ts +0 -1
- package/dist/service-invoice-numbering.d.ts +0 -1
- package/dist/service-invoice-payments.d.ts +8 -9
- package/dist/service-invoices.d.ts +8 -9
- package/dist/service-issue.d.ts +0 -1
- package/dist/service-payment-authorizations.d.ts +0 -1
- package/dist/service-payment-instruments.d.ts +4 -5
- package/dist/service-payment-processing.d.ts +13 -14
- package/dist/service-payment-session-completion.d.ts +1 -2
- package/dist/service-payment-sessions.d.ts +8 -9
- package/dist/service-profitability.d.ts +0 -1
- package/dist/service-public.d.ts +16 -31
- package/dist/service-public.js +61 -117
- package/dist/service-reference-data.d.ts +0 -1
- package/dist/service-rendition-wait.d.ts +0 -1
- package/dist/service-reports.d.ts +0 -1
- package/dist/service-settlement.d.ts +0 -1
- package/dist/service-shared.d.ts +1 -2
- package/dist/service-supplier-invoices.d.ts +0 -1
- package/dist/service-supplier-payments.d.ts +3 -4
- package/dist/{service-vouchers-migration.d.ts → service-travel-credits-migration.d.ts} +16 -16
- package/dist/{service-vouchers-migration.js → service-travel-credits-migration.js} +51 -26
- package/dist/{service-vouchers.d.ts → service-travel-credits.d.ts} +35 -32
- package/dist/service-travel-credits.js +236 -0
- package/dist/service.d.ts +46 -44
- package/dist/service.js +2 -2
- package/dist/stale-booking-holds-runtime.d.ts +0 -1
- package/dist/tools.d.ts +0 -1
- package/dist/validation-billing.d.ts +0 -1
- package/dist/validation-payments.d.ts +0 -1
- package/dist/validation-public.d.ts +0 -1
- package/dist/validation-shared.d.ts +0 -1
- package/dist/{validation-vouchers.d.ts → validation-travel-credits.js} +0 -1
- package/dist/validation.d.ts +0 -1
- package/dist/voyant.d.ts +0 -1
- package/dist/voyant.js +10 -4
- package/migrations/0001_travel_credits.sql +75 -0
- package/migrations/meta/_journal.json +7 -0
- package/openapi/admin/finance.json +154 -78
- package/openapi/storefront/finance.json +18 -29
- package/package.json +23 -17
- package/dist/action-ledger-drift.d.ts.map +0 -1
- package/dist/booking-lifecycle.d.ts.map +0 -1
- package/dist/booking-schedule/subscriber-runtime.d.ts.map +0 -1
- package/dist/booking-tax.d.ts.map +0 -1
- package/dist/card-payment.d.ts.map +0 -1
- package/dist/checkout-routes.d.ts.map +0 -1
- package/dist/checkout-service-plan.d.ts.map +0 -1
- package/dist/checkout-service.d.ts.map +0 -1
- package/dist/checkout-validation.d.ts.map +0 -1
- package/dist/document-download.d.ts.map +0 -1
- package/dist/fx-money.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/invoice-fx.d.ts.map +0 -1
- package/dist/invoice-number-errors.d.ts.map +0 -1
- package/dist/linkables.d.ts.map +0 -1
- package/dist/markets-ref.d.ts.map +0 -1
- package/dist/mcp-runtime.d.ts.map +0 -1
- package/dist/order-payment-sessions.d.ts.map +0 -1
- package/dist/payment-link.d.ts.map +0 -1
- package/dist/payment-policy-cascade.d.ts.map +0 -1
- package/dist/payment-policy.d.ts.map +0 -1
- package/dist/payment-schedule/routes.d.ts.map +0 -1
- package/dist/route-runtime.d.ts.map +0 -1
- package/dist/routes-action-ledger.d.ts.map +0 -1
- package/dist/routes-booking-billing.d.ts.map +0 -1
- package/dist/routes-booking-create.d.ts.map +0 -1
- package/dist/routes-booking-reads.d.ts.map +0 -1
- package/dist/routes-documents.d.ts.map +0 -1
- package/dist/routes-invoice-core.d.ts.map +0 -1
- package/dist/routes-invoice-documents.d.ts.map +0 -1
- package/dist/routes-invoice-issue.d.ts.map +0 -1
- package/dist/routes-invoice-schemas.d.ts.map +0 -1
- package/dist/routes-payment-processing.d.ts.map +0 -1
- package/dist/routes-payment-schemas.d.ts.map +0 -1
- package/dist/routes-payments.d.ts.map +0 -1
- package/dist/routes-public.d.ts.map +0 -1
- package/dist/routes-reference-data.d.ts.map +0 -1
- package/dist/routes-reports.d.ts.map +0 -1
- package/dist/routes-runtime.d.ts.map +0 -1
- package/dist/routes-settlement.d.ts.map +0 -1
- package/dist/routes-shared.d.ts.map +0 -1
- package/dist/routes-supplier-invoices.d.ts.map +0 -1
- package/dist/routes-vouchers.d.ts.map +0 -1
- package/dist/routes-vouchers.js +0 -176
- package/dist/routes.d.ts.map +0 -1
- package/dist/runtime-contributor.d.ts.map +0 -1
- package/dist/runtime-port.d.ts.map +0 -1
- package/dist/runtime.d.ts.map +0 -1
- package/dist/schema/booking-billing.d.ts.map +0 -1
- package/dist/schema/enums.d.ts.map +0 -1
- package/dist/schema/invoice-documents.d.ts.map +0 -1
- package/dist/schema/payment-instruments.d.ts.map +0 -1
- package/dist/schema/payment-processing.d.ts.map +0 -1
- package/dist/schema/payment-sessions.d.ts.map +0 -1
- package/dist/schema/receivables.d.ts.map +0 -1
- package/dist/schema/relations.d.ts.map +0 -1
- package/dist/schema/supplier-invoices.d.ts.map +0 -1
- package/dist/schema/tax.d.ts.map +0 -1
- package/dist/schema/vouchers.d.ts.map +0 -1
- package/dist/schema/vouchers.js +0 -64
- package/dist/schema.d.ts.map +0 -1
- package/dist/service-accountant-shares.d.ts.map +0 -1
- package/dist/service-action-ledger-accounting.d.ts.map +0 -1
- package/dist/service-action-ledger-booking-payments.d.ts.map +0 -1
- package/dist/service-action-ledger-bookings.d.ts.map +0 -1
- package/dist/service-action-ledger-payment-authorizations.d.ts.map +0 -1
- package/dist/service-action-ledger-payment-sessions.d.ts.map +0 -1
- package/dist/service-action-ledger-supplier-invoices.d.ts.map +0 -1
- package/dist/service-action-ledger-supplier-payments.d.ts.map +0 -1
- package/dist/service-action-ledger.d.ts.map +0 -1
- package/dist/service-aggregates.d.ts.map +0 -1
- package/dist/service-booking-billing.d.ts.map +0 -1
- package/dist/service-booking-create.d.ts.map +0 -1
- package/dist/service-booking-guarantees.d.ts.map +0 -1
- package/dist/service-booking-item-billing.d.ts.map +0 -1
- package/dist/service-booking-payment-schedules.d.ts.map +0 -1
- package/dist/service-bookings-dual-create.d.ts.map +0 -1
- package/dist/service-boundary-sql.d.ts.map +0 -1
- package/dist/service-cost-categories.d.ts.map +0 -1
- package/dist/service-documents.d.ts.map +0 -1
- package/dist/service-invoice-artifacts.d.ts.map +0 -1
- package/dist/service-invoice-core.d.ts.map +0 -1
- package/dist/service-invoice-credit-notes.d.ts.map +0 -1
- package/dist/service-invoice-from-booking.d.ts.map +0 -1
- package/dist/service-invoice-line-items.d.ts.map +0 -1
- package/dist/service-invoice-numbering.d.ts.map +0 -1
- package/dist/service-invoice-payments.d.ts.map +0 -1
- package/dist/service-invoices.d.ts.map +0 -1
- package/dist/service-issue.d.ts.map +0 -1
- package/dist/service-payment-authorizations.d.ts.map +0 -1
- package/dist/service-payment-instruments.d.ts.map +0 -1
- package/dist/service-payment-processing.d.ts.map +0 -1
- package/dist/service-payment-session-completion.d.ts.map +0 -1
- package/dist/service-payment-sessions.d.ts.map +0 -1
- package/dist/service-profitability.d.ts.map +0 -1
- package/dist/service-public.d.ts.map +0 -1
- package/dist/service-reference-data.d.ts.map +0 -1
- package/dist/service-rendition-wait.d.ts.map +0 -1
- package/dist/service-reports.d.ts.map +0 -1
- package/dist/service-settlement.d.ts.map +0 -1
- package/dist/service-shared.d.ts.map +0 -1
- package/dist/service-supplier-invoices.d.ts.map +0 -1
- package/dist/service-supplier-payments.d.ts.map +0 -1
- package/dist/service-vouchers-migration.d.ts.map +0 -1
- package/dist/service-vouchers.d.ts.map +0 -1
- package/dist/service-vouchers.js +0 -191
- package/dist/service.d.ts.map +0 -1
- package/dist/stale-booking-holds-runtime.d.ts.map +0 -1
- package/dist/tools.d.ts.map +0 -1
- package/dist/validation-billing.d.ts.map +0 -1
- package/dist/validation-payments.d.ts.map +0 -1
- package/dist/validation-public.d.ts.map +0 -1
- package/dist/validation-shared.d.ts.map +0 -1
- package/dist/validation-vouchers.d.ts.map +0 -1
- package/dist/validation.d.ts.map +0 -1
- package/dist/voyant.d.ts.map +0 -1
- /package/dist/{validation-vouchers.js → validation-travel-credits.d.ts} +0 -0
|
@@ -10,4 +10,3 @@ export declare const financeBookingLifecycle: BookingFinancialLifecycle;
|
|
|
10
10
|
export declare function closeTerminalBookingPaymentSchedules(db: Parameters<BookingFinancialLifecycle["closePaymentSchedulesForBooking"]>[0], bookingId: string, status: "cancelled" | "expired"): Promise<void>;
|
|
11
11
|
export declare function recordPaidBookingCancellationSettlement(db: Parameters<BookingFinancialLifecycle["recordCancellationFinancialSettlement"]>[0], input: BookingCancellationSettlementInput): Promise<Record<string, unknown> | null>;
|
|
12
12
|
export declare function buildPaidBookingCancellationSettlementNote(input: BookingCancellationSettlementInput): string;
|
|
13
|
-
//# sourceMappingURL=booking-lifecycle.d.ts.map
|
|
@@ -17,4 +17,3 @@ export interface BookingScheduleSubscriberDependencies {
|
|
|
17
17
|
/** Build the package-owned descriptor resolved by selected-graph lowering. */
|
|
18
18
|
export declare function createBookingScheduleSubscriberRuntime(dependencies?: BookingScheduleSubscriberDependencies): SubscriberRuntimeDescriptor;
|
|
19
19
|
export declare const bookingScheduleConfirmedSubscriber: SubscriberRuntimeDescriptor;
|
|
20
|
-
//# sourceMappingURL=subscriber-runtime.d.ts.map
|
package/dist/booking-tax.d.ts
CHANGED
|
@@ -131,4 +131,3 @@ export declare function createBookingTaxRoutes(options?: BookingTaxRouteOptions)
|
|
|
131
131
|
export declare function mountBookingTaxRoutes(hono: Hono, options?: BookingTaxRouteOptions): void;
|
|
132
132
|
export declare function createBookingTaxHonoExtension(options?: BookingTaxRouteOptions): HonoExtension;
|
|
133
133
|
export declare const createBookingTaxVoyantRuntime: import("@voyant-travel/core/project").VoyantGraphRuntimeFactory<HonoExtension>;
|
|
134
|
-
//# sourceMappingURL=booking-tax.d.ts.map
|
package/dist/card-payment.d.ts
CHANGED
|
@@ -54,4 +54,3 @@ export interface CardPaymentStartResult {
|
|
|
54
54
|
* configured" — callers fall back (bank transfer still works).
|
|
55
55
|
*/
|
|
56
56
|
export type CardPaymentStarter = (c: Context, args: CardPaymentStartArgs) => Promise<CardPaymentStartResult | null>;
|
|
57
|
-
//# sourceMappingURL=card-payment.d.ts.map
|
|
@@ -269,7 +269,7 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
269
269
|
invoiceId: string | null;
|
|
270
270
|
amountCents: number;
|
|
271
271
|
bookingPaymentScheduleId: string | null;
|
|
272
|
-
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "
|
|
272
|
+
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
|
|
273
273
|
paymentInstrumentId: string | null;
|
|
274
274
|
orderId: string | null;
|
|
275
275
|
bookingGuaranteeId: string | null;
|
|
@@ -508,7 +508,7 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
508
508
|
invoiceId: string | null;
|
|
509
509
|
amountCents: number;
|
|
510
510
|
bookingPaymentScheduleId: string | null;
|
|
511
|
-
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "
|
|
511
|
+
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
|
|
512
512
|
paymentInstrumentId: string | null;
|
|
513
513
|
orderId: string | null;
|
|
514
514
|
bookingGuaranteeId: string | null;
|
|
@@ -841,7 +841,7 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
841
841
|
invoiceId: string | null;
|
|
842
842
|
amountCents: number;
|
|
843
843
|
bookingPaymentScheduleId: string | null;
|
|
844
|
-
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "
|
|
844
|
+
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
|
|
845
845
|
paymentInstrumentId: string | null;
|
|
846
846
|
orderId: string | null;
|
|
847
847
|
bookingGuaranteeId: string | null;
|
|
@@ -1080,7 +1080,7 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
1080
1080
|
invoiceId: string | null;
|
|
1081
1081
|
amountCents: number;
|
|
1082
1082
|
bookingPaymentScheduleId: string | null;
|
|
1083
|
-
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "
|
|
1083
|
+
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
|
|
1084
1084
|
paymentInstrumentId: string | null;
|
|
1085
1085
|
orderId: string | null;
|
|
1086
1086
|
bookingGuaranteeId: string | null;
|
|
@@ -1188,4 +1188,3 @@ export declare const createFinanceCheckoutAdminRoutes: typeof createCheckoutAdmi
|
|
|
1188
1188
|
export declare const buildFinanceCheckoutRouteRuntime: typeof buildCheckoutRouteRuntime;
|
|
1189
1189
|
export declare const FINANCE_CHECKOUT_ROUTE_RUNTIME_CONTAINER_KEY = "providers.finance.checkout.runtime";
|
|
1190
1190
|
export {};
|
|
1191
|
-
//# sourceMappingURL=checkout-routes.d.ts.map
|
|
@@ -116,7 +116,7 @@ export declare function defaultPaymentPlan(options: CheckoutPolicyOptions): {
|
|
|
116
116
|
readonly balanceDueDaysBeforeStart: number;
|
|
117
117
|
readonly clearExistingPending: boolean;
|
|
118
118
|
readonly createGuarantee: boolean;
|
|
119
|
-
readonly guaranteeType: "bank_transfer" | "credit_card" | "
|
|
119
|
+
readonly guaranteeType: "bank_transfer" | "credit_card" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter";
|
|
120
120
|
readonly notes: string | null;
|
|
121
121
|
};
|
|
122
122
|
export declare function resolvePaymentSessionTarget(method: "card" | "bank_transfer", stage: "initial" | "reminder" | "manual", override: "schedule" | "invoice" | undefined, options: CheckoutPolicyOptions): "invoice" | "schedule";
|
|
@@ -135,4 +135,3 @@ export declare function resolveCheckoutSubject(input: BootstrapCheckoutCollectio
|
|
|
135
135
|
sourceType: "session";
|
|
136
136
|
};
|
|
137
137
|
export declare function buildBankTransferInstructions(invoice: typeof invoices.$inferSelect, details: CheckoutBankTransferDetails | null | undefined, callNotes?: string | null): CheckoutBankTransferInstructionsRecord | null;
|
|
138
|
-
//# sourceMappingURL=checkout-service-plan.d.ts.map
|
|
@@ -6,4 +6,3 @@ export type { BootstrapCheckoutCollectionInput, BootstrappedCheckoutCollectionRe
|
|
|
6
6
|
export declare function previewCheckoutCollection(db: PostgresJsDatabase, bookingId: string, input: PreviewCheckoutCollectionInput, options?: CheckoutPolicyOptions): Promise<CheckoutCollectionPlan | null>;
|
|
7
7
|
export declare function initiateCheckoutCollection(db: PostgresJsDatabase, bookingId: string, input: InitiateCheckoutCollectionInput, options?: CheckoutPolicyOptions, runtime?: CheckoutRuntimeOptions): Promise<InitiatedCheckoutCollection | null>;
|
|
8
8
|
export declare function bootstrapCheckoutCollection(db: PostgresJsDatabase, input: BootstrapCheckoutCollectionInput, options?: CheckoutPolicyOptions, runtime?: CheckoutRuntimeOptions): Promise<BootstrappedCheckoutCollection | null>;
|
|
9
|
-
//# sourceMappingURL=checkout-service.d.ts.map
|
|
@@ -150,11 +150,11 @@ export declare const previewCheckoutCollectionSchema: z.ZodObject<{
|
|
|
150
150
|
guaranteeType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
151
151
|
bank_transfer: "bank_transfer";
|
|
152
152
|
credit_card: "credit_card";
|
|
153
|
-
voucher: "voucher";
|
|
154
153
|
other: "other";
|
|
155
154
|
deposit: "deposit";
|
|
156
155
|
preauth: "preauth";
|
|
157
156
|
card_on_file: "card_on_file";
|
|
157
|
+
voucher: "voucher";
|
|
158
158
|
agency_letter: "agency_letter";
|
|
159
159
|
}>>>;
|
|
160
160
|
notes: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
@@ -192,11 +192,11 @@ export declare const initiateCheckoutCollectionSchema: z.ZodObject<{
|
|
|
192
192
|
guaranteeType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
193
193
|
bank_transfer: "bank_transfer";
|
|
194
194
|
credit_card: "credit_card";
|
|
195
|
-
voucher: "voucher";
|
|
196
195
|
other: "other";
|
|
197
196
|
deposit: "deposit";
|
|
198
197
|
preauth: "preauth";
|
|
199
198
|
card_on_file: "card_on_file";
|
|
199
|
+
voucher: "voucher";
|
|
200
200
|
agency_letter: "agency_letter";
|
|
201
201
|
}>>>;
|
|
202
202
|
notes: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
@@ -257,7 +257,7 @@ export declare const initiateCheckoutCollectionSchema: z.ZodObject<{
|
|
|
257
257
|
cheque: "cheque";
|
|
258
258
|
wallet: "wallet";
|
|
259
259
|
direct_bill: "direct_bill";
|
|
260
|
-
|
|
260
|
+
travel_credit: "travel_credit";
|
|
261
261
|
other: "other";
|
|
262
262
|
}>>>;
|
|
263
263
|
payerPersonId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -330,7 +330,7 @@ export declare const initiateCheckoutCollectionSchema: z.ZodObject<{
|
|
|
330
330
|
cheque: "cheque";
|
|
331
331
|
wallet: "wallet";
|
|
332
332
|
direct_bill: "direct_bill";
|
|
333
|
-
|
|
333
|
+
travel_credit: "travel_credit";
|
|
334
334
|
other: "other";
|
|
335
335
|
}>>>;
|
|
336
336
|
payerPersonId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -444,11 +444,11 @@ export declare const bootstrapCheckoutCollectionSchema: z.ZodObject<{
|
|
|
444
444
|
guaranteeType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
445
445
|
bank_transfer: "bank_transfer";
|
|
446
446
|
credit_card: "credit_card";
|
|
447
|
-
voucher: "voucher";
|
|
448
447
|
other: "other";
|
|
449
448
|
deposit: "deposit";
|
|
450
449
|
preauth: "preauth";
|
|
451
450
|
card_on_file: "card_on_file";
|
|
451
|
+
voucher: "voucher";
|
|
452
452
|
agency_letter: "agency_letter";
|
|
453
453
|
}>>>;
|
|
454
454
|
notes: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
@@ -509,7 +509,7 @@ export declare const bootstrapCheckoutCollectionSchema: z.ZodObject<{
|
|
|
509
509
|
cheque: "cheque";
|
|
510
510
|
wallet: "wallet";
|
|
511
511
|
direct_bill: "direct_bill";
|
|
512
|
-
|
|
512
|
+
travel_credit: "travel_credit";
|
|
513
513
|
other: "other";
|
|
514
514
|
}>>>;
|
|
515
515
|
payerPersonId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -582,7 +582,7 @@ export declare const bootstrapCheckoutCollectionSchema: z.ZodObject<{
|
|
|
582
582
|
cheque: "cheque";
|
|
583
583
|
wallet: "wallet";
|
|
584
584
|
direct_bill: "direct_bill";
|
|
585
|
-
|
|
585
|
+
travel_credit: "travel_credit";
|
|
586
586
|
other: "other";
|
|
587
587
|
}>>>;
|
|
588
588
|
payerPersonId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -968,7 +968,7 @@ export declare const initiatedCheckoutCollectionSchema: z.ZodObject<{
|
|
|
968
968
|
cheque: "cheque";
|
|
969
969
|
wallet: "wallet";
|
|
970
970
|
direct_bill: "direct_bill";
|
|
971
|
-
|
|
971
|
+
travel_credit: "travel_credit";
|
|
972
972
|
other: "other";
|
|
973
973
|
}>>;
|
|
974
974
|
payerEmail: z.ZodNullable<z.ZodString>;
|
|
@@ -1036,7 +1036,7 @@ export declare const initiatedCheckoutCollectionSchema: z.ZodObject<{
|
|
|
1036
1036
|
clientReference: string | null;
|
|
1037
1037
|
currency: string;
|
|
1038
1038
|
amountCents: number;
|
|
1039
|
-
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "
|
|
1039
|
+
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
|
|
1040
1040
|
payerEmail: string | null;
|
|
1041
1041
|
payerName: string | null;
|
|
1042
1042
|
redirectUrl: string | null;
|
|
@@ -1063,7 +1063,7 @@ export declare const initiatedCheckoutCollectionSchema: z.ZodObject<{
|
|
|
1063
1063
|
clientReference: string | null;
|
|
1064
1064
|
currency: string;
|
|
1065
1065
|
amountCents: number;
|
|
1066
|
-
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "
|
|
1066
|
+
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
|
|
1067
1067
|
payerEmail: string | null;
|
|
1068
1068
|
payerName: string | null;
|
|
1069
1069
|
redirectUrl: string | null;
|
|
@@ -1345,7 +1345,7 @@ export declare const bootstrappedCheckoutCollectionSchema: z.ZodObject<{
|
|
|
1345
1345
|
cheque: "cheque";
|
|
1346
1346
|
wallet: "wallet";
|
|
1347
1347
|
direct_bill: "direct_bill";
|
|
1348
|
-
|
|
1348
|
+
travel_credit: "travel_credit";
|
|
1349
1349
|
other: "other";
|
|
1350
1350
|
}>>;
|
|
1351
1351
|
payerEmail: z.ZodNullable<z.ZodString>;
|
|
@@ -1413,7 +1413,7 @@ export declare const bootstrappedCheckoutCollectionSchema: z.ZodObject<{
|
|
|
1413
1413
|
clientReference: string | null;
|
|
1414
1414
|
currency: string;
|
|
1415
1415
|
amountCents: number;
|
|
1416
|
-
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "
|
|
1416
|
+
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
|
|
1417
1417
|
payerEmail: string | null;
|
|
1418
1418
|
payerName: string | null;
|
|
1419
1419
|
redirectUrl: string | null;
|
|
@@ -1440,7 +1440,7 @@ export declare const bootstrappedCheckoutCollectionSchema: z.ZodObject<{
|
|
|
1440
1440
|
clientReference: string | null;
|
|
1441
1441
|
currency: string;
|
|
1442
1442
|
amountCents: number;
|
|
1443
|
-
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "
|
|
1443
|
+
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
|
|
1444
1444
|
payerEmail: string | null;
|
|
1445
1445
|
payerName: string | null;
|
|
1446
1446
|
redirectUrl: string | null;
|
|
@@ -1679,4 +1679,3 @@ export type CheckoutBankTransferInstructionsRecord = z.infer<typeof checkoutBank
|
|
|
1679
1679
|
export type CheckoutProviderStartResultRecord = z.infer<typeof checkoutProviderStartResultSchema>;
|
|
1680
1680
|
export type CheckoutReminderRunListQuery = z.infer<typeof checkoutReminderRunListQuerySchema>;
|
|
1681
1681
|
export type CheckoutReminderRunRecord = z.infer<typeof checkoutReminderRunSchema>;
|
|
1682
|
-
//# sourceMappingURL=checkout-validation.d.ts.map
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
export type { AuthenticatedDocumentDownloadResolver, AuthenticatedDocumentDownloadResolverOptions, DocumentDownloadEnvelope, DocumentDownloadResolution, DocumentDownloadResolver, DocumentDownloadResolverResult, StoredDocumentReference, } from "@voyant-travel/hono/document-download";
|
|
2
2
|
export { createAuthenticatedDocumentDownloadResolver, encodeStorageKeyPath, resolveStoredDocumentDownload, } from "@voyant-travel/hono/document-download";
|
|
3
|
-
//# sourceMappingURL=document-download.d.ts.map
|
package/dist/fx-money.d.ts
CHANGED
|
@@ -14,4 +14,3 @@ export type ResolveFxMoneyBaseAmountOptions = InvoiceFxOptions & {
|
|
|
14
14
|
setBaseCurrencyWhenUnresolved?: boolean;
|
|
15
15
|
};
|
|
16
16
|
export declare function resolveFxMoneyBaseAmount<T extends FxMoneyInput>(db: PostgresJsDatabase, input: T, options?: ResolveFxMoneyBaseAmountOptions): Promise<T>;
|
|
17
|
-
//# sourceMappingURL=fx-money.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -39,8 +39,8 @@ export { createFinanceAdminDocumentRoutes, type FinanceDocumentRouteOptions, } f
|
|
|
39
39
|
export { createFinanceAdminSettlementRoutes, type FinanceSettlementRouteOptions, type InvoiceSettlementPoller, } from "./routes-settlement.js";
|
|
40
40
|
export { aggregateFinanceInvoiceSettlementPollers } from "./runtime.js";
|
|
41
41
|
export { type FinanceInvoiceSettlementPollerProvider, financeAccommodationsPaymentPolicyRuntimePort, financeCheckoutPaymentStartersRuntimePort, financeCruisesPaymentPolicyRuntimePort, financeDistributionPaymentPolicyRuntimePort, financeHostRuntimePort, financeInventoryPaymentPolicyRuntimePort, financeInvoiceSettlementPollerRuntimePort, financeNotificationsRuntimePort, financeOperatorSettingsRuntimePort, } from "./runtime-port.js";
|
|
42
|
-
export type { BookingGuarantee, BookingItemCommission, BookingItemTaxLine, BookingPaymentSchedule, CreditNote, CreditNoteLineItem, FinanceNote, Invoice, InvoiceAttachment, InvoiceExternalRef, InvoiceLineItem, InvoiceNumberSeries, InvoiceRendition, InvoiceTemplate, NewBookingGuarantee, NewBookingItemCommission, NewBookingItemTaxLine, NewBookingPaymentSchedule, NewCreditNote, NewCreditNoteLineItem, NewFinanceNote, NewInvoice, NewInvoiceAttachment, NewInvoiceExternalRef, NewInvoiceLineItem, NewInvoiceNumberSeries, NewInvoiceRendition, NewInvoiceTemplate, NewPayment, NewPaymentAuthorization, NewPaymentCapture, NewPaymentInstrument, NewPaymentSession, NewSupplierCostAllocation, NewSupplierInvoice, NewSupplierInvoiceAttachment, NewSupplierInvoiceLine, NewSupplierPayment, NewTaxClass, NewTaxRegime,
|
|
43
|
-
export { apServiceTypeEnum, bookingGuarantees, bookingItemCommissions, bookingItemTaxLines, bookingPaymentSchedules, costAllocationSplitMethodEnum, costAllocationTargetTypeEnum, creditNoteLineItems, creditNotes, financeNotes, invoiceAttachments, invoiceExternalRefs, invoiceLineItems, invoiceNumberSeries, invoiceRenditions, invoices, invoiceTemplates, paymentAuthorizations, paymentCaptures, paymentInstruments, paymentSessions, payments, supplierCostAllocations, supplierInvoiceAttachments, supplierInvoiceLines, supplierInvoiceStatusEnum, supplierInvoices, supplierPayments, taxClasses, taxPolicyProfiles, taxPolicyRules, taxRegimes,
|
|
42
|
+
export type { BookingGuarantee, BookingItemCommission, BookingItemTaxLine, BookingPaymentSchedule, CreditNote, CreditNoteLineItem, FinanceNote, Invoice, InvoiceAttachment, InvoiceExternalRef, InvoiceLineItem, InvoiceNumberSeries, InvoiceRendition, InvoiceTemplate, NewBookingGuarantee, NewBookingItemCommission, NewBookingItemTaxLine, NewBookingPaymentSchedule, NewCreditNote, NewCreditNoteLineItem, NewFinanceNote, NewInvoice, NewInvoiceAttachment, NewInvoiceExternalRef, NewInvoiceLineItem, NewInvoiceNumberSeries, NewInvoiceRendition, NewInvoiceTemplate, NewPayment, NewPaymentAuthorization, NewPaymentCapture, NewPaymentInstrument, NewPaymentSession, NewSupplierCostAllocation, NewSupplierInvoice, NewSupplierInvoiceAttachment, NewSupplierInvoiceLine, NewSupplierPayment, NewTaxClass, NewTaxRegime, NewTravelCredit, NewTravelCreditRedemption, Payment, PaymentAuthorization, PaymentCapture, PaymentInstrument, PaymentSession, SupplierCostAllocation, SupplierInvoice, SupplierInvoiceAttachment, SupplierInvoiceLine, SupplierPayment, TaxClass, TaxRegime, TravelCredit, TravelCreditRedemption, } from "./schema.js";
|
|
43
|
+
export { apServiceTypeEnum, bookingGuarantees, bookingItemCommissions, bookingItemTaxLines, bookingPaymentSchedules, costAllocationSplitMethodEnum, costAllocationTargetTypeEnum, creditNoteLineItems, creditNotes, financeNotes, invoiceAttachments, invoiceExternalRefs, invoiceLineItems, invoiceNumberSeries, invoiceRenditions, invoices, invoiceTemplates, paymentAuthorizations, paymentCaptures, paymentInstruments, paymentSessions, payments, supplierCostAllocations, supplierInvoiceAttachments, supplierInvoiceLines, supplierInvoiceStatusEnum, supplierInvoices, supplierPayments, taxClasses, taxPolicyProfiles, taxPolicyRules, taxRegimes, travelCreditRedemptions, travelCreditSourceTypeEnum, travelCreditStatusEnum, travelCredits, } from "./schema.js";
|
|
44
44
|
export type { BindInvoiceRenditionInput, BookingPaymentSchedulePaidEvent, CreateInvoiceFromBookingInput, InvoiceFromBookingData, InvoiceLineDescriptionResolver, InvoiceLineDescriptionResolverInput, InvoicePaymentRecordedEvent, InvoiceRenderedEvent, InvoiceVoidedEvent, PaymentCompletedEvent, PaymentScheduleLineDescriptionFormat, ResolvedInvoiceLine, UnifiedPaymentRow, } from "./service.js";
|
|
45
45
|
export { financeService, InvoiceLineItemsPersistenceError, InvoiceNumberAllocationError, InvoiceNumberConflictError, renderInvoiceBody, } from "./service.js";
|
|
46
46
|
export type { FinanceAggregateOutstandingInvoice, FinanceAggregates, } from "./service-aggregates.js";
|
|
@@ -57,10 +57,8 @@ export type { FinanceSettlementRuntimeOptions, InvoiceSettledEvent, InvoiceSettl
|
|
|
57
57
|
export { financeSettlementService } from "./service-settlement.js";
|
|
58
58
|
export { settleCoveredBookingPaymentSchedules } from "./service-shared.js";
|
|
59
59
|
export { type AllocationCheckEntry, type AllocationCheckLine, type AllocationCheckResult, type InvoiceTotals, recomputeTotalsFromLines, type SupplierInvoiceErrorCode, SupplierInvoiceServiceError, type SupplierInvoiceServiceRuntime, supplierInvoicesService, validateAllocations, } from "./service-supplier-invoices.js";
|
|
60
|
-
export {
|
|
61
|
-
export { migrateVouchersFromPaymentInstruments, type VoucherMigrationOptions, type VoucherMigrationResult, type VoucherMigrationSkip, } from "./service-vouchers-migration.js";
|
|
60
|
+
export { TravelCreditServiceError, travelCreditsService } from "./service-travel-credits.js";
|
|
62
61
|
export type { GeneratedInvoiceDocumentResult, GenerateInvoiceDocumentInput, PolledInvoiceSettlementResult, PollInvoiceSettlementInput, } from "./validation.js";
|
|
63
62
|
export { agingReportQuerySchema, allocateInvoiceNumberInputSchema, applyDefaultBookingPaymentPlanSchema, apServiceTypeSchema, cancelPaymentSessionSchema, completePaymentSessionSchema, costAllocationSplitMethodSchema, costAllocationTargetTypeSchema, createPaymentSessionFromGuaranteeSchema, createPaymentSessionFromInvoiceSchema, createPaymentSessionFromScheduleSchema, expirePaymentSessionSchema, failPaymentSessionSchema, financeAggregatesQuerySchema, generatedInvoiceDocumentResultSchema, generateInvoiceDocumentInputSchema, insertBookingGuaranteeSchema, insertBookingItemCommissionSchema, insertBookingItemTaxLineSchema, insertBookingPaymentScheduleSchema, insertCreditNoteLineItemSchema, insertCreditNoteSchema, insertFinanceNoteSchema, insertInvoiceExternalRefSchema, insertInvoiceLineItemSchema, insertInvoiceNumberSeriesSchema, insertInvoiceRenditionSchema, insertInvoiceSchema, insertInvoiceTemplateSchema, insertPaymentAuthorizationSchema, insertPaymentCaptureSchema, insertPaymentInstrumentSchema, insertPaymentSchema, insertPaymentSessionSchema, insertSupplierInvoiceAttachmentSchema, insertSupplierInvoiceSchema, insertSupplierPaymentSchema, insertTaxClassSchema, insertTaxPolicyProfileSchema, insertTaxPolicyRuleSchema, insertTaxRegimeSchema, invoiceFromBookingSchema, invoiceListQuerySchema, invoiceNumberSeriesListQuerySchema, invoiceTemplateListQuerySchema, markPaymentSessionRequiresRedirectSchema, paymentAuthorizationListQuerySchema, paymentCaptureListQuerySchema, paymentInstrumentListQuerySchema, paymentKindSchema, paymentListQuerySchema, paymentListSortDirSchema, paymentListSortFieldSchema, paymentProvenanceSchema, paymentSessionListQuerySchema, paymentTargetSchema, polledInvoiceSettlementProviderResultSchema, polledInvoiceSettlementResultSchema, pollInvoiceSettlementInputSchema, profitabilityQuerySchema, renderInvoiceInputSchema, revenueReportQuerySchema, setSupplierCostAllocationsSchema, setSupplierInvoiceLinesSchema, supplierCostAllocationInputSchema, supplierInvoiceLineInputSchema, supplierInvoiceListQuerySchema, supplierInvoiceStatusSchema, supplierPaymentListQuerySchema, taxClassListQuerySchema, taxPolicyProfileListQuerySchema, taxPolicyRuleListQuerySchema, taxRegimeListQuerySchema, updateBookingGuaranteeSchema, updateBookingItemCommissionSchema, updateBookingItemTaxLineSchema, updateBookingPaymentScheduleSchema, updateCreditNoteLineItemSchema, updateCreditNoteSchema, updateInvoiceExternalRefSchema, updateInvoiceLineItemSchema, updateInvoiceNumberSeriesSchema, updateInvoiceRenditionSchema, updateInvoiceSchema, updateInvoiceTemplateSchema, updatePaymentAuthorizationSchema, updatePaymentCaptureSchema, updatePaymentInstrumentSchema, updatePaymentSchema, updatePaymentSessionSchema, updateSupplierInvoiceSchema, updateSupplierPaymentSchema, updateTaxClassSchema, updateTaxPolicyProfileSchema, updateTaxPolicyRuleSchema, updateTaxRegimeSchema, } from "./validation.js";
|
|
64
|
-
export type { PublicBookingFinanceDocuments, PublicBookingFinancePayments, PublicBookingPaymentOptions, PublicFinanceBookingDocument, PublicFinanceBookingPayment, PublicFinanceDocumentLookup, PublicFinanceDocumentLookupQuery, PublicPaymentOptionsQuery, PublicPaymentSession, PublicStartPaymentSessionInput,
|
|
65
|
-
export { publicBookingFinanceDocumentsSchema, publicBookingFinancePaymentsSchema, publicBookingPaymentOptionsSchema, publicFinanceBookingDocumentSchema, publicFinanceBookingPaymentSchema, publicFinanceDocumentAvailabilitySchema, publicFinanceDocumentFormatSchema, publicFinanceDocumentLookupQuerySchema, publicFinanceDocumentLookupSchema, publicFinanceInvoiceTypeSchema, publicPaymentOptionsQuerySchema, publicPaymentSessionSchema, publicStartPaymentSessionSchema,
|
|
66
|
-
//# sourceMappingURL=index.d.ts.map
|
|
63
|
+
export type { PublicBookingFinanceDocuments, PublicBookingFinancePayments, PublicBookingPaymentOptions, PublicFinanceBookingDocument, PublicFinanceBookingPayment, PublicFinanceDocumentLookup, PublicFinanceDocumentLookupQuery, PublicPaymentOptionsQuery, PublicPaymentSession, PublicStartPaymentSessionInput, PublicTravelCreditValidationResult, PublicValidateTravelCreditInput, } from "./validation-public.js";
|
|
64
|
+
export { publicBookingFinanceDocumentsSchema, publicBookingFinancePaymentsSchema, publicBookingPaymentOptionsSchema, publicFinanceBookingDocumentSchema, publicFinanceBookingPaymentSchema, publicFinanceDocumentAvailabilitySchema, publicFinanceDocumentFormatSchema, publicFinanceDocumentLookupQuerySchema, publicFinanceDocumentLookupSchema, publicFinanceInvoiceTypeSchema, publicPaymentOptionsQuerySchema, publicPaymentSessionSchema, publicStartPaymentSessionSchema, publicTravelCreditValidationSchema, publicValidateTravelCreditSchema, } from "./validation-public.js";
|
package/dist/index.js
CHANGED
|
@@ -100,7 +100,7 @@ export { createFinanceAdminDocumentRoutes, } from "./routes-documents.js";
|
|
|
100
100
|
export { createFinanceAdminSettlementRoutes, } from "./routes-settlement.js";
|
|
101
101
|
export { aggregateFinanceInvoiceSettlementPollers } from "./runtime.js";
|
|
102
102
|
export { financeAccommodationsPaymentPolicyRuntimePort, financeCheckoutPaymentStartersRuntimePort, financeCruisesPaymentPolicyRuntimePort, financeDistributionPaymentPolicyRuntimePort, financeHostRuntimePort, financeInventoryPaymentPolicyRuntimePort, financeInvoiceSettlementPollerRuntimePort, financeNotificationsRuntimePort, financeOperatorSettingsRuntimePort, } from "./runtime-port.js";
|
|
103
|
-
export { apServiceTypeEnum, bookingGuarantees, bookingItemCommissions, bookingItemTaxLines, bookingPaymentSchedules, costAllocationSplitMethodEnum, costAllocationTargetTypeEnum, creditNoteLineItems, creditNotes, financeNotes, invoiceAttachments, invoiceExternalRefs, invoiceLineItems, invoiceNumberSeries, invoiceRenditions, invoices, invoiceTemplates, paymentAuthorizations, paymentCaptures, paymentInstruments, paymentSessions, payments, supplierCostAllocations, supplierInvoiceAttachments, supplierInvoiceLines, supplierInvoiceStatusEnum, supplierInvoices, supplierPayments, taxClasses, taxPolicyProfiles, taxPolicyRules, taxRegimes,
|
|
103
|
+
export { apServiceTypeEnum, bookingGuarantees, bookingItemCommissions, bookingItemTaxLines, bookingPaymentSchedules, costAllocationSplitMethodEnum, costAllocationTargetTypeEnum, creditNoteLineItems, creditNotes, financeNotes, invoiceAttachments, invoiceExternalRefs, invoiceLineItems, invoiceNumberSeries, invoiceRenditions, invoices, invoiceTemplates, paymentAuthorizations, paymentCaptures, paymentInstruments, paymentSessions, payments, supplierCostAllocations, supplierInvoiceAttachments, supplierInvoiceLines, supplierInvoiceStatusEnum, supplierInvoices, supplierPayments, taxClasses, taxPolicyProfiles, taxPolicyRules, taxRegimes, travelCreditRedemptions, travelCreditSourceTypeEnum, travelCreditStatusEnum, travelCredits, } from "./schema.js";
|
|
104
104
|
export { financeService, InvoiceLineItemsPersistenceError, InvoiceNumberAllocationError, InvoiceNumberConflictError, renderInvoiceBody, } from "./service.js";
|
|
105
105
|
export { bookingCreateSchema, createBooking, } from "./service-booking-create.js";
|
|
106
106
|
export { dualCreateBooking, dualCreateBookingSchema, } from "./service-bookings-dual-create.js";
|
|
@@ -110,7 +110,6 @@ export { getLatestInvoiceRendition, waitForInvoiceRendition, waitFormatForMode,
|
|
|
110
110
|
export { financeSettlementService } from "./service-settlement.js";
|
|
111
111
|
export { settleCoveredBookingPaymentSchedules } from "./service-shared.js";
|
|
112
112
|
export { recomputeTotalsFromLines, SupplierInvoiceServiceError, supplierInvoicesService, validateAllocations, } from "./service-supplier-invoices.js";
|
|
113
|
-
export {
|
|
114
|
-
export { migrateVouchersFromPaymentInstruments, } from "./service-vouchers-migration.js";
|
|
113
|
+
export { TravelCreditServiceError, travelCreditsService } from "./service-travel-credits.js";
|
|
115
114
|
export { agingReportQuerySchema, allocateInvoiceNumberInputSchema, applyDefaultBookingPaymentPlanSchema, apServiceTypeSchema, cancelPaymentSessionSchema, completePaymentSessionSchema, costAllocationSplitMethodSchema, costAllocationTargetTypeSchema, createPaymentSessionFromGuaranteeSchema, createPaymentSessionFromInvoiceSchema, createPaymentSessionFromScheduleSchema, expirePaymentSessionSchema, failPaymentSessionSchema, financeAggregatesQuerySchema, generatedInvoiceDocumentResultSchema, generateInvoiceDocumentInputSchema, insertBookingGuaranteeSchema, insertBookingItemCommissionSchema, insertBookingItemTaxLineSchema, insertBookingPaymentScheduleSchema, insertCreditNoteLineItemSchema, insertCreditNoteSchema, insertFinanceNoteSchema, insertInvoiceExternalRefSchema, insertInvoiceLineItemSchema, insertInvoiceNumberSeriesSchema, insertInvoiceRenditionSchema, insertInvoiceSchema, insertInvoiceTemplateSchema, insertPaymentAuthorizationSchema, insertPaymentCaptureSchema, insertPaymentInstrumentSchema, insertPaymentSchema, insertPaymentSessionSchema, insertSupplierInvoiceAttachmentSchema, insertSupplierInvoiceSchema, insertSupplierPaymentSchema, insertTaxClassSchema, insertTaxPolicyProfileSchema, insertTaxPolicyRuleSchema, insertTaxRegimeSchema, invoiceFromBookingSchema, invoiceListQuerySchema, invoiceNumberSeriesListQuerySchema, invoiceTemplateListQuerySchema, markPaymentSessionRequiresRedirectSchema, paymentAuthorizationListQuerySchema, paymentCaptureListQuerySchema, paymentInstrumentListQuerySchema, paymentKindSchema, paymentListQuerySchema, paymentListSortDirSchema, paymentListSortFieldSchema, paymentProvenanceSchema, paymentSessionListQuerySchema, paymentTargetSchema, polledInvoiceSettlementProviderResultSchema, polledInvoiceSettlementResultSchema, pollInvoiceSettlementInputSchema, profitabilityQuerySchema, renderInvoiceInputSchema, revenueReportQuerySchema, setSupplierCostAllocationsSchema, setSupplierInvoiceLinesSchema, supplierCostAllocationInputSchema, supplierInvoiceLineInputSchema, supplierInvoiceListQuerySchema, supplierInvoiceStatusSchema, supplierPaymentListQuerySchema, taxClassListQuerySchema, taxPolicyProfileListQuerySchema, taxPolicyRuleListQuerySchema, taxRegimeListQuerySchema, updateBookingGuaranteeSchema, updateBookingItemCommissionSchema, updateBookingItemTaxLineSchema, updateBookingPaymentScheduleSchema, updateCreditNoteLineItemSchema, updateCreditNoteSchema, updateInvoiceExternalRefSchema, updateInvoiceLineItemSchema, updateInvoiceNumberSeriesSchema, updateInvoiceRenditionSchema, updateInvoiceSchema, updateInvoiceTemplateSchema, updatePaymentAuthorizationSchema, updatePaymentCaptureSchema, updatePaymentInstrumentSchema, updatePaymentSchema, updatePaymentSessionSchema, updateSupplierInvoiceSchema, updateSupplierPaymentSchema, updateTaxClassSchema, updateTaxPolicyProfileSchema, updateTaxPolicyRuleSchema, updateTaxRegimeSchema, } from "./validation.js";
|
|
116
|
-
export { publicBookingFinanceDocumentsSchema, publicBookingFinancePaymentsSchema, publicBookingPaymentOptionsSchema, publicFinanceBookingDocumentSchema, publicFinanceBookingPaymentSchema, publicFinanceDocumentAvailabilitySchema, publicFinanceDocumentFormatSchema, publicFinanceDocumentLookupQuerySchema, publicFinanceDocumentLookupSchema, publicFinanceInvoiceTypeSchema, publicPaymentOptionsQuerySchema, publicPaymentSessionSchema, publicStartPaymentSessionSchema,
|
|
115
|
+
export { publicBookingFinanceDocumentsSchema, publicBookingFinancePaymentsSchema, publicBookingPaymentOptionsSchema, publicFinanceBookingDocumentSchema, publicFinanceBookingPaymentSchema, publicFinanceDocumentAvailabilitySchema, publicFinanceDocumentFormatSchema, publicFinanceDocumentLookupQuerySchema, publicFinanceDocumentLookupSchema, publicFinanceInvoiceTypeSchema, publicPaymentOptionsQuerySchema, publicPaymentSessionSchema, publicStartPaymentSessionSchema, publicTravelCreditValidationSchema, publicValidateTravelCreditSchema, } from "./validation-public.js";
|
package/dist/invoice-fx.d.ts
CHANGED
|
@@ -131,4 +131,3 @@ export declare function createInvoiceFxRoutes(options?: InvoiceFxRouteOptions):
|
|
|
131
131
|
export declare function mountInvoiceFxRoutes(hono: Hono, options?: InvoiceFxRouteOptions): Hono;
|
|
132
132
|
export declare function createInvoiceFxHonoExtension(options?: InvoiceFxRouteOptions): HonoExtension;
|
|
133
133
|
export {};
|
|
134
|
-
//# sourceMappingURL=invoice-fx.d.ts.map
|
package/dist/linkables.d.ts
CHANGED
package/dist/markets-ref.d.ts
CHANGED
package/dist/mcp-runtime.d.ts
CHANGED
|
@@ -68,4 +68,3 @@ export interface CreateOrderPaymentSessionsOptions {
|
|
|
68
68
|
* (e.g. `"flight_order"`). All queries are scoped to that target type.
|
|
69
69
|
*/
|
|
70
70
|
export declare function createOrderPaymentSessions(options: CreateOrderPaymentSessionsOptions): OrderPaymentSessions;
|
|
71
|
-
//# sourceMappingURL=order-payment-sessions.d.ts.map
|
package/dist/payment-link.d.ts
CHANGED
|
@@ -121,4 +121,3 @@ export declare function stampPolicySourceOnBooking(db: PostgresJsDatabase, booki
|
|
|
121
121
|
* `PaymentPolicySource`.
|
|
122
122
|
*/
|
|
123
123
|
export declare function readPolicySourceFromInternalNotes(internalNotes: string | null | undefined): PaymentPolicySource | null;
|
|
124
|
-
//# sourceMappingURL=payment-policy-cascade.d.ts.map
|
package/dist/payment-policy.d.ts
CHANGED
|
@@ -112,4 +112,3 @@ export declare function resolveEffectivePaymentPolicy(layers: PaymentPolicyCasca
|
|
|
112
112
|
* the policy + departure date resolve to a single full-payment row.
|
|
113
113
|
*/
|
|
114
114
|
export declare function policyShouldRequireFullPayment(policy: PaymentPolicy, departureDate: string | null | undefined, today?: Date): boolean;
|
|
115
|
-
//# sourceMappingURL=payment-policy.d.ts.map
|
|
@@ -157,4 +157,3 @@ export declare function createPaymentPolicyPublicRoutes(options: BookingSchedule
|
|
|
157
157
|
/** Package-owned extension descriptor; deployments inject the policy cascade readers. */
|
|
158
158
|
export declare function createBookingScheduleHonoExtension(options: BookingScheduleRoutesOptions): HonoExtension;
|
|
159
159
|
export declare const createBookingScheduleVoyantRuntime: import("@voyant-travel/core/project").VoyantGraphRuntimeFactory<HonoExtension>;
|
|
160
|
-
//# sourceMappingURL=routes.d.ts.map
|
package/dist/route-runtime.d.ts
CHANGED
|
@@ -20,4 +20,3 @@ export interface FinanceRuntimeOptions extends FinanceDocumentRouteOptions, Fina
|
|
|
20
20
|
paymentScheduleLineDescriptionFormat?: PaymentScheduleLineDescriptionFormat;
|
|
21
21
|
}
|
|
22
22
|
export declare function buildFinanceRouteRuntime(bindings: Record<string, unknown>, options?: FinanceRuntimeOptions): FinanceRouteRuntime;
|
|
23
|
-
//# sourceMappingURL=route-runtime.d.ts.map
|
|
@@ -541,7 +541,7 @@ export declare const financeBookingBillingRoutes: OpenAPIHono<Env, import("hono/
|
|
|
541
541
|
bookingId: string;
|
|
542
542
|
bookingPaymentScheduleId: string | null;
|
|
543
543
|
bookingItemId: string | null;
|
|
544
|
-
guaranteeType: "bank_transfer" | "credit_card" | "
|
|
544
|
+
guaranteeType: "bank_transfer" | "credit_card" | "other" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter";
|
|
545
545
|
status: "pending" | "failed" | "cancelled" | "expired" | "active" | "released";
|
|
546
546
|
paymentInstrumentId: string | null;
|
|
547
547
|
paymentAuthorizationId: string | null;
|
|
@@ -570,7 +570,7 @@ export declare const financeBookingBillingRoutes: OpenAPIHono<Env, import("hono/
|
|
|
570
570
|
};
|
|
571
571
|
} & {
|
|
572
572
|
json: {
|
|
573
|
-
guaranteeType: "bank_transfer" | "credit_card" | "
|
|
573
|
+
guaranteeType: "bank_transfer" | "credit_card" | "other" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter";
|
|
574
574
|
bookingPaymentScheduleId?: string | null | undefined;
|
|
575
575
|
bookingItemId?: string | null | undefined;
|
|
576
576
|
status?: "pending" | "failed" | "cancelled" | "expired" | "active" | "released" | undefined;
|
|
@@ -598,7 +598,7 @@ export declare const financeBookingBillingRoutes: OpenAPIHono<Env, import("hono/
|
|
|
598
598
|
};
|
|
599
599
|
} & {
|
|
600
600
|
json: {
|
|
601
|
-
guaranteeType: "bank_transfer" | "credit_card" | "
|
|
601
|
+
guaranteeType: "bank_transfer" | "credit_card" | "other" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter";
|
|
602
602
|
bookingPaymentScheduleId?: string | null | undefined;
|
|
603
603
|
bookingItemId?: string | null | undefined;
|
|
604
604
|
status?: "pending" | "failed" | "cancelled" | "expired" | "active" | "released" | undefined;
|
|
@@ -626,7 +626,7 @@ export declare const financeBookingBillingRoutes: OpenAPIHono<Env, import("hono/
|
|
|
626
626
|
};
|
|
627
627
|
} & {
|
|
628
628
|
json: {
|
|
629
|
-
guaranteeType: "bank_transfer" | "credit_card" | "
|
|
629
|
+
guaranteeType: "bank_transfer" | "credit_card" | "other" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter";
|
|
630
630
|
bookingPaymentScheduleId?: string | null | undefined;
|
|
631
631
|
bookingItemId?: string | null | undefined;
|
|
632
632
|
status?: "pending" | "failed" | "cancelled" | "expired" | "active" | "released" | undefined;
|
|
@@ -648,7 +648,7 @@ export declare const financeBookingBillingRoutes: OpenAPIHono<Env, import("hono/
|
|
|
648
648
|
bookingId: string;
|
|
649
649
|
bookingPaymentScheduleId: string | null;
|
|
650
650
|
bookingItemId: string | null;
|
|
651
|
-
guaranteeType: "bank_transfer" | "credit_card" | "
|
|
651
|
+
guaranteeType: "bank_transfer" | "credit_card" | "other" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter";
|
|
652
652
|
status: "pending" | "failed" | "cancelled" | "expired" | "active" | "released";
|
|
653
653
|
paymentInstrumentId: string | null;
|
|
654
654
|
paymentAuthorizationId: string | null;
|
|
@@ -717,7 +717,7 @@ export declare const financeBookingBillingRoutes: OpenAPIHono<Env, import("hono/
|
|
|
717
717
|
idempotencyKey?: string | null | undefined;
|
|
718
718
|
} | undefined;
|
|
719
719
|
provider?: string | null | undefined;
|
|
720
|
-
paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "
|
|
720
|
+
paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
|
|
721
721
|
payerPersonId?: string | null | undefined;
|
|
722
722
|
payerOrganizationId?: string | null | undefined;
|
|
723
723
|
payerEmail?: string | null | undefined;
|
|
@@ -786,7 +786,7 @@ export declare const financeBookingBillingRoutes: OpenAPIHono<Env, import("hono/
|
|
|
786
786
|
idempotencyKey?: string | null | undefined;
|
|
787
787
|
} | undefined;
|
|
788
788
|
provider?: string | null | undefined;
|
|
789
|
-
paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "
|
|
789
|
+
paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
|
|
790
790
|
payerPersonId?: string | null | undefined;
|
|
791
791
|
payerOrganizationId?: string | null | undefined;
|
|
792
792
|
payerEmail?: string | null | undefined;
|
|
@@ -855,7 +855,7 @@ export declare const financeBookingBillingRoutes: OpenAPIHono<Env, import("hono/
|
|
|
855
855
|
idempotencyKey?: string | null | undefined;
|
|
856
856
|
} | undefined;
|
|
857
857
|
provider?: string | null | undefined;
|
|
858
|
-
paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "
|
|
858
|
+
paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
|
|
859
859
|
payerPersonId?: string | null | undefined;
|
|
860
860
|
payerOrganizationId?: string | null | undefined;
|
|
861
861
|
payerEmail?: string | null | undefined;
|
|
@@ -924,7 +924,7 @@ export declare const financeBookingBillingRoutes: OpenAPIHono<Env, import("hono/
|
|
|
924
924
|
idempotencyKey?: string | null | undefined;
|
|
925
925
|
} | undefined;
|
|
926
926
|
provider?: string | null | undefined;
|
|
927
|
-
paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "
|
|
927
|
+
paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
|
|
928
928
|
payerPersonId?: string | null | undefined;
|
|
929
929
|
payerOrganizationId?: string | null | undefined;
|
|
930
930
|
payerEmail?: string | null | undefined;
|
|
@@ -964,7 +964,7 @@ export declare const financeBookingBillingRoutes: OpenAPIHono<Env, import("hono/
|
|
|
964
964
|
clientReference: string | null;
|
|
965
965
|
currency: string;
|
|
966
966
|
amountCents: number;
|
|
967
|
-
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "
|
|
967
|
+
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
|
|
968
968
|
payerPersonId: string | null;
|
|
969
969
|
payerOrganizationId: string | null;
|
|
970
970
|
payerEmail: string | null;
|
|
@@ -1007,7 +1007,7 @@ export declare const financeBookingBillingRoutes: OpenAPIHono<Env, import("hono/
|
|
|
1007
1007
|
json: {
|
|
1008
1008
|
bookingPaymentScheduleId?: string | null | undefined;
|
|
1009
1009
|
bookingItemId?: string | null | undefined;
|
|
1010
|
-
guaranteeType?: "bank_transfer" | "credit_card" | "
|
|
1010
|
+
guaranteeType?: "bank_transfer" | "credit_card" | "other" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter" | undefined;
|
|
1011
1011
|
status?: "pending" | "failed" | "cancelled" | "expired" | "active" | "released" | undefined;
|
|
1012
1012
|
paymentInstrumentId?: string | null | undefined;
|
|
1013
1013
|
paymentAuthorizationId?: string | null | undefined;
|
|
@@ -1036,7 +1036,7 @@ export declare const financeBookingBillingRoutes: OpenAPIHono<Env, import("hono/
|
|
|
1036
1036
|
json: {
|
|
1037
1037
|
bookingPaymentScheduleId?: string | null | undefined;
|
|
1038
1038
|
bookingItemId?: string | null | undefined;
|
|
1039
|
-
guaranteeType?: "bank_transfer" | "credit_card" | "
|
|
1039
|
+
guaranteeType?: "bank_transfer" | "credit_card" | "other" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter" | undefined;
|
|
1040
1040
|
status?: "pending" | "failed" | "cancelled" | "expired" | "active" | "released" | undefined;
|
|
1041
1041
|
paymentInstrumentId?: string | null | undefined;
|
|
1042
1042
|
paymentAuthorizationId?: string | null | undefined;
|
|
@@ -1065,7 +1065,7 @@ export declare const financeBookingBillingRoutes: OpenAPIHono<Env, import("hono/
|
|
|
1065
1065
|
json: {
|
|
1066
1066
|
bookingPaymentScheduleId?: string | null | undefined;
|
|
1067
1067
|
bookingItemId?: string | null | undefined;
|
|
1068
|
-
guaranteeType?: "bank_transfer" | "credit_card" | "
|
|
1068
|
+
guaranteeType?: "bank_transfer" | "credit_card" | "other" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter" | undefined;
|
|
1069
1069
|
status?: "pending" | "failed" | "cancelled" | "expired" | "active" | "released" | undefined;
|
|
1070
1070
|
paymentInstrumentId?: string | null | undefined;
|
|
1071
1071
|
paymentAuthorizationId?: string | null | undefined;
|
|
@@ -1085,7 +1085,7 @@ export declare const financeBookingBillingRoutes: OpenAPIHono<Env, import("hono/
|
|
|
1085
1085
|
bookingId: string;
|
|
1086
1086
|
bookingPaymentScheduleId: string | null;
|
|
1087
1087
|
bookingItemId: string | null;
|
|
1088
|
-
guaranteeType: "bank_transfer" | "credit_card" | "
|
|
1088
|
+
guaranteeType: "bank_transfer" | "credit_card" | "other" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter";
|
|
1089
1089
|
status: "pending" | "failed" | "cancelled" | "expired" | "active" | "released";
|
|
1090
1090
|
paymentInstrumentId: string | null;
|
|
1091
1091
|
paymentAuthorizationId: string | null;
|
|
@@ -1300,7 +1300,7 @@ export declare const financeBookingBillingRoutes: OpenAPIHono<Env, import("hono/
|
|
|
1300
1300
|
balanceDueDaysBeforeStart?: number | undefined;
|
|
1301
1301
|
clearExistingPending?: boolean | undefined;
|
|
1302
1302
|
createGuarantee?: boolean | undefined;
|
|
1303
|
-
guaranteeType?: "bank_transfer" | "credit_card" | "
|
|
1303
|
+
guaranteeType?: "bank_transfer" | "credit_card" | "other" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter" | undefined;
|
|
1304
1304
|
notes?: string | null | undefined;
|
|
1305
1305
|
};
|
|
1306
1306
|
};
|
|
@@ -1322,7 +1322,7 @@ export declare const financeBookingBillingRoutes: OpenAPIHono<Env, import("hono/
|
|
|
1322
1322
|
balanceDueDaysBeforeStart?: number | undefined;
|
|
1323
1323
|
clearExistingPending?: boolean | undefined;
|
|
1324
1324
|
createGuarantee?: boolean | undefined;
|
|
1325
|
-
guaranteeType?: "bank_transfer" | "credit_card" | "
|
|
1325
|
+
guaranteeType?: "bank_transfer" | "credit_card" | "other" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter" | undefined;
|
|
1326
1326
|
notes?: string | null | undefined;
|
|
1327
1327
|
};
|
|
1328
1328
|
};
|
|
@@ -1356,7 +1356,7 @@ export declare const financeBookingBillingRoutes: OpenAPIHono<Env, import("hono/
|
|
|
1356
1356
|
balanceDueDaysBeforeStart?: number | undefined;
|
|
1357
1357
|
clearExistingPending?: boolean | undefined;
|
|
1358
1358
|
createGuarantee?: boolean | undefined;
|
|
1359
|
-
guaranteeType?: "bank_transfer" | "credit_card" | "
|
|
1359
|
+
guaranteeType?: "bank_transfer" | "credit_card" | "other" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter" | undefined;
|
|
1360
1360
|
notes?: string | null | undefined;
|
|
1361
1361
|
};
|
|
1362
1362
|
};
|
|
@@ -1529,7 +1529,7 @@ export declare const financeBookingBillingRoutes: OpenAPIHono<Env, import("hono/
|
|
|
1529
1529
|
idempotencyKey?: string | null | undefined;
|
|
1530
1530
|
} | undefined;
|
|
1531
1531
|
provider?: string | null | undefined;
|
|
1532
|
-
paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "
|
|
1532
|
+
paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
|
|
1533
1533
|
payerPersonId?: string | null | undefined;
|
|
1534
1534
|
payerOrganizationId?: string | null | undefined;
|
|
1535
1535
|
payerEmail?: string | null | undefined;
|
|
@@ -1598,7 +1598,7 @@ export declare const financeBookingBillingRoutes: OpenAPIHono<Env, import("hono/
|
|
|
1598
1598
|
idempotencyKey?: string | null | undefined;
|
|
1599
1599
|
} | undefined;
|
|
1600
1600
|
provider?: string | null | undefined;
|
|
1601
|
-
paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "
|
|
1601
|
+
paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
|
|
1602
1602
|
payerPersonId?: string | null | undefined;
|
|
1603
1603
|
payerOrganizationId?: string | null | undefined;
|
|
1604
1604
|
payerEmail?: string | null | undefined;
|
|
@@ -1667,7 +1667,7 @@ export declare const financeBookingBillingRoutes: OpenAPIHono<Env, import("hono/
|
|
|
1667
1667
|
idempotencyKey?: string | null | undefined;
|
|
1668
1668
|
} | undefined;
|
|
1669
1669
|
provider?: string | null | undefined;
|
|
1670
|
-
paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "
|
|
1670
|
+
paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
|
|
1671
1671
|
payerPersonId?: string | null | undefined;
|
|
1672
1672
|
payerOrganizationId?: string | null | undefined;
|
|
1673
1673
|
payerEmail?: string | null | undefined;
|
|
@@ -1707,7 +1707,7 @@ export declare const financeBookingBillingRoutes: OpenAPIHono<Env, import("hono/
|
|
|
1707
1707
|
clientReference: string | null;
|
|
1708
1708
|
currency: string;
|
|
1709
1709
|
amountCents: number;
|
|
1710
|
-
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "
|
|
1710
|
+
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
|
|
1711
1711
|
payerPersonId: string | null;
|
|
1712
1712
|
payerOrganizationId: string | null;
|
|
1713
1713
|
payerEmail: string | null;
|
|
@@ -1783,7 +1783,7 @@ export declare const financeBookingBillingRoutes: OpenAPIHono<Env, import("hono/
|
|
|
1783
1783
|
idempotencyKey?: string | null | undefined;
|
|
1784
1784
|
} | undefined;
|
|
1785
1785
|
provider?: string | null | undefined;
|
|
1786
|
-
paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "
|
|
1786
|
+
paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
|
|
1787
1787
|
payerPersonId?: string | null | undefined;
|
|
1788
1788
|
payerOrganizationId?: string | null | undefined;
|
|
1789
1789
|
payerEmail?: string | null | undefined;
|
|
@@ -1836,4 +1836,3 @@ export declare const financeBookingBillingRoutes: OpenAPIHono<Env, import("hono/
|
|
|
1836
1836
|
};
|
|
1837
1837
|
};
|
|
1838
1838
|
}, "/">, "/">;
|
|
1839
|
-
//# sourceMappingURL=routes-booking-billing.d.ts.map
|