@voyant-travel/bookings-react 0.139.2 → 0.139.4
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.
|
@@ -10,7 +10,7 @@ export declare function useBookingQuestions(options?: UseBookingQuestionsOptions
|
|
|
10
10
|
label: string;
|
|
11
11
|
description: string | null;
|
|
12
12
|
target: "extra" | "service" | "traveler" | "booking" | "lead_traveler" | "booker";
|
|
13
|
-
fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "
|
|
13
|
+
fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "country" | "datetime" | "single_select" | "multi_select";
|
|
14
14
|
placeholder: string | null;
|
|
15
15
|
helpText: string | null;
|
|
16
16
|
isRequired: boolean;
|
|
@@ -132,7 +132,7 @@ export declare function getBookingQuestionsQueryOptions(client: FetchWithValidat
|
|
|
132
132
|
label: string;
|
|
133
133
|
description: string | null;
|
|
134
134
|
target: "extra" | "service" | "traveler" | "booking" | "lead_traveler" | "booker";
|
|
135
|
-
fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "
|
|
135
|
+
fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "country" | "datetime" | "single_select" | "multi_select";
|
|
136
136
|
placeholder: string | null;
|
|
137
137
|
helpText: string | null;
|
|
138
138
|
isRequired: boolean;
|
|
@@ -150,7 +150,7 @@ export declare function getBookingQuestionsQueryOptions(client: FetchWithValidat
|
|
|
150
150
|
label: string;
|
|
151
151
|
description: string | null;
|
|
152
152
|
target: "extra" | "service" | "traveler" | "booking" | "lead_traveler" | "booker";
|
|
153
|
-
fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "
|
|
153
|
+
fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "country" | "datetime" | "single_select" | "multi_select";
|
|
154
154
|
placeholder: string | null;
|
|
155
155
|
helpText: string | null;
|
|
156
156
|
isRequired: boolean;
|
|
@@ -169,7 +169,7 @@ export declare function getBookingQuestionsQueryOptions(client: FetchWithValidat
|
|
|
169
169
|
label: string;
|
|
170
170
|
description: string | null;
|
|
171
171
|
target: "extra" | "service" | "traveler" | "booking" | "lead_traveler" | "booker";
|
|
172
|
-
fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "
|
|
172
|
+
fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "country" | "datetime" | "single_select" | "multi_select";
|
|
173
173
|
placeholder: string | null;
|
|
174
174
|
helpText: string | null;
|
|
175
175
|
isRequired: boolean;
|
|
@@ -190,7 +190,7 @@ export declare function getBookingQuestionsQueryOptions(client: FetchWithValidat
|
|
|
190
190
|
label: string;
|
|
191
191
|
description: string | null;
|
|
192
192
|
target: "extra" | "service" | "traveler" | "booking" | "lead_traveler" | "booker";
|
|
193
|
-
fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "
|
|
193
|
+
fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "country" | "datetime" | "single_select" | "multi_select";
|
|
194
194
|
placeholder: string | null;
|
|
195
195
|
helpText: string | null;
|
|
196
196
|
isRequired: boolean;
|
|
@@ -26,10 +26,10 @@ export declare const questionFieldTypeSchema: z.ZodEnum<{
|
|
|
26
26
|
phone: "phone";
|
|
27
27
|
textarea: "textarea";
|
|
28
28
|
text: "text";
|
|
29
|
+
country: "country";
|
|
29
30
|
datetime: "datetime";
|
|
30
31
|
single_select: "single_select";
|
|
31
32
|
multi_select: "multi_select";
|
|
32
|
-
country: "country";
|
|
33
33
|
}>;
|
|
34
34
|
export declare const bookingQuestionSchema: z.ZodObject<{
|
|
35
35
|
id: z.ZodString;
|
|
@@ -55,10 +55,10 @@ export declare const bookingQuestionSchema: z.ZodObject<{
|
|
|
55
55
|
phone: "phone";
|
|
56
56
|
textarea: "textarea";
|
|
57
57
|
text: "text";
|
|
58
|
+
country: "country";
|
|
58
59
|
datetime: "datetime";
|
|
59
60
|
single_select: "single_select";
|
|
60
61
|
multi_select: "multi_select";
|
|
61
|
-
country: "country";
|
|
62
62
|
}>;
|
|
63
63
|
placeholder: z.ZodNullable<z.ZodString>;
|
|
64
64
|
helpText: z.ZodNullable<z.ZodString>;
|
|
@@ -166,10 +166,10 @@ export declare const bookingQuestionListResponse: z.ZodObject<{
|
|
|
166
166
|
phone: "phone";
|
|
167
167
|
textarea: "textarea";
|
|
168
168
|
text: "text";
|
|
169
|
+
country: "country";
|
|
169
170
|
datetime: "datetime";
|
|
170
171
|
single_select: "single_select";
|
|
171
172
|
multi_select: "multi_select";
|
|
172
|
-
country: "country";
|
|
173
173
|
}>;
|
|
174
174
|
placeholder: z.ZodNullable<z.ZodString>;
|
|
175
175
|
helpText: z.ZodNullable<z.ZodString>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyant-travel/bookings-react",
|
|
3
|
-
"version": "0.139.
|
|
3
|
+
"version": "0.139.4",
|
|
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.80.0",
|
|
147
147
|
"zod": "^4.0.0",
|
|
148
|
-
"@voyant-travel/bookings": "^0.139.2",
|
|
149
|
-
"@voyant-travel/distribution-react": "^0.129.0",
|
|
150
148
|
"@voyant-travel/admin": "^0.115.4",
|
|
149
|
+
"@voyant-travel/bookings": "^0.139.4",
|
|
150
|
+
"@voyant-travel/distribution-react": "^0.129.0",
|
|
151
|
+
"@voyant-travel/finance-react": "^0.139.2",
|
|
151
152
|
"@voyant-travel/relationships-react": "^0.139.0",
|
|
152
|
-
"@voyant-travel/catalog-react": "^0.137.0",
|
|
153
153
|
"@voyant-travel/identity-react": "^0.139.0",
|
|
154
|
-
"@voyant-travel/finance-react": "^0.139.2",
|
|
155
154
|
"@voyant-travel/legal-react": "^0.139.0",
|
|
156
155
|
"@voyant-travel/commerce-react": "^0.21.1",
|
|
156
|
+
"@voyant-travel/inventory-react": "^0.21.0",
|
|
157
157
|
"@voyant-travel/operations-react": "^0.20.0",
|
|
158
158
|
"@voyant-travel/ui": "^0.108.10",
|
|
159
|
-
"@voyant-travel/
|
|
159
|
+
"@voyant-travel/catalog-react": "^0.137.1"
|
|
160
160
|
},
|
|
161
161
|
"peerDependenciesMeta": {
|
|
162
162
|
"@tanstack/react-table": {
|
|
@@ -206,8 +206,8 @@
|
|
|
206
206
|
"sonner": "^2.0.7",
|
|
207
207
|
"@voyant-travel/catalog-contracts": "^0.108.1",
|
|
208
208
|
"@voyant-travel/i18n": "^0.109.8",
|
|
209
|
-
"@voyant-travel/
|
|
210
|
-
"@voyant-travel/
|
|
209
|
+
"@voyant-travel/types": "^0.107.0",
|
|
210
|
+
"@voyant-travel/react": "^0.104.1"
|
|
211
211
|
},
|
|
212
212
|
"devDependencies": {
|
|
213
213
|
"@tanstack/react-query": "^5.101.2",
|
|
@@ -223,19 +223,19 @@
|
|
|
223
223
|
"vitest": "^4.1.9",
|
|
224
224
|
"zod": "^4.4.3",
|
|
225
225
|
"@voyant-travel/admin": "^0.115.4",
|
|
226
|
-
"@voyant-travel/bookings": "^0.139.
|
|
227
|
-
"@voyant-travel/catalog-react": "^0.137.
|
|
226
|
+
"@voyant-travel/bookings": "^0.139.4",
|
|
227
|
+
"@voyant-travel/catalog-react": "^0.137.1",
|
|
228
228
|
"@voyant-travel/distribution-react": "^0.129.0",
|
|
229
|
-
"@voyant-travel/relationships-react": "^0.139.0",
|
|
230
229
|
"@voyant-travel/finance-react": "^0.139.2",
|
|
231
230
|
"@voyant-travel/identity-react": "^0.139.0",
|
|
232
231
|
"@voyant-travel/commerce-react": "^0.21.1",
|
|
233
|
-
"@voyant-travel/
|
|
232
|
+
"@voyant-travel/relationships-react": "^0.139.0",
|
|
234
233
|
"@voyant-travel/legal-react": "^0.139.0",
|
|
235
|
-
"@voyant-travel/react": "^0.
|
|
236
|
-
"@voyant-travel/voyant-typescript-config": "^0.1.0",
|
|
234
|
+
"@voyant-travel/inventory-react": "^0.21.0",
|
|
237
235
|
"@voyant-travel/ui": "^0.108.10",
|
|
238
|
-
"@voyant-travel/
|
|
236
|
+
"@voyant-travel/voyant-typescript-config": "^0.1.0",
|
|
237
|
+
"@voyant-travel/operations-react": "^0.20.0",
|
|
238
|
+
"@voyant-travel/react": "^0.104.1"
|
|
239
239
|
},
|
|
240
240
|
"files": [
|
|
241
241
|
"dist",
|