@voyantjs/storefront-sdk 0.53.2 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +3 -3
- package/dist/operations.d.ts +3 -3
- package/dist/schemas.d.ts +1 -1
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -344,7 +344,7 @@ export declare function createVoyantStorefrontClient(options: VoyantStorefrontCl
|
|
|
344
344
|
required: boolean;
|
|
345
345
|
selectable: boolean;
|
|
346
346
|
selected: boolean;
|
|
347
|
-
pricingMode: "included" | "
|
|
347
|
+
pricingMode: "included" | "on_request" | "per_booking" | "free" | "per_person" | "quantity_based";
|
|
348
348
|
quantity: number;
|
|
349
349
|
unitPrice: number;
|
|
350
350
|
total: number;
|
|
@@ -483,7 +483,7 @@ export declare function createVoyantStorefrontClient(options: VoyantStorefrontCl
|
|
|
483
483
|
thumb: string | null;
|
|
484
484
|
pricePerPerson: number | null;
|
|
485
485
|
currencyCode: string;
|
|
486
|
-
pricingMode: "included" | "
|
|
486
|
+
pricingMode: "included" | "on_request" | "per_booking" | "free" | "per_person" | "quantity_based";
|
|
487
487
|
defaultQuantity: number | null;
|
|
488
488
|
minQuantity: number | null;
|
|
489
489
|
maxQuantity: number | null;
|
|
@@ -499,7 +499,7 @@ export declare function createVoyantStorefrontClient(options: VoyantStorefrontCl
|
|
|
499
499
|
thumb: string | null;
|
|
500
500
|
pricePerPerson: number | null;
|
|
501
501
|
currencyCode: string;
|
|
502
|
-
pricingMode: "included" | "
|
|
502
|
+
pricingMode: "included" | "on_request" | "per_booking" | "free" | "per_person" | "quantity_based";
|
|
503
503
|
defaultQuantity: number | null;
|
|
504
504
|
minQuantity: number | null;
|
|
505
505
|
maxQuantity: number | null;
|
package/dist/operations.d.ts
CHANGED
|
@@ -333,7 +333,7 @@ export declare function previewStorefrontDeparturePrice(client: ResolvedClientOp
|
|
|
333
333
|
required: boolean;
|
|
334
334
|
selectable: boolean;
|
|
335
335
|
selected: boolean;
|
|
336
|
-
pricingMode: "included" | "
|
|
336
|
+
pricingMode: "included" | "on_request" | "per_booking" | "free" | "per_person" | "quantity_based";
|
|
337
337
|
quantity: number;
|
|
338
338
|
unitPrice: number;
|
|
339
339
|
total: number;
|
|
@@ -472,7 +472,7 @@ export declare function listStorefrontProductExtensions(client: ResolvedClientOp
|
|
|
472
472
|
thumb: string | null;
|
|
473
473
|
pricePerPerson: number | null;
|
|
474
474
|
currencyCode: string;
|
|
475
|
-
pricingMode: "included" | "
|
|
475
|
+
pricingMode: "included" | "on_request" | "per_booking" | "free" | "per_person" | "quantity_based";
|
|
476
476
|
defaultQuantity: number | null;
|
|
477
477
|
minQuantity: number | null;
|
|
478
478
|
maxQuantity: number | null;
|
|
@@ -488,7 +488,7 @@ export declare function listStorefrontProductExtensions(client: ResolvedClientOp
|
|
|
488
488
|
thumb: string | null;
|
|
489
489
|
pricePerPerson: number | null;
|
|
490
490
|
currencyCode: string;
|
|
491
|
-
pricingMode: "included" | "
|
|
491
|
+
pricingMode: "included" | "on_request" | "per_booking" | "free" | "per_person" | "quantity_based";
|
|
492
492
|
defaultQuantity: number | null;
|
|
493
493
|
minQuantity: number | null;
|
|
494
494
|
maxQuantity: number | null;
|
package/dist/schemas.d.ts
CHANGED
|
@@ -373,9 +373,9 @@ export declare const storefrontDeparturePricePreviewResponseSchema: z.ZodObject<
|
|
|
373
373
|
selected: z.ZodBoolean;
|
|
374
374
|
pricingMode: z.ZodLazy<z.ZodEnum<{
|
|
375
375
|
included: "included";
|
|
376
|
+
on_request: "on_request";
|
|
376
377
|
per_booking: "per_booking";
|
|
377
378
|
free: "free";
|
|
378
|
-
on_request: "on_request";
|
|
379
379
|
per_person: "per_person";
|
|
380
380
|
quantity_based: "quantity_based";
|
|
381
381
|
}>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/storefront-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.54.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -48,17 +48,17 @@
|
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"zod": "^4.0.0",
|
|
51
|
-
"@voyantjs/bookings": "0.
|
|
52
|
-
"@voyantjs/checkout": "0.
|
|
53
|
-
"@voyantjs/storefront": "0.
|
|
51
|
+
"@voyantjs/bookings": "0.54.0",
|
|
52
|
+
"@voyantjs/checkout": "0.54.0",
|
|
53
|
+
"@voyantjs/storefront": "0.54.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"typescript": "^6.0.2",
|
|
57
57
|
"vitest": "^4.1.2",
|
|
58
58
|
"zod": "^4.3.6",
|
|
59
|
-
"@voyantjs/bookings": "0.
|
|
60
|
-
"@voyantjs/checkout": "0.
|
|
61
|
-
"@voyantjs/storefront": "0.
|
|
59
|
+
"@voyantjs/bookings": "0.54.0",
|
|
60
|
+
"@voyantjs/checkout": "0.54.0",
|
|
61
|
+
"@voyantjs/storefront": "0.54.0",
|
|
62
62
|
"@voyantjs/voyant-typescript-config": "0.1.0"
|
|
63
63
|
},
|
|
64
64
|
"files": [
|