@voyantjs/storefront-react 0.49.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.
@@ -1 +1 @@
1
- {"version":3,"file":"query-options.d.ts","sourceRoot":"","sources":["../src/query-options.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;AAU7D,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,sBAAsB,EAE5B,MAAM,iBAAiB,CAAA;AAExB,wBAAgB,iCAAiC,CAAC,MAAM,EAAE,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKnF;AAED,wBAAgB,kCAAkC,CAChD,MAAM,EAAE,0BAA0B,EAClC,WAAW,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMpB;AAED,wBAAgB,0CAA0C,CACxD,MAAM,EAAE,0BAA0B,EAClC,SAAS,EAAE,MAAM,EACjB,OAAO,GAAE,0BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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BAA0B,EAClC,SAAS,EAAE,MAAM,EACjB,OAAO,GAAE,sBAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMrC;AAED,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,0BAA0B,EAClC,IAAI,EAAE,MAAM,EACZ,MAAM,CAAC,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMhB;AAED,YAAY,EACV,0BAA0B,EAC1B,2BAA2B,EAC3B,sBAAsB,GACvB,MAAM,iBAAiB,CAAA"}
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { queryOptions } from "@tanstack/react-query";
3
- import { getStorefrontDeparture, getStorefrontDepartureItinerary, getStorefrontOfferBySlug, getStorefrontSettings, listStorefrontProductDepartures, listStorefrontProductExtensions, listStorefrontProductOffers, } from "./operations.js";
3
+ import { getAdminStorefrontSettings, getStorefrontDeparture, getStorefrontDepartureItinerary, getStorefrontOfferBySlug, getStorefrontSettings, listStorefrontProductDepartures, listStorefrontProductExtensions, listStorefrontProductOffers, } from "./operations.js";
4
4
  import { storefrontQueryKeys, } from "./query-keys.js";
5
5
  export function getStorefrontSettingsQueryOptions(client) {
6
6
  return queryOptions({
@@ -8,6 +8,12 @@ export function getStorefrontSettingsQueryOptions(client) {
8
8
  queryFn: () => getStorefrontSettings(client),
9
9
  });
10
10
  }
11
+ export function getAdminStorefrontSettingsQueryOptions(client) {
12
+ return queryOptions({
13
+ queryKey: storefrontQueryKeys.adminSettings(),
14
+ queryFn: () => getAdminStorefrontSettings(client),
15
+ });
16
+ }
11
17
  export function getStorefrontDepartureQueryOptions(client, departureId) {
12
18
  return queryOptions({
13
19
  queryKey: storefrontQueryKeys.departure(departureId),
package/dist/schemas.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { storefrontDepartureItinerarySchema, storefrontDepartureListQuerySchema, storefrontDepartureListResponseSchema, storefrontDeparturePricePreviewInputSchema, storefrontDeparturePricePreviewSchema, storefrontDepartureSchema, storefrontOfferApplyInputSchema, storefrontOfferMutationResponseSchema, storefrontOfferMutationResultSchema, storefrontOfferRedeemInputSchema, storefrontProductExtensionsQuerySchema, storefrontProductExtensionsResponseSchema, storefrontPromotionalOfferListQuerySchema, storefrontPromotionalOfferSchema, storefrontSettingsSchema } from "@voyantjs/storefront";
1
+ import { storefrontDepartureItinerarySchema, storefrontDepartureListQuerySchema, storefrontDepartureListResponseSchema, storefrontDeparturePriceAllocationSchema, storefrontDeparturePriceExtraImpactSchema, storefrontDeparturePriceLineItemSchema, storefrontDeparturePriceOfferImpactSchema, storefrontDeparturePriceOffersSchema, storefrontDeparturePricePaxSchema, storefrontDeparturePricePreviewInputSchema, storefrontDeparturePricePreviewSchema, storefrontDeparturePriceRequestedOfferSchema, storefrontDeparturePriceRoomRowSchema, storefrontDeparturePriceSlotSchema, storefrontDeparturePriceTotalsSchema, storefrontDeparturePriceUnitRowSchema, storefrontDepartureSchema, storefrontOfferApplyInputSchema, storefrontOfferMutationResponseSchema, storefrontOfferMutationResultSchema, storefrontOfferRedeemInputSchema, storefrontProductExtensionsQuerySchema, storefrontProductExtensionsResponseSchema, storefrontPromotionalOfferListQuerySchema, storefrontPromotionalOfferSchema, storefrontSettingsInputSchema, storefrontSettingsPatchSchema, storefrontSettingsSchema } from "@voyantjs/storefront";
2
2
  import { z } from "zod";
3
3
  export declare const singleEnvelope: <T extends z.ZodTypeAny>(item: T) => z.ZodObject<{
4
4
  data: T;
@@ -6,22 +6,39 @@ export declare const singleEnvelope: <T extends z.ZodTypeAny>(item: T) => z.ZodO
6
6
  export declare const arrayEnvelope: <T extends z.ZodTypeAny>(item: T) => z.ZodObject<{
7
7
  data: z.ZodArray<T>;
8
8
  }, z.core.$strip>;
9
- export { storefrontDepartureItinerarySchema, storefrontDepartureListQuerySchema, storefrontDepartureListResponseSchema, storefrontDeparturePricePreviewInputSchema, storefrontDeparturePricePreviewSchema, storefrontDepartureSchema, storefrontOfferApplyInputSchema, storefrontOfferMutationResponseSchema, storefrontOfferMutationResultSchema, storefrontOfferRedeemInputSchema, storefrontProductExtensionsQuerySchema, storefrontProductExtensionsResponseSchema, storefrontPromotionalOfferListQuerySchema, storefrontPromotionalOfferSchema, storefrontSettingsSchema, };
9
+ export { storefrontDepartureItinerarySchema, storefrontDepartureListQuerySchema, storefrontDepartureListResponseSchema, storefrontDeparturePriceAllocationSchema, storefrontDeparturePriceExtraImpactSchema, storefrontDeparturePriceLineItemSchema, storefrontDeparturePriceOfferImpactSchema, storefrontDeparturePriceOffersSchema, storefrontDeparturePricePaxSchema, storefrontDeparturePricePreviewInputSchema, storefrontDeparturePricePreviewSchema, storefrontDeparturePriceRequestedOfferSchema, storefrontDeparturePriceRoomRowSchema, storefrontDeparturePriceSlotSchema, storefrontDeparturePriceTotalsSchema, storefrontDeparturePriceUnitRowSchema, storefrontDepartureSchema, storefrontOfferApplyInputSchema, storefrontOfferMutationResponseSchema, storefrontOfferMutationResultSchema, storefrontOfferRedeemInputSchema, storefrontProductExtensionsQuerySchema, storefrontProductExtensionsResponseSchema, storefrontPromotionalOfferListQuerySchema, storefrontPromotionalOfferSchema, storefrontSettingsInputSchema, storefrontSettingsPatchSchema, storefrontSettingsSchema, };
10
10
  export declare const storefrontSettingsResponseSchema: z.ZodObject<{
11
11
  data: z.ZodObject<{
12
12
  branding: z.ZodObject<{
13
13
  logoUrl: z.ZodNullable<z.ZodURL>;
14
+ faviconUrl: z.ZodNullable<z.ZodURL>;
15
+ brandMarkUrl: z.ZodNullable<z.ZodURL>;
16
+ primaryColor: z.ZodNullable<z.ZodString>;
17
+ accentColor: z.ZodNullable<z.ZodString>;
14
18
  supportedLanguages: z.ZodArray<z.ZodString>;
15
19
  }, z.core.$strip>;
16
20
  support: z.ZodObject<{
17
21
  email: z.ZodNullable<z.ZodEmail>;
18
22
  phone: z.ZodNullable<z.ZodString>;
23
+ links: z.ZodArray<z.ZodObject<{
24
+ label: z.ZodString;
25
+ url: z.ZodURL;
26
+ }, z.core.$strip>>;
19
27
  }, z.core.$strip>;
20
28
  legal: z.ZodObject<{
21
29
  termsUrl: z.ZodNullable<z.ZodURL>;
22
30
  privacyUrl: z.ZodNullable<z.ZodURL>;
31
+ cancellationUrl: z.ZodNullable<z.ZodURL>;
23
32
  defaultContractTemplateId: z.ZodNullable<z.ZodString>;
24
33
  }, z.core.$strip>;
34
+ localization: z.ZodObject<{
35
+ defaultLocale: z.ZodNullable<z.ZodString>;
36
+ currencyDisplay: z.ZodEnum<{
37
+ symbol: "symbol";
38
+ name: "name";
39
+ code: "code";
40
+ }>;
41
+ }, z.core.$strip>;
25
42
  forms: z.ZodObject<{
26
43
  billing: z.ZodObject<{
27
44
  fields: z.ZodArray<z.ZodObject<{
@@ -76,22 +93,54 @@ export declare const storefrontSettingsResponseSchema: z.ZodObject<{
76
93
  defaultMethod: z.ZodNullable<z.ZodEnum<{
77
94
  voucher: "voucher";
78
95
  bank_transfer: "bank_transfer";
79
- card: "card";
80
96
  cash: "cash";
81
97
  invoice: "invoice";
98
+ card: "card";
82
99
  }>>;
83
100
  methods: z.ZodArray<z.ZodObject<{
84
101
  code: z.ZodEnum<{
85
102
  voucher: "voucher";
86
103
  bank_transfer: "bank_transfer";
87
- card: "card";
88
104
  cash: "cash";
89
105
  invoice: "invoice";
106
+ card: "card";
90
107
  }>;
91
108
  label: z.ZodString;
92
109
  description: z.ZodNullable<z.ZodString>;
93
110
  enabled: z.ZodBoolean;
94
111
  }, z.core.$strip>>;
112
+ structure: z.ZodEnum<{
113
+ split: "split";
114
+ full: "full";
115
+ }>;
116
+ schedule: z.ZodArray<z.ZodObject<{
117
+ percent: z.ZodNumber;
118
+ dueInDays: z.ZodNumber;
119
+ dueCondition: z.ZodEnum<{
120
+ after_booking: "after_booking";
121
+ before_departure: "before_departure";
122
+ }>;
123
+ }, z.core.$strip>>;
124
+ defaultSchedule: z.ZodNullable<z.ZodObject<{
125
+ depositPercent: z.ZodNullable<z.ZodNumber>;
126
+ balanceDueDaysBeforeDeparture: z.ZodNullable<z.ZodNumber>;
127
+ }, z.core.$strip>>;
128
+ bankTransfer: z.ZodNullable<z.ZodObject<{
129
+ dueDays: z.ZodNullable<z.ZodNumber>;
130
+ account: z.ZodNullable<z.ZodObject<{
131
+ provider: z.ZodNullable<z.ZodString>;
132
+ currency: z.ZodNullable<z.ZodString>;
133
+ iban: z.ZodString;
134
+ beneficiary: z.ZodString;
135
+ bank: z.ZodString;
136
+ }, z.core.$strip>>;
137
+ accountHolder: z.ZodNullable<z.ZodString>;
138
+ bankName: z.ZodNullable<z.ZodString>;
139
+ iban: z.ZodNullable<z.ZodString>;
140
+ bic: z.ZodNullable<z.ZodString>;
141
+ paymentReference: z.ZodNullable<z.ZodString>;
142
+ instructions: z.ZodNullable<z.ZodString>;
143
+ }, z.core.$strip>>;
95
144
  }, z.core.$strip>;
96
145
  }, z.core.$strip>;
97
146
  }, z.core.$strip>;
@@ -164,6 +213,281 @@ export declare const storefrontDeparturePricePreviewResponseSchema: z.ZodObject<
164
213
  quantity: z.ZodNumber;
165
214
  unitPrice: z.ZodNumber;
166
215
  }, z.core.$strip>>;
216
+ allocation: z.ZodObject<{
217
+ slot: z.ZodObject<{
218
+ id: z.ZodString;
219
+ productId: z.ZodString;
220
+ optionId: z.ZodNullable<z.ZodString>;
221
+ dateLocal: z.ZodNullable<z.ZodString>;
222
+ startAt: z.ZodNullable<z.ZodString>;
223
+ endAt: z.ZodNullable<z.ZodString>;
224
+ timezone: z.ZodString;
225
+ status: z.ZodEnum<{
226
+ cancelled: "cancelled";
227
+ open: "open";
228
+ closed: "closed";
229
+ sold_out: "sold_out";
230
+ on_request: "on_request";
231
+ }>;
232
+ availabilityState: z.ZodEnum<{
233
+ cancelled: "cancelled";
234
+ closed: "closed";
235
+ sold_out: "sold_out";
236
+ past_cutoff: "past_cutoff";
237
+ too_early: "too_early";
238
+ on_request: "on_request";
239
+ unavailable: "unavailable";
240
+ available: "available";
241
+ }>;
242
+ capacity: z.ZodNullable<z.ZodNumber>;
243
+ remaining: z.ZodNullable<z.ZodNumber>;
244
+ pastCutoff: z.ZodBoolean;
245
+ tooEarly: z.ZodBoolean;
246
+ }, z.core.$strip>;
247
+ pax: z.ZodObject<{
248
+ adults: z.ZodNumber;
249
+ children: z.ZodNumber;
250
+ infants: z.ZodNumber;
251
+ total: z.ZodNumber;
252
+ }, z.core.$strip>;
253
+ requestedUnits: z.ZodArray<z.ZodObject<{
254
+ unitId: z.ZodNullable<z.ZodString>;
255
+ requestRef: z.ZodNullable<z.ZodString>;
256
+ name: z.ZodString;
257
+ unitType: z.ZodNullable<z.ZodString>;
258
+ quantity: z.ZodNumber;
259
+ pricingMode: z.ZodNullable<z.ZodString>;
260
+ unitPrice: z.ZodNumber;
261
+ total: z.ZodNumber;
262
+ currencyCode: z.ZodString;
263
+ tierId: z.ZodNullable<z.ZodString>;
264
+ }, z.core.$strip>>;
265
+ rooms: z.ZodArray<z.ZodObject<{
266
+ unitId: z.ZodString;
267
+ name: z.ZodString;
268
+ occupancy: z.ZodNumber;
269
+ quantity: z.ZodNumber;
270
+ pax: z.ZodNumber;
271
+ pricingMode: z.ZodNullable<z.ZodString>;
272
+ unitPrice: z.ZodNumber;
273
+ total: z.ZodNumber;
274
+ currencyCode: z.ZodString;
275
+ tierId: z.ZodNullable<z.ZodString>;
276
+ }, z.core.$strip>>;
277
+ }, z.core.$strip>;
278
+ units: z.ZodArray<z.ZodObject<{
279
+ unitId: z.ZodNullable<z.ZodString>;
280
+ requestRef: z.ZodNullable<z.ZodString>;
281
+ name: z.ZodString;
282
+ unitType: z.ZodNullable<z.ZodString>;
283
+ quantity: z.ZodNumber;
284
+ pricingMode: z.ZodNullable<z.ZodString>;
285
+ unitPrice: z.ZodNumber;
286
+ total: z.ZodNumber;
287
+ currencyCode: z.ZodString;
288
+ tierId: z.ZodNullable<z.ZodString>;
289
+ }, z.core.$strip>>;
290
+ rooms: z.ZodArray<z.ZodObject<{
291
+ unitId: z.ZodString;
292
+ name: z.ZodString;
293
+ occupancy: z.ZodNumber;
294
+ quantity: z.ZodNumber;
295
+ pax: z.ZodNumber;
296
+ pricingMode: z.ZodNullable<z.ZodString>;
297
+ unitPrice: z.ZodNumber;
298
+ total: z.ZodNumber;
299
+ currencyCode: z.ZodString;
300
+ tierId: z.ZodNullable<z.ZodString>;
301
+ }, z.core.$strip>>;
302
+ extras: z.ZodArray<z.ZodObject<{
303
+ extraId: z.ZodString;
304
+ name: z.ZodString;
305
+ required: z.ZodBoolean;
306
+ selectable: z.ZodBoolean;
307
+ selected: z.ZodBoolean;
308
+ pricingMode: z.ZodLazy<z.ZodEnum<{
309
+ per_booking: "per_booking";
310
+ free: "free";
311
+ included: "included";
312
+ on_request: "on_request";
313
+ per_person: "per_person";
314
+ quantity_based: "quantity_based";
315
+ }>>;
316
+ quantity: z.ZodNumber;
317
+ unitPrice: z.ZodNumber;
318
+ total: z.ZodNumber;
319
+ currencyCode: z.ZodString;
320
+ }, z.core.$strip>>;
321
+ offers: z.ZodObject<{
322
+ available: z.ZodArray<z.ZodObject<{
323
+ offer: z.ZodLazy<z.ZodObject<{
324
+ id: z.ZodString;
325
+ name: z.ZodString;
326
+ slug: z.ZodNullable<z.ZodString>;
327
+ description: z.ZodNullable<z.ZodString>;
328
+ discountType: z.ZodEnum<{
329
+ percentage: "percentage";
330
+ fixed_amount: "fixed_amount";
331
+ }>;
332
+ discountValue: z.ZodString;
333
+ currency: z.ZodNullable<z.ZodString>;
334
+ applicableProductIds: z.ZodArray<z.ZodString>;
335
+ applicableDepartureIds: z.ZodArray<z.ZodString>;
336
+ validFrom: z.ZodNullable<z.ZodString>;
337
+ validTo: z.ZodNullable<z.ZodString>;
338
+ minTravelers: z.ZodNullable<z.ZodNumber>;
339
+ imageMobileUrl: z.ZodNullable<z.ZodString>;
340
+ imageDesktopUrl: z.ZodNullable<z.ZodString>;
341
+ stackable: z.ZodBoolean;
342
+ createdAt: z.ZodString;
343
+ updatedAt: z.ZodString;
344
+ }, z.core.$strip>>;
345
+ status: z.ZodEnum<{
346
+ applied: "applied";
347
+ not_applicable: "not_applicable";
348
+ conflict: "conflict";
349
+ }>;
350
+ reason: z.ZodNullable<z.ZodEnum<{
351
+ currency: "currency";
352
+ conflict: "conflict";
353
+ min_pax: "min_pax";
354
+ no_discount: "no_discount";
355
+ }>>;
356
+ selected: z.ZodBoolean;
357
+ discountAppliedCents: z.ZodNumber;
358
+ discountedPriceCents: z.ZodNumber;
359
+ }, z.core.$strip>>;
360
+ requested: z.ZodArray<z.ZodObject<{
361
+ kind: z.ZodEnum<{
362
+ slug: "slug";
363
+ code: "code";
364
+ }>;
365
+ value: z.ZodString;
366
+ result: z.ZodNullable<z.ZodLazy<z.ZodObject<{
367
+ status: z.ZodEnum<{
368
+ applied: "applied";
369
+ not_applicable: "not_applicable";
370
+ conflict: "conflict";
371
+ invalid: "invalid";
372
+ }>;
373
+ reason: z.ZodNullable<z.ZodEnum<{
374
+ scope: "scope";
375
+ currency: "currency";
376
+ booking_mismatch: "booking_mismatch";
377
+ conflict: "conflict";
378
+ min_pax: "min_pax";
379
+ no_discount: "no_discount";
380
+ offer_not_found: "offer_not_found";
381
+ offer_expired: "offer_expired";
382
+ offer_not_yet_valid: "offer_not_yet_valid";
383
+ code_not_found: "code_not_found";
384
+ code_required: "code_required";
385
+ code_expired: "code_expired";
386
+ code_not_yet_valid: "code_not_yet_valid";
387
+ session_mismatch: "session_mismatch";
388
+ }>>;
389
+ offer: z.ZodNullable<z.ZodObject<{
390
+ id: z.ZodString;
391
+ name: z.ZodString;
392
+ slug: z.ZodNullable<z.ZodString>;
393
+ description: z.ZodNullable<z.ZodString>;
394
+ discountType: z.ZodEnum<{
395
+ percentage: "percentage";
396
+ fixed_amount: "fixed_amount";
397
+ }>;
398
+ discountValue: z.ZodString;
399
+ currency: z.ZodNullable<z.ZodString>;
400
+ applicableProductIds: z.ZodArray<z.ZodString>;
401
+ applicableDepartureIds: z.ZodArray<z.ZodString>;
402
+ validFrom: z.ZodNullable<z.ZodString>;
403
+ validTo: z.ZodNullable<z.ZodString>;
404
+ minTravelers: z.ZodNullable<z.ZodNumber>;
405
+ imageMobileUrl: z.ZodNullable<z.ZodString>;
406
+ imageDesktopUrl: z.ZodNullable<z.ZodString>;
407
+ stackable: z.ZodBoolean;
408
+ createdAt: z.ZodString;
409
+ updatedAt: z.ZodString;
410
+ }, z.core.$strip>>;
411
+ target: z.ZodObject<{
412
+ bookingId: z.ZodNullable<z.ZodString>;
413
+ sessionId: z.ZodNullable<z.ZodString>;
414
+ productId: z.ZodString;
415
+ departureId: z.ZodNullable<z.ZodString>;
416
+ }, z.core.$strip>;
417
+ pricing: z.ZodObject<{
418
+ basePriceCents: z.ZodNumber;
419
+ currency: z.ZodString;
420
+ discountAppliedCents: z.ZodNumber;
421
+ discountedPriceCents: z.ZodNumber;
422
+ }, z.core.$strip>;
423
+ appliedOffers: z.ZodArray<z.ZodObject<{
424
+ offerId: z.ZodString;
425
+ offerName: z.ZodString;
426
+ discountAppliedCents: z.ZodNumber;
427
+ discountedPriceCents: z.ZodNumber;
428
+ currency: z.ZodString;
429
+ discountKind: z.ZodEnum<{
430
+ percentage: "percentage";
431
+ fixed_amount: "fixed_amount";
432
+ }>;
433
+ discountPercent: z.ZodNullable<z.ZodNumber>;
434
+ discountAmountCents: z.ZodNullable<z.ZodNumber>;
435
+ appliedCode: z.ZodNullable<z.ZodString>;
436
+ stackable: z.ZodBoolean;
437
+ }, z.core.$strip>>;
438
+ conflict: z.ZodNullable<z.ZodObject<{
439
+ policy: z.ZodEnum<{
440
+ best_discount_wins: "best_discount_wins";
441
+ stackable_compose: "stackable_compose";
442
+ }>;
443
+ autoAppliedOfferIds: z.ZodArray<z.ZodString>;
444
+ manualOfferId: z.ZodNullable<z.ZodString>;
445
+ selectedOfferIds: z.ZodArray<z.ZodString>;
446
+ message: z.ZodString;
447
+ }, z.core.$strip>>;
448
+ }, z.core.$strip>>>;
449
+ }, z.core.$strip>>;
450
+ applied: z.ZodArray<z.ZodLazy<z.ZodObject<{
451
+ offerId: z.ZodString;
452
+ offerName: z.ZodString;
453
+ discountAppliedCents: z.ZodNumber;
454
+ discountedPriceCents: z.ZodNumber;
455
+ currency: z.ZodString;
456
+ discountKind: z.ZodEnum<{
457
+ percentage: "percentage";
458
+ fixed_amount: "fixed_amount";
459
+ }>;
460
+ discountPercent: z.ZodNullable<z.ZodNumber>;
461
+ discountAmountCents: z.ZodNullable<z.ZodNumber>;
462
+ appliedCode: z.ZodNullable<z.ZodString>;
463
+ stackable: z.ZodBoolean;
464
+ }, z.core.$strip>>>;
465
+ conflict: z.ZodNullable<z.ZodLazy<z.ZodObject<{
466
+ policy: z.ZodEnum<{
467
+ best_discount_wins: "best_discount_wins";
468
+ stackable_compose: "stackable_compose";
469
+ }>;
470
+ autoAppliedOfferIds: z.ZodArray<z.ZodString>;
471
+ manualOfferId: z.ZodNullable<z.ZodString>;
472
+ selectedOfferIds: z.ZodArray<z.ZodString>;
473
+ message: z.ZodString;
474
+ }, z.core.$strip>>>;
475
+ discountTotal: z.ZodNumber;
476
+ discountTotalCents: z.ZodNumber;
477
+ totalAfterDiscount: z.ZodNumber;
478
+ currencyCode: z.ZodString;
479
+ }, z.core.$strip>;
480
+ totals: z.ZodObject<{
481
+ currencyCode: z.ZodString;
482
+ base: z.ZodNumber;
483
+ extras: z.ZodNumber;
484
+ subtotal: z.ZodNumber;
485
+ discount: z.ZodNumber;
486
+ tax: z.ZodNumber;
487
+ total: z.ZodNumber;
488
+ perPerson: z.ZodNumber;
489
+ perBooking: z.ZodNumber;
490
+ }, z.core.$strip>;
167
491
  }, z.core.$strip>;
168
492
  }, z.core.$strip>;
169
493
  export declare const storefrontDepartureItineraryResponseSchema: z.ZodObject<{
@@ -234,6 +558,8 @@ export declare const storefrontPromotionalOfferResponseSchema: z.ZodObject<{
234
558
  }, z.core.$strip>;
235
559
  }, z.core.$strip>;
236
560
  export type StorefrontSettingsRecord = z.infer<typeof storefrontSettingsSchema>;
561
+ export type StorefrontSettingsInput = z.input<typeof storefrontSettingsInputSchema>;
562
+ export type StorefrontSettingsPatchInput = z.input<typeof storefrontSettingsPatchSchema>;
237
563
  export type StorefrontDepartureRecord = z.infer<typeof storefrontDepartureSchema>;
238
564
  export type StorefrontDepartureListQuery = z.input<typeof storefrontDepartureListQuerySchema>;
239
565
  export type StorefrontDeparturePricePreviewInput = z.input<typeof storefrontDeparturePricePreviewInputSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kCAAkC,EAClC,kCAAkC,EAClC,qCAAqC,EACrC,0CAA0C,EAC1C,qCAAqC,EACrC,yBAAyB,EACzB,+BAA+B,EAC/B,qCAAqC,EACrC,mCAAmC,EACnC,gCAAgC,EAChC,sCAAsC,EACtC,yCAAyC,EACzC,yCAAyC,EACzC,gCAAgC,EAChC,wBAAwB,EACzB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC;;iBAA6B,CAAA;AAC3F,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC;;iBAAsC,CAAA;AAEnG,OAAO,EACL,kCAAkC,EAClC,kCAAkC,EAClC,qCAAqC,EACrC,0CAA0C,EAC1C,qCAAqC,EACrC,yBAAyB,EACzB,+BAA+B,EAC/B,qCAAqC,EACrC,mCAAmC,EACnC,gCAAgC,EAChC,sCAAsC,EACtC,yCAAyC,EACzC,yCAAyC,EACzC,gCAAgC,EAChC,wBAAwB,GACzB,CAAA;AAED,eAAO,MAAM,gCAAgC;;;;;;;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,CAAC,CAAA;AACnF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAA;AACxF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA;AACjF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAA;AAC7F,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CACxD,OAAO,0CAA0C,CAClD,CAAA;AACD,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,qCAAqC,CAC7C,CAAA;AACD,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAA;AACnG,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,sCAAsC,CAC9C,CAAA;AACD,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,yCAAyC,CACjD,CAAA;AACD,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAC/F,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAA;AACvF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA;AACzF,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAA"}
package/dist/schemas.js CHANGED
@@ -1,8 +1,8 @@
1
- import { storefrontDepartureItinerarySchema, storefrontDepartureListQuerySchema, storefrontDepartureListResponseSchema, storefrontDeparturePricePreviewInputSchema, storefrontDeparturePricePreviewSchema, storefrontDepartureSchema, storefrontOfferApplyInputSchema, storefrontOfferMutationResponseSchema, storefrontOfferMutationResultSchema, storefrontOfferRedeemInputSchema, storefrontProductExtensionsQuerySchema, storefrontProductExtensionsResponseSchema, storefrontPromotionalOfferListQuerySchema, storefrontPromotionalOfferSchema, storefrontSettingsSchema, } from "@voyantjs/storefront";
1
+ import { storefrontDepartureItinerarySchema, storefrontDepartureListQuerySchema, storefrontDepartureListResponseSchema, storefrontDeparturePriceAllocationSchema, storefrontDeparturePriceExtraImpactSchema, storefrontDeparturePriceLineItemSchema, storefrontDeparturePriceOfferImpactSchema, storefrontDeparturePriceOffersSchema, storefrontDeparturePricePaxSchema, storefrontDeparturePricePreviewInputSchema, storefrontDeparturePricePreviewSchema, storefrontDeparturePriceRequestedOfferSchema, storefrontDeparturePriceRoomRowSchema, storefrontDeparturePriceSlotSchema, storefrontDeparturePriceTotalsSchema, storefrontDeparturePriceUnitRowSchema, storefrontDepartureSchema, storefrontOfferApplyInputSchema, storefrontOfferMutationResponseSchema, storefrontOfferMutationResultSchema, storefrontOfferRedeemInputSchema, storefrontProductExtensionsQuerySchema, storefrontProductExtensionsResponseSchema, storefrontPromotionalOfferListQuerySchema, storefrontPromotionalOfferSchema, storefrontSettingsInputSchema, storefrontSettingsPatchSchema, storefrontSettingsSchema, } from "@voyantjs/storefront";
2
2
  import { z } from "zod";
3
3
  export const singleEnvelope = (item) => z.object({ data: item });
4
4
  export const arrayEnvelope = (item) => z.object({ data: z.array(item) });
5
- export { storefrontDepartureItinerarySchema, storefrontDepartureListQuerySchema, storefrontDepartureListResponseSchema, storefrontDeparturePricePreviewInputSchema, storefrontDeparturePricePreviewSchema, storefrontDepartureSchema, storefrontOfferApplyInputSchema, storefrontOfferMutationResponseSchema, storefrontOfferMutationResultSchema, storefrontOfferRedeemInputSchema, storefrontProductExtensionsQuerySchema, storefrontProductExtensionsResponseSchema, storefrontPromotionalOfferListQuerySchema, storefrontPromotionalOfferSchema, storefrontSettingsSchema, };
5
+ export { storefrontDepartureItinerarySchema, storefrontDepartureListQuerySchema, storefrontDepartureListResponseSchema, storefrontDeparturePriceAllocationSchema, storefrontDeparturePriceExtraImpactSchema, storefrontDeparturePriceLineItemSchema, storefrontDeparturePriceOfferImpactSchema, storefrontDeparturePriceOffersSchema, storefrontDeparturePricePaxSchema, storefrontDeparturePricePreviewInputSchema, storefrontDeparturePricePreviewSchema, storefrontDeparturePriceRequestedOfferSchema, storefrontDeparturePriceRoomRowSchema, storefrontDeparturePriceSlotSchema, storefrontDeparturePriceTotalsSchema, storefrontDeparturePriceUnitRowSchema, storefrontDepartureSchema, storefrontOfferApplyInputSchema, storefrontOfferMutationResponseSchema, storefrontOfferMutationResultSchema, storefrontOfferRedeemInputSchema, storefrontProductExtensionsQuerySchema, storefrontProductExtensionsResponseSchema, storefrontPromotionalOfferListQuerySchema, storefrontPromotionalOfferSchema, storefrontSettingsInputSchema, storefrontSettingsPatchSchema, storefrontSettingsSchema, };
6
6
  export const storefrontSettingsResponseSchema = singleEnvelope(storefrontSettingsSchema);
7
7
  export const storefrontDepartureResponseSchema = singleEnvelope(storefrontDepartureSchema);
8
8
  export const storefrontDeparturePricePreviewResponseSchema = singleEnvelope(storefrontDeparturePricePreviewSchema);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/storefront-react",
3
- "version": "0.49.0",
3
+ "version": "0.50.1",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -41,7 +41,7 @@
41
41
  "react": "^19.0.0",
42
42
  "react-dom": "^19.0.0",
43
43
  "zod": "^4.0.0",
44
- "@voyantjs/storefront": "0.49.0"
44
+ "@voyantjs/storefront": "0.50.1"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@tanstack/react-query": "^5.96.2",
@@ -52,12 +52,12 @@
52
52
  "typescript": "^6.0.2",
53
53
  "vitest": "^4.1.2",
54
54
  "zod": "^4.3.6",
55
- "@voyantjs/react": "0.49.0",
56
- "@voyantjs/storefront": "0.49.0",
55
+ "@voyantjs/react": "0.50.1",
56
+ "@voyantjs/storefront": "0.50.1",
57
57
  "@voyantjs/voyant-typescript-config": "0.1.0"
58
58
  },
59
59
  "dependencies": {
60
- "@voyantjs/react": "0.49.0"
60
+ "@voyantjs/react": "0.50.1"
61
61
  },
62
62
  "files": [
63
63
  "dist"