@voyantjs/storefront-sdk 0.96.0 → 0.97.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 +1 -1
- package/dist/operations.d.ts +1 -1
- package/dist/schemas.d.ts +1 -1
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -382,7 +382,7 @@ export declare function createVoyantStorefrontClient(options: VoyantStorefrontCl
|
|
|
382
382
|
value: string;
|
|
383
383
|
result: {
|
|
384
384
|
status: "applied" | "not_applicable" | "conflict" | "invalid";
|
|
385
|
-
reason: "
|
|
385
|
+
reason: "currency" | "scope" | "booking_mismatch" | "min_pax" | "conflict" | "eligibility" | "no_discount" | "offer_not_found" | "offer_expired" | "offer_not_yet_valid" | "code_not_found" | "code_required" | "code_expired" | "code_not_yet_valid" | "session_mismatch" | null;
|
|
386
386
|
offer: {
|
|
387
387
|
id: string;
|
|
388
388
|
name: string;
|
package/dist/operations.d.ts
CHANGED
|
@@ -371,7 +371,7 @@ export declare function previewStorefrontDeparturePrice(client: ResolvedClientOp
|
|
|
371
371
|
value: string;
|
|
372
372
|
result: {
|
|
373
373
|
status: "applied" | "not_applicable" | "conflict" | "invalid";
|
|
374
|
-
reason: "
|
|
374
|
+
reason: "currency" | "scope" | "booking_mismatch" | "min_pax" | "conflict" | "eligibility" | "no_discount" | "offer_not_found" | "offer_expired" | "offer_not_yet_valid" | "code_not_found" | "code_required" | "code_expired" | "code_not_yet_valid" | "session_mismatch" | null;
|
|
375
375
|
offer: {
|
|
376
376
|
id: string;
|
|
377
377
|
name: string;
|
package/dist/schemas.d.ts
CHANGED
|
@@ -438,8 +438,8 @@ export declare const storefrontDeparturePricePreviewResponseSchema: z.ZodObject<
|
|
|
438
438
|
invalid: "invalid";
|
|
439
439
|
}>;
|
|
440
440
|
reason: z.ZodNullable<z.ZodEnum<{
|
|
441
|
-
scope: "scope";
|
|
442
441
|
currency: "currency";
|
|
442
|
+
scope: "scope";
|
|
443
443
|
booking_mismatch: "booking_mismatch";
|
|
444
444
|
min_pax: "min_pax";
|
|
445
445
|
conflict: "conflict";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/storefront-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.97.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.97.0",
|
|
52
|
+
"@voyantjs/checkout": "0.97.0",
|
|
53
|
+
"@voyantjs/storefront": "0.97.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.97.0",
|
|
60
|
+
"@voyantjs/checkout": "0.97.0",
|
|
61
|
+
"@voyantjs/storefront": "0.97.0",
|
|
62
62
|
"@voyantjs/voyant-typescript-config": "0.1.0"
|
|
63
63
|
},
|
|
64
64
|
"files": [
|