@voyant-travel/trips-react 0.111.1 → 0.112.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.
|
@@ -3,9 +3,9 @@ export interface UseTripComponentsOptions {
|
|
|
3
3
|
}
|
|
4
4
|
export declare function useTripComponents(envelopeId: string | null | undefined, options?: UseTripComponentsOptions): import("@tanstack/react-query").UseQueryResult<{
|
|
5
5
|
metadata: Record<string, unknown>;
|
|
6
|
+
status: "failed" | "cancelled" | "unavailable" | "removed" | "draft" | "priced" | "checkout_started" | "booked" | "held";
|
|
6
7
|
id: string;
|
|
7
8
|
description: string | null;
|
|
8
|
-
status: "failed" | "cancelled" | "unavailable" | "removed" | "draft" | "priced" | "checkout_started" | "booked" | "held";
|
|
9
9
|
createdAt: Date;
|
|
10
10
|
updatedAt: Date;
|
|
11
11
|
kind: "catalog_booking" | "manual_placeholder" | "flight_placeholder" | "flight_order" | "external_order";
|
package/dist/operations.d.ts
CHANGED
|
@@ -98,9 +98,9 @@ export declare function freezeTripSnapshot(client: FetchWithValidationOptions, e
|
|
|
98
98
|
export declare function freezeTripSnapshotForQuoteVersion(client: FetchWithValidationOptions, envelopeId: string, quoteVersionId: string, input?: CreateTripSnapshotBody): Promise<import("./schemas.js").QuoteVersionSnapshotApplyResult>;
|
|
99
99
|
export declare function addTripComponent(client: FetchWithValidationOptions, envelopeId: string, input: AddTripComponentBody): Promise<{
|
|
100
100
|
metadata: Record<string, unknown>;
|
|
101
|
+
status: "failed" | "cancelled" | "unavailable" | "removed" | "draft" | "priced" | "checkout_started" | "booked" | "held";
|
|
101
102
|
id: string;
|
|
102
103
|
description: string | null;
|
|
103
|
-
status: "failed" | "cancelled" | "unavailable" | "removed" | "draft" | "priced" | "checkout_started" | "booked" | "held";
|
|
104
104
|
createdAt: Date;
|
|
105
105
|
updatedAt: Date;
|
|
106
106
|
kind: "catalog_booking" | "manual_placeholder" | "flight_placeholder" | "flight_order" | "external_order";
|
|
@@ -134,9 +134,9 @@ export declare function addTripComponent(client: FetchWithValidationOptions, env
|
|
|
134
134
|
}>;
|
|
135
135
|
export declare function removeTripComponent(client: FetchWithValidationOptions, componentId: string): Promise<{
|
|
136
136
|
metadata: Record<string, unknown>;
|
|
137
|
+
status: "failed" | "cancelled" | "unavailable" | "removed" | "draft" | "priced" | "checkout_started" | "booked" | "held";
|
|
137
138
|
id: string;
|
|
138
139
|
description: string | null;
|
|
139
|
-
status: "failed" | "cancelled" | "unavailable" | "removed" | "draft" | "priced" | "checkout_started" | "booked" | "held";
|
|
140
140
|
createdAt: Date;
|
|
141
141
|
updatedAt: Date;
|
|
142
142
|
kind: "catalog_booking" | "manual_placeholder" | "flight_placeholder" | "flight_order" | "external_order";
|
|
@@ -170,9 +170,9 @@ export declare function removeTripComponent(client: FetchWithValidationOptions,
|
|
|
170
170
|
}>;
|
|
171
171
|
export declare function updateTripComponent(client: FetchWithValidationOptions, componentId: string, input: UpdateTripComponentBody): Promise<{
|
|
172
172
|
metadata: Record<string, unknown>;
|
|
173
|
+
status: "failed" | "cancelled" | "unavailable" | "removed" | "draft" | "priced" | "checkout_started" | "booked" | "held";
|
|
173
174
|
id: string;
|
|
174
175
|
description: string | null;
|
|
175
|
-
status: "failed" | "cancelled" | "unavailable" | "removed" | "draft" | "priced" | "checkout_started" | "booked" | "held";
|
|
176
176
|
createdAt: Date;
|
|
177
177
|
updatedAt: Date;
|
|
178
178
|
kind: "catalog_booking" | "manual_placeholder" | "flight_placeholder" | "flight_order" | "external_order";
|
package/dist/query-options.d.ts
CHANGED
|
@@ -18,9 +18,9 @@ export declare function getTripQueryOptions(client: FetchWithValidationOptions,
|
|
|
18
18
|
};
|
|
19
19
|
export declare function getTripComponentsQueryOptions(client: FetchWithValidationOptions, envelopeId: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
20
20
|
metadata: Record<string, unknown>;
|
|
21
|
+
status: "failed" | "cancelled" | "unavailable" | "removed" | "draft" | "priced" | "checkout_started" | "booked" | "held";
|
|
21
22
|
id: string;
|
|
22
23
|
description: string | null;
|
|
23
|
-
status: "failed" | "cancelled" | "unavailable" | "removed" | "draft" | "priced" | "checkout_started" | "booked" | "held";
|
|
24
24
|
createdAt: Date;
|
|
25
25
|
updatedAt: Date;
|
|
26
26
|
kind: "catalog_booking" | "manual_placeholder" | "flight_placeholder" | "flight_order" | "external_order";
|
|
@@ -53,9 +53,9 @@ export declare function getTripComponentsQueryOptions(client: FetchWithValidatio
|
|
|
53
53
|
holdExpiresAt: Date | null;
|
|
54
54
|
}[], Error, {
|
|
55
55
|
metadata: Record<string, unknown>;
|
|
56
|
+
status: "failed" | "cancelled" | "unavailable" | "removed" | "draft" | "priced" | "checkout_started" | "booked" | "held";
|
|
56
57
|
id: string;
|
|
57
58
|
description: string | null;
|
|
58
|
-
status: "failed" | "cancelled" | "unavailable" | "removed" | "draft" | "priced" | "checkout_started" | "booked" | "held";
|
|
59
59
|
createdAt: Date;
|
|
60
60
|
updatedAt: Date;
|
|
61
61
|
kind: "catalog_booking" | "manual_placeholder" | "flight_placeholder" | "flight_order" | "external_order";
|
|
@@ -89,9 +89,9 @@ export declare function getTripComponentsQueryOptions(client: FetchWithValidatio
|
|
|
89
89
|
}[], readonly ["voyant", "trips", "trips", "detail", string, "components"]>, "queryFn"> & {
|
|
90
90
|
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
91
91
|
metadata: Record<string, unknown>;
|
|
92
|
+
status: "failed" | "cancelled" | "unavailable" | "removed" | "draft" | "priced" | "checkout_started" | "booked" | "held";
|
|
92
93
|
id: string;
|
|
93
94
|
description: string | null;
|
|
94
|
-
status: "failed" | "cancelled" | "unavailable" | "removed" | "draft" | "priced" | "checkout_started" | "booked" | "held";
|
|
95
95
|
createdAt: Date;
|
|
96
96
|
updatedAt: Date;
|
|
97
97
|
kind: "catalog_booking" | "manual_placeholder" | "flight_placeholder" | "flight_order" | "external_order";
|
|
@@ -127,9 +127,9 @@ export declare function getTripComponentsQueryOptions(client: FetchWithValidatio
|
|
|
127
127
|
queryKey: readonly ["voyant", "trips", "trips", "detail", string, "components"] & {
|
|
128
128
|
[dataTagSymbol]: {
|
|
129
129
|
metadata: Record<string, unknown>;
|
|
130
|
+
status: "failed" | "cancelled" | "unavailable" | "removed" | "draft" | "priced" | "checkout_started" | "booked" | "held";
|
|
130
131
|
id: string;
|
|
131
132
|
description: string | null;
|
|
132
|
-
status: "failed" | "cancelled" | "unavailable" | "removed" | "draft" | "priced" | "checkout_started" | "booked" | "held";
|
|
133
133
|
createdAt: Date;
|
|
134
134
|
updatedAt: Date;
|
|
135
135
|
kind: "catalog_booking" | "manual_placeholder" | "flight_placeholder" | "flight_order" | "external_order";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyant-travel/trips-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.112.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -47,15 +47,15 @@
|
|
|
47
47
|
"react": "^19.0.0",
|
|
48
48
|
"react-dom": "^19.0.0",
|
|
49
49
|
"zod": "^4.0.0",
|
|
50
|
-
"@voyant-travel/admin": "^0.111.
|
|
51
|
-
"@voyant-travel/bookings-react": "^0.
|
|
52
|
-
"@voyant-travel/catalog": "^0.
|
|
53
|
-
"@voyant-travel/catalog-react": "^0.
|
|
54
|
-
"@voyant-travel/relationships-react": "^0.
|
|
55
|
-
"@voyant-travel/finance": "^0.
|
|
56
|
-
"@voyant-travel/flights": "^0.
|
|
57
|
-
"@voyant-travel/flights-react": "^0.
|
|
58
|
-
"@voyant-travel/trips": "^0.
|
|
50
|
+
"@voyant-travel/admin": "^0.111.3",
|
|
51
|
+
"@voyant-travel/bookings-react": "^0.121.0",
|
|
52
|
+
"@voyant-travel/catalog": "^0.119.0",
|
|
53
|
+
"@voyant-travel/catalog-react": "^0.119.0",
|
|
54
|
+
"@voyant-travel/relationships-react": "^0.121.0",
|
|
55
|
+
"@voyant-travel/finance": "^0.121.0",
|
|
56
|
+
"@voyant-travel/flights": "^0.121.0",
|
|
57
|
+
"@voyant-travel/flights-react": "^0.121.0",
|
|
58
|
+
"@voyant-travel/trips": "^0.112.0",
|
|
59
59
|
"@voyant-travel/ui": "^0.106.2"
|
|
60
60
|
},
|
|
61
61
|
"peerDependenciesMeta": {
|
|
@@ -97,17 +97,17 @@
|
|
|
97
97
|
"typescript": "^6.0.2",
|
|
98
98
|
"vitest": "^4.1.2",
|
|
99
99
|
"zod": "^4.3.6",
|
|
100
|
-
"@voyant-travel/admin": "^0.111.
|
|
101
|
-
"@voyant-travel/bookings-react": "^0.
|
|
102
|
-
"@voyant-travel/catalog": "^0.
|
|
103
|
-
"@voyant-travel/catalog-react": "^0.
|
|
104
|
-
"@voyant-travel/relationships-react": "^0.
|
|
105
|
-
"@voyant-travel/finance": "^0.
|
|
106
|
-
"@voyant-travel/flights": "^0.
|
|
107
|
-
"@voyant-travel/flights
|
|
100
|
+
"@voyant-travel/admin": "^0.111.3",
|
|
101
|
+
"@voyant-travel/bookings-react": "^0.121.0",
|
|
102
|
+
"@voyant-travel/catalog": "^0.119.0",
|
|
103
|
+
"@voyant-travel/catalog-react": "^0.119.0",
|
|
104
|
+
"@voyant-travel/relationships-react": "^0.121.0",
|
|
105
|
+
"@voyant-travel/finance": "^0.121.0",
|
|
106
|
+
"@voyant-travel/flights-react": "^0.121.0",
|
|
107
|
+
"@voyant-travel/flights": "^0.121.0",
|
|
108
108
|
"@voyant-travel/i18n": "^0.106.1",
|
|
109
109
|
"@voyant-travel/react": "^0.104.1",
|
|
110
|
-
"@voyant-travel/trips": "^0.
|
|
110
|
+
"@voyant-travel/trips": "^0.112.0",
|
|
111
111
|
"@voyant-travel/ui": "^0.106.2",
|
|
112
112
|
"@voyant-travel/voyant-typescript-config": "^0.1.0"
|
|
113
113
|
},
|