@voyant-travel/bookings-react 0.119.3 → 0.120.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.
package/dist/admin/index.d.ts
CHANGED
|
@@ -107,16 +107,16 @@ export declare const bookingsIndexSearchSchema: z.ZodObject<{
|
|
|
107
107
|
paxMax: z.ZodOptional<z.ZodString>;
|
|
108
108
|
sortBy: z.ZodOptional<z.ZodEnum<{
|
|
109
109
|
status: "status";
|
|
110
|
+
sellAmount: "sellAmount";
|
|
111
|
+
pax: "pax";
|
|
110
112
|
startDate: "startDate";
|
|
111
113
|
endDate: "endDate";
|
|
112
|
-
pax: "pax";
|
|
113
|
-
bookingNumber: "bookingNumber";
|
|
114
|
-
sellAmount: "sellAmount";
|
|
115
114
|
createdAt: "createdAt";
|
|
115
|
+
bookingNumber: "bookingNumber";
|
|
116
116
|
}>>;
|
|
117
117
|
sortDir: z.ZodOptional<z.ZodEnum<{
|
|
118
|
-
asc: "asc";
|
|
119
118
|
desc: "desc";
|
|
119
|
+
asc: "asc";
|
|
120
120
|
}>>;
|
|
121
121
|
offset: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
122
122
|
}, z.core.$strip>;
|
|
@@ -133,12 +133,12 @@ export declare function bookingsFiltersToSearch(filters: BookingListFiltersState
|
|
|
133
133
|
export declare const bookingDetailTabSchema: z.ZodEnum<{
|
|
134
134
|
metadata: "metadata";
|
|
135
135
|
items: "items";
|
|
136
|
-
travelers: "travelers";
|
|
137
136
|
suppliers: "suppliers";
|
|
138
137
|
invoices: "invoices";
|
|
139
|
-
documents: "documents";
|
|
140
|
-
activity: "activity";
|
|
141
138
|
finance: "finance";
|
|
139
|
+
activity: "activity";
|
|
140
|
+
travelers: "travelers";
|
|
141
|
+
documents: "documents";
|
|
142
142
|
}>;
|
|
143
143
|
/**
|
|
144
144
|
* Search contract for the booking detail page. `productId`/`slotId` only
|
|
@@ -151,12 +151,12 @@ export declare const bookingDetailSearchSchema: z.ZodObject<{
|
|
|
151
151
|
tab: z.ZodOptional<z.ZodEnum<{
|
|
152
152
|
metadata: "metadata";
|
|
153
153
|
items: "items";
|
|
154
|
-
travelers: "travelers";
|
|
155
154
|
suppliers: "suppliers";
|
|
156
155
|
invoices: "invoices";
|
|
157
|
-
documents: "documents";
|
|
158
|
-
activity: "activity";
|
|
159
156
|
finance: "finance";
|
|
157
|
+
activity: "activity";
|
|
158
|
+
travelers: "travelers";
|
|
159
|
+
documents: "documents";
|
|
160
160
|
}>>;
|
|
161
161
|
}, z.core.$strip>;
|
|
162
162
|
export type BookingDetailSearchParams = z.infer<typeof bookingDetailSearchSchema>;
|
|
@@ -11,8 +11,8 @@ export declare function useSlotExtraManifestMutation(slotId: string): {
|
|
|
11
11
|
travelerId: string;
|
|
12
12
|
productExtraId: string;
|
|
13
13
|
optionExtraConfigId?: string | null | undefined;
|
|
14
|
-
status?: "
|
|
15
|
-
collectionStatus?: "pending" | "
|
|
14
|
+
status?: "selected" | "cancelled" | "fulfilled" | "no_show" | undefined;
|
|
15
|
+
collectionStatus?: "pending" | "not_required" | "collected" | "waived" | "refunded" | undefined;
|
|
16
16
|
collectionCurrency?: string | null | undefined;
|
|
17
17
|
collectionAmountCents?: number | null | undefined;
|
|
18
18
|
notes?: string | null | undefined;
|
|
@@ -26,8 +26,8 @@ export declare function useSlotExtraManifestMutation(slotId: string): {
|
|
|
26
26
|
travelerId: string;
|
|
27
27
|
productExtraId: string;
|
|
28
28
|
optionExtraConfigId?: string | null | undefined;
|
|
29
|
-
status?: "
|
|
30
|
-
collectionStatus?: "pending" | "
|
|
29
|
+
status?: "selected" | "cancelled" | "fulfilled" | "no_show" | undefined;
|
|
30
|
+
collectionStatus?: "pending" | "not_required" | "collected" | "waived" | "refunded" | undefined;
|
|
31
31
|
collectionCurrency?: string | null | undefined;
|
|
32
32
|
collectionAmountCents?: number | null | undefined;
|
|
33
33
|
notes?: string | null | undefined;
|
|
@@ -39,7 +39,7 @@ export declare function useSlotExtraManifestMutation(slotId: string): {
|
|
|
39
39
|
}, Error, {
|
|
40
40
|
productExtraId: string;
|
|
41
41
|
travelerIds: string[];
|
|
42
|
-
collectionStatus: "pending" | "
|
|
42
|
+
collectionStatus: "pending" | "not_required" | "collected" | "waived" | "refunded";
|
|
43
43
|
collectionCurrency?: string | null | undefined;
|
|
44
44
|
collectionAmountCents?: number | null | undefined;
|
|
45
45
|
notes?: string | null | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyant-travel/bookings-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.120.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -145,18 +145,18 @@
|
|
|
145
145
|
"react-dom": "^19.0.0",
|
|
146
146
|
"react-hook-form": "^7.60.0",
|
|
147
147
|
"zod": "^4.0.0",
|
|
148
|
-
"@voyant-travel/admin": "^0.111.
|
|
149
|
-
"@voyant-travel/
|
|
150
|
-
"@voyant-travel/
|
|
151
|
-
"@voyant-travel/
|
|
152
|
-
"@voyant-travel/relationships-react": "^0.
|
|
153
|
-
"@voyant-travel/finance-react": "^0.
|
|
154
|
-
"@voyant-travel/
|
|
155
|
-
"@voyant-travel/
|
|
156
|
-
"@voyant-travel/commerce-react": "^0.1
|
|
157
|
-
"@voyant-travel/inventory-react": "^0.1
|
|
158
|
-
"@voyant-travel/
|
|
159
|
-
"@voyant-travel/
|
|
148
|
+
"@voyant-travel/admin": "^0.111.2",
|
|
149
|
+
"@voyant-travel/bookings": "^0.120.1",
|
|
150
|
+
"@voyant-travel/catalog-react": "^0.118.1",
|
|
151
|
+
"@voyant-travel/distribution-react": "^0.110.4",
|
|
152
|
+
"@voyant-travel/relationships-react": "^0.120.1",
|
|
153
|
+
"@voyant-travel/finance-react": "^0.120.1",
|
|
154
|
+
"@voyant-travel/identity-react": "^0.120.1",
|
|
155
|
+
"@voyant-travel/legal-react": "^0.120.1",
|
|
156
|
+
"@voyant-travel/commerce-react": "^0.2.1",
|
|
157
|
+
"@voyant-travel/inventory-react": "^0.2.1",
|
|
158
|
+
"@voyant-travel/ui": "^0.106.2",
|
|
159
|
+
"@voyant-travel/operations-react": "^0.1.1"
|
|
160
160
|
},
|
|
161
161
|
"peerDependenciesMeta": {
|
|
162
162
|
"@tanstack/react-table": {
|
|
@@ -204,8 +204,8 @@
|
|
|
204
204
|
},
|
|
205
205
|
"dependencies": {
|
|
206
206
|
"sonner": "^2.0.7",
|
|
207
|
-
"@voyant-travel/i18n": "^0.106.1",
|
|
208
207
|
"@voyant-travel/catalog-contracts": "^0.107.1",
|
|
208
|
+
"@voyant-travel/i18n": "^0.106.1",
|
|
209
209
|
"@voyant-travel/react": "^0.104.1"
|
|
210
210
|
},
|
|
211
211
|
"devDependencies": {
|
|
@@ -221,20 +221,20 @@
|
|
|
221
221
|
"typescript": "^6.0.2",
|
|
222
222
|
"vitest": "^4.1.2",
|
|
223
223
|
"zod": "^4.3.6",
|
|
224
|
-
"@voyant-travel/admin": "^0.111.
|
|
225
|
-
"@voyant-travel/bookings": "^0.
|
|
226
|
-
"@voyant-travel/catalog-react": "^0.
|
|
227
|
-
"@voyant-travel/
|
|
228
|
-
"@voyant-travel/
|
|
229
|
-
"@voyant-travel/
|
|
224
|
+
"@voyant-travel/admin": "^0.111.2",
|
|
225
|
+
"@voyant-travel/bookings": "^0.120.1",
|
|
226
|
+
"@voyant-travel/catalog-react": "^0.118.1",
|
|
227
|
+
"@voyant-travel/distribution-react": "^0.110.4",
|
|
228
|
+
"@voyant-travel/relationships-react": "^0.120.1",
|
|
229
|
+
"@voyant-travel/finance-react": "^0.120.1",
|
|
230
|
+
"@voyant-travel/identity-react": "^0.120.1",
|
|
231
|
+
"@voyant-travel/legal-react": "^0.120.1",
|
|
232
|
+
"@voyant-travel/commerce-react": "^0.2.1",
|
|
233
|
+
"@voyant-travel/inventory-react": "^0.2.1",
|
|
230
234
|
"@voyant-travel/react": "^0.104.1",
|
|
231
|
-
"@voyant-travel/
|
|
232
|
-
"@voyant-travel/legal-react": "^0.119.2",
|
|
233
|
-
"@voyant-travel/inventory-react": "^0.1.0",
|
|
234
|
-
"@voyant-travel/ui": "^0.106.1",
|
|
235
|
+
"@voyant-travel/ui": "^0.106.2",
|
|
235
236
|
"@voyant-travel/voyant-typescript-config": "^0.1.0",
|
|
236
|
-
"@voyant-travel/
|
|
237
|
-
"@voyant-travel/operations-react": "^0.0.0"
|
|
237
|
+
"@voyant-travel/operations-react": "^0.1.1"
|
|
238
238
|
},
|
|
239
239
|
"files": [
|
|
240
240
|
"dist",
|