@voyant-travel/trips-react 0.110.2 → 0.111.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/hooks/use-trip-components.d.ts +13 -13
- package/dist/operations.d.ts +51 -51
- package/dist/query-options.d.ts +52 -52
- package/package.json +21 -21
|
@@ -2,29 +2,31 @@ export interface UseTripComponentsOptions {
|
|
|
2
2
|
enabled?: boolean;
|
|
3
3
|
}
|
|
4
4
|
export declare function useTripComponents(envelopeId: string | null | undefined, options?: UseTripComponentsOptions): import("@tanstack/react-query").UseQueryResult<{
|
|
5
|
+
metadata: Record<string, unknown>;
|
|
5
6
|
id: string;
|
|
6
|
-
title: string | null;
|
|
7
7
|
description: string | null;
|
|
8
|
-
|
|
9
|
-
status: "failed" | "cancelled" | "draft" | "priced" | "checkout_started" | "booked" | "unavailable" | "held" | "removed";
|
|
10
|
-
bookingGroupId: string | null;
|
|
11
|
-
orderId: string | null;
|
|
12
|
-
paymentSessionId: string | null;
|
|
8
|
+
status: "failed" | "cancelled" | "unavailable" | "removed" | "draft" | "priced" | "checkout_started" | "booked" | "held";
|
|
13
9
|
createdAt: Date;
|
|
14
10
|
updatedAt: Date;
|
|
15
|
-
envelopeId: string;
|
|
16
|
-
sequence: number;
|
|
17
11
|
kind: "catalog_booking" | "manual_placeholder" | "flight_placeholder" | "flight_order" | "external_order";
|
|
12
|
+
bookingId: string | null;
|
|
13
|
+
priceExpiresAt: Date | null;
|
|
18
14
|
entityModule: string | null;
|
|
19
15
|
entityId: string | null;
|
|
20
16
|
sourceKind: string | null;
|
|
21
17
|
sourceConnectionId: string | null;
|
|
22
18
|
sourceRef: string | null;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
bookingGroupId: string | null;
|
|
20
|
+
orderId: string | null;
|
|
21
|
+
paymentSessionId: string | null;
|
|
26
22
|
providerRef: string | null;
|
|
27
23
|
supplierRef: string | null;
|
|
24
|
+
title: string | null;
|
|
25
|
+
sequence: number;
|
|
26
|
+
envelopeId: string;
|
|
27
|
+
warningCodes: string[];
|
|
28
|
+
bookingDraftId: string | null;
|
|
29
|
+
catalogQuoteId: string | null;
|
|
28
30
|
componentCurrency: string | null;
|
|
29
31
|
componentSubtotalAmountCents: number | null;
|
|
30
32
|
componentTaxAmountCents: number | null;
|
|
@@ -34,7 +36,5 @@ export declare function useTripComponents(envelopeId: string | null | undefined,
|
|
|
34
36
|
cancellationSnapshot: Record<string, unknown> | null;
|
|
35
37
|
holdToken: string | null;
|
|
36
38
|
holdExpiresAt: Date | null;
|
|
37
|
-
priceExpiresAt: Date | null;
|
|
38
|
-
warningCodes: string[];
|
|
39
39
|
}[], Error>;
|
|
40
40
|
//# sourceMappingURL=use-trip-components.d.ts.map
|
package/dist/operations.d.ts
CHANGED
|
@@ -37,89 +37,91 @@ export declare function createTrip(client: FetchWithValidationOptions, input: Cr
|
|
|
37
37
|
export declare function getTrip(client: FetchWithValidationOptions, envelopeId: string): Promise<import("@voyant-travel/trips").Trip>;
|
|
38
38
|
export declare function listTripSnapshots(client: FetchWithValidationOptions, envelopeId: string): Promise<{
|
|
39
39
|
id: string;
|
|
40
|
-
currency: string;
|
|
41
|
-
createdBy: string | null;
|
|
42
40
|
createdAt: Date;
|
|
43
|
-
|
|
41
|
+
createdBy: string | null;
|
|
42
|
+
currency: string;
|
|
44
43
|
subtotalAmountCents: number;
|
|
45
44
|
taxAmountCents: number;
|
|
46
45
|
totalAmountCents: number;
|
|
47
46
|
componentCount: number;
|
|
47
|
+
pricedComponentCount: number;
|
|
48
|
+
envelopeId: string;
|
|
48
49
|
sourceEnvelopeUpdatedAt: Date;
|
|
49
50
|
titleSnapshot: string | null;
|
|
50
51
|
descriptionSnapshot: string | null;
|
|
51
52
|
travelerPartySnapshot: Record<string, unknown>;
|
|
52
53
|
constraintsSnapshot: Record<string, unknown>;
|
|
53
|
-
pricedComponentCount: number;
|
|
54
54
|
frozenEnvelope: Record<string, unknown>;
|
|
55
55
|
frozenComponents: Record<string, unknown>[];
|
|
56
56
|
proposal: import("@voyant-travel/trips").TripSnapshotProposal;
|
|
57
57
|
}[]>;
|
|
58
58
|
export declare function getTripSnapshot(client: FetchWithValidationOptions, snapshotId: string): Promise<{
|
|
59
59
|
id: string;
|
|
60
|
-
currency: string;
|
|
61
|
-
createdBy: string | null;
|
|
62
60
|
createdAt: Date;
|
|
63
|
-
|
|
61
|
+
createdBy: string | null;
|
|
62
|
+
currency: string;
|
|
64
63
|
subtotalAmountCents: number;
|
|
65
64
|
taxAmountCents: number;
|
|
66
65
|
totalAmountCents: number;
|
|
67
66
|
componentCount: number;
|
|
67
|
+
pricedComponentCount: number;
|
|
68
|
+
envelopeId: string;
|
|
68
69
|
sourceEnvelopeUpdatedAt: Date;
|
|
69
70
|
titleSnapshot: string | null;
|
|
70
71
|
descriptionSnapshot: string | null;
|
|
71
72
|
travelerPartySnapshot: Record<string, unknown>;
|
|
72
73
|
constraintsSnapshot: Record<string, unknown>;
|
|
73
|
-
pricedComponentCount: number;
|
|
74
74
|
frozenEnvelope: Record<string, unknown>;
|
|
75
75
|
frozenComponents: Record<string, unknown>[];
|
|
76
76
|
proposal: import("@voyant-travel/trips").TripSnapshotProposal;
|
|
77
77
|
}>;
|
|
78
78
|
export declare function freezeTripSnapshot(client: FetchWithValidationOptions, envelopeId: string, input?: CreateTripSnapshotBody): Promise<{
|
|
79
79
|
id: string;
|
|
80
|
-
currency: string;
|
|
81
|
-
createdBy: string | null;
|
|
82
80
|
createdAt: Date;
|
|
83
|
-
|
|
81
|
+
createdBy: string | null;
|
|
82
|
+
currency: string;
|
|
84
83
|
subtotalAmountCents: number;
|
|
85
84
|
taxAmountCents: number;
|
|
86
85
|
totalAmountCents: number;
|
|
87
86
|
componentCount: number;
|
|
87
|
+
pricedComponentCount: number;
|
|
88
|
+
envelopeId: string;
|
|
88
89
|
sourceEnvelopeUpdatedAt: Date;
|
|
89
90
|
titleSnapshot: string | null;
|
|
90
91
|
descriptionSnapshot: string | null;
|
|
91
92
|
travelerPartySnapshot: Record<string, unknown>;
|
|
92
93
|
constraintsSnapshot: Record<string, unknown>;
|
|
93
|
-
pricedComponentCount: number;
|
|
94
94
|
frozenEnvelope: Record<string, unknown>;
|
|
95
95
|
frozenComponents: Record<string, unknown>[];
|
|
96
96
|
proposal: import("@voyant-travel/trips").TripSnapshotProposal;
|
|
97
97
|
}>;
|
|
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
|
+
metadata: Record<string, unknown>;
|
|
100
101
|
id: string;
|
|
101
|
-
title: string | null;
|
|
102
102
|
description: string | null;
|
|
103
|
-
|
|
104
|
-
status: "failed" | "cancelled" | "draft" | "priced" | "checkout_started" | "booked" | "unavailable" | "held" | "removed";
|
|
105
|
-
bookingGroupId: string | null;
|
|
106
|
-
orderId: string | null;
|
|
107
|
-
paymentSessionId: string | null;
|
|
103
|
+
status: "failed" | "cancelled" | "unavailable" | "removed" | "draft" | "priced" | "checkout_started" | "booked" | "held";
|
|
108
104
|
createdAt: Date;
|
|
109
105
|
updatedAt: Date;
|
|
110
|
-
envelopeId: string;
|
|
111
|
-
sequence: number;
|
|
112
106
|
kind: "catalog_booking" | "manual_placeholder" | "flight_placeholder" | "flight_order" | "external_order";
|
|
107
|
+
bookingId: string | null;
|
|
108
|
+
priceExpiresAt: Date | null;
|
|
113
109
|
entityModule: string | null;
|
|
114
110
|
entityId: string | null;
|
|
115
111
|
sourceKind: string | null;
|
|
116
112
|
sourceConnectionId: string | null;
|
|
117
113
|
sourceRef: string | null;
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
114
|
+
bookingGroupId: string | null;
|
|
115
|
+
orderId: string | null;
|
|
116
|
+
paymentSessionId: string | null;
|
|
121
117
|
providerRef: string | null;
|
|
122
118
|
supplierRef: string | null;
|
|
119
|
+
title: string | null;
|
|
120
|
+
sequence: number;
|
|
121
|
+
envelopeId: string;
|
|
122
|
+
warningCodes: string[];
|
|
123
|
+
bookingDraftId: string | null;
|
|
124
|
+
catalogQuoteId: string | null;
|
|
123
125
|
componentCurrency: string | null;
|
|
124
126
|
componentSubtotalAmountCents: number | null;
|
|
125
127
|
componentTaxAmountCents: number | null;
|
|
@@ -129,33 +131,33 @@ export declare function addTripComponent(client: FetchWithValidationOptions, env
|
|
|
129
131
|
cancellationSnapshot: Record<string, unknown> | null;
|
|
130
132
|
holdToken: string | null;
|
|
131
133
|
holdExpiresAt: Date | null;
|
|
132
|
-
priceExpiresAt: Date | null;
|
|
133
|
-
warningCodes: string[];
|
|
134
134
|
}>;
|
|
135
135
|
export declare function removeTripComponent(client: FetchWithValidationOptions, componentId: string): Promise<{
|
|
136
|
+
metadata: Record<string, unknown>;
|
|
136
137
|
id: string;
|
|
137
|
-
title: string | null;
|
|
138
138
|
description: string | null;
|
|
139
|
-
|
|
140
|
-
status: "failed" | "cancelled" | "draft" | "priced" | "checkout_started" | "booked" | "unavailable" | "held" | "removed";
|
|
141
|
-
bookingGroupId: string | null;
|
|
142
|
-
orderId: string | null;
|
|
143
|
-
paymentSessionId: string | null;
|
|
139
|
+
status: "failed" | "cancelled" | "unavailable" | "removed" | "draft" | "priced" | "checkout_started" | "booked" | "held";
|
|
144
140
|
createdAt: Date;
|
|
145
141
|
updatedAt: Date;
|
|
146
|
-
envelopeId: string;
|
|
147
|
-
sequence: number;
|
|
148
142
|
kind: "catalog_booking" | "manual_placeholder" | "flight_placeholder" | "flight_order" | "external_order";
|
|
143
|
+
bookingId: string | null;
|
|
144
|
+
priceExpiresAt: Date | null;
|
|
149
145
|
entityModule: string | null;
|
|
150
146
|
entityId: string | null;
|
|
151
147
|
sourceKind: string | null;
|
|
152
148
|
sourceConnectionId: string | null;
|
|
153
149
|
sourceRef: string | null;
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
150
|
+
bookingGroupId: string | null;
|
|
151
|
+
orderId: string | null;
|
|
152
|
+
paymentSessionId: string | null;
|
|
157
153
|
providerRef: string | null;
|
|
158
154
|
supplierRef: string | null;
|
|
155
|
+
title: string | null;
|
|
156
|
+
sequence: number;
|
|
157
|
+
envelopeId: string;
|
|
158
|
+
warningCodes: string[];
|
|
159
|
+
bookingDraftId: string | null;
|
|
160
|
+
catalogQuoteId: string | null;
|
|
159
161
|
componentCurrency: string | null;
|
|
160
162
|
componentSubtotalAmountCents: number | null;
|
|
161
163
|
componentTaxAmountCents: number | null;
|
|
@@ -165,33 +167,33 @@ export declare function removeTripComponent(client: FetchWithValidationOptions,
|
|
|
165
167
|
cancellationSnapshot: Record<string, unknown> | null;
|
|
166
168
|
holdToken: string | null;
|
|
167
169
|
holdExpiresAt: Date | null;
|
|
168
|
-
priceExpiresAt: Date | null;
|
|
169
|
-
warningCodes: string[];
|
|
170
170
|
}>;
|
|
171
171
|
export declare function updateTripComponent(client: FetchWithValidationOptions, componentId: string, input: UpdateTripComponentBody): Promise<{
|
|
172
|
+
metadata: Record<string, unknown>;
|
|
172
173
|
id: string;
|
|
173
|
-
title: string | null;
|
|
174
174
|
description: string | null;
|
|
175
|
-
|
|
176
|
-
status: "failed" | "cancelled" | "draft" | "priced" | "checkout_started" | "booked" | "unavailable" | "held" | "removed";
|
|
177
|
-
bookingGroupId: string | null;
|
|
178
|
-
orderId: string | null;
|
|
179
|
-
paymentSessionId: string | null;
|
|
175
|
+
status: "failed" | "cancelled" | "unavailable" | "removed" | "draft" | "priced" | "checkout_started" | "booked" | "held";
|
|
180
176
|
createdAt: Date;
|
|
181
177
|
updatedAt: Date;
|
|
182
|
-
envelopeId: string;
|
|
183
|
-
sequence: number;
|
|
184
178
|
kind: "catalog_booking" | "manual_placeholder" | "flight_placeholder" | "flight_order" | "external_order";
|
|
179
|
+
bookingId: string | null;
|
|
180
|
+
priceExpiresAt: Date | null;
|
|
185
181
|
entityModule: string | null;
|
|
186
182
|
entityId: string | null;
|
|
187
183
|
sourceKind: string | null;
|
|
188
184
|
sourceConnectionId: string | null;
|
|
189
185
|
sourceRef: string | null;
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
186
|
+
bookingGroupId: string | null;
|
|
187
|
+
orderId: string | null;
|
|
188
|
+
paymentSessionId: string | null;
|
|
193
189
|
providerRef: string | null;
|
|
194
190
|
supplierRef: string | null;
|
|
191
|
+
title: string | null;
|
|
192
|
+
sequence: number;
|
|
193
|
+
envelopeId: string;
|
|
194
|
+
warningCodes: string[];
|
|
195
|
+
bookingDraftId: string | null;
|
|
196
|
+
catalogQuoteId: string | null;
|
|
195
197
|
componentCurrency: string | null;
|
|
196
198
|
componentSubtotalAmountCents: number | null;
|
|
197
199
|
componentTaxAmountCents: number | null;
|
|
@@ -201,8 +203,6 @@ export declare function updateTripComponent(client: FetchWithValidationOptions,
|
|
|
201
203
|
cancellationSnapshot: Record<string, unknown> | null;
|
|
202
204
|
holdToken: string | null;
|
|
203
205
|
holdExpiresAt: Date | null;
|
|
204
|
-
priceExpiresAt: Date | null;
|
|
205
|
-
warningCodes: string[];
|
|
206
206
|
}>;
|
|
207
207
|
export declare function priceTrip(client: FetchWithValidationOptions, envelopeId: string, input: PriceTripBody): Promise<import("@voyant-travel/trips").PriceTripResult>;
|
|
208
208
|
export declare function reserveTrip(client: FetchWithValidationOptions, envelopeId: string, input?: ReserveTripBody): Promise<import("@voyant-travel/trips").ReserveTripResult>;
|
package/dist/query-options.d.ts
CHANGED
|
@@ -17,29 +17,31 @@ export declare function getTripQueryOptions(client: FetchWithValidationOptions,
|
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
export declare function getTripComponentsQueryOptions(client: FetchWithValidationOptions, envelopeId: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
20
|
+
metadata: Record<string, unknown>;
|
|
20
21
|
id: string;
|
|
21
|
-
title: string | null;
|
|
22
22
|
description: string | null;
|
|
23
|
-
|
|
24
|
-
status: "failed" | "cancelled" | "draft" | "priced" | "checkout_started" | "booked" | "unavailable" | "held" | "removed";
|
|
25
|
-
bookingGroupId: string | null;
|
|
26
|
-
orderId: string | null;
|
|
27
|
-
paymentSessionId: string | null;
|
|
23
|
+
status: "failed" | "cancelled" | "unavailable" | "removed" | "draft" | "priced" | "checkout_started" | "booked" | "held";
|
|
28
24
|
createdAt: Date;
|
|
29
25
|
updatedAt: Date;
|
|
30
|
-
envelopeId: string;
|
|
31
|
-
sequence: number;
|
|
32
26
|
kind: "catalog_booking" | "manual_placeholder" | "flight_placeholder" | "flight_order" | "external_order";
|
|
27
|
+
bookingId: string | null;
|
|
28
|
+
priceExpiresAt: Date | null;
|
|
33
29
|
entityModule: string | null;
|
|
34
30
|
entityId: string | null;
|
|
35
31
|
sourceKind: string | null;
|
|
36
32
|
sourceConnectionId: string | null;
|
|
37
33
|
sourceRef: string | null;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
34
|
+
bookingGroupId: string | null;
|
|
35
|
+
orderId: string | null;
|
|
36
|
+
paymentSessionId: string | null;
|
|
41
37
|
providerRef: string | null;
|
|
42
38
|
supplierRef: string | null;
|
|
39
|
+
title: string | null;
|
|
40
|
+
sequence: number;
|
|
41
|
+
envelopeId: string;
|
|
42
|
+
warningCodes: string[];
|
|
43
|
+
bookingDraftId: string | null;
|
|
44
|
+
catalogQuoteId: string | null;
|
|
43
45
|
componentCurrency: string | null;
|
|
44
46
|
componentSubtotalAmountCents: number | null;
|
|
45
47
|
componentTaxAmountCents: number | null;
|
|
@@ -49,32 +51,32 @@ export declare function getTripComponentsQueryOptions(client: FetchWithValidatio
|
|
|
49
51
|
cancellationSnapshot: Record<string, unknown> | null;
|
|
50
52
|
holdToken: string | null;
|
|
51
53
|
holdExpiresAt: Date | null;
|
|
52
|
-
priceExpiresAt: Date | null;
|
|
53
|
-
warningCodes: string[];
|
|
54
54
|
}[], Error, {
|
|
55
|
+
metadata: Record<string, unknown>;
|
|
55
56
|
id: string;
|
|
56
|
-
title: string | null;
|
|
57
57
|
description: string | null;
|
|
58
|
-
|
|
59
|
-
status: "failed" | "cancelled" | "draft" | "priced" | "checkout_started" | "booked" | "unavailable" | "held" | "removed";
|
|
60
|
-
bookingGroupId: string | null;
|
|
61
|
-
orderId: string | null;
|
|
62
|
-
paymentSessionId: string | null;
|
|
58
|
+
status: "failed" | "cancelled" | "unavailable" | "removed" | "draft" | "priced" | "checkout_started" | "booked" | "held";
|
|
63
59
|
createdAt: Date;
|
|
64
60
|
updatedAt: Date;
|
|
65
|
-
envelopeId: string;
|
|
66
|
-
sequence: number;
|
|
67
61
|
kind: "catalog_booking" | "manual_placeholder" | "flight_placeholder" | "flight_order" | "external_order";
|
|
62
|
+
bookingId: string | null;
|
|
63
|
+
priceExpiresAt: Date | null;
|
|
68
64
|
entityModule: string | null;
|
|
69
65
|
entityId: string | null;
|
|
70
66
|
sourceKind: string | null;
|
|
71
67
|
sourceConnectionId: string | null;
|
|
72
68
|
sourceRef: string | null;
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
69
|
+
bookingGroupId: string | null;
|
|
70
|
+
orderId: string | null;
|
|
71
|
+
paymentSessionId: string | null;
|
|
76
72
|
providerRef: string | null;
|
|
77
73
|
supplierRef: string | null;
|
|
74
|
+
title: string | null;
|
|
75
|
+
sequence: number;
|
|
76
|
+
envelopeId: string;
|
|
77
|
+
warningCodes: string[];
|
|
78
|
+
bookingDraftId: string | null;
|
|
79
|
+
catalogQuoteId: string | null;
|
|
78
80
|
componentCurrency: string | null;
|
|
79
81
|
componentSubtotalAmountCents: number | null;
|
|
80
82
|
componentTaxAmountCents: number | null;
|
|
@@ -84,33 +86,33 @@ export declare function getTripComponentsQueryOptions(client: FetchWithValidatio
|
|
|
84
86
|
cancellationSnapshot: Record<string, unknown> | null;
|
|
85
87
|
holdToken: string | null;
|
|
86
88
|
holdExpiresAt: Date | null;
|
|
87
|
-
priceExpiresAt: Date | null;
|
|
88
|
-
warningCodes: string[];
|
|
89
89
|
}[], readonly ["voyant", "trips", "trips", "detail", string, "components"]>, "queryFn"> & {
|
|
90
90
|
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
91
|
+
metadata: Record<string, unknown>;
|
|
91
92
|
id: string;
|
|
92
|
-
title: string | null;
|
|
93
93
|
description: string | null;
|
|
94
|
-
|
|
95
|
-
status: "failed" | "cancelled" | "draft" | "priced" | "checkout_started" | "booked" | "unavailable" | "held" | "removed";
|
|
96
|
-
bookingGroupId: string | null;
|
|
97
|
-
orderId: string | null;
|
|
98
|
-
paymentSessionId: string | null;
|
|
94
|
+
status: "failed" | "cancelled" | "unavailable" | "removed" | "draft" | "priced" | "checkout_started" | "booked" | "held";
|
|
99
95
|
createdAt: Date;
|
|
100
96
|
updatedAt: Date;
|
|
101
|
-
envelopeId: string;
|
|
102
|
-
sequence: number;
|
|
103
97
|
kind: "catalog_booking" | "manual_placeholder" | "flight_placeholder" | "flight_order" | "external_order";
|
|
98
|
+
bookingId: string | null;
|
|
99
|
+
priceExpiresAt: Date | null;
|
|
104
100
|
entityModule: string | null;
|
|
105
101
|
entityId: string | null;
|
|
106
102
|
sourceKind: string | null;
|
|
107
103
|
sourceConnectionId: string | null;
|
|
108
104
|
sourceRef: string | null;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
105
|
+
bookingGroupId: string | null;
|
|
106
|
+
orderId: string | null;
|
|
107
|
+
paymentSessionId: string | null;
|
|
112
108
|
providerRef: string | null;
|
|
113
109
|
supplierRef: string | null;
|
|
110
|
+
title: string | null;
|
|
111
|
+
sequence: number;
|
|
112
|
+
envelopeId: string;
|
|
113
|
+
warningCodes: string[];
|
|
114
|
+
bookingDraftId: string | null;
|
|
115
|
+
catalogQuoteId: string | null;
|
|
114
116
|
componentCurrency: string | null;
|
|
115
117
|
componentSubtotalAmountCents: number | null;
|
|
116
118
|
componentTaxAmountCents: number | null;
|
|
@@ -120,35 +122,35 @@ export declare function getTripComponentsQueryOptions(client: FetchWithValidatio
|
|
|
120
122
|
cancellationSnapshot: Record<string, unknown> | null;
|
|
121
123
|
holdToken: string | null;
|
|
122
124
|
holdExpiresAt: Date | null;
|
|
123
|
-
priceExpiresAt: Date | null;
|
|
124
|
-
warningCodes: string[];
|
|
125
125
|
}[], readonly ["voyant", "trips", "trips", "detail", string, "components"], never> | undefined;
|
|
126
126
|
} & {
|
|
127
127
|
queryKey: readonly ["voyant", "trips", "trips", "detail", string, "components"] & {
|
|
128
128
|
[dataTagSymbol]: {
|
|
129
|
+
metadata: Record<string, unknown>;
|
|
129
130
|
id: string;
|
|
130
|
-
title: string | null;
|
|
131
131
|
description: string | null;
|
|
132
|
-
|
|
133
|
-
status: "failed" | "cancelled" | "draft" | "priced" | "checkout_started" | "booked" | "unavailable" | "held" | "removed";
|
|
134
|
-
bookingGroupId: string | null;
|
|
135
|
-
orderId: string | null;
|
|
136
|
-
paymentSessionId: string | null;
|
|
132
|
+
status: "failed" | "cancelled" | "unavailable" | "removed" | "draft" | "priced" | "checkout_started" | "booked" | "held";
|
|
137
133
|
createdAt: Date;
|
|
138
134
|
updatedAt: Date;
|
|
139
|
-
envelopeId: string;
|
|
140
|
-
sequence: number;
|
|
141
135
|
kind: "catalog_booking" | "manual_placeholder" | "flight_placeholder" | "flight_order" | "external_order";
|
|
136
|
+
bookingId: string | null;
|
|
137
|
+
priceExpiresAt: Date | null;
|
|
142
138
|
entityModule: string | null;
|
|
143
139
|
entityId: string | null;
|
|
144
140
|
sourceKind: string | null;
|
|
145
141
|
sourceConnectionId: string | null;
|
|
146
142
|
sourceRef: string | null;
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
143
|
+
bookingGroupId: string | null;
|
|
144
|
+
orderId: string | null;
|
|
145
|
+
paymentSessionId: string | null;
|
|
150
146
|
providerRef: string | null;
|
|
151
147
|
supplierRef: string | null;
|
|
148
|
+
title: string | null;
|
|
149
|
+
sequence: number;
|
|
150
|
+
envelopeId: string;
|
|
151
|
+
warningCodes: string[];
|
|
152
|
+
bookingDraftId: string | null;
|
|
153
|
+
catalogQuoteId: string | null;
|
|
152
154
|
componentCurrency: string | null;
|
|
153
155
|
componentSubtotalAmountCents: number | null;
|
|
154
156
|
componentTaxAmountCents: number | null;
|
|
@@ -158,8 +160,6 @@ export declare function getTripComponentsQueryOptions(client: FetchWithValidatio
|
|
|
158
160
|
cancellationSnapshot: Record<string, unknown> | null;
|
|
159
161
|
holdToken: string | null;
|
|
160
162
|
holdExpiresAt: Date | null;
|
|
161
|
-
priceExpiresAt: Date | null;
|
|
162
|
-
warningCodes: string[];
|
|
163
163
|
}[];
|
|
164
164
|
[dataTagErrorSymbol]: Error;
|
|
165
165
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyant-travel/trips-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.111.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -47,16 +47,16 @@
|
|
|
47
47
|
"react": "^19.0.0",
|
|
48
48
|
"react-dom": "^19.0.0",
|
|
49
49
|
"zod": "^4.0.0",
|
|
50
|
-
"@voyant-travel/
|
|
51
|
-
"@voyant-travel/
|
|
52
|
-
"@voyant-travel/
|
|
53
|
-
"@voyant-travel/
|
|
54
|
-
"@voyant-travel/
|
|
55
|
-
"@voyant-travel/
|
|
56
|
-
"@voyant-travel/flights
|
|
57
|
-
"@voyant-travel/
|
|
58
|
-
"@voyant-travel/
|
|
59
|
-
"@voyant-travel/
|
|
50
|
+
"@voyant-travel/admin": "^0.111.1",
|
|
51
|
+
"@voyant-travel/bookings-react": "^0.120.0",
|
|
52
|
+
"@voyant-travel/catalog": "^0.118.0",
|
|
53
|
+
"@voyant-travel/catalog-react": "^0.118.0",
|
|
54
|
+
"@voyant-travel/relationships-react": "^0.120.0",
|
|
55
|
+
"@voyant-travel/finance": "^0.120.0",
|
|
56
|
+
"@voyant-travel/flights": "^0.120.0",
|
|
57
|
+
"@voyant-travel/flights-react": "^0.120.0",
|
|
58
|
+
"@voyant-travel/trips": "^0.111.0",
|
|
59
|
+
"@voyant-travel/ui": "^0.106.1"
|
|
60
60
|
},
|
|
61
61
|
"peerDependenciesMeta": {
|
|
62
62
|
"@voyant-travel/admin": {
|
|
@@ -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/
|
|
102
|
-
"@voyant-travel/
|
|
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-react": "^0.
|
|
108
|
-
"@voyant-travel/react": "^0.104.1",
|
|
100
|
+
"@voyant-travel/admin": "^0.111.1",
|
|
101
|
+
"@voyant-travel/bookings-react": "^0.120.0",
|
|
102
|
+
"@voyant-travel/catalog": "^0.118.0",
|
|
103
|
+
"@voyant-travel/catalog-react": "^0.118.0",
|
|
104
|
+
"@voyant-travel/relationships-react": "^0.120.0",
|
|
105
|
+
"@voyant-travel/finance": "^0.120.0",
|
|
106
|
+
"@voyant-travel/flights": "^0.120.0",
|
|
107
|
+
"@voyant-travel/flights-react": "^0.120.0",
|
|
109
108
|
"@voyant-travel/i18n": "^0.106.1",
|
|
110
|
-
"@voyant-travel/
|
|
109
|
+
"@voyant-travel/react": "^0.104.1",
|
|
110
|
+
"@voyant-travel/trips": "^0.111.0",
|
|
111
111
|
"@voyant-travel/ui": "^0.106.1",
|
|
112
112
|
"@voyant-travel/voyant-typescript-config": "^0.1.0"
|
|
113
113
|
},
|