@voyantjs/storefront 0.50.0 → 0.50.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/index.d.ts CHANGED
@@ -11,8 +11,8 @@ export type { StorefrontBookingSessionBootstrapOptions } from "./service-booking
11
11
  export type { StorefrontIntakeGuard, StorefrontIntakeGuardDecision, StorefrontIntakeOptions, StorefrontNewsletterDoubleOptInHook, } from "./service-intake.js";
12
12
  export { CUSTOMER_SIGNAL_CREATED_EVENT } from "./service-intake.js";
13
13
  export { evaluateStorefrontTransportEligibility } from "./service-transport-eligibility.js";
14
- export type { StorefrontAppliedOffer, StorefrontBankTransfer, StorefrontBankTransferInput, StorefrontBookingSessionBootstrap, StorefrontBookingSessionBootstrapInput, StorefrontCurrencyDisplay, StorefrontDepartureListQuery, StorefrontDeparturePricePreview, StorefrontFormField, StorefrontFormFieldInput, StorefrontIntakeConsent, StorefrontIntakeResponse, StorefrontLeadContact, StorefrontLeadIntakeInput, StorefrontNewsletterSubscribeInput, StorefrontNewsletterSubscribeResponse, StorefrontOfferApplyInput, StorefrontOfferMutationResult, StorefrontOfferRedeemInput, StorefrontPaymentMethod, StorefrontPaymentMethodCode, StorefrontPaymentMethodInput, StorefrontPaymentSchedule, StorefrontPaymentScheduleInput, StorefrontProductAvailabilitySummaryQuery, StorefrontPromotionalOffer, StorefrontSettings, StorefrontSettingsInput, StorefrontSettingsPatchInput, StorefrontSupportLink, StorefrontSupportLinkInput, } from "./validation.js";
15
- export { storefrontAppliedOfferSchema, storefrontBankTransferInputSchema, storefrontBankTransferSchema, storefrontBookingSessionAvailabilitySnapshotSchema, storefrontBookingSessionBootstrapInputSchema, storefrontBookingSessionBootstrapSchema, storefrontBookingSessionPaymentPlanSchema, storefrontBookingSessionQuoteSchema, storefrontBookingSessionRepricingSnapshotSchema, storefrontCurrencyDisplaySchema, storefrontDepartureItinerarySchema, storefrontDepartureListQuerySchema, storefrontDepartureListResponseSchema, storefrontDeparturePriceAllocationSchema, storefrontDeparturePriceExtraImpactSchema, storefrontDeparturePriceLineItemSchema, storefrontDeparturePriceOfferImpactSchema, storefrontDeparturePriceOffersSchema, storefrontDeparturePricePaxSchema, storefrontDeparturePricePreviewInputSchema, storefrontDeparturePricePreviewSchema, storefrontDeparturePriceRequestedOfferSchema, storefrontDeparturePriceRoomRowSchema, storefrontDeparturePriceSlotSchema, storefrontDeparturePriceTotalsSchema, storefrontDeparturePriceUnitRowSchema, storefrontDepartureSchema, storefrontFormFieldInputSchema, storefrontFormFieldOptionSchema, storefrontFormFieldSchema, storefrontFormFieldTypeSchema, storefrontIntakeConsentSchema, storefrontIntakeResponseSchema, storefrontLeadContactSchema, storefrontLeadIntakeInputSchema, storefrontNewsletterSubscribeInputSchema, storefrontNewsletterSubscribeResponseSchema, storefrontOfferApplyInputSchema, storefrontOfferAudienceSchema, storefrontOfferConflictSchema, storefrontOfferMutationReasonSchema, storefrontOfferMutationResponseSchema, storefrontOfferMutationResultSchema, storefrontOfferMutationStatusSchema, storefrontOfferRedeemInputSchema, storefrontPaymentMethodCodeSchema, storefrontPaymentMethodInputSchema, storefrontPaymentMethodSchema, storefrontPaymentScheduleInputSchema, storefrontPaymentScheduleSchema, storefrontProductAvailabilitySlotSchema, storefrontProductAvailabilityStateSchema, storefrontProductAvailabilitySummaryQuerySchema, storefrontProductAvailabilitySummaryResponseSchema, storefrontProductAvailabilitySummarySchema, storefrontProductExtensionsQuerySchema, storefrontProductExtensionsResponseSchema, storefrontPromotionalOfferListQuerySchema, storefrontPromotionalOfferListResponseSchema, storefrontPromotionalOfferResponseSchema, storefrontPromotionalOfferSchema, storefrontSettingsInputSchema, storefrontSettingsPatchSchema, storefrontSettingsSchema, storefrontSupportLinkInputSchema, storefrontSupportLinkSchema, } from "./validation.js";
14
+ export type { StorefrontAppliedOffer, StorefrontBankTransfer, StorefrontBankTransferAccount, StorefrontBankTransferAccountInput, StorefrontBankTransferInput, StorefrontBookingSessionBootstrap, StorefrontBookingSessionBootstrapInput, StorefrontCurrencyDisplay, StorefrontDepartureListQuery, StorefrontDeparturePricePreview, StorefrontFormField, StorefrontFormFieldInput, StorefrontIntakeConsent, StorefrontIntakeResponse, StorefrontLeadContact, StorefrontLeadIntakeInput, StorefrontNewsletterSubscribeInput, StorefrontNewsletterSubscribeResponse, StorefrontOfferApplyInput, StorefrontOfferMutationResult, StorefrontOfferRedeemInput, StorefrontPaymentDueCondition, StorefrontPaymentMethod, StorefrontPaymentMethodCode, StorefrontPaymentMethodInput, StorefrontPaymentSchedule, StorefrontPaymentScheduleEntry, StorefrontPaymentScheduleEntryInput, StorefrontPaymentScheduleInput, StorefrontPaymentStructure, StorefrontProductAvailabilitySummaryQuery, StorefrontPromotionalOffer, StorefrontSettings, StorefrontSettingsInput, StorefrontSettingsPatchInput, StorefrontSupportLink, StorefrontSupportLinkInput, } from "./validation.js";
15
+ export { storefrontAppliedOfferSchema, storefrontBankTransferAccountInputSchema, storefrontBankTransferAccountSchema, storefrontBankTransferInputSchema, storefrontBankTransferSchema, storefrontBookingSessionAvailabilitySnapshotSchema, storefrontBookingSessionBootstrapInputSchema, storefrontBookingSessionBootstrapSchema, storefrontBookingSessionPaymentPlanSchema, storefrontBookingSessionQuoteSchema, storefrontBookingSessionRepricingSnapshotSchema, storefrontCurrencyDisplaySchema, storefrontDepartureItinerarySchema, storefrontDepartureListQuerySchema, storefrontDepartureListResponseSchema, storefrontDeparturePriceAllocationSchema, storefrontDeparturePriceExtraImpactSchema, storefrontDeparturePriceLineItemSchema, storefrontDeparturePriceOfferImpactSchema, storefrontDeparturePriceOffersSchema, storefrontDeparturePricePaxSchema, storefrontDeparturePricePreviewInputSchema, storefrontDeparturePricePreviewSchema, storefrontDeparturePriceRequestedOfferSchema, storefrontDeparturePriceRoomRowSchema, storefrontDeparturePriceSlotSchema, storefrontDeparturePriceTotalsSchema, storefrontDeparturePriceUnitRowSchema, storefrontDepartureSchema, storefrontFormFieldInputSchema, storefrontFormFieldOptionSchema, storefrontFormFieldSchema, storefrontFormFieldTypeSchema, storefrontIntakeConsentSchema, storefrontIntakeResponseSchema, storefrontLeadContactSchema, storefrontLeadIntakeInputSchema, storefrontNewsletterSubscribeInputSchema, storefrontNewsletterSubscribeResponseSchema, storefrontOfferApplyInputSchema, storefrontOfferAudienceSchema, storefrontOfferConflictSchema, storefrontOfferMutationReasonSchema, storefrontOfferMutationResponseSchema, storefrontOfferMutationResultSchema, storefrontOfferMutationStatusSchema, storefrontOfferRedeemInputSchema, storefrontPaymentDueConditionSchema, storefrontPaymentMethodCodeSchema, storefrontPaymentMethodInputSchema, storefrontPaymentMethodSchema, storefrontPaymentScheduleEntryInputSchema, storefrontPaymentScheduleEntrySchema, storefrontPaymentScheduleInputSchema, storefrontPaymentScheduleSchema, storefrontPaymentStructureSchema, storefrontProductAvailabilitySlotSchema, storefrontProductAvailabilityStateSchema, storefrontProductAvailabilitySummaryQuerySchema, storefrontProductAvailabilitySummaryResponseSchema, storefrontProductAvailabilitySummarySchema, storefrontProductExtensionsQuerySchema, storefrontProductExtensionsResponseSchema, storefrontPromotionalOfferListQuerySchema, storefrontPromotionalOfferListResponseSchema, storefrontPromotionalOfferResponseSchema, storefrontPromotionalOfferSchema, storefrontSettingsInputSchema, storefrontSettingsPatchSchema, storefrontSettingsSchema, storefrontSupportLinkInputSchema, storefrontSupportLinkSchema, } from "./validation.js";
16
16
  export type { StorefrontTransportEligibilityInput, StorefrontTransportEligibilityIssue, StorefrontTransportEligibilityResult, StorefrontTransportEligibilityRule, StorefrontTransportEligibilityRuleInput, } from "./validation-transport-eligibility.js";
17
17
  export { storefrontRequiredDocumentTypeSchema, storefrontTransportEligibilityDocumentInputSchema, storefrontTransportEligibilityInputSchema, storefrontTransportEligibilityIssueCodeSchema, storefrontTransportEligibilityIssueSchema, storefrontTransportEligibilityResultSchema, storefrontTransportEligibilityRuleSchema, storefrontTransportEligibilitySeveritySchema, storefrontTransportEligibilityTravelerInputSchema, storefrontTransportEligibilityTravelerResultSchema, storefrontTravelDocumentTypeSchema, } from "./validation-transport-eligibility.js";
18
18
  export declare const storefrontModule: Module;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAGvD,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AAEjE,YAAY,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAA;AAC9D,OAAO,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAA;AAC/D,YAAY,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAA;AAChE,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,YAAY,EACV,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,cAAc,CAAA;AACrB,OAAO,EACL,uBAAuB,EACvB,4BAA4B,EAC5B,yBAAyB,GAC1B,MAAM,cAAc,CAAA;AACrB,YAAY,EAAE,wCAAwC,EAAE,MAAM,wCAAwC,CAAA;AACtG,YAAY,EACV,qBAAqB,EACrB,6BAA6B,EAC7B,uBAAuB,EACvB,mCAAmC,GACpC,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,6BAA6B,EAAE,MAAM,qBAAqB,CAAA;AACnE,OAAO,EAAE,sCAAsC,EAAE,MAAM,oCAAoC,CAAA;AAC3F,YAAY,EACV,sBAAsB,EACtB,sBAAsB,EACtB,2BAA2B,EAC3B,iCAAiC,EACjC,sCAAsC,EACtC,yBAAyB,EACzB,4BAA4B,EAC5B,+BAA+B,EAC/B,mBAAmB,EACnB,wBAAwB,EACxB,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,yBAAyB,EACzB,kCAAkC,EAClC,qCAAqC,EACrC,yBAAyB,EACzB,6BAA6B,EAC7B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8B,EAC9B,2BAA2B,EAC3B,+BAA+B,EAC/B,wCAAwC,EACxC,2CAA2C,EAC3C,+BAA+B,EAC/B,6BAA6B,EAC7B,6BAA6B,EAC7B,mCAAmC,EACnC,qCAAqC,EACrC,mCAAmC,EACnC,mCAAmC,EACnC,gCAAgC,EAChC,mCAAmC,EACnC,iCAAiC,EACjC,kCAAkC,EAClC,6BAA6B,EAC7B,yCAAyC,EACzC,oCAAoC,EACpC,oCAAoC,EACpC,+BAA+B,EAC/B,gCAAgC,EAChC,uCAAuC,EACvC,wCAAwC,EACxC,+CAA+C,EAC/C,kDAAkD,EAClD,0CAA0C,EAC1C,sCAAsC,EACtC,yCAAyC,EACzC,yCAAyC,EACzC,4CAA4C,EAC5C,wCAAwC,EACxC,gCAAgC,EAChC,6BAA6B,EAC7B,6BAA6B,EAC7B,wBAAwB,EACxB,gCAAgC,EAChC,2BAA2B,GAC5B,MAAM,iBAAiB,CAAA;AACxB,YAAY,EACV,mCAAmC,EACnC,mCAAmC,EACnC,oCAAoC,EACpC,kCAAkC,EAClC,uCAAuC,GACxC,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EACL,oCAAoC,EACpC,iDAAiD,EACjD,yCAAyC,EACzC,6CAA6C,EAC7C,yCAAyC,EACzC,0CAA0C,EAC1C,wCAAwC,EACxC,4CAA4C,EAC5C,iDAAiD,EACjD,kDAAkD,EAClD,kCAAkC,GACnC,MAAM,uCAAuC,CAAA;AAE9C,eAAO,MAAM,gBAAgB,EAAE,MAE9B,CAAA;AAED,wBAAgB,0BAA0B,CACxC,OAAO,CAAC,EAAE,UAAU,CAAC,OAAO,4BAA4B,CAAC,CAAC,CAAC,CAAC,GAC3D,UAAU,CAOZ"}
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ export { createStorefrontPublicRoutes } from "./routes-public.js";
5
5
  export { createStorefrontService, mergeStorefrontSettingsPatch, resolveStorefrontSettings, } from "./service.js";
6
6
  export { CUSTOMER_SIGNAL_CREATED_EVENT } from "./service-intake.js";
7
7
  export { evaluateStorefrontTransportEligibility } from "./service-transport-eligibility.js";
8
- export { storefrontAppliedOfferSchema, storefrontBankTransferInputSchema, storefrontBankTransferSchema, storefrontBookingSessionAvailabilitySnapshotSchema, storefrontBookingSessionBootstrapInputSchema, storefrontBookingSessionBootstrapSchema, storefrontBookingSessionPaymentPlanSchema, storefrontBookingSessionQuoteSchema, storefrontBookingSessionRepricingSnapshotSchema, storefrontCurrencyDisplaySchema, storefrontDepartureItinerarySchema, storefrontDepartureListQuerySchema, storefrontDepartureListResponseSchema, storefrontDeparturePriceAllocationSchema, storefrontDeparturePriceExtraImpactSchema, storefrontDeparturePriceLineItemSchema, storefrontDeparturePriceOfferImpactSchema, storefrontDeparturePriceOffersSchema, storefrontDeparturePricePaxSchema, storefrontDeparturePricePreviewInputSchema, storefrontDeparturePricePreviewSchema, storefrontDeparturePriceRequestedOfferSchema, storefrontDeparturePriceRoomRowSchema, storefrontDeparturePriceSlotSchema, storefrontDeparturePriceTotalsSchema, storefrontDeparturePriceUnitRowSchema, storefrontDepartureSchema, storefrontFormFieldInputSchema, storefrontFormFieldOptionSchema, storefrontFormFieldSchema, storefrontFormFieldTypeSchema, storefrontIntakeConsentSchema, storefrontIntakeResponseSchema, storefrontLeadContactSchema, storefrontLeadIntakeInputSchema, storefrontNewsletterSubscribeInputSchema, storefrontNewsletterSubscribeResponseSchema, storefrontOfferApplyInputSchema, storefrontOfferAudienceSchema, storefrontOfferConflictSchema, storefrontOfferMutationReasonSchema, storefrontOfferMutationResponseSchema, storefrontOfferMutationResultSchema, storefrontOfferMutationStatusSchema, storefrontOfferRedeemInputSchema, storefrontPaymentMethodCodeSchema, storefrontPaymentMethodInputSchema, storefrontPaymentMethodSchema, storefrontPaymentScheduleInputSchema, storefrontPaymentScheduleSchema, storefrontProductAvailabilitySlotSchema, storefrontProductAvailabilityStateSchema, storefrontProductAvailabilitySummaryQuerySchema, storefrontProductAvailabilitySummaryResponseSchema, storefrontProductAvailabilitySummarySchema, storefrontProductExtensionsQuerySchema, storefrontProductExtensionsResponseSchema, storefrontPromotionalOfferListQuerySchema, storefrontPromotionalOfferListResponseSchema, storefrontPromotionalOfferResponseSchema, storefrontPromotionalOfferSchema, storefrontSettingsInputSchema, storefrontSettingsPatchSchema, storefrontSettingsSchema, storefrontSupportLinkInputSchema, storefrontSupportLinkSchema, } from "./validation.js";
8
+ export { storefrontAppliedOfferSchema, storefrontBankTransferAccountInputSchema, storefrontBankTransferAccountSchema, storefrontBankTransferInputSchema, storefrontBankTransferSchema, storefrontBookingSessionAvailabilitySnapshotSchema, storefrontBookingSessionBootstrapInputSchema, storefrontBookingSessionBootstrapSchema, storefrontBookingSessionPaymentPlanSchema, storefrontBookingSessionQuoteSchema, storefrontBookingSessionRepricingSnapshotSchema, storefrontCurrencyDisplaySchema, storefrontDepartureItinerarySchema, storefrontDepartureListQuerySchema, storefrontDepartureListResponseSchema, storefrontDeparturePriceAllocationSchema, storefrontDeparturePriceExtraImpactSchema, storefrontDeparturePriceLineItemSchema, storefrontDeparturePriceOfferImpactSchema, storefrontDeparturePriceOffersSchema, storefrontDeparturePricePaxSchema, storefrontDeparturePricePreviewInputSchema, storefrontDeparturePricePreviewSchema, storefrontDeparturePriceRequestedOfferSchema, storefrontDeparturePriceRoomRowSchema, storefrontDeparturePriceSlotSchema, storefrontDeparturePriceTotalsSchema, storefrontDeparturePriceUnitRowSchema, storefrontDepartureSchema, storefrontFormFieldInputSchema, storefrontFormFieldOptionSchema, storefrontFormFieldSchema, storefrontFormFieldTypeSchema, storefrontIntakeConsentSchema, storefrontIntakeResponseSchema, storefrontLeadContactSchema, storefrontLeadIntakeInputSchema, storefrontNewsletterSubscribeInputSchema, storefrontNewsletterSubscribeResponseSchema, storefrontOfferApplyInputSchema, storefrontOfferAudienceSchema, storefrontOfferConflictSchema, storefrontOfferMutationReasonSchema, storefrontOfferMutationResponseSchema, storefrontOfferMutationResultSchema, storefrontOfferMutationStatusSchema, storefrontOfferRedeemInputSchema, storefrontPaymentDueConditionSchema, storefrontPaymentMethodCodeSchema, storefrontPaymentMethodInputSchema, storefrontPaymentMethodSchema, storefrontPaymentScheduleEntryInputSchema, storefrontPaymentScheduleEntrySchema, storefrontPaymentScheduleInputSchema, storefrontPaymentScheduleSchema, storefrontPaymentStructureSchema, storefrontProductAvailabilitySlotSchema, storefrontProductAvailabilityStateSchema, storefrontProductAvailabilitySummaryQuerySchema, storefrontProductAvailabilitySummaryResponseSchema, storefrontProductAvailabilitySummarySchema, storefrontProductExtensionsQuerySchema, storefrontProductExtensionsResponseSchema, storefrontPromotionalOfferListQuerySchema, storefrontPromotionalOfferListResponseSchema, storefrontPromotionalOfferResponseSchema, storefrontPromotionalOfferSchema, storefrontSettingsInputSchema, storefrontSettingsPatchSchema, storefrontSettingsSchema, storefrontSupportLinkInputSchema, storefrontSupportLinkSchema, } from "./validation.js";
9
9
  export { storefrontRequiredDocumentTypeSchema, storefrontTransportEligibilityDocumentInputSchema, storefrontTransportEligibilityInputSchema, storefrontTransportEligibilityIssueCodeSchema, storefrontTransportEligibilityIssueSchema, storefrontTransportEligibilityResultSchema, storefrontTransportEligibilityRuleSchema, storefrontTransportEligibilitySeveritySchema, storefrontTransportEligibilityTravelerInputSchema, storefrontTransportEligibilityTravelerResultSchema, storefrontTravelDocumentTypeSchema, } from "./validation-transport-eligibility.js";
10
10
  export const storefrontModule = {
11
11
  name: "storefront",
@@ -76,11 +76,25 @@ export declare function createStorefrontAdminRoutes(options?: StorefrontServiceO
76
76
  description: string | null;
77
77
  enabled: boolean;
78
78
  }[];
79
+ structure: "split" | "full";
80
+ schedule: {
81
+ percent: number;
82
+ dueInDays: number;
83
+ dueCondition: "after_booking" | "before_departure";
84
+ }[];
79
85
  defaultSchedule: {
80
86
  depositPercent: number | null;
81
87
  balanceDueDaysBeforeDeparture: number | null;
82
88
  } | null;
83
89
  bankTransfer: {
90
+ dueDays: number | null;
91
+ account: {
92
+ provider: string | null;
93
+ currency: string | null;
94
+ iban: string;
95
+ beneficiary: string;
96
+ bank: string;
97
+ } | null;
84
98
  accountHolder: string | null;
85
99
  bankName: string | null;
86
100
  iban: string | null;
@@ -167,11 +181,25 @@ export declare function createStorefrontAdminRoutes(options?: StorefrontServiceO
167
181
  description: string | null;
168
182
  enabled: boolean;
169
183
  }[];
184
+ structure: "split" | "full";
185
+ schedule: {
186
+ percent: number;
187
+ dueInDays: number;
188
+ dueCondition: "after_booking" | "before_departure";
189
+ }[];
170
190
  defaultSchedule: {
171
191
  depositPercent: number | null;
172
192
  balanceDueDaysBeforeDeparture: number | null;
173
193
  } | null;
174
194
  bankTransfer: {
195
+ dueDays: number | null;
196
+ account: {
197
+ provider: string | null;
198
+ currency: string | null;
199
+ iban: string;
200
+ beneficiary: string;
201
+ bank: string;
202
+ } | null;
175
203
  accountHolder: string | null;
176
204
  bankName: string | null;
177
205
  iban: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"routes-admin.d.ts","sourceRoot":"","sources":["../src/routes-admin.ts"],"names":[],"mappings":"AAIA,OAAO,EAGL,KAAK,wBAAwB,EAC9B,MAAM,cAAc,CAAA;AAGrB,KAAK,GAAG,GAAG;IACT,SAAS,EAAE;QACT,EAAE,EAAE,OAAO,CAAA;KACZ,CAAA;CACF,CAAA;AAUD,wBAAgB,2BAA2B,CAAC,OAAO,CAAC,EAAE,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAsB7E;AAED,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAAA"}
1
+ {"version":3,"file":"routes-admin.d.ts","sourceRoot":"","sources":["../src/routes-admin.ts"],"names":[],"mappings":"AAIA,OAAO,EAGL,KAAK,wBAAwB,EAC9B,MAAM,cAAc,CAAA;AAGrB,KAAK,GAAG,GAAG;IACT,SAAS,EAAE;QACT,EAAE,EAAE,OAAO,CAAA;KACZ,CAAA;CACF,CAAA;AAUD,wBAAgB,2BAA2B,CAAC,OAAO,CAAC,EAAE,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAsB7E;AAED,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAAA"}
@@ -78,11 +78,25 @@ export declare function createStorefrontPublicRoutes(options?: StorefrontService
78
78
  description: string | null;
79
79
  enabled: boolean;
80
80
  }[];
81
+ structure: "split" | "full";
82
+ schedule: {
83
+ percent: number;
84
+ dueInDays: number;
85
+ dueCondition: "after_booking" | "before_departure";
86
+ }[];
81
87
  defaultSchedule: {
82
88
  depositPercent: number | null;
83
89
  balanceDueDaysBeforeDeparture: number | null;
84
90
  } | null;
85
91
  bankTransfer: {
92
+ dueDays: number | null;
93
+ account: {
94
+ provider: string | null;
95
+ currency: string | null;
96
+ iban: string;
97
+ beneficiary: string;
98
+ bank: string;
99
+ } | null;
86
100
  accountHolder: string | null;
87
101
  bankName: string | null;
88
102
  iban: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"routes-public.d.ts","sourceRoot":"","sources":["../src/routes-public.ts"],"names":[],"mappings":"AAKA,OAAO,EAIL,KAAK,cAAc,EACnB,KAAK,eAAe,EACrB,MAAM,gBAAgB,CAAA;AAIvB,OAAO,EAGL,KAAK,wBAAwB,EAC9B,MAAM,cAAc,CAAA;AAiBrB,KAAK,GAAG,GAAG;IACT,QAAQ,EAAE,cA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAuP9E;AAED,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,4BAA4B,CAAC,CAAA"}
package/dist/service.d.ts CHANGED
@@ -115,11 +115,25 @@ export declare function createStorefrontService(options?: StorefrontServiceOptio
115
115
  description: string | null;
116
116
  enabled: boolean;
117
117
  }[];
118
+ structure: "split" | "full";
119
+ schedule: {
120
+ percent: number;
121
+ dueInDays: number;
122
+ dueCondition: "after_booking" | "before_departure";
123
+ }[];
118
124
  defaultSchedule: {
119
125
  depositPercent: number | null;
120
126
  balanceDueDaysBeforeDeparture: number | null;
121
127
  } | null;
122
128
  bankTransfer: {
129
+ dueDays: number | null;
130
+ account: {
131
+ provider: string | null;
132
+ currency: string | null;
133
+ iban: string;
134
+ beneficiary: string;
135
+ bank: string;
136
+ } | null;
123
137
  accountHolder: string | null;
124
138
  bankName: string | null;
125
139
  iban: string | null;
@@ -196,11 +210,25 @@ export declare function createStorefrontService(options?: StorefrontServiceOptio
196
210
  description: string | null;
197
211
  enabled: boolean;
198
212
  }[];
213
+ structure: "split" | "full";
214
+ schedule: {
215
+ percent: number;
216
+ dueInDays: number;
217
+ dueCondition: "after_booking" | "before_departure";
218
+ }[];
199
219
  defaultSchedule: {
200
220
  depositPercent: number | null;
201
221
  balanceDueDaysBeforeDeparture: number | null;
202
222
  } | null;
203
223
  bankTransfer: {
224
+ dueDays: number | null;
225
+ account: {
226
+ provider: string | null;
227
+ currency: string | null;
228
+ iban: string;
229
+ beneficiary: string;
230
+ bank: string;
231
+ } | null;
204
232
  accountHolder: string | null;
205
233
  bankName: string | null;
206
234
  iban: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings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,wBAAwB,CAAA;KAAE;;;;;;;;+BAG7D;QACzB,IAAI,EAAE,kCAAkC,CAAA;QACxC,OAAO,EAAE,wBAAwB,CAAA;KAClC;;;;;;;;;EAOJ;AAED,YAAY,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,CAAA"}
package/dist/service.js CHANGED
@@ -38,10 +38,63 @@ function normalizePaymentSchedule(schedule) {
38
38
  balanceDueDaysBeforeDeparture: schedule.balanceDueDaysBeforeDeparture ?? null,
39
39
  };
40
40
  }
41
+ function scheduleEntriesFromDefaultSchedule(schedule) {
42
+ if (!schedule?.depositPercent || schedule.depositPercent >= 100) {
43
+ return [];
44
+ }
45
+ const remainderPercent = 100 - schedule.depositPercent;
46
+ return [
47
+ {
48
+ percent: schedule.depositPercent,
49
+ dueInDays: 0,
50
+ dueCondition: "after_booking",
51
+ },
52
+ {
53
+ percent: remainderPercent,
54
+ dueInDays: schedule.balanceDueDaysBeforeDeparture ?? 0,
55
+ dueCondition: "before_departure",
56
+ },
57
+ ];
58
+ }
59
+ function normalizePaymentScheduleEntries(schedule, defaultSchedule) {
60
+ if (schedule)
61
+ return schedule;
62
+ return scheduleEntriesFromDefaultSchedule(defaultSchedule);
63
+ }
64
+ function normalizePaymentStructure(structure, schedule, defaultSchedule) {
65
+ if (structure)
66
+ return structure;
67
+ if (schedule.length > 0)
68
+ return "split";
69
+ return defaultSchedule?.depositPercent && defaultSchedule.depositPercent > 0 ? "split" : "full";
70
+ }
71
+ function normalizeBankTransferAccount(account, bankTransfer) {
72
+ const resolved = account ??
73
+ (bankTransfer.iban && bankTransfer.accountHolder && bankTransfer.bankName
74
+ ? {
75
+ provider: null,
76
+ currency: null,
77
+ iban: bankTransfer.iban,
78
+ beneficiary: bankTransfer.accountHolder,
79
+ bank: bankTransfer.bankName,
80
+ }
81
+ : null);
82
+ if (!resolved)
83
+ return null;
84
+ return {
85
+ provider: resolved.provider ?? null,
86
+ currency: resolved.currency ?? null,
87
+ iban: resolved.iban,
88
+ beneficiary: resolved.beneficiary,
89
+ bank: resolved.bank,
90
+ };
91
+ }
41
92
  function normalizeBankTransfer(bankTransfer) {
42
93
  if (!bankTransfer)
43
94
  return null;
44
95
  return {
96
+ dueDays: bankTransfer.dueDays ?? null,
97
+ account: normalizeBankTransferAccount(bankTransfer.account, bankTransfer),
45
98
  accountHolder: bankTransfer.accountHolder ?? null,
46
99
  bankName: bankTransfer.bankName ?? null,
47
100
  iban: bankTransfer.iban ?? null,
@@ -64,8 +117,10 @@ function mergePaymentSchedule(current, patch) {
64
117
  function mergeBankTransfer(current, patch) {
65
118
  if (patch === null)
66
119
  return null;
67
- return {
120
+ const merged = {
68
121
  ...(current ?? {
122
+ dueDays: null,
123
+ account: null,
69
124
  accountHolder: null,
70
125
  bankName: null,
71
126
  iban: null,
@@ -75,9 +130,17 @@ function mergeBankTransfer(current, patch) {
75
130
  }),
76
131
  ...patch,
77
132
  };
133
+ const shouldRefreshAccountFromLegacyFields = patch.account === undefined &&
134
+ ("accountHolder" in patch || "bankName" in patch || "iban" in patch);
135
+ return {
136
+ ...merged,
137
+ account: normalizeBankTransferAccount(shouldRefreshAccountFromLegacyFields ? null : merged.account, merged),
138
+ };
78
139
  }
79
140
  export function resolveStorefrontSettings(input) {
80
141
  const parsed = storefrontSettingsInputSchema.parse(input ?? {});
142
+ const defaultSchedule = normalizePaymentSchedule(parsed.payment?.defaultSchedule ?? null);
143
+ const schedule = normalizePaymentScheduleEntries(parsed.payment?.schedule, defaultSchedule);
81
144
  return storefrontSettingsSchema.parse({
82
145
  branding: {
83
146
  logoUrl: parsed.branding?.logoUrl ?? null,
@@ -113,7 +176,9 @@ export function resolveStorefrontSettings(input) {
113
176
  payment: {
114
177
  defaultMethod: parsed.payment?.defaultMethod ?? null,
115
178
  methods: (parsed.payment?.methods ?? []).map(normalizePaymentMethod),
116
- defaultSchedule: normalizePaymentSchedule(parsed.payment?.defaultSchedule ?? null),
179
+ structure: normalizePaymentStructure(parsed.payment?.structure, schedule, defaultSchedule),
180
+ schedule,
181
+ defaultSchedule,
117
182
  bankTransfer: normalizeBankTransfer(parsed.payment?.bankTransfer ?? null),
118
183
  },
119
184
  });
@@ -89,6 +89,30 @@ export declare const storefrontPaymentMethodSchema: z.ZodObject<{
89
89
  description: z.ZodNullable<z.ZodString>;
90
90
  enabled: z.ZodBoolean;
91
91
  }, z.core.$strip>;
92
+ export declare const storefrontPaymentStructureSchema: z.ZodEnum<{
93
+ split: "split";
94
+ full: "full";
95
+ }>;
96
+ export declare const storefrontPaymentDueConditionSchema: z.ZodEnum<{
97
+ after_booking: "after_booking";
98
+ before_departure: "before_departure";
99
+ }>;
100
+ export declare const storefrontPaymentScheduleEntryInputSchema: z.ZodObject<{
101
+ percent: z.ZodNumber;
102
+ dueInDays: z.ZodNumber;
103
+ dueCondition: z.ZodEnum<{
104
+ after_booking: "after_booking";
105
+ before_departure: "before_departure";
106
+ }>;
107
+ }, z.core.$strip>;
108
+ export declare const storefrontPaymentScheduleEntrySchema: z.ZodObject<{
109
+ percent: z.ZodNumber;
110
+ dueInDays: z.ZodNumber;
111
+ dueCondition: z.ZodEnum<{
112
+ after_booking: "after_booking";
113
+ before_departure: "before_departure";
114
+ }>;
115
+ }, z.core.$strip>;
92
116
  export declare const storefrontSupportLinkInputSchema: z.ZodObject<{
93
117
  label: z.ZodString;
94
118
  url: z.ZodURL;
@@ -97,7 +121,29 @@ export declare const storefrontSupportLinkSchema: z.ZodObject<{
97
121
  label: z.ZodString;
98
122
  url: z.ZodURL;
99
123
  }, z.core.$strip>;
124
+ export declare const storefrontBankTransferAccountInputSchema: z.ZodObject<{
125
+ provider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
126
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
127
+ iban: z.ZodString;
128
+ beneficiary: z.ZodString;
129
+ bank: z.ZodString;
130
+ }, z.core.$strip>;
131
+ export declare const storefrontBankTransferAccountSchema: z.ZodObject<{
132
+ provider: z.ZodNullable<z.ZodString>;
133
+ currency: z.ZodNullable<z.ZodString>;
134
+ iban: z.ZodString;
135
+ beneficiary: z.ZodString;
136
+ bank: z.ZodString;
137
+ }, z.core.$strip>;
100
138
  export declare const storefrontBankTransferInputSchema: z.ZodObject<{
139
+ dueDays: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
140
+ account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
141
+ provider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
142
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
143
+ iban: z.ZodString;
144
+ beneficiary: z.ZodString;
145
+ bank: z.ZodString;
146
+ }, z.core.$strip>>>;
101
147
  accountHolder: z.ZodNullable<z.ZodOptional<z.ZodString>>;
102
148
  bankName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
103
149
  iban: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -106,6 +152,14 @@ export declare const storefrontBankTransferInputSchema: z.ZodObject<{
106
152
  instructions: z.ZodNullable<z.ZodOptional<z.ZodString>>;
107
153
  }, z.core.$strip>;
108
154
  export declare const storefrontBankTransferSchema: z.ZodObject<{
155
+ dueDays: z.ZodNullable<z.ZodNumber>;
156
+ account: z.ZodNullable<z.ZodObject<{
157
+ provider: z.ZodNullable<z.ZodString>;
158
+ currency: z.ZodNullable<z.ZodString>;
159
+ iban: z.ZodString;
160
+ beneficiary: z.ZodString;
161
+ bank: z.ZodString;
162
+ }, z.core.$strip>>;
109
163
  accountHolder: z.ZodNullable<z.ZodString>;
110
164
  bankName: z.ZodNullable<z.ZodString>;
111
165
  iban: z.ZodNullable<z.ZodString>;
@@ -227,11 +281,31 @@ export declare const storefrontSettingsInputSchema: z.ZodObject<{
227
281
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
228
282
  enabled: z.ZodDefault<z.ZodBoolean>;
229
283
  }, z.core.$strip>>>;
284
+ structure: z.ZodOptional<z.ZodEnum<{
285
+ split: "split";
286
+ full: "full";
287
+ }>>;
288
+ schedule: z.ZodOptional<z.ZodArray<z.ZodObject<{
289
+ percent: z.ZodNumber;
290
+ dueInDays: z.ZodNumber;
291
+ dueCondition: z.ZodEnum<{
292
+ after_booking: "after_booking";
293
+ before_departure: "before_departure";
294
+ }>;
295
+ }, z.core.$strip>>>;
230
296
  defaultSchedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
231
297
  depositPercent: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
232
298
  balanceDueDaysBeforeDeparture: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
233
299
  }, z.core.$strip>>>;
234
300
  bankTransfer: z.ZodNullable<z.ZodOptional<z.ZodObject<{
301
+ dueDays: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
302
+ account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
303
+ provider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
304
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
305
+ iban: z.ZodString;
306
+ beneficiary: z.ZodString;
307
+ bank: z.ZodString;
308
+ }, z.core.$strip>>>;
235
309
  accountHolder: z.ZodNullable<z.ZodOptional<z.ZodString>>;
236
310
  bankName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
237
311
  iban: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -342,11 +416,31 @@ export declare const storefrontSettingsSchema: z.ZodObject<{
342
416
  description: z.ZodNullable<z.ZodString>;
343
417
  enabled: z.ZodBoolean;
344
418
  }, z.core.$strip>>;
419
+ structure: z.ZodEnum<{
420
+ split: "split";
421
+ full: "full";
422
+ }>;
423
+ schedule: z.ZodArray<z.ZodObject<{
424
+ percent: z.ZodNumber;
425
+ dueInDays: z.ZodNumber;
426
+ dueCondition: z.ZodEnum<{
427
+ after_booking: "after_booking";
428
+ before_departure: "before_departure";
429
+ }>;
430
+ }, z.core.$strip>>;
345
431
  defaultSchedule: z.ZodNullable<z.ZodObject<{
346
432
  depositPercent: z.ZodNullable<z.ZodNumber>;
347
433
  balanceDueDaysBeforeDeparture: z.ZodNullable<z.ZodNumber>;
348
434
  }, z.core.$strip>>;
349
435
  bankTransfer: z.ZodNullable<z.ZodObject<{
436
+ dueDays: z.ZodNullable<z.ZodNumber>;
437
+ account: z.ZodNullable<z.ZodObject<{
438
+ provider: z.ZodNullable<z.ZodString>;
439
+ currency: z.ZodNullable<z.ZodString>;
440
+ iban: z.ZodString;
441
+ beneficiary: z.ZodString;
442
+ bank: z.ZodString;
443
+ }, z.core.$strip>>;
350
444
  accountHolder: z.ZodNullable<z.ZodString>;
351
445
  bankName: z.ZodNullable<z.ZodString>;
352
446
  iban: z.ZodNullable<z.ZodString>;
@@ -457,11 +551,31 @@ export declare const storefrontSettingsPatchSchema: z.ZodObject<{
457
551
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
458
552
  enabled: z.ZodDefault<z.ZodBoolean>;
459
553
  }, z.core.$strip>>>;
554
+ structure: z.ZodOptional<z.ZodEnum<{
555
+ split: "split";
556
+ full: "full";
557
+ }>>;
558
+ schedule: z.ZodOptional<z.ZodArray<z.ZodObject<{
559
+ percent: z.ZodNumber;
560
+ dueInDays: z.ZodNumber;
561
+ dueCondition: z.ZodEnum<{
562
+ after_booking: "after_booking";
563
+ before_departure: "before_departure";
564
+ }>;
565
+ }, z.core.$strip>>>;
460
566
  defaultSchedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
461
567
  depositPercent: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
462
568
  balanceDueDaysBeforeDeparture: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
463
569
  }, z.core.$strip>>>;
464
570
  bankTransfer: z.ZodNullable<z.ZodOptional<z.ZodObject<{
571
+ dueDays: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
572
+ account: z.ZodNullable<z.ZodOptional<z.ZodObject<{
573
+ provider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
574
+ currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
575
+ iban: z.ZodString;
576
+ beneficiary: z.ZodString;
577
+ bank: z.ZodString;
578
+ }, z.core.$strip>>>;
465
579
  accountHolder: z.ZodNullable<z.ZodOptional<z.ZodString>>;
466
580
  bankName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
467
581
  iban: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -476,8 +590,14 @@ export type StorefrontFormFieldInput = z.infer<typeof storefrontFormFieldInputSc
476
590
  export type StorefrontFormField = z.infer<typeof storefrontFormFieldSchema>;
477
591
  export type StorefrontPaymentMethodInput = z.infer<typeof storefrontPaymentMethodInputSchema>;
478
592
  export type StorefrontPaymentMethod = z.infer<typeof storefrontPaymentMethodSchema>;
593
+ export type StorefrontPaymentStructure = z.infer<typeof storefrontPaymentStructureSchema>;
594
+ export type StorefrontPaymentDueCondition = z.infer<typeof storefrontPaymentDueConditionSchema>;
595
+ export type StorefrontPaymentScheduleEntryInput = z.infer<typeof storefrontPaymentScheduleEntryInputSchema>;
596
+ export type StorefrontPaymentScheduleEntry = z.infer<typeof storefrontPaymentScheduleEntrySchema>;
479
597
  export type StorefrontSupportLinkInput = z.infer<typeof storefrontSupportLinkInputSchema>;
480
598
  export type StorefrontSupportLink = z.infer<typeof storefrontSupportLinkSchema>;
599
+ export type StorefrontBankTransferAccountInput = z.infer<typeof storefrontBankTransferAccountInputSchema>;
600
+ export type StorefrontBankTransferAccount = z.infer<typeof storefrontBankTransferAccountSchema>;
481
601
  export type StorefrontBankTransferInput = z.infer<typeof storefrontBankTransferInputSchema>;
482
602
  export type StorefrontBankTransfer = z.infer<typeof storefrontBankTransferSchema>;
483
603
  export type StorefrontPaymentScheduleInput = z.infer<typeof storefrontPaymentScheduleInputSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"validation-settings.d.ts","sourceRoot":"","sources":["../src/validation-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,iBAAiB,aAGmB,CAAA;AAoBjD,eAAO,MAAM,iCAAiC;;;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CAAoC,CAAC,CAAA;AACjG,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA;AACzF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAA;AAC/E,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,wCAAwC,CAChD,CAAA;AACD,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAA;AAC/F,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAA;AAC3F,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAA;AACjF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAA;AACjG,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAA;AACvF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAA;AACvF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAA;AACnF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AACzE,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAA"}
@@ -71,12 +71,36 @@ export const storefrontPaymentMethodSchema = z.object({
71
71
  description: z.string().trim().min(1).nullable(),
72
72
  enabled: z.boolean(),
73
73
  });
74
+ export const storefrontPaymentStructureSchema = z.enum(["full", "split"]);
75
+ export const storefrontPaymentDueConditionSchema = z.enum(["after_booking", "before_departure"]);
76
+ export const storefrontPaymentScheduleEntryInputSchema = z.object({
77
+ percent: z.number().min(0).max(100),
78
+ dueInDays: z.number().int().min(0),
79
+ dueCondition: storefrontPaymentDueConditionSchema,
80
+ });
81
+ export const storefrontPaymentScheduleEntrySchema = storefrontPaymentScheduleEntryInputSchema;
74
82
  export const storefrontSupportLinkInputSchema = z.object({
75
83
  label: z.string().trim().min(1),
76
84
  url: httpUrlSchema,
77
85
  });
78
86
  export const storefrontSupportLinkSchema = storefrontSupportLinkInputSchema;
87
+ export const storefrontBankTransferAccountInputSchema = z.object({
88
+ provider: z.string().trim().min(1).optional().nullable(),
89
+ currency: z.string().trim().min(1).optional().nullable(),
90
+ iban: z.string().trim().min(1),
91
+ beneficiary: z.string().trim().min(1),
92
+ bank: z.string().trim().min(1),
93
+ });
94
+ export const storefrontBankTransferAccountSchema = z.object({
95
+ provider: textOrNullSchema,
96
+ currency: textOrNullSchema,
97
+ iban: z.string().trim().min(1),
98
+ beneficiary: z.string().trim().min(1),
99
+ bank: z.string().trim().min(1),
100
+ });
79
101
  export const storefrontBankTransferInputSchema = z.object({
102
+ dueDays: z.number().int().min(0).optional().nullable(),
103
+ account: storefrontBankTransferAccountInputSchema.optional().nullable(),
80
104
  accountHolder: z.string().trim().min(1).optional().nullable(),
81
105
  bankName: z.string().trim().min(1).optional().nullable(),
82
106
  iban: z.string().trim().min(1).optional().nullable(),
@@ -85,6 +109,8 @@ export const storefrontBankTransferInputSchema = z.object({
85
109
  instructions: z.string().trim().min(1).optional().nullable(),
86
110
  });
87
111
  export const storefrontBankTransferSchema = z.object({
112
+ dueDays: z.number().int().min(0).nullable(),
113
+ account: storefrontBankTransferAccountSchema.nullable(),
88
114
  accountHolder: textOrNullSchema,
89
115
  bankName: textOrNullSchema,
90
116
  iban: textOrNullSchema,
@@ -151,6 +177,8 @@ export const storefrontSettingsInputSchema = z.object({
151
177
  .object({
152
178
  defaultMethod: storefrontPaymentMethodCodeSchema.optional().nullable(),
153
179
  methods: z.array(storefrontPaymentMethodInputSchema).optional(),
180
+ structure: storefrontPaymentStructureSchema.optional(),
181
+ schedule: z.array(storefrontPaymentScheduleEntryInputSchema).optional(),
154
182
  defaultSchedule: storefrontPaymentScheduleInputSchema.optional().nullable(),
155
183
  bankTransfer: storefrontBankTransferInputSchema.optional().nullable(),
156
184
  })
@@ -191,6 +219,8 @@ export const storefrontSettingsSchema = z.object({
191
219
  payment: z.object({
192
220
  defaultMethod: storefrontPaymentMethodCodeSchema.nullable(),
193
221
  methods: z.array(storefrontPaymentMethodSchema),
222
+ structure: storefrontPaymentStructureSchema,
223
+ schedule: z.array(storefrontPaymentScheduleEntrySchema),
194
224
  defaultSchedule: storefrontPaymentScheduleSchema.nullable(),
195
225
  bankTransfer: storefrontBankTransferSchema.nullable(),
196
226
  }),
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
- export type { StorefrontBankTransfer, StorefrontBankTransferInput, StorefrontCurrencyDisplay, StorefrontFormField, StorefrontFormFieldInput, StorefrontPaymentMethod, StorefrontPaymentMethodCode, StorefrontPaymentMethodInput, StorefrontPaymentSchedule, StorefrontPaymentScheduleInput, StorefrontSettings, StorefrontSettingsInput, StorefrontSettingsPatchInput, StorefrontSupportLink, StorefrontSupportLinkInput, } from "./validation-settings.js";
3
- export { storefrontBankTransferInputSchema, storefrontBankTransferSchema, storefrontCurrencyDisplaySchema, storefrontFormFieldInputSchema, storefrontFormFieldOptionSchema, storefrontFormFieldSchema, storefrontFormFieldTypeSchema, storefrontPaymentMethodCodeSchema, storefrontPaymentMethodInputSchema, storefrontPaymentMethodSchema, storefrontPaymentScheduleInputSchema, storefrontPaymentScheduleSchema, storefrontSettingsInputSchema, storefrontSettingsPatchSchema, storefrontSettingsSchema, storefrontSupportLinkInputSchema, storefrontSupportLinkSchema, } from "./validation-settings.js";
2
+ export type { StorefrontBankTransfer, StorefrontBankTransferAccount, StorefrontBankTransferAccountInput, StorefrontBankTransferInput, StorefrontCurrencyDisplay, StorefrontFormField, StorefrontFormFieldInput, StorefrontPaymentDueCondition, StorefrontPaymentMethod, StorefrontPaymentMethodCode, StorefrontPaymentMethodInput, StorefrontPaymentSchedule, StorefrontPaymentScheduleEntry, StorefrontPaymentScheduleEntryInput, StorefrontPaymentScheduleInput, StorefrontPaymentStructure, StorefrontSettings, StorefrontSettingsInput, StorefrontSettingsPatchInput, StorefrontSupportLink, StorefrontSupportLinkInput, } from "./validation-settings.js";
3
+ export { storefrontBankTransferAccountInputSchema, storefrontBankTransferAccountSchema, storefrontBankTransferInputSchema, storefrontBankTransferSchema, storefrontCurrencyDisplaySchema, storefrontFormFieldInputSchema, storefrontFormFieldOptionSchema, storefrontFormFieldSchema, storefrontFormFieldTypeSchema, storefrontPaymentDueConditionSchema, storefrontPaymentMethodCodeSchema, storefrontPaymentMethodInputSchema, storefrontPaymentMethodSchema, storefrontPaymentScheduleEntryInputSchema, storefrontPaymentScheduleEntrySchema, storefrontPaymentScheduleInputSchema, storefrontPaymentScheduleSchema, storefrontPaymentStructureSchema, storefrontSettingsInputSchema, storefrontSettingsPatchSchema, storefrontSettingsSchema, storefrontSupportLinkInputSchema, storefrontSupportLinkSchema, } from "./validation-settings.js";
4
4
  export declare const storefrontIntakeConsentSchema: z.ZodObject<{
5
5
  marketing: z.ZodDefault<z.ZodBoolean>;
6
6
  newsletter: z.ZodDefault<z.ZodBoolean>;
@@ -1 +1 @@
1
- {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../src/validation.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,YAAY,EACV,sBAAsB,EACtB,2BAA2B,EAC3B,yBAAyB,EACzB,mBAAmB,EACnB,wBAAwB,EACxB,uBAAuB,EACvB,2BAA2B,EAC3B,4BAA4B,EAC5B,yBAAyB,EACzB,8BAA8B,EAC9B,kBAAkB,EAClB,uBAAuB,EACvB,4BAA4B,EAC5B,qBAAqB,EACrB,0BAA0B,GAC3B,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAC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;AACjF,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAA"}
@@ -5,7 +5,7 @@ import { extraPricingModeSchema } from "@voyantjs/extras/validation";
5
5
  import { publicBookingPaymentScheduleSchema } from "@voyantjs/finance/public-validation";
6
6
  import { z } from "zod";
7
7
  import { languageTagSchema } from "./validation-settings.js";
8
- export { storefrontBankTransferInputSchema, storefrontBankTransferSchema, storefrontCurrencyDisplaySchema, storefrontFormFieldInputSchema, storefrontFormFieldOptionSchema, storefrontFormFieldSchema, storefrontFormFieldTypeSchema, storefrontPaymentMethodCodeSchema, storefrontPaymentMethodInputSchema, storefrontPaymentMethodSchema, storefrontPaymentScheduleInputSchema, storefrontPaymentScheduleSchema, storefrontSettingsInputSchema, storefrontSettingsPatchSchema, storefrontSettingsSchema, storefrontSupportLinkInputSchema, storefrontSupportLinkSchema, } from "./validation-settings.js";
8
+ export { storefrontBankTransferAccountInputSchema, storefrontBankTransferAccountSchema, storefrontBankTransferInputSchema, storefrontBankTransferSchema, storefrontCurrencyDisplaySchema, storefrontFormFieldInputSchema, storefrontFormFieldOptionSchema, storefrontFormFieldSchema, storefrontFormFieldTypeSchema, storefrontPaymentDueConditionSchema, storefrontPaymentMethodCodeSchema, storefrontPaymentMethodInputSchema, storefrontPaymentMethodSchema, storefrontPaymentScheduleEntryInputSchema, storefrontPaymentScheduleEntrySchema, storefrontPaymentScheduleInputSchema, storefrontPaymentScheduleSchema, storefrontPaymentStructureSchema, storefrontSettingsInputSchema, storefrontSettingsPatchSchema, storefrontSettingsSchema, storefrontSupportLinkInputSchema, storefrontSupportLinkSchema, } from "./validation-settings.js";
9
9
  const boundedRecordSchema = z
10
10
  .record(z.string(), z.unknown())
11
11
  .refine((value) => JSON.stringify(value).length <= 8000, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/storefront",
3
- "version": "0.50.0",
3
+ "version": "0.50.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -39,21 +39,21 @@
39
39
  "drizzle-orm": "^0.45.2",
40
40
  "hono": "^4.12.10",
41
41
  "zod": "^4.3.6",
42
- "@voyantjs/availability": "0.50.0",
43
- "@voyantjs/core": "0.50.0",
44
- "@voyantjs/bookings": "0.50.0",
45
- "@voyantjs/extras": "0.50.0",
46
- "@voyantjs/crm": "0.50.0",
47
- "@voyantjs/finance": "0.50.0",
48
- "@voyantjs/hono": "0.50.0",
49
- "@voyantjs/pricing": "0.50.0",
50
- "@voyantjs/sellability": "0.50.0",
51
- "@voyantjs/products": "0.50.0"
42
+ "@voyantjs/availability": "0.50.1",
43
+ "@voyantjs/core": "0.50.1",
44
+ "@voyantjs/bookings": "0.50.1",
45
+ "@voyantjs/crm": "0.50.1",
46
+ "@voyantjs/extras": "0.50.1",
47
+ "@voyantjs/finance": "0.50.1",
48
+ "@voyantjs/hono": "0.50.1",
49
+ "@voyantjs/pricing": "0.50.1",
50
+ "@voyantjs/products": "0.50.1",
51
+ "@voyantjs/sellability": "0.50.1"
52
52
  },
53
53
  "devDependencies": {
54
54
  "typescript": "^6.0.2",
55
55
  "vitest": "^4.1.2",
56
- "@voyantjs/db": "0.50.0",
56
+ "@voyantjs/db": "0.50.1",
57
57
  "@voyantjs/voyant-typescript-config": "0.1.0"
58
58
  },
59
59
  "files": [