@voyant-travel/catalog-react 0.134.1 → 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,12 +31,12 @@ 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;
|
|
38
38
|
lines: {
|
|
39
|
-
kind: "base" | "accommodation" | "
|
|
39
|
+
kind: "base" | "accommodation" | "addon" | "supplement" | "discount" | "fee";
|
|
40
40
|
label: string;
|
|
41
41
|
unitAmount: number;
|
|
42
42
|
totalAmount: number;
|
|
@@ -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;
|
|
@@ -229,7 +229,7 @@ export declare function useBookingQuote(options: UseBookingQuoteOptions): {
|
|
|
229
229
|
pricing?: {
|
|
230
230
|
currency: string;
|
|
231
231
|
lines: {
|
|
232
|
-
kind: "base" | "accommodation" | "
|
|
232
|
+
kind: "base" | "accommodation" | "addon" | "supplement" | "discount" | "fee";
|
|
233
233
|
label: string;
|
|
234
234
|
unitAmount: number;
|
|
235
235
|
totalAmount: number;
|
|
@@ -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;
|
|
@@ -458,7 +458,7 @@ export declare function useBookingQuote(options: UseBookingQuoteOptions): {
|
|
|
458
458
|
pricing?: {
|
|
459
459
|
currency: string;
|
|
460
460
|
lines: {
|
|
461
|
-
kind: "base" | "accommodation" | "
|
|
461
|
+
kind: "base" | "accommodation" | "addon" | "supplement" | "discount" | "fee";
|
|
462
462
|
label: string;
|
|
463
463
|
unitAmount: number;
|
|
464
464
|
totalAmount: number;
|
|
@@ -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;
|
|
@@ -685,7 +685,7 @@ export declare function useBookingQuote(options: UseBookingQuoteOptions): {
|
|
|
685
685
|
pricing?: {
|
|
686
686
|
currency: string;
|
|
687
687
|
lines: {
|
|
688
|
-
kind: "base" | "accommodation" | "
|
|
688
|
+
kind: "base" | "accommodation" | "addon" | "supplement" | "discount" | "fee";
|
|
689
689
|
label: string;
|
|
690
690
|
unitAmount: number;
|
|
691
691
|
totalAmount: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyant-travel/catalog-react",
|
|
3
|
-
"version": "0.
|
|
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.
|
|
80
|
-
"@voyant-travel/commerce-react": "^0.
|
|
81
|
-
"@voyant-travel/inventory-react": "^0.
|
|
82
|
-
"@voyant-travel/distribution-react": "^0.
|
|
79
|
+
"@voyant-travel/admin": "^0.115.3",
|
|
80
|
+
"@voyant-travel/commerce-react": "^0.19.0",
|
|
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
|
-
"@voyant-travel/commerce-react": "^0.
|
|
128
|
-
"@voyant-travel/inventory-react": "^0.
|
|
127
|
+
"@voyant-travel/commerce-react": "^0.19.0",
|
|
128
|
+
"@voyant-travel/inventory-react": "^0.19.1",
|
|
129
129
|
"@voyant-travel/react": "^0.104.1",
|
|
130
|
-
"@voyant-travel/distribution-react": "^0.
|
|
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
|
},
|