@voyant-travel/catalog-react 0.135.0 → 0.135.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.
|
@@ -31,7 +31,7 @@ export interface CommitInput {
|
|
|
31
31
|
export declare function useBookingCommit(options?: UseBookingCommitOptions): import("@tanstack/react-query").UseMutationResult<{
|
|
32
32
|
bookingId: string;
|
|
33
33
|
orderRef: string;
|
|
34
|
-
status: "
|
|
34
|
+
status: "held" | "confirmed" | "ticketed" | "failed";
|
|
35
35
|
snapshotId: string;
|
|
36
36
|
pricing?: {
|
|
37
37
|
currency: string;
|
|
@@ -191,7 +191,7 @@ export declare function useBookingQuote(options: UseBookingQuoteOptions): {
|
|
|
191
191
|
catalog?: {
|
|
192
192
|
id: string;
|
|
193
193
|
name: string;
|
|
194
|
-
kind: "
|
|
194
|
+
kind: "extras" | "excursions" | "insurance";
|
|
195
195
|
description?: string | null | undefined;
|
|
196
196
|
groupKey?: string | null | undefined;
|
|
197
197
|
pricingMode?: string | null | undefined;
|
|
@@ -204,13 +204,13 @@ export declare function useBookingQuote(options: UseBookingQuoteOptions): {
|
|
|
204
204
|
defaultQuantity?: number | null | undefined;
|
|
205
205
|
}[] | undefined;
|
|
206
206
|
groups?: {
|
|
207
|
-
kind: "
|
|
207
|
+
kind: "extras" | "excursions" | "insurance";
|
|
208
208
|
label: string;
|
|
209
209
|
perGuestSelection: boolean;
|
|
210
210
|
items: {
|
|
211
211
|
id: string;
|
|
212
212
|
name: string;
|
|
213
|
-
kind: "
|
|
213
|
+
kind: "extras" | "excursions" | "insurance";
|
|
214
214
|
description?: string | null | undefined;
|
|
215
215
|
groupKey?: string | null | undefined;
|
|
216
216
|
pricingMode?: string | null | undefined;
|
|
@@ -420,7 +420,7 @@ export declare function useBookingQuote(options: UseBookingQuoteOptions): {
|
|
|
420
420
|
catalog?: {
|
|
421
421
|
id: string;
|
|
422
422
|
name: string;
|
|
423
|
-
kind: "
|
|
423
|
+
kind: "extras" | "excursions" | "insurance";
|
|
424
424
|
description?: string | null | undefined;
|
|
425
425
|
groupKey?: string | null | undefined;
|
|
426
426
|
pricingMode?: string | null | undefined;
|
|
@@ -433,13 +433,13 @@ export declare function useBookingQuote(options: UseBookingQuoteOptions): {
|
|
|
433
433
|
defaultQuantity?: number | null | undefined;
|
|
434
434
|
}[] | undefined;
|
|
435
435
|
groups?: {
|
|
436
|
-
kind: "
|
|
436
|
+
kind: "extras" | "excursions" | "insurance";
|
|
437
437
|
label: string;
|
|
438
438
|
perGuestSelection: boolean;
|
|
439
439
|
items: {
|
|
440
440
|
id: string;
|
|
441
441
|
name: string;
|
|
442
|
-
kind: "
|
|
442
|
+
kind: "extras" | "excursions" | "insurance";
|
|
443
443
|
description?: string | null | undefined;
|
|
444
444
|
groupKey?: string | null | undefined;
|
|
445
445
|
pricingMode?: string | null | undefined;
|
|
@@ -647,7 +647,7 @@ export declare function useBookingQuote(options: UseBookingQuoteOptions): {
|
|
|
647
647
|
catalog?: {
|
|
648
648
|
id: string;
|
|
649
649
|
name: string;
|
|
650
|
-
kind: "
|
|
650
|
+
kind: "extras" | "excursions" | "insurance";
|
|
651
651
|
description?: string | null | undefined;
|
|
652
652
|
groupKey?: string | null | undefined;
|
|
653
653
|
pricingMode?: string | null | undefined;
|
|
@@ -660,13 +660,13 @@ export declare function useBookingQuote(options: UseBookingQuoteOptions): {
|
|
|
660
660
|
defaultQuantity?: number | null | undefined;
|
|
661
661
|
}[] | undefined;
|
|
662
662
|
groups?: {
|
|
663
|
-
kind: "
|
|
663
|
+
kind: "extras" | "excursions" | "insurance";
|
|
664
664
|
label: string;
|
|
665
665
|
perGuestSelection: boolean;
|
|
666
666
|
items: {
|
|
667
667
|
id: string;
|
|
668
668
|
name: string;
|
|
669
|
-
kind: "
|
|
669
|
+
kind: "extras" | "excursions" | "insurance";
|
|
670
670
|
description?: string | null | undefined;
|
|
671
671
|
groupKey?: string | null | undefined;
|
|
672
672
|
pricingMode?: string | null | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyant-travel/catalog-react",
|
|
3
|
-
"version": "0.135.
|
|
3
|
+
"version": "0.135.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -76,10 +76,10 @@
|
|
|
76
76
|
"react-dom": "^19.0.0",
|
|
77
77
|
"sonner": "^2.0.0",
|
|
78
78
|
"zod": "^4.0.0",
|
|
79
|
-
"@voyant-travel/admin": "^0.115.
|
|
79
|
+
"@voyant-travel/admin": "^0.115.3",
|
|
80
80
|
"@voyant-travel/commerce-react": "^0.19.0",
|
|
81
|
-
"@voyant-travel/inventory-react": "^0.19.
|
|
82
|
-
"@voyant-travel/distribution-react": "^0.127.
|
|
81
|
+
"@voyant-travel/inventory-react": "^0.19.1",
|
|
82
|
+
"@voyant-travel/distribution-react": "^0.127.1",
|
|
83
83
|
"@voyant-travel/ui": "^0.108.2"
|
|
84
84
|
},
|
|
85
85
|
"peerDependenciesMeta": {
|
|
@@ -122,12 +122,12 @@
|
|
|
122
122
|
"typescript": "^6.0.2",
|
|
123
123
|
"vitest": "^4.1.2",
|
|
124
124
|
"zod": "^4.3.6",
|
|
125
|
-
"@voyant-travel/admin": "^0.115.
|
|
125
|
+
"@voyant-travel/admin": "^0.115.3",
|
|
126
126
|
"@voyant-travel/i18n": "^0.109.0",
|
|
127
127
|
"@voyant-travel/commerce-react": "^0.19.0",
|
|
128
|
-
"@voyant-travel/inventory-react": "^0.19.
|
|
128
|
+
"@voyant-travel/inventory-react": "^0.19.1",
|
|
129
129
|
"@voyant-travel/react": "^0.104.1",
|
|
130
|
-
"@voyant-travel/distribution-react": "^0.127.
|
|
130
|
+
"@voyant-travel/distribution-react": "^0.127.1",
|
|
131
131
|
"@voyant-travel/ui": "^0.108.2",
|
|
132
132
|
"@voyant-travel/voyant-typescript-config": "^0.1.0"
|
|
133
133
|
},
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"scripts": {
|
|
142
142
|
"build": "tsc -p tsconfig.build.json",
|
|
143
143
|
"clean": "rm -rf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo",
|
|
144
|
-
"typecheck": "tsc
|
|
144
|
+
"typecheck": "tsc -p tsconfig.typecheck.json",
|
|
145
145
|
"lint": "biome check src/",
|
|
146
146
|
"test": "vitest run --passWithNoTests"
|
|
147
147
|
},
|